/* ============================================================
   Recard marketing site — design system
   Light-first, matched 1:1 to the web app (web/src/theme.css v3
   "Plaud-style"): Inter, thin large headings (weight 300), single
   purple accent #8F53ED, hairline borders, small radii, flat
   surfaces, generous whitespace. Dark theme via [data-theme="dark"].
   Pure CSS/SVG mockups. Inter is SELF-HOSTED (assets/fonts/*.woff2,
   variable font) so no visitor IP/User-Agent is sent to Google Fonts
   on page load — a GDPR data-minimization choice, consistent with the
   web app. No external font CDN is used anywhere on the site.
   ============================================================ */

/* Self-hosted Inter (variable). Registered under the "Inter" family the
   design system already references, so nothing downstream changes. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --bg: #ffffff;
  --sidebar: #f9f9f9;
  --surface: #ffffff;
  --surface-2: #f4f4f6;
  --surface-hover: #f1f1f4;
  --overlay: rgba(20, 20, 24, 0.42);

  --border: #ececef;
  --border-strong: #e0e0e6;
  --border-input: #d9d9e0;

  --text: #16181d;
  --text-dim: #6b7280;
  --text-faint: #9aa0ab;

  --accent: #8f53ed;
  --accent-2: #6d5cf0;
  --accent-ink: #6d33d6;
  --grad: linear-gradient(135deg, #8f53ed 0%, #6d5cf0 100%);
  --grad-soft: linear-gradient(135deg, rgba(143, 83, 237, 0.1), rgba(109, 92, 240, 0.1));
  --accent-tint: rgba(143, 83, 237, 0.1);
  --accent-glow: rgba(143, 83, 237, 0.28);
  --ring: rgba(143, 83, 237, 0.2);
  --selection: rgba(143, 83, 237, 0.18);
  --ai-grad: linear-gradient(90deg, #12c2b7 0%, #35c759 100%);

  --solid-bg: #16181d;
  --solid-bg-hover: #303237;
  --solid-fg: #ffffff;

  --success: #0f9d58;
  --warning: #c07f10;
  --danger: #e0483d;

  --tint-green-bg: rgba(15, 157, 88, 0.09);
  --tint-green-border: rgba(15, 157, 88, 0.3);
  --tint-red-bg: rgba(224, 72, 61, 0.08);
  --tint-red-border: rgba(224, 72, 61, 0.3);
  --tint-accent-bg: rgba(143, 83, 237, 0.09);
  --tint-accent-border: rgba(143, 83, 237, 0.28);
  --tint-neutral-bg: rgba(107, 114, 128, 0.08);

  --radius-lg: 14px;
  --radius: 10px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --maxw: 1120px;

  --shadow-1: 0 1px 2px rgba(20, 20, 30, 0.04);
  --shadow-2: 0 4px 16px rgba(20, 20, 30, 0.08), 0 1px 3px rgba(20, 20, 30, 0.05);
  --shadow-3: 0 12px 40px rgba(20, 20, 30, 0.14), 0 4px 12px rgba(20, 20, 30, 0.08);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font: "Inter", "SF Pro Text", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Code", Consolas, monospace;
  --w-thin: 300;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0e0f13;
  --sidebar: #101218;
  --surface: #16181f;
  --surface-2: #1b1e27;
  --surface-hover: #202430;
  --overlay: rgba(6, 7, 10, 0.66);

  --border: #262a34;
  --border-strong: #333846;
  --border-input: #333846;

  --text: #e9eaef;
  --text-dim: #9aa0ae;
  --text-faint: #6b7280;

  --accent: #a279ff;
  --accent-2: #7c74ff;
  --accent-ink: #b79bff;
  --grad: linear-gradient(135deg, #a279ff 0%, #7c74ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(162, 121, 255, 0.16), rgba(124, 116, 255, 0.16));
  --accent-tint: rgba(162, 121, 255, 0.14);
  --accent-glow: rgba(162, 121, 255, 0.35);
  --ring: rgba(162, 121, 255, 0.26);
  --selection: rgba(162, 121, 255, 0.32);

  --solid-bg: #f3f3f6;
  --solid-bg-hover: #ffffff;
  --solid-fg: #16181d;

  --success: #3ecf8e;
  --danger: #ff6b5e;

  --tint-neutral-bg: rgba(154, 160, 174, 0.08);
  --shadow-2: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-3: 0 16px 48px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

/* ---------------- reset / base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.24s var(--ease-out), color 0.24s var(--ease-out);
}
::selection { background: var(--selection); }
h1, h2, h3, h4 { margin: 0; font-weight: var(--w-thin); letter-spacing: -0.01em; line-height: 1.1; }
h3, h4 { font-weight: 500; letter-spacing: -0.005em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------------- layout ---------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.section { padding: 88px 0; }
.band { background: var(--sidebar); border-block: 1px solid var(--border); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.section-lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--text-dim); max-width: 640px; }
.center .section-lead { margin-inline: auto; }
.section-head { margin-bottom: 44px; }

/* ---------------- buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius); border: 1px solid transparent; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.13s var(--ease-out), border-color 0.13s var(--ease-out), transform 0.13s var(--ease-out), box-shadow 0.13s var(--ease-out), color 0.13s var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--solid-bg); color: var(--solid-fg); }
.btn-solid:hover { background: var(--solid-bg-hover); box-shadow: var(--shadow-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text-faint); }
.btn-accent { background: var(--accent-tint); color: var(--accent-ink); }
.btn-accent:hover { background: var(--tint-accent-bg); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn .arrow { transition: transform 0.15s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.textlink { color: var(--accent-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.textlink:hover { text-decoration: underline; }
.textlink .arrow { transition: transform 0.15s var(--ease-out); }
.textlink:hover .arrow { transform: translateX(3px); }

/* ---------------- chips / pills ---------------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; color: var(--text-dim); font-weight: 500; }
.chip-accent { background: var(--accent-tint); border-color: var(--tint-accent-border); color: var(--accent-ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; background: var(--accent-tint); color: var(--accent-ink); }

/* ---------------- cards / grid ---------------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-1); }
.card-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: var(--accent-tint); color: var(--accent-ink); margin-bottom: 16px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 15px; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------------- brand mark (soundbars) ---------------- */
.mark { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--text); }
.mark svg { height: 22px; width: auto; }
.eq-bar { transform-box: fill-box; transform-origin: center; }
.mark.animated .eq-bar { animation: eq 1.1s var(--ease-out) infinite; }
.mark.animated .eq-bar:nth-child(1) { animation-delay: -1s; }
.mark.animated .eq-bar:nth-child(2) { animation-delay: -0.8s; }
.mark.animated .eq-bar:nth-child(3) { animation-delay: -0.6s; }
.mark.animated .eq-bar:nth-child(4) { animation-delay: -0.4s; }
.mark.animated .eq-bar:nth-child(5) { animation-delay: -0.2s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

/* ---------------- announcement bar ---------------- */
.announce { background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--text-dim); }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 24px; }
.announce a { color: var(--accent-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.announce .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--tint-green-bg); }

