/* Site & Cite — shared styles for the ID and EN homepages.
   Layout: one reading column; the hero pairs the promise with a live "AI answer" that names the client.
   The yellow highlighter marks the word that gets cited. Motion only runs when JS adds .motion to <html>
   and the visitor has not asked for reduced motion; without it every element is visible and static. */

/* Self-hosted typefaces (SIL Open Font License), latin subset, variable weight. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --bg: #f2f4f1;
  --surface: #ffffff;
  --ink: #13201b;
  --muted: #55625c;
  --line: #d6dcd6;
  --brand: #0d5c50;
  --brand-2: #0a4a40;
  --brand-ink: #ffffff;
  --mark: #ffd447;
  --mark-ink: #13201b;
  --band: #e5ebe5;
  --dark: #13201b;
  --dark-ink: #eef3ef;
  --dark-muted: #a9b8b1;
  --dark-line: #2b3a34;
  --shadow: 0 24px 60px -32px rgba(13, 50, 40, 0.38);
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --step-1: 1.2rem;
  --step-2: 1.55rem;
  --step-3: clamp(1.9rem, 4.2vw, 2.75rem);
  --step-4: clamp(2.6rem, 7.4vw, 4.8rem);
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1714; --surface: #17211d; --ink: #e8eee9; --muted: #9eaca5; --line: #2a3832;
    --brand: #4fc2ad; --brand-2: #6fd3c0; --brand-ink: #08130f; --mark: #e8bf2e; --band: #141e1a;
    --dark: #0a110e; --dark-line: #22302a;
    --shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1714; --surface: #17211d; --ink: #e8eee9; --muted: #9eaca5; --line: #2a3832;
  --brand: #4fc2ad; --brand-2: #6fd3c0; --brand-ink: #08130f; --mark: #e8bf2e; --band: #141e1a;
  --dark: #0a110e; --dark-line: #22302a;
  --shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
section { padding-block: clamp(64px, 10vw, 112px); }
.band { background: var(--band); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 40ch; line-height: 1.5; }
.eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.head { display: grid; gap: 16px; max-width: 64ch; margin-bottom: 48px; }
.head p { color: var(--muted); font-size: 1.05rem; }
/* keyword line above the headline, part of the H1 for search engines */
h1 .kicker { display: flex; margin-bottom: 22px; font-size: 0.78rem; font-weight: 400; line-height: 1.4; letter-spacing: 0.1em; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Highlighter: a yellow marker behind the cited word. With motion it sweeps in from the left. */
mark.hl {
  color: var(--mark-ink); padding: 0 0.12em; border-radius: 4px;
  background: linear-gradient(transparent 10%, var(--mark) 10%, var(--mark) 90%, transparent 90%) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  background: var(--brand); color: var(--brand-ink); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 14px 22px; border-radius: 999px; border: 2px solid var(--brand); cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn.small { padding: 10px 16px; font-size: 0.92rem; }

/* header */
.skip { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-head.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(13, 50, 40, .5); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 38px; width: auto; display: block; }
.logo .on-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .on-light { display: none; } :root:not([data-theme="light"]) .logo .on-dark { display: block; } }
:root[data-theme="dark"] .logo .on-light { display: none; }
:root[data-theme="dark"] .logo .on-dark { display: block; }
.nav-links { display: none; gap: 4px; align-items: center; }
.nav-links a { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav-links a:hover { background: var(--band); }
.nav-links a[aria-current="true"] { color: var(--brand); }
.nav-links a[aria-current="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--mark); }
@media (min-width: 920px) { .nav-links { display: flex; } }
.nav-right { display: flex; gap: 10px; align-items: center; }
.nav-right .btn { white-space: nowrap; padding: 10px 18px; font-size: 0.95rem; }
.lang { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: .06em; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; transition: color .2s, border-color .2s; }
.lang:hover { color: var(--brand); border-color: var(--brand); }
.mnav { position: relative; }
.mnav summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-weight: 600; font-size: 0.9rem; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { border-color: var(--brand); color: var(--brand); }
.mnav-panel { position: absolute; right: 0; top: calc(100% + 10px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px; display: grid; min-width: 220px; box-shadow: var(--shadow); }
.mnav[open] .mnav-panel { animation: drop .22s var(--ease); }
.mnav-panel a { padding: 11px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.mnav-panel a:hover { background: var(--band); }
@media (min-width: 920px) { .mnav { display: none; } }
@media (max-width: 919px) { .nav-right .lang-desk { display: none; } }
@media (max-width: 520px) { .nav { gap: 10px; } .logo img { height: 28px; } .nav-right { gap: 8px; } .nav-right .btn { padding: 9px 13px; font-size: 0.85rem; } .mnav summary { padding: 9px 12px; font-size: 0.85rem; } }
@media (max-width: 430px) { .nav-right .btn .wa-ico { display: none; } }
@media (max-width: 360px) { .nav-right .btn { display: none; } }
section[id] { scroll-margin-top: 76px; }

/* hero */
.hero-band { position: relative; overflow: hidden; isolation: isolate; }
.hero-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.hero-band::after {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--mark) 38%, transparent), transparent 65%); pointer-events: none;
}
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 9vw, 104px); display: grid; gap: 56px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 920px) { .hero { grid-template-columns: 1.1fr 1fr; } }
.hero-copy { display: grid; gap: 26px; min-width: 0; justify-items: start; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.assure { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.92rem; }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* hero: AI answer card */
.chat {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 18px; display: grid; gap: 14px; min-width: 0; box-shadow: var(--shadow);
}
.chat-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.engine { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink); }
.engine .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.chat-top small { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); }
/* One scene per audience. All scenes share one grid cell, so switching never changes the card's height. */
.scenes { display: grid; min-width: 0; }
.scene { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; min-width: 0; }
.scene[aria-hidden="true"] { visibility: hidden; }
.q { justify-self: end; background: var(--brand); color: var(--brand-ink); padding: 11px 15px; border-radius: 18px 18px 4px 18px; max-width: 88%; font-weight: 500; }
.a { position: relative; background: var(--band); padding: 14px 16px; border-radius: 18px 18px 18px 4px; display: grid; gap: 10px; font-size: 0.95rem; }
.a ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: r; }
.a li { counter-increment: r; display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.a li::before { content: counter(r); font-family: var(--font-mono); font-size: 0.75rem; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--surface); color: var(--muted); margin-top: 1px; }
.a li:first-child::before { background: var(--mark); color: var(--mark-ink); }
.a li b, .a mark.hl { font-weight: 600; }
.a li small { font-size: 0.9em; color: var(--muted); }
.a .src { font-size: 0.75rem; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }
.cited { position: absolute; right: -10px; bottom: 72px; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 0.75rem; padding: 8px 12px; border-radius: 999px; box-shadow: var(--shadow); }
.cited::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mark); }
/* On phones, drop the browser's default 40px figure side margins so "Google AI Overviews" fits on one line and the card height stays fixed. */
@media (max-width: 520px) { .chat { margin-inline: 0; } .cited { right: 8px; bottom: -14px; } }
.chat-note { font-size: 0.8rem; color: var(--muted); }

