/* DGF Corporations — Modern Premium Theme */

:root {
  /* Warm realistic light field */
  --ink: #101a15;       /* Green-tinted near-black */
  --ink-1: #101a15;
  --ink-2: #3d4a44;     /* Deep sage gray (≈8.6:1) */
  --ink-3: #5f6f66;     /* Muted sage metadata (≈5:1) */

  --line: #e3e9e4;      /* Soft green-tinted borders */
  --line-strong: #c2cfc5;

  --bg: #faf9f5;        /* Warm paper off-white — lifelike field */
  --bg-2: #eef1ea;      /* Alternate band surface */
  --surface: #ffffff;   /* Raised cards, panels */

  /* Brand fields — forest authority (used on dark surfaces) */
  --brand: #0f3d2e;     /* Deep forest — footer/inverse gradients */
  --brand-2: #166a4d;   /* Interactive emerald — links, focus (≈6.6:1 on light) */
  --brand-deep: #071f17;/* Darkest forest — footer field */

  /* Action dominance — interactive targets ONLY */
  --action: #10b981;    /* Bright emerald CTA fill */
  --action-ink: #052e20;/* Dark text on action fills (≈8:1) */
  --action-deep: #0a7a56;/* 3D button edge */

  /* Authority marks — gold, never a CTA */
  --accent: #8a631c;    /* Eyebrows, badges, numerals (≈5.1:1 on light) */
  --accent-light: #fdf8ee; /* Gold-tinted light surface */
  
  --wrap: 72rem;        /* Wider container for premium feel */
  --narrow: 48rem;
  --r: 16px;            /* Modern soft rounding */
  
  /* Layered realistic depth — green-tinted, multi-stop */
  --shadow-sm: 0 1px 2px rgba(16, 26, 21, 0.06), 0 4px 12px rgba(16, 26, 21, 0.05);
  --shadow-md: 0 2px 4px rgba(16, 26, 21, 0.05), 0 12px 32px -8px rgba(16, 26, 21, 0.14);
  --shadow-lg: 0 2px 6px rgba(16, 26, 21, 0.05), 0 32px 64px -16px rgba(16, 26, 21, 0.22);
  --shadow-hover: 0 4px 8px rgba(16, 26, 21, 0.06), 0 40px 80px -20px rgba(16, 26, 21, 0.28);
  --edge-light: inset 0 1px 0 rgba(255, 255, 255, 0.85); /* top light edge — physical surfaces */
  
  /* Fluid Cubic-Bezier */
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0; 
  background: var(--bg); 
  color: var(--ink);
  font: 400 1.125rem/1.5 "Inter", "SF Pro Display", "Manrope", system-ui, sans-serif;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  line-height: 1.1; 
  letter-spacing: -0.04em; 
  color: var(--ink); 
  margin: 0 0 0.5em;
  font-family: "Inter", "SF Pro Display", system-ui, sans-serif;
}

/* Fluid Typography */
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; letter-spacing: -0.05em; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 600; margin-top: 3rem; }
h3 { font-size: 1.5rem; font-weight: 600; }

p, ul, ol, dl { margin: 0 0 1.5rem; }

a {
  color: var(--brand-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: var(--transition);
}
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; display: block; border-radius: var(--r); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: var(--narrow); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; color: #10b981; }
.skip:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--action); color: var(--action-ink); padding: 0.75rem 1.25rem; border-radius: var(--r); font-weight: 600; }
main:focus { outline: none; }

:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

/* header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 245, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: sticky; 
  top: 0; 
  z-index: 50;
  transition: var(--transition);
}
.header-inner {
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 2rem; 
  min-height: 5rem; 
  flex-wrap: nowrap;
}
.brand {
  font-size: 1.25rem; 
  color: var(--ink); 
  text-decoration: none; 
  letter-spacing: -0.03em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}
.brand strong { font-weight: 800; color: var(--accent); }
.brand-logo { border-radius: 8px; }
.site-header nav { min-width: 0; }
.site-header nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.site-header nav ul::-webkit-scrollbar { display: none; }
.site-header nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }
/* Menu disclosure control — JS-only (src/site.js). Without .js-enabled it
   stays hidden and the nav list can never collapse: fail-open. */
.nav-toggle { display: none; }

/* Full-menu mega panel — native <details>, so it opens with or without JS.
   Absolutely positioned against .site-header (sticky = positioned). */
.nav-full { flex: none; }
.nav-full summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.35rem 0.85rem;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}
.nav-full summary::-webkit-details-marker { display: none; }
.nav-full summary::after {
  content: "";
  border: 0.32rem solid transparent;
  border-top-color: currentColor;
  margin-top: 0.2rem;
  transition: var(--transition);
}
.nav-full summary:hover { color: var(--ink); }
.nav-full[open] summary { color: var(--ink); border-color: var(--line); background: var(--bg-2); }
.nav-full[open] summary::after { transform: rotate(180deg); }
.nav-full-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(15, 61, 46, 0.14);
  z-index: 49;
}
.nav-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding: 2rem 0 2.25rem;
}
.nf-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.nf-col a {
  display: block;
  padding: 0.3rem 0;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
}
.nf-col a:hover { color: var(--ink); }
.nf-count { color: var(--ink-3); font-weight: 400; }
.nf-col a.nf-all {
  margin-top: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-weight: 600;
}

/* Bubble-lane scheduler — slots render client-side from /api/book; the
   fallback link stays visible if the API is unconfigured. */
.slot-windows { font-size: 0.95rem; color: var(--ink-2); margin: 0 0 1rem; }
.slot-days {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: none;
}
.slot-days::-webkit-scrollbar { display: none; }
.slot-day {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 4.5rem;
  padding: 0.55rem 0.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--ink-2);
  cursor: pointer;
  transition: var(--transition);
}
.slot-day .sd-dow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.slot-day .sd-date { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.slot-day .sd-count { font-size: 0.68rem; color: var(--ink-3); }
.slot-day[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
.slot-day[aria-selected="true"] .sd-date,
.slot-day[aria-selected="true"] .sd-count { color: #ffffff; }
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.slot-bubble {
  min-height: 44px;
  padding: 0.5rem 0.25rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: var(--transition);
}
.slot-bubble:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.slot-bubble[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
.slot-bubble:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}
.slot-picked {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--ink);
}
.slot-picked strong { color: var(--brand); }
.slot-status { margin-top: 0.75rem; font-size: 0.95rem; color: var(--ink-2); min-height: 1.2em; }
.slot-noscript { margin-top: 0.75rem; }
.slot-alt { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.slot-alt summary {
  cursor: pointer;
  color: var(--ink-3);
  font-size: 0.9rem;
  font-weight: 500;
  list-style: none;
}
.slot-alt summary::-webkit-details-marker { display: none; }
.slot-alt summary::before { content: "✎ "; }
.slot-alt[open] summary { margin-bottom: 1rem; color: var(--ink-2); }

/* breadcrumbs */
.crumbs { padding: 2rem 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; font-size: 0.875rem; color: var(--ink-3); font-weight: 500; }
.crumbs li+li::before { content: "/"; margin-right: 0.5rem; color: var(--line-strong); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* sections */
.hero {
  padding: 7rem 0 5rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px; right: -120px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.09) 0%, rgba(250,249,245,0) 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -220px; right: 10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(138, 99, 28, 0.08) 0%, rgba(250,249,245,0) 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { max-width: 20ch; margin-bottom: 1.5rem; }
.hero .finder { margin-top: 0; }
.hero-visual {
  position: relative;
  perspective: 1400px;
}
.hero-visual img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--edge-light), var(--shadow-lg);
  transform: rotateY(-8deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}
.hero-visual:hover img {
  transform: rotateY(-2deg) rotateX(1deg) scale(1.02);
  box-shadow: var(--edge-light), var(--shadow-hover);
}
.badge-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 1.5rem; }
.badge {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(138, 99, 28, 0.3);
  padding: 0.4rem 0.9rem; border-radius: 6px;
}
.finder-float { transform: translateY(-7.5rem); margin-bottom: -7.5rem; position: relative; z-index: 5; }
.finder-float .finder { box-shadow: var(--shadow-lg), var(--edge-light); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; margin: 2.5rem 0 0; }
.metric-row {
  display: flex; flex-wrap: wrap; gap: 3rem;
  list-style: none; padding: 2.5rem 0 0; margin: 4rem 0 0;
  border-top: 1px solid var(--line);
  position: relative; z-index: 1;
}
.metric-row li { font-size: 0.95rem; color: var(--ink-3); font-weight: 500; }
.metric-row strong { display: block; font-size: 2.25rem; font-weight: 700; color: var(--brand); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 0.35rem; }
.hero-img { margin-top: 4rem; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }

/* Trust row — compact gold-keyed marks under the hero CTAs. Deliberately
   quiet next to .metric-row (which carries the big numerals further down). */
.trust-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem;
  list-style: none; padding: 0; margin: 1.75rem 0 0;
}
.trust-row li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.85rem; font-weight: 600;
  color: var(--ink-2);
}
.trust-row li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800;
}

/* Sample Deliverable Plan — raised "document" card. Reuses the photoreal
   raised-surface language (inset top light edge + layered shadow). */