/* ---------------- header ---------------- */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out); }
.header.scrolled { border-bottom-color: var(--border); }
.header .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav a { font-size: 14.5px; color: var(--text-dim); font-weight: 500; transition: color 0.13s; }
.nav a:hover { color: var(--text); }
.header .spacer { flex: 1; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 9px 16px; font-size: 14px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--border-strong); background: transparent; color: var(--text-dim); cursor: pointer; transition: background 0.13s, color 0.13s; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.menu-toggle { display: none; }
.mobile-nav { display: none; position: fixed; inset: 64px 0 auto 0; z-index: 49; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; box-shadow: var(--shadow-2); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-nav .btn { margin-top: 16px; }

/* ---------------- hero ---------------- */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; }
.hero .sub { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--text-dim); margin-top: 22px; max-width: 560px; }
.hero-cta { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.reassure-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: var(--text-dim); font-size: 13.5px; }
.reassure-row span { display: inline-flex; align-items: center; gap: 7px; }
.reassure-row .tick { color: var(--accent); }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, var(--accent-glow), transparent 66%); filter: blur(20px); opacity: 0.5; z-index: 0; }

/* ---------------- phone frame + soundwave ---------------- */
.phone { position: relative; z-index: 1; width: 268px; height: 540px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 40px; padding: 14px; box-shadow: var(--shadow-3); transform: rotate(2deg); }
.phone-screen { width: 100%; height: 100%; border-radius: 28px; background: var(--sidebar); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; }
.phone-notch { height: 26px; display: grid; place-items: center; }
.phone-notch::after { content: ""; width: 84px; height: 6px; border-radius: 3px; background: var(--border-strong); }
.phone-body { flex: 1; padding: 20px 18px; display: flex; flex-direction: column; }
.rec-status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); font-weight: 500; }
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--danger); animation: recpulse 1.6s ease-in-out infinite; }
@keyframes recpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 92px; margin: 30px 0; }
.wave span { width: 4px; height: 100%; border-radius: 3px; background: var(--grad); transform-origin: center; animation: eq 1.1s var(--ease-out) infinite; }
.wave span:nth-child(1) { animation-delay: -0.9s; } .wave span:nth-child(2) { animation-delay: -0.7s; } .wave span:nth-child(3) { animation-delay: -0.5s; } .wave span:nth-child(4) { animation-delay: -0.3s; } .wave span:nth-child(5) { animation-delay: -0.15s; } .wave span:nth-child(6) { animation-delay: -0.55s; } .wave span:nth-child(7) { animation-delay: -0.25s; }
.caption { margin-top: auto; }
.caption-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); margin-bottom: 6px; }
.caption-line { font-size: 14px; line-height: 1.5; color: var(--text); }
.caption-line b { font-weight: 600; }
.caption-cursor { display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------------- capture paths ---------------- */
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.path { text-align: center; padding: 26px 16px; }
.path .scene { height: 68px; display: grid; place-items: center; color: var(--accent-ink); margin-bottom: 14px; }
.path h4 { font-size: 15px; margin-bottom: 4px; }
.path p { font-size: 13px; color: var(--text-dim); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }

/* ---------------- mock window ---------------- */
.mock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-2); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.mock-bar i:nth-child(1) { background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar .title { margin-left: 8px; font-size: 12.5px; color: var(--text-dim); }
.mock-tabs { display: flex; gap: 4px; padding: 12px 16px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.mock-tab { padding: 7px 12px; font-size: 13px; color: var(--text-dim); border-bottom: 2px solid transparent; }
.mock-tab.active { color: var(--accent-ink); border-bottom-color: var(--accent); font-weight: 600; }
.mock-body { padding: 22px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.skel { height: 11px; border-radius: 6px; background: var(--surface-2); }
.skel + .skel { margin-top: 10px; }
.action-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 14px; }
.action-item .box { flex-shrink: 0; width: 18px; height: 18px; border-radius: 5px; background: var(--tint-green-bg); border: 1px solid var(--tint-green-border); display: grid; place-items: center; color: var(--success); margin-top: 1px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split .split-copy h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
.split .split-copy p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 18px; }
.split.rev .split-copy { order: 2; }

/* ---------------- critique card ---------------- */
.crit-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-3); overflow: hidden; position: relative; }
.crit-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.crit-head { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.crit-head .title { font-weight: 600; font-size: 15px; }
.crit-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.steelman { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.steelman .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); margin-bottom: 6px; }
.steelman p { font-size: 14px; color: var(--text); }
.verdict { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; border-radius: var(--radius); font-size: 14px; }
.verdict .pin { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700; }
.verdict.holds { background: var(--tint-green-bg); border: 1px solid var(--tint-green-border); }
.verdict.holds .pin { background: var(--success); }
.verdict.breaks { background: var(--tint-red-bg); border: 1px solid var(--tint-red-border); }
.verdict.breaks .pin { background: var(--danger); }
.verdict .vlabel { font-weight: 600; }
.cite { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--ai-grad); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: 0 2px 10px rgba(18, 194, 183, 0.35); }