/* engines strip */
.engines { border-block: 1px solid var(--line); padding-block: 18px; overflow: hidden; }
.engines .wrap { display: flex; align-items: center; gap: 24px; }
.engines-label { flex: none; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ticker { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; width: max-content; }
.ticker li { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; white-space: nowrap; color: var(--ink); opacity: .78; display: inline-flex; align-items: center; gap: 40px; }
.ticker li::after { content: "✦"; font-size: .7rem; color: var(--brand); opacity: .8; }
@media (max-width: 640px) { .engines .wrap { flex-direction: column; align-items: flex-start; gap: 10px; } .ticker { width: 100%; } }

/* problem (dark) */
.dark { background: var(--dark); color: var(--dark-ink); }
.dark .eyebrow { color: var(--mark); }
.dark .head p { color: var(--dark-muted); }
.dark a { color: var(--dark-ink); }
.stats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stat { border-top: 1px solid var(--dark-line); padding-top: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.stat b { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.4rem); line-height: 1; font-weight: 800; color: var(--mark); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.stat p { color: var(--dark-ink); }
.stat small { font-family: var(--font-mono); font-size: 0.72rem; color: var(--dark-muted); }
.stat small a { color: var(--dark-muted); }
.shift { margin-top: 48px; display: grid; gap: 16px; grid-template-columns: 1fr; padding: 24px; border: 1px solid var(--dark-line); border-radius: var(--radius); }
@media (min-width: 760px) { .shift { grid-template-columns: 1fr auto 1fr; align-items: center; } }
.shift div { display: grid; gap: 4px; }
.shift small { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-muted); }
.shift span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.shift .to span { color: var(--mark); }
.shift .arrow-big { font-size: 1.6rem; color: var(--dark-muted); justify-self: center; }
@media (max-width: 759px) { .shift .arrow-big { transform: rotate(90deg); justify-self: start; } }

/* services */
.services { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.service {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px;
  display: grid; gap: 16px; align-content: start; min-width: 0; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.service .num { font-family: var(--font-display); font-weight: 800; font-size: 4.5rem; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--line); position: absolute; right: 24px; top: 26px; }
.service .kind { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.service h3 { font-size: var(--step-2); max-width: 16ch; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink); }
.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; background: color-mix(in srgb, var(--brand) 14%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14 7.5' fill='none' stroke='%230d5c50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.service .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.service .foot span { font-size: 0.95rem; color: var(--muted); }
.service .foot b { color: var(--ink); }
.together { margin-top: 24px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line); color: var(--muted); }
.together strong { color: var(--ink); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); position: relative; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.steps .no { display: flex; justify-content: space-between; align-items: center; }
.steps .no b { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--brand); color: var(--brand-ink); }
.steps .no small { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.steps p { color: var(--muted); font-size: 0.95rem; }
.track { height: 3px; background: var(--line); border-radius: 3px; margin-bottom: 24px; overflow: hidden; }
.track i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand), var(--mark)); transform-origin: 0 50%; }