.plan-sample {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2.5rem 3rem;
  margin-top: 2.5rem;
  box-shadow: var(--edge-light), var(--shadow-lg);
}
.plan-sample-title {
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.75rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.plan-sample-rows { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.plan-sample-rows li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 0.25rem 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--line-strong);
}
.plan-sample-rows li:last-child { border-bottom: 0; }
.plan-sample-rows a { font-weight: 500; color: var(--ink); text-decoration-color: var(--line-strong); }
.plan-sample-rows a:hover { color: var(--brand-2); }
.plan-sample-rows .ps-est { color: var(--brand); font-weight: 700; white-space: nowrap; }
.plan-sample-foot {
  font-size: 0.9rem; color: var(--ink-3);
  margin: 0; padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* #fix anchor — the ghost CTA scrolls here; clear the sticky header. */
#fix { scroll-margin-top: 7rem; }

.page-head { padding: 6rem 0 4rem; background: var(--bg); }
.band { padding: 6rem 0; }
.band.alt { background: var(--bg-2); }
.band-inverse {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: rgba(255, 255, 255, 0.85);
}
.band-inverse h1, .band-inverse h2, .band-inverse h3, .band-inverse h4 { color: #fff; }
.band-inverse .lede { color: rgba(255, 255, 255, 0.75); }
.band-inverse .eyebrow { color: #d4b96a; }
.band-inverse a { color: #9fd4bd; }
.band-inverse a:hover { color: #fff; }
.band-inverse .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.band-inverse .btn-ghost:hover { background: rgba(255,255,255,0.12); box-shadow: none; }
.lede { font-size: clamp(1.25rem, 2.5vw, 1.5rem); color: var(--ink-2); max-width: 58ch; line-height: 1.6; letter-spacing: -0.02em; }
.eyebrow { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); font-weight: 700; margin: 0 0 1rem; }
.price { font-size: 3.5rem; font-weight: 700; color: var(--brand); margin: 0.5rem 0; letter-spacing: -0.05em; }

.callout {
  border-left: 4px solid var(--accent);
  background: var(--accent-light);
  color: var(--ink);
  padding: 1.5rem 2rem; 
  border-radius: 0 var(--r) var(--r) 0;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-sm);
}
.callout strong { color: var(--brand); }
.callout p { color: var(--ink); }
.answer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  box-shadow: var(--edge-light), var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.answer::before {
  content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--brand-2);
}
.answer p { margin: 0; font-size: 1.25rem; color: var(--ink); line-height: 1.6; font-weight: 500; }
.quote { color: var(--ink-2); font-style: italic; }
.quote.big { font-size: 1.5rem; }
.disclosure { font-size: 0.9rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2.5rem; }
.updated { font-size: 0.875rem; color: var(--ink-3); font-weight: 500; display: inline-block; background: var(--bg-2); padding: 0.35rem 1rem; border-radius: 99px; }

/* lists */
.steps { padding-left: 1.5rem; }
.steps li { margin-bottom: 1rem; }
.steps li::marker { color: var(--accent); font-weight: 800; }
.steps.big li { margin-bottom: 1.5rem; font-size: 1.15rem; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 2rem; position: relative; margin-bottom: 1rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 700; }

.crosses { list-style: none; padding: 0; }
.crosses li { padding-left: 2rem; position: relative; margin-bottom: 1rem; }
.crosses li::before { content: "×"; position: absolute; left: 0; color: var(--ink-3); font-weight: 700; font-size: 1.15em; }

/* The four contractual terms, sitting with the price on /plan/ */
.guarantee-block {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--r);
  color: var(--ink);
  box-shadow: var(--edge-light), var(--shadow-sm);
}
.guarantee-block li { padding-left: 2rem; position: relative; margin-bottom: 0.85rem; color: var(--ink-2); }
.guarantee-block li:last-child { margin-bottom: 0; }
.guarantee-block li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 700; }
.pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.pros-cons h3 { font-size: 1.15rem; margin: 0 0 1rem; }
.cost { color: var(--ink-2); margin-top: -0.25rem; }
.cta-global { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; border: 1px solid var(--line-strong); text-align: center; border-radius: 24px; margin: 4rem 2rem; padding: 5rem 2rem; }
.cta-global h2 { margin-top: 0; color: #fff; }
.cta-global p { margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.8); }

@media (max-width: 48rem) {
  .pros-cons { grid-template-columns: 1fr; gap: 2rem; }
  .cta-global { margin: 2rem 1rem; padding: 4rem 1.5rem; }
}

.note { color: var(--ink-2); font-size: 0.95rem; line-height: 1.5; }
.note-warn { color: var(--ink); font-weight: 600; }

.tools { list-style: none; padding: 0; }
.tools li {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--edge-light), var(--shadow-sm);
  transition: var(--transition);
}
.tools li:hover { box-shadow: var(--edge-light), var(--shadow-md); transform: translateY(-4px); border-color: var(--brand-2); }
.tools .note { color: var(--ink-2); font-size: 0.95rem; display: block; margin-top: 0.5rem; line-height: 1.5; }
.tag {
  background: var(--accent-light);
  color: var(--accent); 
  border: 1px solid rgba(138, 99, 28, 0.25);
  font-size: 0.75rem; 
  font-weight: 700; 
  padding: 0.35rem 0.75rem; 
  border-radius: 99px; 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
  display: inline-block;
  margin-left: 0.5rem;
}
.tag-unverified { background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line-strong); }
.tools .note-warn { color: var(--ink); font-weight: 600; }
.howto { padding-left: 1.5rem; }
.howto li { margin-bottom: 1.5rem; font-weight: 500; }
.howto p { margin: 0.5rem 0 0; color: var(--ink-2); font-weight: 400; }
.faq dt { font-weight: 600; margin-top: 2rem; font-size: 1.15rem; }
.faq dd { margin: 0.75rem 0 0; color: var(--ink-2); padding-left: 1.5rem; border-left: 1px solid var(--line-strong); }
.stats { display: flex; flex-wrap: wrap; gap: 3rem; list-style: none; padding: 2rem 0 0; margin: 0; border-top: 1px solid var(--line); }
.stats li { font-size: 1rem; color: var(--ink-3); font-weight: 500; }
.stats span { display: block; font-size: 3rem; font-weight: 700; color: var(--accent); line-height: 1; letter-spacing: -0.05em; margin-bottom: 0.5rem; }

/* cards */
.cat-block { margin-bottom: 4rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr)); gap: 2rem; }
.card {
  border: 1px solid rgba(22, 106, 77, 0.22);
  border-radius: 16px;
  padding: 2.5rem;
  background: #f0f7f4;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(16, 26, 21, 0.05), 0 6px 16px -4px rgba(16, 26, 21, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 4px 8px -1px rgba(16, 26, 21, 0.06), 0 20px 36px -8px rgba(16, 26, 21, 0.14);
  transform: translateY(-5px);
  border-color: var(--brand-2);
  background: #ffffff;
}
.card p { color: var(--ink-2); }
.card ul, .card ol { color: var(--ink-2); }
.card li { color: var(--ink-2); }
.card-cta {
  margin: 1.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(22, 106, 77, 0.15);
  text-align: right;
}

.card h3 { margin: 0 0 1rem; font-size: 1.35rem; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a::before { content:""; position:absolute; inset:0; z-index:1; }
.card { position: relative; } /* For the pseudo-element link */
.card h3 a:hover { color: var(--brand-2); }
.card .quote { font-size: 1rem; margin: 0 0 1.5rem; flex-grow: 1; line-height: 1.6; color: var(--ink-2); }
.card .meta { 
  display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem 0 0; margin: 0; 
  font-size: 0.9rem; color: var(--ink-3); border-top: 1px solid var(--line); font-weight: 500;
}
.card .meta strong { color: var(--ink); font-weight: 600; }

/* Accessible status badges on the shared light theme. The homepage-only
   5-Wall stylesheet retains its dark-surface variants. */
.badge-clear { background: #eaf6ef; color: #14532d; border: 1px solid #86c99f; }
.badge-warning { background: #fff7e6; color: #7c4a03; border: 1px solid #e0b45c; }
.badge-danger { background: #fff0f1; color: #9f1239; border: 1px solid #e6a0ae; }

/* buttons + form */
.btn, button[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #14c98f 0%, var(--action) 100%);
  color: var(--action-ink);
  text-decoration: none;
  min-height: 48px;
  padding: 0.875rem 2.25rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  border: 0;
  cursor: pointer;
  box-shadow: var(--edge-light), 0 3px 0 var(--action-deep), 0 10px 24px -6px rgba(16, 185, 129, 0.45);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease;
}
.btn:hover, button[type=submit]:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--edge-light), 0 5px 0 var(--action-deep), 0 0 24px rgba(16, 185, 129, 0.35), 0 16px 32px -8px rgba(16, 185, 129, 0.4);
  color: var(--action-ink);
}
.btn:active, button[type=submit]:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: var(--edge-light), 0 1px 0 var(--action-deep), 0 6px 12px -4px rgba(16, 185, 129, 0.3);
}
.btn-ghost {
  background: var(--surface);
  color: var(--brand);
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--edge-light), var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--brand-2);
  color: var(--brand-2);
  box-shadow: var(--edge-light), var(--shadow-md);
}
/* Primary action style shared by interactive subpages. */
.btn-primary { background: var(--brand-2); color: #fff; }
.btn-primary:hover { background: var(--brand); color: #fff; }
.btn-nav {
  min-height: 40px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  white-space: nowrap;
  flex: none;
}
.btn-link { font-weight: 600; color: var(--brand-2); background: transparent; box-shadow: none; padding: 0; }
.btn-link:hover { background: transparent; box-shadow: none; transform: none; color: var(--ink); text-decoration: none; }
.btn-link::after { content: " →"; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: inline-block; }
.btn-link:hover::after { transform: translateX(4px); }

.finder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 16px;
  padding: 3rem;
  margin-top: 3.5rem;
  max-width: 48rem;
  box-shadow: var(--edge-light), var(--shadow-lg);
}
.finder .field { margin-bottom: 1.5rem; }
.finder label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 0.75rem; color: var(--ink); }
.finder .req { color: var(--brand-2); font-weight: 500; font-size: 0.85rem; margin-left: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.finder .opt { color: var(--ink-3); font-weight: 500; font-size: 0.85rem; margin-left: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.finder textarea, .finder input[type=text], .finder input[type=email], .finder input[type=tel] {
  width: 100%;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font: inherit;
  font-size: 1.05rem;
  background: var(--bg-2);
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.finder textarea:hover, .finder input:hover { border-color: var(--ink-3); }
.finder textarea:focus, .finder input:focus {
  outline: none;
  border-color: var(--brand-2);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(22, 106, 77, 0.15);
}
.finder .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.finder .fine { font-size: 0.9rem; color: var(--ink-3); margin: 1.5rem 0 0; line-height: 1.6; }
.hp { position: absolute; left: -9999px; }

/* footer */
.site-footer {
  border-top: 4px solid var(--accent);
  background: var(--brand-deep);
  padding: 6rem 0 4rem;
  margin-top: 6rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
}
.site-footer a { color: #9fd4bd; }
.site-footer a:hover { color: #fff; }
.foot-lead { color: #fff; font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }
.foot-meta { font-size: 0.95rem; color: rgba(255, 255, 255, 0.55); line-height: 1.6; }

/* Case Studies & Reference Architectures */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cs-card {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--edge-light), var(--shadow-sm);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.cs-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.cs-card h3 {
  margin: 0.5rem 0 1rem;
  font-size: 1.45rem;
}

.cs-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.cs-card h3 a:hover {
  color: var(--brand-2);
}

.cs-card .subtitle {
  color: var(--ink-2);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cs-card .sector-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.cs-impact-box {
  background: var(--bg-2);
  border-radius: 16px;
  padding: 2rem;
  margin: 3rem 0;
}

.cs-impact-box .impact-stat {
  font-size: 3rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}

.cs-impact-box .impact-label {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.cs-impact-box .impact-basis {
  font-size: 0.95rem;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.6;
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.arch-card {
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem;
  transition: var(--transition);
}

.arch-card:hover {
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}

.arch-card .arch-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}

.arch-card h4 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.arch-card p {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.6;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2.5rem;
}

.pill-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: var(--transition);
}
.pill-list li:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

/* Animations */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-enabled .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments & Mobile Excellence */
@media (max-width: 60rem) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero .finder { margin-top: 0; }
  .finder-float { transform: none; margin-bottom: 2rem; }
  .hero-visual img { transform: rotateY(-3deg) rotateX(1deg); }
}
@media (max-width: 48rem) {
  .hero { padding: 4rem 0 3rem; }
  .page-head { padding: 3rem 0 2rem; }
  .band { padding: 3rem 0; }
  .finder { padding: 2rem; margin-top: 2rem; border-radius: 16px; }
  .plan-sample { padding: 1.75rem 1.5rem; }
  .cards, .cs-grid, .arch-grid { grid-template-columns: 1fr; }
  .header-inner { min-height: 4.5rem; }
  .cs-impact-box { padding: 1.5rem; }
  .answer { padding: 1.5rem 1.75rem; }
  .wrap { padding: 0 1.5rem; }
  .nav-full-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1.5rem 0 1.75rem; }
  .nav-full-panel { max-height: 70vh; overflow-y: auto; }
}

@media (max-width: 35rem) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 0;
    padding: 0.5rem 0;
    gap: 0.5rem;
  }
  .nav-full summary { justify-content: center; min-height: 48px; background: var(--bg-2); border-color: var(--line); }
  .nav-full-grid { grid-template-columns: 1fr; }
  .brand {
    order: 1;
    flex: 1 1 auto;
    justify-content: flex-start;
  }
  .js-enabled .nav-toggle {
    order: 2;
    flex: 0 0 auto;
    width: auto;
  }
  .site-header nav { order: 3; min-width: 0; flex: 1 0 100%; }
  .nav-full { order: 4; flex: 1 1 8rem; }
  .site-header .btn-nav { order: 5; flex: 0 1 auto; width: auto; min-height: 48px; padding: 0.5rem 0.9rem; }
  .site-header nav ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .site-header nav ul::-webkit-scrollbar { display: none; }
  .site-header nav a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 99px;
    font-size: 0.95rem;
    font-weight: 500;
  }
  .site-header nav a[aria-current] {
    background: var(--action);
    color: var(--action-ink);
    border-color: var(--action);
  }
  /* Mobile nav disclosure: button + collapsed state exist ONLY under
     .js-enabled — no-JS visitors always see the chip row. */
  .js-enabled .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.5rem 1rem;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
  }
  .nav-toggle::after {
    content: "";
    border: 0.35rem solid transparent;
    border-top-color: currentColor;
    transition: var(--transition);
  }
  .nav-toggle[aria-expanded="true"]::after { transform: rotate(180deg) translateY(-2px); }
  .js-enabled .site-header nav.nav-collapsed { display: none; }
  .finder .row { grid-template-columns: 1fr; gap: 1.25rem; }
  .finder textarea, .finder input[type=text], .finder input[type=email], .finder input[type=tel] {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    padding: 1rem;
  }
  .btn, button[type=submit] { 
    width: 100%; 
    min-height: 54px; 
    text-align: center; 
  }
  .stats { flex-direction: column; gap: 1.5rem; }
  .cs-impact-box .impact-stat { font-size: 2.25rem; }
  .card, .cs-card, .arch-card { padding: 1.5rem; border-radius: 16px; }
  .crumbs { padding-top: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}
/* Fix Slides */
.fix-slides { border-top: 1px solid var(--line); padding-top: 3rem; }
.slides-container { display: flex; flex-direction: column; gap: 3rem; margin-top: 2rem; }
.slide { display: flex; flex-direction: column; gap: 1rem; position: relative; }
.slide-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--accent); color: #071f17; border-radius: 50%; font-weight: bold; position: absolute; top: -16px; left: -16px; z-index: 10; box-shadow: var(--shadow-sm); }
.slide-img { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--bg-2); }
.slide-img img { width: 100%; height: auto; display: block; }
.slide-text p { margin: 0; font-size: 1.1rem; font-weight: 500; color: var(--ink); line-height: 1.5; }