/* ---------------- ask chat mock ---------------- */
.chat { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.bubble { max-width: 82%; padding: 11px 15px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.bubble.me { align-self: flex-end; background: var(--accent-tint); border: 1px solid var(--tint-accent-border); color: var(--text); }
.bubble.ai { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); }
.cite-inline { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--accent-tint); color: var(--accent-ink); font-size: 12px; font-weight: 600; }
.followups { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------- how it works ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 0 12px; }
.step .num { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-strong); color: var(--accent-ink); font-weight: 600; box-shadow: var(--shadow-1); }
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 14.5px; }

/* ---------------- comparison strip ---------------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare .col { border-radius: var(--radius-lg); padding: 26px; }
.compare .col.them { background: var(--tint-neutral-bg); border: 1px solid var(--border); }
.compare .col.us { background: var(--accent-tint); border: 1px solid var(--tint-accent-border); }
.compare .col h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.compare .col.them h3 { color: var(--text-dim); }
.compare .col.us h3 { color: var(--accent-ink); }
.compare ul { margin: 0; padding: 0; }
.compare li { list-style: none; display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; font-size: 14.5px; }
.compare .them li { color: var(--text-dim); }
.compare .g-x { color: var(--text-faint); flex-shrink: 0; }
.compare .g-check { color: var(--success); flex-shrink: 0; }

/* ---------------- two-mode privacy diagram ---------------- */
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
.flow-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.flow-card h4 { font-size: 15px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.flow-nodes { display: flex; align-items: center; gap: 8px; }
.node { flex: 1; text-align: center; padding: 12px 6px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); font-size: 12px; color: var(--text-dim); }
.node.acc { border-color: var(--tint-accent-border); color: var(--accent-ink); }
.node.wipe { border-style: dashed; border-color: var(--tint-red-border); color: var(--danger); }
.node b { display: block; font-weight: 600; font-size: 12.5px; margin-bottom: 2px; color: var(--text); }
.node.acc b, .node.wipe b { color: inherit; }
.flow-arrow { color: var(--text-faint); flex-shrink: 0; }