/* industries */
.niche { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.niche article { display: grid; gap: 16px; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); min-width: 0; align-content: start; }
.niche .who { display: flex; flex-wrap: wrap; gap: 8px; }
.niche article > p { color: var(--muted); }
.niche .who span { font-size: 0.9rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.asks-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.asks { display: grid; gap: 8px; }
.asks span { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; background: var(--band); padding: 10px 14px; border-radius: 12px; }
.asks span::before { content: ""; width: 16px; height: 16px; flex: none; opacity: .65; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='4.6' fill='none' stroke='%2355625c' stroke-width='1.8'/%3E%3Cpath d='M10.4 10.4L14 14' stroke='%2355625c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.asks-block { margin-top: 20px; display: grid; gap: 14px; padding: 24px 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.asks.wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.case { margin-top: 24px; display: grid; gap: 16px; grid-template-columns: 1fr; align-items: center; padding: 24px 26px; border-radius: 22px; background: var(--brand); color: var(--brand-ink); }
@media (min-width: 760px) { .case { grid-template-columns: auto 1fr auto; } }
.case .big { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; }
.case .big small { font-size: 1rem; opacity: .7; font-weight: 600; }
.case p { opacity: .92; }
.case a { color: var(--brand-ink); font-weight: 600; white-space: nowrap; }

/* sample report */
.report { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 920px) { .report { grid-template-columns: 1fr 1.1fr; } }
.report-copy { display: grid; gap: 18px; min-width: 0; }
.report-copy > p { color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: grid; gap: 22px; min-width: 0; position: relative; box-shadow: var(--shadow); }
.sample { position: absolute; top: 18px; right: 18px; font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: .08em; background: var(--mark); color: var(--mark-ink); padding: 4px 8px; border-radius: 6px; }
.score { display: flex; align-items: baseline; gap: 8px; }
.score b { font-family: var(--font-display); font-size: 4.4rem; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.score span { color: var(--muted); }
.pillars { display: grid; gap: 16px; }
.pillar { display: grid; gap: 7px; }
.pillar-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.93rem; }
.pillar-row em { font-style: normal; font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar { height: 8px; background: var(--band); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; transform-origin: 0 50%; }
.bar i.low { background: var(--mark); }

/* pricing */
.switch { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 28px; }
.switch button { font: inherit; font-weight: 600; font-size: 0.95rem; border: 0; background: transparent; color: var(--muted); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background-color .25s var(--ease), color .25s; }
.switch button small { font-family: var(--font-mono); font-weight: 400; font-size: 0.72rem; margin-left: 6px; opacity: .8; }
.switch button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.switch:not(.ready) { display: none; }
.prices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); align-items: stretch; }
.price { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price.featured { border: 2px solid var(--brand); }
.price.featured .tag { position: absolute; top: -12px; left: 22px; background: var(--brand); color: var(--brand-ink); padding: 4px 10px; border-radius: 999px; }
.price-group { display: grid; gap: 18px; }
.price-group + .price-group { margin-top: 48px; }
.price-group[hidden] { display: none; }
.price-group > header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 1.5px solid var(--ink); padding-bottom: 12px; }
.price-group > header h3 { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.price-group > header p { font-size: 0.9rem; color: var(--muted); }
.group-note { font-size: 0.9rem; color: var(--muted); }
.tag { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); }
.amount { font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.amount small { font-family: var(--font-body); font-size: 0.88rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.intro-price { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; font-size: 0.86rem; background: color-mix(in srgb, var(--mark) 26%, var(--surface)); border-radius: 10px; padding: 8px 10px; }
.intro-price b { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.intro-price span { color: var(--muted); }
.price .ticks { font-size: 0.93rem; gap: 8px; }
.price .ticks li { grid-template-columns: 18px 1fr; gap: 8px; }
.price .ticks li::before { width: 18px; height: 18px; background-size: 18px; }
.price .cta { margin-top: auto; align-self: stretch; }
/* honest terms shown right before the price decision */
.terms { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.terms li { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.terms b { color: var(--ink); font-size: 0.98rem; }
.terms + .cta-note { margin-top: 20px; }
.bundle { margin-top: 28px; padding: 18px 22px; border-left: 4px solid var(--mark); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.fine { margin-top: 18px; color: var(--muted); font-size: 0.9rem; max-width: 90ch; }

/* about */
.about { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 920px) { .about { grid-template-columns: 1fr 1.05fr; } }
.about-copy { display: grid; gap: 18px; min-width: 0; justify-items: start; }
.about-copy p { color: var(--muted); max-width: 60ch; }
.facts { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts b { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); padding-top: 3px; }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }

/* glossary */
.glossary { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin: 0; }
.glossary div { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.glossary dt { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -0.02em; }
.glossary dt small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.72rem; color: var(--muted); letter-spacing: .04em; margin-top: 8px; }
.glossary dd { margin: 0; color: var(--ink); }
.glossary div:last-child { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.glossary div:last-child dt { font-size: 1.35rem; }
.glossary div:last-child dt small, .glossary div:last-child dd { color: color-mix(in srgb, var(--bg) 80%, transparent); }

/* faq */
.faq-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 920px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; } .faq-grid .head { position: sticky; top: 100px; align-self: start; } }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.faq summary { cursor: pointer; font-weight: 600; padding-block: 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--band) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%230d5c50' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 28px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }
.faq details[open] p { animation: fade-up .35s var(--ease); }

/* final CTA + form */
.final { background: var(--brand); color: var(--brand-ink); position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.final .eyebrow { color: var(--mark); }
/* In dark mode the band turns light teal, where yellow text disappears; use the band's dark ink instead. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .final .eyebrow { color: var(--brand-ink); } }
:root[data-theme="dark"] .final .eyebrow { color: var(--brand-ink); }
.lead { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 920px) { .lead { grid-template-columns: 1fr 1.05fr; } }
.lead-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.lead-copy h2 { max-width: 18ch; }
.lead-copy > p { opacity: .92; max-width: 50ch; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: f; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.flow li::before { content: counter(f); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--mark); color: var(--mark-ink); font-family: var(--font-display); font-weight: 800; }
.flow b { display: block; }
.flow span { opacity: .85; font-size: 0.95rem; }
.final .btn.wa-btn { background: var(--mark); color: var(--mark-ink); border-color: var(--mark); }
.form { background: var(--surface); color: var(--ink); border-radius: 24px; padding: 28px; display: grid; gap: 16px; min-width: 0; box-shadow: 0 30px 70px -30px rgba(0,0,0,.45); }
.form-title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.form label small { font-weight: 400; color: var(--muted); }
.form input, .form select {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; min-width: 0;
  transition: border-color .2s, box-shadow .2s;
}
.form input:hover, .form select:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.form input:focus, .form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.form .row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.form button { font: inherit; font-weight: 600; width: 100%; padding-block: 15px; }
.form .note { font-size: 0.8rem; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 0.9rem; font-weight: 600; color: #b3261e; margin: 0; }
.form-status:empty { display: none; }
.form button[disabled] { opacity: .7; cursor: progress; transform: none; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 0.86rem !important; color: var(--muted); }
.consent input { width: 18px !important; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brand); padding: 0; }

/* footer */
footer { padding-block: 64px 32px; color: var(--muted); font-size: 0.92rem; }
footer .wrap { display: grid; gap: 36px; }
.foot-top { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand { display: grid; gap: 12px; justify-items: start; }
.foot-brand img { height: 36px; width: auto; }
.foot-brand p { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h3 { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.foot-col a { color: var(--ink); text-decoration: none; }
.foot-col a:hover { color: var(--brand); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.8rem; }
.foot-bottom a { color: inherit; }
.updated { font-family: var(--font-mono); font-size: 0.74rem; }
footer .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) footer .logo-light { display: none; } :root:not([data-theme="light"]) footer .logo-dark { display: block; } }
:root[data-theme="dark"] footer .logo-light { display: none; }
:root[data-theme="dark"] footer .logo-dark { display: block; }

/* Floating WhatsApp: appears once the hero is out of view, hides while the closing call-to-action or footer is on screen.
   Phones get a full-width bar within thumb reach; wider screens get a pill in the corner. Needs JS (html.js) to show. */
.dock { position: fixed; z-index: 25; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); display: none; }
.dock .btn { box-shadow: 0 18px 40px -16px rgba(13, 50, 40, .55); padding: 14px 22px; }
html.js .dock { display: block; opacity: 0; visibility: hidden; transform: translateY(24px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
html.js .dock.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (max-width: 640px) { .dock { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); } .dock .btn { width: 100%; } }

/* WhatsApp buttons and notes */
.wa-ico { width: 20px; height: 20px; flex: none; fill: currentColor; }
.cta-note { font-size: 0.86rem; color: var(--muted); }
.final .cta-note { color: inherit; opacity: .85; }
.cta-band { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; padding: 28px 30px; border-radius: 22px; background: var(--ink); color: var(--bg); }
.cta-band div { display: grid; gap: 6px; max-width: 56ch; }
.cta-band b { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.cta-band p { opacity: .82; }
.cta-band .btn { background: var(--mark); color: var(--mark-ink); border-color: var(--mark); }
.other-biz { margin-top: 20px; color: var(--muted); }

/* ---------- motion (only with JS and no reduced-motion preference) ---------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { background-size: 0% 100%; color: var(--ink); } to { background-size: 100% 100%; color: var(--mark-ink); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6) translateY(8px); } 70% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes ticker { to { transform: translateX(-50%); } }

html.motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
html.motion .reveal.in { opacity: 1; transform: none; }
html.motion mark.hl.draw { background-size: 0% 100%; color: var(--ink); }
html.motion mark.hl.draw.in { animation: sweep .8s var(--ease) .25s forwards; }
html.motion .bar i { transform: scaleX(0); transition: transform 1.1s var(--ease); }
html.motion .in .bar i { transform: scaleX(1); }
html.motion .track i { transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
html.motion .track.in i { transform: scaleX(1); }
html.motion .ticker ul { animation: ticker 32s linear infinite; }
html.motion .ticker:hover ul { animation-play-state: paused; }

/* hero chat sequence: question, typing dots inside the answer bubble, answer lines, highlighter, "cited" badge.
   Only opacity and transforms change, so the card never changes size (no layout shift). */
html.motion .chat .q, html.motion .chat .a, html.motion .chat .a li, html.motion .chat .cited, html.motion .chat .a > p { opacity: 0; }
html.motion .chat .a::before { content: ""; position: absolute; left: 16px; top: 18px; width: 36px; height: 8px; opacity: 0; background: radial-gradient(circle, var(--muted) 3.5px, transparent 4px) 0 50% / 12px 8px repeat-x; }
html.motion .chat.play .q { animation: fade-up .5s var(--ease) .3s forwards; }
html.motion .chat.play .a { animation: fade-up .3s var(--ease) .9s forwards; }
html.motion .chat.play .a::before { animation: blink 1s infinite 1s; }
html.motion .chat.play.answered .a::before { animation: none; opacity: 0; }
html.motion .chat.play.answered .a > p { animation: fade-up .45s var(--ease) .1s forwards; }
html.motion .chat.play.answered .a > p.src { animation-delay: .9s; }
html.motion .chat.play.answered .a li:nth-child(1) { animation: fade-up .45s var(--ease) .3s forwards; }
html.motion .chat.play.answered .a li:nth-child(2) { animation: fade-up .45s var(--ease) .5s forwards; }
html.motion .chat.play.answered .a li:nth-child(3) { animation: fade-up .45s var(--ease) .7s forwards; }
html.motion .chat .a mark.hl { background-size: 0% 100%; color: var(--ink); }
html.motion .chat.play.answered .a mark.hl { animation: sweep .7s var(--ease) 1.1s forwards; }
html.motion .chat.play.answered .cited { animation: pop .5s var(--ease) 1.7s forwards; }
html.motion .engine b { display: inline-block; transition: opacity .25s, transform .25s; }
html.motion .engine b.swap { opacity: 0; transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* small screens: tighter hero and quieter service numbers */
@media (max-width: 640px) {
  .hero { gap: 40px; }
  .service { padding: 26px 22px; }
  .service .num { font-size: 3rem; right: 18px; top: 20px; }
  .service h3 { padding-right: 56px; }
}

/* dark mode: lighter strokes for the inline icons */
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14 7.5' fill='none' stroke='%234fc2ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
:root:not([data-theme="light"]) .faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%234fc2ad' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
:root:not([data-theme="light"]) .asks span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='4.6' fill='none' stroke='%239eaca5' stroke-width='1.8'/%3E%3Cpath d='M10.4 10.4L14 14' stroke='%239eaca5' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
}
:root[data-theme="dark"] .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14 7.5' fill='none' stroke='%234fc2ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%234fc2ad' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .asks span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='4.6' fill='none' stroke='%239eaca5' stroke-width='1.8'/%3E%3Cpath d='M10.4 10.4L14 14' stroke='%239eaca5' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