/* Fix Application Instructions PDF Card */
.fix-pdf-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--edge-light), var(--shadow-md);
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.fix-pdf-card-badge {
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.6rem 1.5rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.fix-pdf-badge-dot {
  color: var(--brand-2);
  font-size: 0.75rem;
}
.fix-pdf-card-content {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 680px) {
  .fix-pdf-card-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.fix-pdf-card-info {
  flex: 1;
}
.fix-pdf-card-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.fix-pdf-card-info p {
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.fix-pdf-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--ink-2);
}
.fix-pdf-card-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 250px;
}
.fix-pdf-meta {
  font-size: 0.75rem;
  color: var(--ink-3);
  text-align: center;
  font-weight: 500;
}

/* ---- CSP-externalized component styles (previously inline style= attributes) ---- */

/* Entity / entity-block */
.entity-block { background: var(--bg-2); border: 1px solid var(--line-strong); padding: 1.5rem; border-radius: 8px; margin: 2rem 0; }
.entity-block h3 { margin-top: 0; font-size: 1.25rem; }
.entity-block ul { list-style: none; padding: 0; margin: 0; line-height: 1.8; font-size: 0.95rem; }

/* Local market context — the genuinely-local block on primary location pages */
.local-market { background: var(--bg-2); border-left: 3px solid var(--brand-2); padding: 1.25rem 1.5rem; border-radius: 0 8px 8px 0; margin: 1.5rem 0 2rem; }
.local-market h3 { margin-top: 0; font-size: 1.1rem; }
.local-market p { margin-bottom: 0; }