/* ---------------- pricing teaser / cards ---------------- */
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 720px; margin: 0 auto; }
.price-cards.tri { grid-template-columns: repeat(3, 1fr); max-width: 1040px; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-1); }
.price-card.pro { border-color: var(--tint-accent-border); box-shadow: var(--shadow-2); position: relative; }
.price-card .tier { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); }
.price-card .amt { font-size: 34px; font-weight: var(--w-thin); margin: 8px 0 2px; }
.price-card .amt small { font-size: 14px; color: var(--text-dim); font-weight: 400; }
.price-card .best { position: absolute; top: 16px; right: 16px; }
.feat { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 14px; color: var(--text); border-top: 1px solid var(--border); }
.feat:first-of-type { border-top: none; margin-top: 12px; }
.feat .g-check { color: var(--accent); flex-shrink: 0; }
.feat .vol { margin-left: auto; color: var(--text-dim); font-size: 13px; }

/* ---------------- blog / what's new cards ---------------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: transform 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out), border-color 0.15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.post-thumb { background: var(--grad-soft); border-bottom: 1px solid var(--border); overflow: hidden; line-height: 0; }
/* !important overrides the inline width/height on the wired-in <img>, so the
   cover always renders as a 16:9 banner regardless of the image's own ratio */
.post-thumb img { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; display: block; }
.post-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-cat { font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-ink); }
.post-card h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.005em; }
.post-card p { font-size: 14px; color: var(--text-dim); }
.post-meta { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--text-faint); }
.whatsnew-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }

/* ---------------- final CTA ---------------- */
.final { text-align: center; background: var(--grad-soft); padding: 96px 0; position: relative; overflow: hidden; }
.final h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.final p { color: var(--text-dim); font-size: 1.15rem; margin: 18px 0 30px; }
.final .mark { justify-content: center; margin-bottom: 24px; }
.final .mark svg { height: 40px; }
.final-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------- footer ---------------- */
.footer { background: var(--sidebar); border-top: 1px solid var(--border); padding: 60px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer h5 { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin: 0 0 14px; }
.footer a { display: block; color: var(--text-dim); font-size: 14px; padding: 5px 0; }
.footer a:hover { color: var(--text); }
.footer .brand-col p { color: var(--text-dim); font-size: 14px; margin: 14px 0; max-width: 260px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 13px; flex-wrap: wrap; }

/* ---------------- blog index + post (prose) ---------------- */
.blog-hero { padding: 64px 0 28px; }
.blog-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.blog-hero p { color: var(--text-dim); font-size: 1.15rem; margin-top: 14px; max-width: 620px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.post-hero { padding: 52px 0 8px; }
.post-hero .kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13px; color: var(--text-faint); }
.post-hero h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); max-width: 820px; line-height: 1.1; }
.post-hero .byline { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px; color: var(--text-dim); }
.post-hero .byline .av { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 14px; }
.prose { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: 1.6rem; margin: 42px 0 14px; font-weight: 400; scroll-margin-top: 84px; }
.prose h3 { font-size: 1.22rem; margin: 28px 0 10px; font-weight: 600; }
.prose p { margin: 16px 0; }
.prose a { color: var(--accent-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 22px; margin: 16px 0; }
.prose li { margin: 8px 0; }
.prose strong { font-weight: 600; }
.tldr { background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; margin: 26px 0; }
.tldr .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent-ink); font-weight: 700; margin-bottom: 8px; }
.tldr p { margin: 0; font-size: 15.5px; color: var(--text-dim); }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin: 26px 0; }
.toc .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); font-weight: 700; margin-bottom: 8px; }
.toc a { display: block; padding: 4px 0; color: var(--text-dim); font-size: 14.5px; text-decoration: none; }
.toc a:hover { color: var(--accent-ink); }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--border); border-radius: var(--radius); }
.ctable { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.ctable th, .ctable td { border-bottom: 1px solid var(--border); padding: 11px 14px; text-align: left; }
.ctable th { background: var(--surface-2); font-weight: 600; color: var(--text); position: sticky; top: 0; }
.ctable td:first-child, .ctable th:first-child { font-weight: 500; }
.ctable .yes { color: var(--success); font-weight: 600; }
.ctable .no { color: var(--text-faint); }
.ctable tr.hl td { background: var(--accent-tint); }
.inline-cta { background: var(--grad-soft); border: 1px solid var(--tint-accent-border); border-radius: var(--radius-lg); padding: 22px 24px; margin: 32px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.inline-cta p { font-size: 15px; color: var(--text); margin: 0; max-width: 60%; }
.faq { margin-top: 20px; }
.faq-item { border-top: 1px solid var(--border); padding: 18px 0; }
.faq-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.faq-item p { color: var(--text-dim); font-size: 15.5px; margin: 0; }
.figure { margin: 28px 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1); background: var(--surface); }
/* cover/hero photos in a figure render as a 16:9 banner, not a giant square */
.figure > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; display: block; }
.figure .cap { font-size: 12.5px; color: var(--text-faint); padding: 9px 15px; border-top: 1px solid var(--border); background: var(--surface-2); }
.post-foot { max-width: 720px; margin: 46px auto 0; padding-top: 26px; border-top: 1px solid var(--border); }

/* ---------------- scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wave span, .mark.animated .eq-bar, .rec-dot, .caption-cursor { animation: none !important; }
  .wave span { transform: scaleY(0.6); }
}

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .split, .grid-3, .grid-2, .steps, .paths, .compare, .flow, .price-cards, .posts { grid-template-columns: 1fr; }
  .price-cards.tri { grid-template-columns: 1fr; }
  .split.rev .split-copy { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .header-cta .btn-ghost { display: none; }
  .paths { grid-template-columns: 1fr 1fr; }
  .inline-cta p { max-width: 100%; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .wrap { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .hero-cta, .final-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .final-cta .btn { width: 100%; }
}