/* Spacing utilities */
.foot-meta-top { margin-top: 0.75rem; }
.section-gap { margin-top: 3rem; }
.actions { margin-top: 2rem; }
.meta-gap { margin-top: 1rem; }
.btn-row { margin-top: 1rem; }
.card-foot { margin-top: 1rem; }
.btn-block { width: 100%; }
.card-spread { justify-content: space-between; }
.back-nav { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.article-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.callout-tight { margin-bottom: 2rem; }

/* Fine print — muted small text (was inline font-size/color pairs) */
.fine { font-size: 0.9rem; color: var(--ink-3); line-height: 1.6; }

/* Scheduler card (booking-success) */
.calendar-card { background: var(--bg-2); border: 1px solid var(--line); padding: 2rem; border-radius: 12px; margin: 1.5rem 0; text-align: center; color: var(--ink); box-shadow: var(--shadow-sm); }
.calendar-card h3 { margin-top: 0; color: var(--ink); }
.calendar-card p { margin-bottom: 1.5rem; color: var(--ink-2); }
.calendar-card .btn { display: inline-block; padding: 1rem 2rem; font-size: 1.1rem; }
.calendar-card .fine { font-size: 0.9rem; color: var(--ink-2); margin-top: 1rem; }

/* Callout variants */
.callout-info { background: var(--bg-2); border-left: 4px solid #1d4ed8; padding: 1.25rem 1.5rem; margin: 1.5rem 0; border-radius: 0 8px 8px 0; color: var(--ink); box-shadow: var(--shadow-sm); }
.callout-info p { margin-bottom: 0.5rem; color: var(--ink-2); }
.callout-info p:last-child { margin-bottom: 0; }
.decision-title { margin-top: 0; font-size: 1.1rem; color: #1e3a8a; font-weight: 700; }
.callout-answer { background: #f0fdf4; border-left: 4px solid #15803d; padding: 1.25rem 1.5rem; margin-top: 1.5rem; border-radius: 0 8px 8px 0; color: var(--ink); box-shadow: var(--shadow-sm); }
.callout-answer p { margin-bottom: 0; font-size: 1.05rem; line-height: 1.6; color: var(--ink-1, #101a15); }
.answer-title { margin-top: 0; color: var(--brand-2); font-size: 1.1rem; font-weight: 700; }

/* Card detail text (services/locations index blurbs) */
.card-detail { margin-top: 0.5rem; font-size: 0.95rem; color: var(--ink-2); }

/* FAQ / glossary heading resets */
.faq dt h3 { font-size: 1.1rem; margin: 0; display: inline; }
.faq dd p { margin-top: 0.25rem; }
.glossary-item { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.glossary dt h2 { font-size: 1.35rem; margin-top: 0; color: #1e293b; }
.glossary dd { margin-left: 0; }
.glossary .def { font-size: 1.05rem; line-height: 1.6; }

/* Citations block (service pages) */
.citations-block { background: var(--bg-2); border: 1px solid var(--line); padding: 1.25rem; border-radius: 6px; margin: 1.5rem 0; }
.citations-block p { margin-bottom: 0.5rem; }
.citations-block .source { font-size: 0.85rem; color: var(--ink-3); margin-bottom: 0; }

/* Compact impact box inside case-study index cards */
.cs-impact-box.compact { margin: 1rem 0; padding: 1rem; }
.cs-impact-box.compact .impact-stat { font-size: 1.5rem; }
.cs-impact-box.compact .impact-label { font-size: 0.85rem; }
.cs-impact-box.compact .impact-basis { font-size: 0.8rem; }

/* Article bodies + tables (long-URL overflow protection) */
.article-body { overflow-wrap: break-word; }
.article-body a, .article-body code { overflow-wrap: anywhere; }
.article-body pre { background: #1e293b; color: #f8fafc; padding: 1rem; border-radius: 6px; overflow-x: auto; }
.article-lead-box { background: var(--bg-2); border-left: 4px solid var(--brand); padding: 1.5rem; border-radius: 4px; margin-bottom: 2rem; }
.article-lead-box p { margin: 0; font-size: 1.1rem; line-height: 1.6; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.article-table, .article-body table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.95rem; margin: 1.75rem 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: var(--shadow-sm); }
.article-table thead tr, .article-body table thead tr { background: var(--bg-2); border-bottom: 2px solid var(--line-strong); }
.article-table tbody tr, .article-body table tbody tr { border-bottom: 1px solid var(--line); }
.article-table td, .article-table th, .article-body table td, .article-body table th { padding: 0.85rem 1.15rem; color: var(--ink); }
.article-table th, .article-body table th { color: var(--brand); font-weight: 700; }
.article-table tbody tr:hover, .article-body table tbody tr:hover { background: rgba(16, 185, 129, 0.03); }
.table-note { font-size: 0.85rem; color: var(--ink-3); margin-top: -0.5rem; }

/* /plan/ error banner + skip-link target offset under the sticky header */
#form-alert { border-left: 2px solid var(--brand-2); background: var(--bg-2); padding: 1rem 1.5rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0; font-weight: 500; }
#main { scroll-margin-top: 7rem; }

/* ---------------------------------------------------------- wall check */
/* Five-wall glyph strip on fix tool lines + vendor pages. Facts, not
   verdicts — pending and stale are honest states, styled muted. */
.wallstrip { display: block; margin-top: 0.45rem; font-size: 0.82rem; color: var(--ink-3); }
.wg-title { font-weight: 700; color: var(--ink-2); letter-spacing: 0.02em; text-transform: uppercase; font-size: 0.72rem; margin-right: 0.35rem; }
.wg { display: inline-flex; align-items: center; gap: 0.2rem; margin-right: 0.55rem; white-space: nowrap; }
.wg-mark { font-weight: 800; width: 1em; text-align: center; }
.wg-clear { color: var(--brand-2); }
.wg-warning { color: var(--accent); }
.wg-blocked { color: #9c2b2b; }
.wg-stale { color: var(--ink-3); font-style: italic; }
.wg-unchecked { color: var(--ink-3); }
.wg-note { color: var(--ink-3); }
.wg-link { font-weight: 600; }
.wg-row { margin: 0.4rem 0 0; }

/* Gate score chip — the 1-5 count of walls that fired in the last check.
   A count, not a verdict: color ramps toward the blocked red as the number
   of gates accumulates; pending stays muted/dashed like unchecked glyphs. */
.gs { display: inline-block; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.02em; padding: 0.08rem 0.45rem; border: 1px solid var(--line-strong); border-radius: 999px; white-space: nowrap; color: var(--ink-2); }
.gs-1, .gs-2 { color: var(--brand-2); border-color: var(--brand-2); }
.gs-3 { color: var(--accent); border-color: var(--accent); }
.gs-4 { color: #b45309; border-color: #b45309; }
.gs-5 { color: #9c2b2b; border-color: #9c2b2b; }
.gs-pending { color: var(--ink-3); border-style: dashed; font-weight: 500; font-style: italic; }
.gate-line { margin: 0.55rem 0 0.2rem; }

/* Vendor page: five wall cards */
.wall-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.wall-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--line-strong); border-radius: 12px; padding: 1rem 1.1rem; }
.wall-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.wall-card.wg-clear { border-top-color: var(--brand-2); }
.wall-card.wg-warning { border-top-color: var(--accent); }
.wall-card.wg-blocked { border-top-color: #9c2b2b; }
.wall-card.wg-stale, .wall-card.wg-unchecked { border-top-color: var(--line-strong); }

/* Homepage wall board — every vendor, one row each */
.wallboard { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0.35rem 1rem; margin: 1rem 0 1.25rem; }
.wb-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.6rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-decoration: none; color: var(--ink); }
.wb-row:hover { border-color: var(--line-strong); }
.wb-name { font-weight: 600; font-size: 0.88rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-dots { display: inline-flex; gap: 0.28rem; }
.wb-dot { font-size: 0.72rem; font-weight: 800; width: 1.1em; text-align: center; }
.wb-state { font-size: 0.72rem; color: var(--ink-3); white-space: nowrap; }
.wb-pending { border-style: dashed; }
.wb-pending .wb-name { color: var(--ink-3); }

/* Evidence thumbnail inside a vendor wall card */
.wg-evidence { display: block; margin-top: 0.5rem; }
.wg-evidence img { display: block; width: 100%; max-height: 140px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 6px; }

/* Engineering Standards */
.engineering-standards { background: #f8f9fa; border-left: 4px solid var(--accent); padding: 1.5rem; margin-top: 2rem; border-radius: 0.25rem; }
.engineering-standards-list { font-size: 0.9rem; line-height: 1.4; list-style: none; padding-left: 0; }
.engineering-standards-list li { margin-bottom: 1.5rem; }
.engineering-standards-img { max-width: 100%; border-radius: 4px; margin-top: 0.5rem; border: 1px solid #ddd; }
.engineering-standards-status { margin-bottom: 0; font-size: 0.85rem; color: #666; }
.engineering-standards-updated { margin-top: 2rem; }

/* ==========================================================================
   TASTE UNIVERSE & GOOEY BLOB AGENT STYLES (/taste/)
   ========================================================================== */

.taste-universe-root {
  background: linear-gradient(180deg, #050b1d 0%, #0a1435 45%, #050c20 85%, #020617 100%);
  min-height: 100vh;
  color: #f8fafc;
  overflow-x: hidden;
  font-family: var(--sans);
}

/* --- Hero Section & 3D Cheese Drop --- */
.taste-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}

.taste-vortex-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 35%, rgba(255, 153, 0, 0.16) 0%, rgba(10, 20, 53, 0.7) 50%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.taste-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.taste-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin: 0 auto;
}

.taste-eyebrow {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.taste-pill {
  background: rgba(255, 153, 0, 0.15);
  border: 1px solid rgba(255, 153, 0, 0.5);
  color: #ffb703;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 0 15px rgba(255, 153, 0, 0.25);
}

.taste-pill-fine {
  background: rgba(30, 58, 138, 0.5);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #93c5fd;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.taste-stage {
  margin-bottom: 24px;
  position: relative;
}

.taste-title-wrap {
  position: relative;
  display: inline-block;
  padding-bottom: 56px;
}

/* 3D TASTE Typography with molten extrusion */
.taste-3d-title {
  font-size: clamp(4.5rem, 15vw, 9.5rem);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff3b0 0%, #ffb703 35%, #fb8500 70%, #d9480f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 0 #b33900)
          drop-shadow(0 8px 0 #8c2a00)
          drop-shadow(0 14px 18px rgba(0, 0, 0, 0.8))
          drop-shadow(0 0 40px rgba(255, 153, 0, 0.5));
  transform: perspective(600px) rotateX(8deg);
  position: relative;
  display: inline-block;
  user-select: none;
}

/* Molten Cheese Drips Layer */
.cheese-drips-layer {
  position: absolute;
  top: 75%;
  left: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
}

.cheese-drip {
  position: absolute;
  background: linear-gradient(180deg, #fb8500 0%, #ffb703 50%, #ffa200 100%);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 6px 14px rgba(217, 72, 15, 0.6), inset 0 -3px 4px rgba(255, 243, 176, 0.7);
  animation: cheeseDripStretch 3.5s ease-in-out infinite alternate;
  transform-origin: top center;
}

.cheese-drip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 14px;
  background: radial-gradient(circle at 35% 35%, #fff3b0 0%, #ffb703 50%, #d9480f 100%);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.cheese-drip.d1 { left: 14%; width: 14px; height: 38px; animation-delay: 0s; }
.cheese-drip.d2 { left: 26%; width: 20px; height: 56px; animation-delay: 1.1s; }
.cheese-drip.d3 { left: 40%; width: 12px; height: 32px; animation-delay: 2.2s; }
.cheese-drip.d4 { left: 54%; width: 22px; height: 68px; animation-delay: 0.6s; }
.cheese-drip.d5 { left: 69%; width: 16px; height: 46px; animation-delay: 1.8s; }
.cheese-drip.d6 { left: 81%; width: 18px; height: 60px; animation-delay: 2.7s; }
.cheese-drip.d7 { left: 91%; width: 11px; height: 28px; animation-delay: 0.9s; }

@keyframes cheeseDripStretch {
  0% { transform: scaleY(0.9) scaleX(1); }
  50% { transform: scaleY(1.3) scaleX(0.9) translateY(4px); }
  100% { transform: scaleY(1.15) scaleX(0.95) translateY(2px); }
}

.taste-tagline {
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: 1px;
  margin-top: 28px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.taste-manifesto-sub {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffb703;
  max-width: 780px;
  margin: 12px auto 0;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(255, 183, 3, 0.35);
}

.taste-lede {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #cbd5e1;
  max-width: 760px;
  margin: 0 auto 36px;
}

.taste-lede strong {
  color: #ffb703;
}

.taste-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.tstat-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 14px;
  padding: 18px 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, border-color 0.2s;
}

.tstat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 183, 3, 0.5);
}

.tstat-val {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffb703;
  font-family: var(--mono);
  margin-bottom: 4px;
}

.tstat-lbl {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Section 2: Gooey Agent Roster --- */
.taste-crew-section {
  padding: 90px 24px;
  position: relative;
  background: linear-gradient(180deg, #0a1435 0%, #0d1a45 50%, #08112c 100%);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.blobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.blob-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.blob-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  border-color: rgba(96, 165, 250, 0.6);
}

/* Blob Scene Stage */
.blob-scene {
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 18px;
  overflow: visible;
}

.blob-actor {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

/* Squish animation trigger on hover / click */
.blob-card:hover .blob-actor,
.blob-card.is-squished .blob-actor {
  animation: blobActorSquish 0.6s ease;
}

@keyframes blobActorSquish {
  0% { transform: scale(1, 1); }
  25% { transform: scale(1.3, 0.7) translateY(12px); }
  55% { transform: scale(0.85, 1.2) translateY(-10px); }
  75% { transform: scale(1.08, 0.94) translateY(2px); }
  100% { transform: scale(1, 1) translateY(0); }
}

/* Base Cartoon Jelly Blob Body */
.blob-body {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 46% 54% 68% 32% / 42% 44% 56% 58%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: blobMorph 5s ease-in-out infinite alternate;
  transition: all 0.3s;
  z-index: 2;
}

.blob-body::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 12px;
  width: 24px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 70%);
  transform: rotate(-30deg);
  pointer-events: none;
}

@keyframes blobMorph {
  0% { border-radius: 46% 54% 68% 32% / 42% 44% 56% 58%; }
  33% { border-radius: 65% 35% 42% 58% / 52% 64% 36% 48%; }
  66% { border-radius: 38% 62% 60% 40% / 40% 38% 62% 60%; }
  100% { border-radius: 54% 46% 38% 62% / 60% 50% 50% 40%; }
}

.blob-shadow {
  position: absolute;
  bottom: -6px;
  width: 64px;
  height: 10px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  filter: blur(4px);
  z-index: 0;
  transition: transform 0.3s;
}

.blob-card:hover .blob-shadow {
  transform: scale(1.18);
}

/* Limbs: Arms & Hands */
.blob-arm {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blob-hand {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Devin's arms tossing dough */
.arm-up-toss {
  width: 12px;
  height: 28px;
  border-radius: 6px;
  top: -12px;
  animation: tossArms 1.2s ease-in-out infinite alternate;
}
.arm-up-toss.left { left: 4px; transform: rotate(-35deg); }
.arm-up-toss.right { right: 4px; transform: rotate(35deg); }

@keyframes tossArms {
  0% { transform: translateY(0) rotate(-35deg); }
  100% { transform: translateY(-4px) rotate(-42deg); }
}

/* Agy's arms ironing */
.arm-steady-log {
  width: 22px;
  height: 10px;
  border-radius: 5px;
  left: -18px;
  top: 36px;
}
.arm-ironing {
  width: 28px;
  height: 10px;
  border-radius: 5px;
  right: -24px;
  top: 36px;
  animation: ironStroke 1.8s ease-in-out infinite alternate;
}
@keyframes ironStroke {
  0% { transform: translateX(0); }
  100% { transform: translateX(-12px); }
}

/* Rock's arms inspecting cookie jar */
.arm-magnifier {
  width: 26px;
  height: 10px;
  border-radius: 5px;
  right: -22px;
  top: 32px;
}
.arm-reaching-cookie {
  width: 18px;
  height: 10px;
  border-radius: 5px;
  left: -14px;
  top: 38px;
}

/* Codex's lounging arms */
.arm-behind-head {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  left: -8px;
  top: 14px;
}
.arm-holding-drink {
  width: 20px;
  height: 10px;
  border-radius: 5px;
  right: -16px;
  top: 30px;
}

/* Snow's walking arms */
.arm-stride {
  width: 14px;
  height: 22px;
  border-radius: 6px;
  left: -8px;
  top: 26px;
  animation: armSwing 0.8s ease-in-out infinite alternate;
}
.arm-leash {
  width: 24px;
  height: 10px;
  border-radius: 5px;
  right: -18px;
  top: 32px;
}
@keyframes armSwing {
  0% { transform: rotate(-20deg); }
  100% { transform: rotate(20deg); }
}

/* Grok's tree gripping hands */
.arm-grip-tree {
  width: 16px;
  height: 10px;
  border-radius: 5px;
  right: -12px;
}
.arm-grip-tree.left { top: 24px; }
.arm-grip-tree.right { top: 44px; }

/* Bart & Hermes espresso arms */
.arm-holding-espresso {
  width: 18px;
  height: 10px;
  border-radius: 5px;
  right: -14px;
  top: 24px;
  animation: cupCheers 2s ease-in-out infinite alternate;
}
@keyframes cupCheers {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-8deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Limbs: Legs & Shoes */
.blob-legs {
  display: flex;
  gap: 14px;
  position: relative;
  z-index: 1;
  margin-top: -6px;
}

.blob-leg {
  width: 9px;
  height: 16px;
  border-radius: 4px;
  background: inherit;
  position: relative;
}

.blob-shoe {
  position: absolute;
  bottom: -3px;
  left: -3px;
  width: 15px;
  height: 7px;
  border-radius: 4px 6px 2px 2px;
}

.chef-shoe { background: #78350f; }
.dress-shoe { background: #020617; border-top: 1px solid #64748b; }
.detective-boot { background: #451a03; border-top: 2px solid #78350f; }
.flip-flop { background: #06b6d4; height: 5px; border-radius: 2px; }
.sea-boot { background: #0f172a; border-top: 2px solid #fbbf24; }
.sneaker { background: #ffffff; border-bottom: 2px solid #e11d48; }
.tiny-shoe { background: #0f172a; width: 12px; height: 6px; }

/* Legs in active walk cycle (Captain Snow) */
.legs-walking .walking-stride-1 {
  animation: walkStride1 0.8s ease-in-out infinite alternate;
}
.legs-walking .walking-stride-2 {
  animation: walkStride2 0.8s ease-in-out infinite alternate;
}
@keyframes walkStride1 {
  0% { transform: rotate(-25deg); }
  100% { transform: rotate(25deg); }
}
@keyframes walkStride2 {
  0% { transform: rotate(25deg); }
  100% { transform: rotate(-25deg); }
}

/* Legs in lounging crossed pose (Codex) */
.legs-crossed {
  margin-top: -2px;
  transform: rotate(18deg);
}

/* Legs in seated pose (Bart & Hermes) */
.legs-seated {
  margin-top: 0;
  gap: 8px;
}

/* Costumes & Clothing */
.chef-apron {
  position: absolute;
  top: 20px;
  width: 36px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #cbd5e1;
  border-radius: 4px 4px 10px 10px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.chef-apron::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 6px;
  width: 22px;
  height: 12px;
  border: 1px dashed #94a3b8;
  border-radius: 2px;
}

.dress-collar {
  position: absolute;
  top: 16px;
  width: 26px;
  height: 10px;
  background: #ffffff;
  border-radius: 2px;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.dress-collar::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 9px;
  width: 8px;
  height: 22px;
  background: #0f172a;
  clip-path: polygon(0 0, 100% 0, 75% 100%, 50% 85%, 25% 100%);
}

.trench-coat {
  position: absolute;
  top: 18px;
  width: 44px;
  height: 44px;
  background: #b45309;
  border: 1px solid #78350f;
  border-radius: 6px;
  z-index: 2;
}
.trench-coat::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 6px;
  background: #78350f;
}

.hawaiian-shorts {
  position: absolute;
  bottom: 0;
  width: 46px;
  height: 18px;
  background: repeating-linear-gradient(45deg, #f43f5e, #f43f5e 6px, #06b6d4 6px, #06b6d4 12px);
  border-radius: 4px;
  z-index: 2;
}

.captain-vest {
  position: absolute;
  top: 20px;
  width: 38px;
  height: 38px;
  background: #1e3a8a;
  border: 1px solid #fbbf24;
  border-radius: 6px;
  z-index: 2;
}

.trench-coat-peeking {
  position: absolute;
  top: 22px;
  width: 36px;
  height: 38px;
  background: #9a3412;
  border-radius: 4px;
  z-index: 2;
}

.barista-apron {
  position: absolute;
  top: 16px;
  width: 26px;
  height: 28px;
  background: #15803d;
  border-radius: 4px;
  z-index: 2;
}

/* Expressive Face */
.blob-face {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  user-select: none;
}

.blob-eye {
  position: absolute;
  width: 13px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  top: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.blob-eye.left { left: -14px; }
.blob-eye.right { right: -14px; }

.blob-pupil {
  width: 6px;
  height: 6px;
  background: #0f172a;
  border-radius: 50%;
  transition: transform 0.2s;
}

.blob-pupil.look-up { transform: translateY(-2px); }
.blob-pupil.look-down { transform: translateY(2px); }
.blob-pupil.look-forward { transform: translateX(2px); }

.blob-card:hover .blob-pupil {
  transform: translate(2px, -2px);
}

.blob-mouth {
  width: 11px;
  height: 5px;
  margin-top: 12px;
  border-bottom: 3px solid #0f172a;
  border-radius: 0 0 10px 10px;
}
.blob-mouth.focused { width: 8px; height: 2px; background: #0f172a; border: none; }
.blob-mouth.serious { width: 10px; height: 2px; background: #0f172a; border: none; }
.blob-mouth.smug { width: 12px; height: 4px; border-bottom: 3px solid #0f172a; transform: rotate(-8deg); }
.blob-mouth.jolly { width: 12px; height: 6px; border-bottom: 3px solid #0f172a; }
.blob-mouth.o-face { width: 7px; height: 7px; border: 2px solid #0f172a; border-radius: 50%; }

.blob-sunglasses {
  font-size: 26px;
  position: absolute;
  top: -12px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.groucho-mask {
  font-size: 32px;
  position: absolute;
  top: -10px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6));
}

.blob-eyepatch {
  font-size: 16px;
  position: absolute;
  top: -8px;
  right: -15px;
}

/* Hats & Props */
.blob-prop {
  position: absolute;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
  z-index: 4;
  user-select: none;
}
.chef-hat { top: -24px; left: 6px; font-size: 32px; }
.fedora-hat { top: -22px; left: 14px; font-size: 30px; }
.pirate-hat { top: -22px; left: 12px; font-size: 30px; }

/* Custom Scene Details */

/* 1. Devin: Pizza Dough Toss */
.scene-pizza-toss {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.spinning-dough {
  width: 58px;
  height: 20px;
  background: radial-gradient(ellipse at center, #fef08a 0%, #f59e0b 60%, #b45309 100%);
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(180, 83, 9, 0.6);
  animation: spinPizza 1.8s linear infinite;
}
@keyframes spinPizza {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.08) translateY(-4px); }
  100% { transform: rotate(360deg) scale(1); }
}

/* 2. Agy: Ironing Setup */
.scene-ironing-setup {
  position: absolute;
  right: 24px;
  bottom: 14px;
  z-index: 3;
}
.blob-standing.blob-c-agy {
  transform: translateX(-24px);
}
.ironing-board {
  position: relative;
  width: 90px;
}
.ironing-board-surface {
  width: 90px;
  height: 10px;
  background: linear-gradient(90deg, #94a3b8, #cbd5e1 40%, #e2e8f0 100%);
  border-radius: 8px 3px 3px 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}
.ironing-board-legs {
  width: 70px;
  height: 38px;
  margin: 0 auto;
  position: relative;
}
.ironing-board-legs::before, .ironing-board-legs::after {
  content: '';
  position: absolute;
  top: 0;
  width: 3px;
  height: 38px;
  background: #64748b;
}
.ironing-board-legs::before { left: 15px; transform: rotate(30deg); }
.ironing-board-legs::after { right: 15px; transform: rotate(-30deg); }

.ironing-wrinkled-log {
  position: absolute;
  top: -8px;
  left: 6px;
  background: #020617;
  border: 1px solid #10b981;
  border-radius: 3px;
  padding: 1px 4px;
}
.ironing-wrinkled-log code {
  font-family: var(--mono);
  font-size: 8px;
  color: #34d399;
}

.mini-steam-iron {
  width: 16px;
  height: 10px;
  background: #e2e8f0;
  border: 1px solid #64748b;
  border-radius: 8px 2px 2px 2px;
  position: absolute;
  right: -6px;
  top: 0;
}
.steam-puff {
  position: absolute;
  top: -16px;
  right: 14px;
  font-size: 18px;
  animation: steamRise 1.6s ease-out infinite;
}
@keyframes steamRise {
  0% { opacity: 0; transform: translateY(4px) scale(0.6); }
  50% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-12px) scale(1.2); }
}

/* 3. Rock: Cookie Jar Setup */
.scene-cookie-setup {
  position: absolute;
  right: 24px;
  bottom: 12px;
  z-index: 3;
}
.blob-hunched.blob-c-rock {
  transform: translateX(-20px) rotate(8deg);
}
.cookie-jar-display {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cookie-jar-lid {
  width: 38px;
  height: 8px;
  background: #94a3b8;
  border-radius: 4px 4px 1px 1px;
}
.cookie-jar-glass {
  width: 50px;
  height: 52px;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(147, 197, 253, 0.6);
  border-radius: 8px 8px 14px 14px;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cookie-item {
  font-size: 16px;
  margin: -3px 0;
}
.cookie-label {
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 700;
  background: #ef4444;
  color: #ffffff;
  padding: 1px 3px;
  border-radius: 2px;
  margin-top: 2px;
}
.cookie-stand {
  width: 42px;
  height: 16px;
  background: #334155;
  border-radius: 2px 2px 4px 4px;
}
.mini-magnifier {
  font-size: 20px;
  position: absolute;
  right: -8px;
  top: -6px;
}

/* 4. Codex: Server Hammock Setup */
.scene-server-hammock {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}
.server-rack {
  width: 28px;
  height: 120px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.server-leds span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #10b981;
  margin-bottom: 4px;
  box-shadow: 0 0 4px #10b981;
  animation: blinkLed 1.2s infinite alternate;
}
.server-leds span:nth-child(2) { animation-delay: 0.4s; background: #38bdf8; box-shadow: 0 0 4px #38bdf8; }
.server-leds span:nth-child(3) { animation-delay: 0.8s; background: #fbbf24; box-shadow: 0 0 4px #fbbf24; }
@keyframes blinkLed {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}

.hammock-mesh {
  position: absolute;
  left: 36px;
  right: 36px;
  height: 60px;
  border-bottom: 4px solid #b45309;
  border-radius: 0 0 80px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hammock-shadow {
  position: absolute;
  bottom: 12px;
  width: 100px;
  height: 12px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  filter: blur(5px);
}
.mini-gpu-cocktail {
  font-size: 22px;
  position: absolute;
  right: -8px;
  top: -8px;
}

/* 5. Captain Snow: Park Walk Setup */
.scene-park-walk {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 3;
}
.leash-curve {
  position: absolute;
  right: 28px;
  bottom: 20px;
  width: 62px;
  height: 20px;
  border-bottom: 2px dashed #fbbf24;
  border-radius: 0 0 40px 40px;
  pointer-events: none;
  transform: rotate(-12deg);
}
.floppy-pet-critter {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: petBounce 0.8s ease-in-out infinite alternate;
}
.floppy-body { font-size: 26px; }
.floppy-feet { display: flex; gap: 8px; }
.ff { width: 5px; height: 6px; background: #38bdf8; border-radius: 2px; }
.pet-shadow {
  width: 24px;
  height: 5px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  filter: blur(2px);
  margin-top: 2px;
}
@keyframes petBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* 6. Grok: Cartoon Tree Hideout */
.scene-tree-hideout {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}
.cartoon-tree {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tree-canopy {
  width: 90px;
  height: 70px;
  background: #15803d;
  border-radius: 45px 45px 25px 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4), inset -4px -4px 0 #166534;
  position: relative;
  top: 6px;
  z-index: 4;
}
.tree-trunk {
  width: 32px;
  flex-grow: 1;
  background: #78350f;
  border-radius: 4px;
  box-shadow: inset -4px 0 0 #451a03;
  z-index: 3;
}
.blob-peeking {
  position: absolute;
  left: 50%;
  transform: translateX(6px);
  z-index: 1;
}
.blob-peeking .blob-arm.left {
  left: -12px;
  top: 30px;
  z-index: 4;
}
.blob-peeking .blob-arm.right {
  left: 4px;
  top: 48px;
  z-index: 4;
}

/* 7. Bart & Hermes: Cafe Bistro Setup */
.scene-cafe {
  position: relative;
}
.cafe-table-setup {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.bistro-table {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}
.table-top {
  width: 54px;
  height: 8px;
  background: #a16207;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.table-leg {
  width: 5px;
  height: 38px;
  background: #1e293b;
}
.table-base {
  width: 32px;
  height: 6px;
  background: #0f172a;
  border-radius: 3px;
}
.bistro-chair {
  width: 24px;
  height: 52px;
  background: #334155;
  border-radius: 6px 6px 2px 2px;
  margin: 20px 8px 0;
  opacity: 0.7;
}

.duo-actors-seated {
  display: flex;
  gap: 34px;
  position: relative;
  z-index: 2;
}
.blob-body.mini {
  width: 56px;
  height: 56px;
}
.mini-espresso-cup {
  font-size: 16px;
  position: absolute;
  right: -8px;
  top: -4px;
}

/* Distinct Single-Color Jelly Palettes */
.blob-c-devin .blob-body,
.blob-c-devin .blob-arm,
.blob-c-devin .blob-leg {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #047857 100%);
}
.blob-c-devin .blob-body {
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.45);
}

.blob-c-agy .blob-body,
.blob-c-agy .blob-arm,
.blob-c-agy .blob-leg {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #1e40af 100%);
}
.blob-c-agy .blob-body {
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.45);
}

.blob-c-rock .blob-body,
.blob-c-rock .blob-arm,
.blob-c-rock .blob-leg {
  background: linear-gradient(135deg, #fb7185 0%, #e11d48 50%, #881337 100%);
}
.blob-c-rock .blob-body {
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.45);
}

.blob-c-codex .blob-body,
.blob-c-codex .blob-arm,
.blob-c-codex .blob-leg {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 50%, #78350f 100%);
}
.blob-c-codex .blob-body {
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.45);
}

.blob-c-snow .blob-body,
.blob-c-snow .blob-arm,
.blob-c-snow .blob-leg {
  background: linear-gradient(135deg, #bae6fd 0%, #38bdf8 50%, #0369a1 100%);
}
.blob-c-snow .blob-body {
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.45);
}

.blob-c-grok .blob-body,
.blob-c-grok .blob-arm,
.blob-c-grok .blob-leg {
  background: linear-gradient(135deg, #f472b6 0%, #db2777 50%, #831843 100%);
}
.blob-c-grok .blob-body {
  box-shadow: 0 10px 24px rgba(219, 39, 119, 0.45);
}

.blob-c-bart .blob-body,
.blob-c-bart .blob-arm,
.blob-c-bart .blob-leg {
  background: linear-gradient(135deg, #c084fc 0%, #7e22ce 100%);
}
.blob-c-bart .blob-body {
  box-shadow: 0 8px 18px rgba(126, 34, 206, 0.4);
}

.blob-c-hermes .blob-body,
.blob-c-hermes .blob-arm,
.blob-c-hermes .blob-leg {
  background: linear-gradient(135deg, #a3e635 0%, #4d7c0f 100%);
}
.blob-c-hermes .blob-body {
  box-shadow: 0 8px 18px rgba(77, 124, 15, 0.4);
}

/* Blob Info Text */
.blob-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blob-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.blob-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
}

.blob-role-badge {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.blob-activity {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 12px;
}

.blob-activity strong {
  color: #e2e8f0;
}

.blob-quote {
  font-size: 0.85rem;
  font-style: italic;
  color: #cbd5e1;
  border-left: 2px solid #ffb703;
  padding-left: 10px;
  margin-top: auto;
  line-height: 1.45;
}

/* --- Section 3: Interactive Taste-O-Meter --- */
.taste-meter-section {
  padding: 90px 24px;
  position: relative;
  background: linear-gradient(180deg, #08112c 0%, #060d24 100%);
}

.wrap.narrow {
  max-width: 820px;
}

.meter-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  margin-top: 36px;
}

.meter-slider-wrap {
  margin-bottom: 32px;
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.82rem;
  margin-bottom: 14px;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 8px;
}

.label-center {
  color: #ffb703;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(255, 183, 3, 0.1);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 183, 3, 0.3);
}

.taste-range-slider {
  width: 100%;
  height: 14px;
  -webkit-appearance: none;
  background: linear-gradient(90deg, #475569 0%, #fb8500 50%, #ffb703 100%);
  border-radius: 8px;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.taste-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff3b0 0%, #ffb703 60%, #fb8500 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 0 16px rgba(255, 183, 3, 0.8), 0 4px 8px rgba(0, 0, 0, 0.6);
  cursor: grab;
  transition: transform 0.15s;
}

.taste-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.taste-range-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff3b0 0%, #ffb703 60%, #fb8500 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 0 16px rgba(255, 183, 3, 0.8), 0 4px 8px rgba(0, 0, 0, 0.6);
  cursor: grab;
}

/* Live Transform Card */
.sample-display-card {
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.sample-display-card.taste-high {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(255, 183, 3, 0.4);
  box-shadow: 0 12px 32px rgba(255, 183, 3, 0.15);
}

.sample-display-card.taste-med {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.sample-display-card.taste-low {
  background: #f1f5f9;
  border: 2px solid #94a3b8;
  color: #1e293b;
  font-family: Arial, sans-serif;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sample-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.sample-display-card.taste-high .sample-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.sample-display-card.taste-med .sample-badge {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.sample-display-card.taste-low .sample-badge {
  background: #e2e8f0;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

.sample-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.sample-display-card.taste-low .sample-title {
  color: #0f172a;
}

.sample-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px;
  color: #cbd5e1;
}

.sample-display-card.taste-low .sample-desc {
  color: #475569;
}

.sample-metrics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.sample-display-card.taste-low .sample-metrics {
  border-top-color: #cbd5e1;
}

.smet strong {
  color: #94a3b8;
  margin-right: 4px;
}

.sample-display-card.taste-low .smet strong {
  color: #64748b;
}

/* --- Section 4: 7 Laws of Machine Taste --- */
.taste-readme-section {
  padding: 90px 24px;
  background: #020617;
}

.laws-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.law-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 14px;
  padding: 20px 24px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.law-card:hover {
  transform: translateX(8px);
  border-color: #ffb703;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.law-num {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffb703;
  min-width: 40px;
  line-height: 1;
  padding-top: 2px;
}

.law-content h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: #ffffff;
}

.law-content p {
  margin: 0;
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.55;
}

.taste-cta-card {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.12) 0%, rgba(30, 58, 138, 0.3) 100%);
  border: 1px solid rgba(255, 183, 3, 0.4);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  margin-top: 48px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.taste-cta-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: #ffffff;
}

.taste-cta-card p {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 24px;
}

.taste-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ---- Voice agent demo ---------------------------------------------------- */
.voice-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.voice-meter {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin: 0;
}
.voice-talk {
  position: relative;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  border: none;
  background: var(--action);
  color: var(--action-ink);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--action-deep);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  touch-action: none;
  user-select: none;
}
.voice-talk:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--action-deep);
}
.voice-talk:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.voice-talk-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--action);
  opacity: 0;
}
.voice-talk:active .voice-talk-ring {
  opacity: 1;
  animation: voice-pulse 1.4s ease-out infinite;
}
@keyframes voice-pulse {
  0%   { transform: scale(1);    opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}
.voice-talk-label { position: relative; }
.voice-status {
  color: var(--ink-2);
  font-weight: 500;
  margin: 0;
  min-height: 1.4em;
}
.voice-log {
  width: 100%;
  max-height: 14rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}
.voice-line {
  margin: 0;
  padding: 0.6rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.4;
}
.voice-you {
  background: var(--bg-2);
  color: var(--ink-2);
  align-self: flex-end;
}
.voice-dgf {
  background: var(--accent-light);
  border: 1px solid var(--line);
  color: var(--ink);
  align-self: flex-start;
}

/* --- Forensic Autopsy & Compound Bleed System --- */
.autopsy-ticker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}
.ticker-metric {
  display: flex;
  flex-direction: column;
}
.ticker-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  font-weight: 600;
}
.ticker-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #991b1b;
  line-height: 1.2;
}
.ticker-date {
  color: var(--brand);
}
.tier-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tier-unknown {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.tier-magnified {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
.tier-structural {
  background: #fdf2f8;
  color: #9d174d;
  border: 1px solid #fbcfe8;
}
.arterial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.arterial-card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 4px solid #b91c1c;
  border-radius: var(--r);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.arterial-bleed {
  font-size: 1.5rem;
  font-weight: 800;
  color: #991b1b;
  margin: 0.5rem 0;
}
.arterial-evidence {
  font-size: 0.85rem;
  color: var(--ink-2);
  background: var(--bg-2);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  margin-top: 0.75rem;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.timeline-card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.25rem;
  text-align: center;
}
.timeline-day {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
}
.timeline-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  margin-top: 0.25rem;
}
.risk-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}
.risk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}
.risk-table th {
  background: var(--bg-2);
  color: var(--ink-2);
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--line-strong);
  font-weight: 600;
}
.risk-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink);
}
.sev-Fatal {
  color: #7f1d1d;
  font-weight: 800;
  background: #fee2e2;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.sev-Critical {
  color: #991b1b;
  font-weight: 700;
  background: #fee2e2;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.sev-High {
  color: #c2410c;
  font-weight: 700;
  background: #ffedd5;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.calc-card {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--line-strong);
  border-radius: var(--r);
  padding: 1.5rem;
  margin: 2rem 0;
}
.slider-control {
  margin: 1.5rem 0;
}
.slider-control input[type="range"] {
  width: 100%;
  margin-top: 0.5rem;
}
.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.calc-result-box {
  background: var(--bg-2);
  color: var(--ink);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}
.calc-result-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: #991b1b;
}
.airlock-box {
  background: var(--accent-light);
  color: var(--ink);
  border: 2px dashed var(--accent);
  border-radius: var(--r);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.airlock-box p { color: var(--ink-2); }
.autopsy-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.autopsy-dossier-card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.autopsy-dossier-card p { color: var(--ink-2); }
.dossier-card-title {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}
.dossier-bleed {
  font-size: 1.4rem;
  font-weight: 800;
  color: #991b1b;
  margin: 0.75rem 0;
}
.dossier-bleed-unit {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
}
.dossier-cta-wrap {
  margin-top: 1rem;
}
.autopsy-disclaimer {
  margin-top: 2rem;
}
.autopsy-callout-wrap {
  margin-top: 2rem;
}
.weekly-bleed-badge {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}
.sentiment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.sentiment-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid #ea580c;
  border-radius: var(--r);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sentiment-theme {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.5rem;
}
.sentiment-freq {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #c2410c;
  background: #ffedd5;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}
.competitor-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}
.competitor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}
.competitor-table th {
  background: var(--bg-2);
  color: var(--ink-2);
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--line-strong);
  font-weight: 600;
}
.competitor-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.competitor-target-row {
  background: #fef2f2;
  font-weight: 600;
}
.advantage-tag {
  color: #166a4d;
  font-weight: 600;
}
.deficit-tag {
  color: #991b1b;
  font-weight: 600;
}
.referral-box {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--accent);
  border-radius: var(--r);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
/* Web Ready AG Audit Styles */
.web-ready-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--accent);
  border-radius: var(--r);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.web-ready-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.web-ready-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.web-ready-score-badge.status-ready {
  background: #f0fdf4;
  color: #166a4d;
  border-color: #bbf7d0;
}
.web-ready-score-badge.status-partial {
  background: #fefce8;
  color: #854d0e;
  border-color: #fef08a;
}
.engine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.engine-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.engine-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.engine-score-val {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink-2);
}
.engine-score-val.crit {
  color: #991b1b;
}
.engine-score-val.warn {
  color: #c2410c;
}
.engine-score-val.good {
  color: #166a4d;
}
.crawler-matrix-wrap {
  margin: 1.5rem 0;
}
.crawler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.crawler-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.crawler-status-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}
.crawler-status-pill.allowed {
  background: #dcfce7;
  color: #166534;
}
.crawler-status-pill.blocked {
  background: #fee2e2;
  color: #991b1b;
}
.layer-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}
.layer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}
.layer-table th {
  background: var(--bg-2);
  padding: 0.65rem 0.85rem;
  border-bottom: 2px solid var(--line-strong);
  font-weight: 600;
}
.layer-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink);
}
.layer-status-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}
.layer-status-pill.pass {
  background: #dcfce7;
  color: #166534;
}
.layer-status-pill.fail {
  background: #fee2e2;
  color: #991b1b;
}
.remediation-directive-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #2563eb;
  border-radius: var(--r);
  padding: 1.25rem;
  margin: 1.5rem 0;
  color: var(--ink);
}
.remediation-directive-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

/* Founder Manifesto & Microscope Experience */
.founder-letter-card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}
.founder-letter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-2), var(--accent), var(--action));
}
.founder-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid #e8dbb8;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}
.founder-prose {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.founder-prose strong {
  color: var(--ink);
  font-weight: 700;
}
.founder-axiom {
  background: var(--bg-2);
  border-left: 4px solid var(--brand-2);
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.exposure-section {
  margin: 2.5rem 0;
}
.exposure-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.exposure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.exposure-card {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}
.exposure-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}
.tag-amber {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}
.tag-blue {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}
.tag-red {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.exposure-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.exposure-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.layers-block {
  margin: 2.5rem 0;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 2rem;
}
.layers-block-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.layers-block-subtitle {
  font-size: 1rem;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}
.layers-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.layer-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.layer-row:hover {
  border-color: var(--brand-2);
  transform: translateX(4px);
}
.layer-badge {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-2);
  background: #e6f4ea;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
}
.layer-statement {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}
.founder-signature-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.founder-sign-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
}
.founder-sign-title {
  font-size: 0.9rem;
  color: var(--ink-2);
}
.founder-sign-stamp {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #e8dbb8;
}
@media (max-width: 640px) {
  .founder-letter-card {
    padding: 1.5rem;
  }
  .layer-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .layer-badge {
    align-self: flex-start;
  }
}

/* High-Impact Dual Intake Section */
.dual-intake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.intake-action-card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.intake-action-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.intake-action-card.audit-card-accent {
  border-top: 4px solid var(--action);
}
.intake-action-card.calendar-card-accent {
  border-top: 4px solid var(--accent);
}
.intake-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  align-self: flex-start;
}
.intake-pill-green {
  background: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}
.intake-pill-gold {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid #e8dbb8;
}
.intake-action-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.intake-action-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}
.fast-audit-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.fast-audit-inputs input {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
}
.fast-audit-inputs input:focus {
  outline: none;
  border-color: var(--brand-2);
  background: #ffffff;
}
.btn-action-submit {
  background: var(--action);
  color: var(--action-ink);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: filter 0.15s ease;
}
.btn-action-submit:hover {
  filter: brightness(0.95);
}
.btn-gold-action {
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: filter 0.15s ease;
}
.btn-gold-action:hover {
  filter: brightness(1.1);
  color: #ffffff;
}
.intake-calendar-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}
.intake-inline-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-2);
  text-align: center;
  text-decoration: underline;
  cursor: pointer;
}
.intake-micro {
  font-size: 0.8rem;
  color: var(--ink-2);
  margin-top: 0.85rem;
  line-height: 1.4;
}

/* WebReady-AG Entity Infobox & Empirical Data Floor */
.entity-infobox-wrap {
  margin: 1.5rem auto 2rem;
  max-width: 960px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.entity-infobox {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.6;
}
.entity-infobox th {
  text-align: left;
  vertical-align: top;
  width: 26%;
  padding: 0.5rem 0.75rem 0.5rem 0;
  color: var(--brand);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.entity-infobox td {
  padding: 0.5rem 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.entity-infobox tr:last-child th,
.entity-infobox tr:last-child td {
  border-bottom: none;
}
.entity-infobox a {
  color: var(--brand-2);
  text-decoration: underline;
  font-weight: 600;
}
.entity-infobox a:hover {
  color: var(--ink);
}

.data-floor-wrap {
  margin: 2.5rem auto;
  max-width: 1000px;
  overflow-x: auto;
}
.data-floor-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.data-floor-table th, .data-floor-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.data-floor-table thead th {
  background: var(--bg-2);
  font-weight: 700;
  color: var(--brand);
  border-bottom: 2px solid var(--line-strong);
}
.data-floor-table tbody tr:hover {
  background: rgba(16, 185, 129, 0.04);
}

/* Missed-Call Recovery Pilot & 4-Model Comparison */
.pilot-section {
  margin: 2.5rem 0;
}
.pilot-table-wrap {
  margin: 1.5rem 0 2.5rem;
  overflow-x: auto;
}
.pilot-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.pilot-table th, .pilot-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink);
}
.pilot-table thead th {
  background: var(--bg-2);
  font-weight: 700;
  color: var(--brand);
  border-bottom: 2px solid var(--line-strong);
}
.pilot-table tbody tr:hover {
  background: rgba(16, 185, 129, 0.04);
}
.pilot-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pilot-framework-box {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
}
.pilot-framework-box h3 {
  margin-top: 0;
  color: var(--brand-2, #166a4d);
}
.pilot-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.pilot-step-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}
.pilot-step-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.pilot-step-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--brand);
}
.pilot-step-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-2);
  line-height: 1.45;
}

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }
  .site-header, .site-footer, .nav-full, .nav-toggle, .skip,
  .calc-card, .airlock-box, .autopsy-print-btn, .global-cta, .crumbs {
    display: none !important;
  }
  .page-head {
    padding: 0 0 1rem 0 !important;
  }
  .autopsy-ticker {
    border: 2px solid #000 !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  .arterial-grid, .timeline-grid {
    page-break-inside: avoid;
  }
  .arterial-card {
    border: 1px solid #666 !important;
    border-left: 4px solid #000 !important;
  }
}

/* Voice-agent guide: difficulty badges, plan chooser, consent line */
.diff { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.15rem 0.6rem; border-radius: 999px; color: #fff; }
.diff-easy { background: #1a7f37; }
.diff-medium { background: #8a5a00; }
.diff-hard { background: #b42318; }
.table-sub { display: block; font-size: 0.85rem; font-weight: 400; color: var(--ink-3); margin-top: 0.2rem; }
.guide-choices { border: 0; padding: 0; margin: 0 0 1.5rem; }
.guide-choices legend { font-weight: 600; margin-bottom: 0.75rem; }
.guide-choice { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem 1rem; margin-bottom: 0.6rem; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg-2); cursor: pointer; font-weight: 400; }
.guide-choice:hover { border-color: var(--ink-3); }
.guide-choice input { margin-top: 0.35rem; }
.guide-choice-main { display: block; }
.consent-line { display: flex !important; gap: 0.75rem; align-items: flex-start; font-weight: 400 !important; font-size: 0.95rem !important; }
.consent-line input { margin-top: 0.3rem; }
.alert-inline { padding: 0.9rem 1rem; border-left: 4px solid #b42318; background: var(--bg-2); margin-bottom: 1.5rem; }
.btn[hidden], .alert-inline[hidden] { display: none !important; }
.guide-choices legend { color: var(--ink); padding: 0; }
.guide-choice, .consent-line { color: var(--ink); }
.guide-sec, .guide-sec p, .guide-sec td, .guide-sec th, .guide-sec li { color: var(--ink); }
.guide-sec .table-sub, .guide-sec .fine, .guide-sec .table-note { color: var(--ink-3); }
.guide-sec a { color: var(--brand-2); }
.guide-sec .article-table thead tr { background: var(--bg-2); }

/* --- Competitor Packets Subsystem --- */
.packet-county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.packet-county-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  border: 1px solid var(--line-strong, #c5bdb0);
  border-radius: var(--radius-card, 8px);
}
.packet-county-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
.packet-county-cities {
  margin-top: 0.75rem;
  color: var(--ink-3, #526058);
}
.packet-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.packet-pkg-card {
  padding: 2rem;
  border: 2px solid var(--line-strong, #3bf08c);
  border-radius: var(--radius-card, 8px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.packet-price-box {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--bg-2, #ede9df);
  border-radius: 6px;
}
.packet-price-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink, #0f1a14);
}
.packet-price-sub {
  color: var(--ink-3, #526058);
}
.packet-price-saving {
  margin-top: 0.25rem;
  color: var(--brand-2, #10b981);
  font-weight: 600;
}
.packet-dossier-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}
.packet-dossier-card {
  padding: 2rem;
  border: 1px solid var(--line-strong, #c5bdb0);
  border-radius: var(--radius-card, 8px);
}
.packet-dossier-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line, #ddd7ca);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.packet-dossier-takeaway {
  padding: 1rem 1.25rem;
  background: var(--bg-2);
  border-left: 3px solid var(--brand);
  border-radius: 4px;
  margin: 1rem 0 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.packet-security-badge {
  text-align: right;
  margin-top: 0.5rem;
}
.packet-grade-val {
  font-size: 1.75rem;
  font-weight: 800;
}
.packet-grade-good {
  color: var(--brand-2, #166a4d);
}
.packet-grade-alert {
  color: #b42318;
}
.packet-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.packet-their-box {
  background: var(--bg-2, #ede9df);
  border: 1px solid var(--line-strong, #c2cfc5);
  padding: 1.5rem;
  border-radius: 8px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.packet-their-box h4 {
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.packet-their-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #b42318;
}
.packet-their-box .card-desc-sub {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.packet-their-box ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}
.packet-their-box ul li {
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 0.35rem;
}
.packet-their-box .fine {
  color: var(--ink-3);
  font-size: 0.85rem;
  line-height: 1.5;
}
.packet-dgf-box {
  background: rgba(18, 184, 99, 0.08);
  border: 1px solid var(--brand-2, #166a4d);
  padding: 1.5rem;
  border-radius: 8px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.packet-dgf-box h4 {
  color: var(--brand);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.packet-dgf-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-2, #166a4d);
}
.packet-dgf-box .card-desc-sub {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.packet-dgf-box p {
  color: var(--ink-2);
  line-height: 1.5;
}
.packet-dgf-box .fine {
  color: var(--ink-2);
  font-size: 0.85rem;
  line-height: 1.5;
}
.packet-walls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}
.packet-wall-item {
  padding: 1rem;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, #e3e9e4);
  border-radius: 6px;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.packet-wall-title {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #b42318;
  margin-bottom: 0.35rem;
}
.packet-wall-item .fine {
  color: var(--ink-2);
  line-height: 1.45;
}
.packet-sec-findings {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: rgba(180, 35, 24, 0.06);
  border-left: 4px solid #b42318;
  border-radius: 0 8px 8px 0;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.packet-sec-findings-title {
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b42318;
  margin-bottom: 0.75rem;
}
.packet-sec-findings ul {
  padding-left: 1.25rem;
  margin: 0;
}
.packet-sec-findings ul li {
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.packet-sec-findings .fine {
  color: var(--ink-2);
}
.packet-corridor-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.packet-form-card {
  margin-top: 2rem;
  background: var(--surface, #ffffff);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--line, #ddd7ca);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.packet-form-card h3 {
  color: var(--ink);
  margin-top: 0;
}
.packet-form-field {
  margin-bottom: 1.25rem;
}
.packet-form-field label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.packet-form-field input,
.packet-form-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line-strong, #c5bdb0);
  border-radius: 4px;
  font-family: inherit;
  background: var(--bg-1, #fff);
  color: var(--ink);
}
.packet-form-hp {
  display: none;
}
.packet-text-danger {
  color: #b42318;
}
.packet-text-success {
  color: var(--brand-2, #166a4d);
}
.packet-archetype-tag {
  background: rgba(18, 184, 99, 0.12);
  color: var(--brand-2, #166a4d);
  font-weight: 700;
  border: 1px solid rgba(22, 106, 77, 0.2);
}
.packet-table-dgf-row {
  background: rgba(18, 184, 99, 0.08);
  font-weight: 600;
}
.packet-table-dgf-row td {
  color: var(--ink);
}
.packet-dossier-divider {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line, #ddd7ca);
}
.packet-deliverable-box {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line, #ddd7ca);
}
.packet-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.packet-btn-sub {
  font-size: 0.88rem;
  padding: 8px 12px;
}
.onboarding-pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.onboarding-pkg-label {
  display: block;
  cursor: pointer;
  border: 2px solid var(--line-strong, #c5bdb0);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--surface, #fff);
  color: var(--ink);
  transition: all 0.2s ease;
  position: relative;
}
.onboarding-pkg-label:hover {
  border-color: var(--brand, #12b863);
  box-shadow: var(--shadow-sm);
}
.onboarding-pkg-label input[type="radio"] {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  accent-color: var(--brand-2, #166a4d);
  width: 18px;
  height: 18px;
}
.onboarding-pkg-label.selected {
  border-color: var(--brand-2, #166a4d);
  background: rgba(18, 184, 99, 0.04);
}
.onboarding-pkg-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
  padding-right: 1.75rem;
}
.onboarding-pkg-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-2, #166a4d);
  margin-bottom: 0.5rem;
}
.onboarding-pkg-desc {
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.45;
  margin: 0;
}
.onboarding-guarantee-box {
  background: rgba(18, 184, 99, 0.08);
  border: 1px solid rgba(22, 106, 77, 0.25);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.onboarding-guarantee-box h4 {
  margin: 0 0 0.5rem 0;
  color: var(--brand-2, #166a4d);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.onboarding-guarantee-box p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
}
.onboarding-step-head {
  margin-top: 2rem;
  color: var(--ink);
}
.onboarding-submit-btn {
  margin-top: 1.5rem;
}
.onboarding-note {
  margin-top: 0.75rem;
}
.onboarding-success-eyebrow {
  color: var(--brand-2, #166a4d);
}
.onboarding-card-body {
  padding: 2rem;
}
.onboarding-steps {
  margin-top: 1rem;
}
.onboarding-cta-wrap {
  margin-top: 1.5rem;
}
.onboarding-price-sub {
  font-size: 0.75rem;
  font-weight: normal;
  color: var(--ink-2);
}

/* Modular setups grid on /packets/ */
.modular-setups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.modular-setup-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line-strong, #c5bdb0);
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--surface, #fff);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.modular-setup-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-2, #166a4d);
}
.modular-setup-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.modular-category-tag {
  background: rgba(18, 184, 99, 0.12);
  color: var(--brand-2, #166a4d);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
}
.modular-rival-tag {
  font-size: 0.78rem;
  color: var(--ink-2);
}
.modular-setup-summary {
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.modular-deliverables-list,
.modular-needs-list {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink);
}
.modular-diy-box {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.modular-diy-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-2, #166a4d);
  text-decoration: underline;
}

/* Onboarding Modular Selection */
.onboarding-modular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.onboarding-modular-card {
  display: block;
  cursor: pointer;
  border: 2px solid var(--line-strong, #c5bdb0);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--surface, #fff);
  color: var(--ink);
  transition: all 0.2s ease;
  position: relative;
}
.onboarding-modular-card:hover {
  border-color: var(--brand, #12b863);
  box-shadow: var(--shadow-sm);
}
.onboarding-modular-card input[type="checkbox"] {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  accent-color: var(--brand-2, #166a4d);
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.onboarding-modular-card.selected {
  border-color: var(--brand-2, #166a4d);
  background: rgba(18, 184, 99, 0.05);
}
.onboarding-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}
.onboarding-card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-2, #166a4d);
}
.onboarding-card-title {
  margin: 0.25rem 0 0.5rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  padding-right: 1.5rem;
}
.onboarding-card-summary {
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
  color: var(--ink-2);
}
.onboarding-card-needs {
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.75rem;
}
.onboarding-card-needs ul {
  margin: 0.25rem 0 0 1rem;
  padding: 0;
}
.onboarding-card-free-link a {
  font-size: 0.82rem;
  color: var(--ink-2);
  text-decoration: underline;
}

/* Total Bar */
.onboarding-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface, #fff);
  border: 2px solid var(--brand-2, #166a4d);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 1rem;
}
.onboarding-total-left strong {
  font-size: 1.15rem;
  color: var(--ink);
}
.onboarding-total-right {
  text-align: right;
}
.onboarding-total-amount {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--brand-2, #166a4d);
  line-height: 1;
}

/* Step 3: Email Choice Grid */
.onboarding-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.onboarding-choice-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  border: 1px solid var(--line-strong, #c5bdb0);
  border-radius: 8px;
  padding: 1.25rem;
  background: var(--surface, #fff);
  transition: all 0.2s ease;
}
.onboarding-choice-card:hover {
  border-color: var(--brand-2, #166a4d);
}
.onboarding-choice-card input[type="radio"] {
  accent-color: var(--brand-2, #166a4d);
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.onboarding-choice-content strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.onboarding-choice-content p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-2);
}

/* Step 4: Card Notice Checkbox */
.onboarding-ack-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.75rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.onboarding-ack-label input[type="checkbox"] {
  accent-color: var(--brand-2, #166a4d);
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Multi-column form fields */
.form-row-3 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 600px) {
  .form-row-3 {
    grid-template-columns: 1fr;
  }
}

@media print {
  .nav, header, footer, .packet-corridor-links, form, #request-packet {
    display: none !important;
  }
  .packet-dossier-card {
    page-break-inside: avoid;
    border: 1px solid #000 !important;
    margin-bottom: 2rem;
  }
}


/* Narrow phones: let exposure cards fit the available column instead of
   enforcing the desktop grid's 280px minimum. */
@media (max-width: 35rem) {
  .exposure-grid { grid-template-columns: minmax(0, 1fr); }
  .exposure-card { min-width: 0; }
}

/* ---- DGF native concierge chat (src/chat.js) — zero external SaaS ---- */
#dgf-chat .dgf-chat-btn {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.15rem; border: 0; border-radius: 999px;
  background: var(--action); color: var(--action-ink);
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  box-shadow: var(--shadow-lg);
}
#dgf-chat .dgf-chat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--action-ink); opacity: .8; }
#dgf-chat .dgf-chat-panel {
  position: fixed; right: 1.25rem; bottom: 4.75rem; z-index: 60;
  width: min(22.5rem, calc(100vw - 2.5rem)); max-height: min(34rem, 75vh);
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden;
}
#dgf-chat .dgf-chat-head {
  position: relative; padding: 0.85rem 2.5rem 0.85rem 1rem;
  background: var(--brand); color: #fff;
}
#dgf-chat .dgf-chat-head strong { display: block; font-size: 1rem; }
#dgf-chat .dgf-chat-sub { display: block; font-size: 0.72rem; opacity: .85; margin-top: 2px; }
#dgf-chat .dgf-chat-x {
  position: absolute; top: 0.4rem; right: 0.55rem; border: 0; background: none;
  color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0.3rem;
}
#dgf-chat .dgf-chat-log {
  flex: 1; overflow-y: auto; padding: 0.9rem; display: flex; flex-direction: column; gap: 0.6rem;
  background: var(--bg);
}
#dgf-chat .dgf-chat-msg p { margin: 0; font-size: 0.88rem; line-height: 1.45; }
#dgf-chat .dgf-chat-msg { max-width: 88%; padding: 0.6rem 0.75rem; border-radius: 12px; }
#dgf-chat .dgf-chat-bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); }
#dgf-chat .dgf-chat-you { align-self: flex-end; background: var(--brand-2); color: #fff; }
#dgf-chat .dgf-chat-link { display: inline-block; margin-top: 0.4rem; font-size: 0.8rem; font-weight: 700; color: var(--brand-2); }
#dgf-chat .dgf-chat-form { display: flex; gap: 0.4rem; padding: 0.6rem; border-top: 1px solid var(--line); background: var(--surface); }
#dgf-chat .dgf-chat-form input {
  flex: 1; min-width: 0; padding: 0.55rem 0.7rem; font-size: 0.88rem;
  border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg);
}
#dgf-chat .dgf-chat-form button, #dgf-chat .dgf-chat-leadform button {
  border: 0; border-radius: 8px; padding: 0.55rem 0.9rem; cursor: pointer;
  background: var(--action); color: var(--action-ink); font-weight: 700; font-size: 0.85rem;
}
#dgf-chat .dgf-chat-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0.75rem; border-top: 1px solid var(--line); background: var(--bg-2);
}
#dgf-chat .dgf-chat-lead { border: 0; background: none; color: var(--brand-2); font-weight: 700; font-size: 0.78rem; cursor: pointer; padding: 0.2rem 0; }
#dgf-chat .dgf-chat-tel { font-size: 0.78rem; color: var(--ink-3); text-decoration: none; }
#dgf-chat .dgf-chat-leadform { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.7rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
#dgf-chat .dgf-chat-leadform p { margin: 0; font-size: 0.8rem; color: var(--ink-2); }
#dgf-chat .dgf-chat-leadform input { padding: 0.5rem 0.65rem; font-size: 0.85rem; border: 1px solid var(--line-strong); border-radius: 8px; }
#dgf-chat .dgf-chat-ok { font-size: 0.85rem; color: var(--brand-2); font-weight: 600; }
#dgf-chat .dgf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 35rem) {
  #dgf-chat .dgf-chat-panel { right: 0.75rem; left: 0.75rem; width: auto; bottom: 4.5rem; }
  #dgf-chat .dgf-chat-btn { right: 0.9rem; bottom: 0.9rem; }
}
