/* TestMyLLM marketing site. No build step: plain CSS, system body font, self-hosted Space Grotesk. */
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  --brand: #c2410c;
  --brand-2: #ea580c;
  --brand-3: #fb923c;
  --brand-soft: #ffedd5;
  --ink: #1c1917;
  --ink-2: #292524;
  --ink-3: #3a3532;
  --text: #292524;
  --muted: #57534e;
  --faint: #78716c;
  --line: #e7e5e4;
  --cream: #fff7ed;
  --paper: #fffcf8;
  --ok: #15803d;
  --bad: #be123c;
  --radius: 16px;
  --shadow: 0 1px 0 rgba(28, 25, 23, .04), 0 12px 32px -12px rgba(28, 25, 23, .18);
  --shadow-lg: 0 2px 0 rgba(28, 25, 23, .04), 0 40px 80px -24px rgba(28, 25, 23, .35);
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Code", Menlo, Consolas, monospace;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
p { margin: 0; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--brand-3); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.section { padding: 112px 0; position: relative; }
.section--tight { padding: 72px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); margin-top: 14px; }
.section-head p { font-size: 19px; color: var(--muted); margin-top: 18px; }
.accent { color: var(--brand); }
.grad { background: linear-gradient(92deg, var(--brand) 10%, var(--brand-2) 60%, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 16px/1 var(--sans); padding: 15px 22px; border-radius: 12px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 24px -10px rgba(194, 65, 12, .7); }
.btn--primary:hover { background: #a7380a; transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn--ghost:hover { border-color: #d6d3d1; transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-1px); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; }
.btn--sm { padding: 11px 16px; font-size: 15px; border-radius: 10px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 248, .78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(255, 252, 248, .92); }
.nav__inner { height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; }
.brand b { color: var(--brand); font-weight: 700; }
.nav__links { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav__links a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .15s, background .15s; }
.nav__links a:hover { color: var(--ink); background: rgba(28, 25, 23, .05); }
.nav__cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav__toggle svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 0; background: var(--cream); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(194, 65, 12, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(194, 65, 12, .07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -420px; background: radial-gradient(closest-side, rgba(251, 146, 60, .35), rgba(251, 146, 60, 0)); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid #fed7aa; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; box-shadow: var(--shadow); transition: border-color .2s; }
.pill:hover { border-color: var(--brand-3); }
.pill__tag { background: var(--brand); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
.pill svg { width: 15px; height: 15px; color: var(--brand); }
.hero h1 { font-size: clamp(44px, 7.2vw, 90px); line-height: .98; margin: 28px auto 0; max-width: 980px; }
.hero__sub { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 700px; margin: 26px auto 0; }
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero__meta { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 26px; font-size: 14.5px; color: var(--faint); }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--ok); }

.showcase { position: relative; z-index: 1; margin: 72px auto 0; max-width: 1120px; }
.frame { position: relative; border-radius: 18px 18px 0 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-bottom: 0; box-shadow: var(--shadow-lg); }
.frame__bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: #f5f5f4; border-bottom: 1px solid var(--line); }
.frame__bar i { width: 12px; height: 12px; border-radius: 50%; background: #e7e5e4; }
.frame__bar i:nth-child(1) { background: #fca5a5; } .frame__bar i:nth-child(2) { background: #fcd34d; } .frame__bar i:nth-child(3) { background: #86efac; }
.frame__url { margin: 0 auto; font: 13px var(--sans); color: var(--faint); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 40px; }
.frame--rounded { border-radius: 16px; border-bottom: 1px solid var(--line); }

.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: 14px; color: var(--muted); max-width: 300px; text-align: left; }
.float strong { display: block; color: var(--ink); font-size: 14.5px; }
.float .ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.float .ico svg { width: 19px; height: 19px; }
.ico--ok { background: #dcfce7; color: var(--ok); } .ico--bad { background: #ffe4e6; color: var(--bad); } .ico--brand { background: var(--brand-soft); color: var(--brand); }
.float--1 { left: -56px; top: 120px; animation: bob 7s ease-in-out infinite; }
.float--2 { right: -60px; top: 64px; animation: bob 8s ease-in-out -2s infinite; }
.float--3 { right: -36px; top: 470px; animation: bob 9s ease-in-out -4s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- engines strip ---------- */
.strip { border-block: 1px solid var(--line); background: #fff; }
.strip__inner { display: flex; align-items: center; gap: 40px; padding: 30px 0; flex-wrap: wrap; justify-content: center; }
.strip__label { font-size: 14px; color: var(--faint); font-weight: 500; }
.strip__items { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; align-items: center; }
.strip__items span { font-family: var(--display); font-weight: 700; font-size: 21px; color: #a8a29e; letter-spacing: -0.01em; transition: color .2s; }
.strip__items span:hover { color: var(--ink); }

/* ---------- problem cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card h3 { font-size: 22px; margin-top: 20px; }
.card p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.icon-tile svg { width: 24px; height: 24px; }

/* ---------- product tour ---------- */
.tour { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; width: fit-content; margin: 0 auto 48px; box-shadow: var(--shadow); }
.tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 11px 16px; border-radius: 10px; font: 600 15px var(--sans); color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.tab svg { width: 18px; height: 18px; }
.tab:hover { color: var(--ink); background: rgba(28, 25, 23, .04); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab[aria-selected="true"] svg { color: var(--brand-3); }
.panel { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 56px; align-items: center; }
.panel[hidden] { display: none; }
.panel + .panel { margin-top: 96px; } /* when JS is off every panel shows, stacked */
.js .panel + .panel { margin-top: 0; }
.panel h3 { font-size: clamp(28px, 3vw, 38px); margin-top: 14px; }
.panel p { color: var(--muted); margin-top: 16px; font-size: 17.5px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: 1px; }
.panel .frame { border-radius: 14px; border-bottom: 1px solid var(--line); }
.js .panel:not([hidden]) { animation: fadeUp .45s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.numbers div { padding: 34px 30px; border-right: 1px solid var(--line); }
.numbers div:last-child { border-right: 0; }
.numbers b { display: block; font-family: var(--display); font-size: 48px; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.numbers span { display: block; margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ---------- dark sections ---------- */
.dark { background: var(--ink); color: #d6d3d1; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .section-head p { color: #a8a29e; }
.dark .eyebrow { color: var(--brand-3); }
.dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 420px at 90% 0%, rgba(194, 65, 12, .28), transparent 65%), radial-gradient(700px 400px at 0% 100%, rgba(194, 65, 12, .14), transparent 60%); pointer-events: none; }
.dark > * { position: relative; }

.metric-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mgroup { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 28px; }
.mgroup__head { display: flex; align-items: center; gap: 14px; }
.mgroup__head .icon-tile { background: rgba(234, 88, 12, .16); color: var(--brand-3); }
.mgroup h3 { font-size: 21px; }
.mgroup__head small { display: block; color: #a8a29e; font-size: 14px; margin-top: 2px; font-family: var(--sans); letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #1c1917; border: 1px solid var(--ink-3); font-size: 14px; color: #e7e5e4; }
.chip em { font-style: normal; font-family: var(--mono); font-size: 11.5px; padding: 2px 6px; border-radius: 6px; }
.chip .e-r { background: rgba(251, 146, 60, .16); color: #fdba74; }
.chip .e-d { background: rgba(96, 165, 250, .16); color: #93c5fd; }
.chip .e-t { background: rgba(74, 222, 128, .14); color: #86efac; }
.chip .e-o { background: rgba(244, 63, 94, .16); color: #fda4af; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: #a8a29e; }
.legend .chip { padding: 0; background: none; border: 0; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; }
.step h3 { font-size: 20px; margin-top: 20px; }
.step p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }

/* ---------- developers ---------- */
.dev { display: grid; grid-template-columns: 0.9fr 1.25fr; gap: 56px; align-items: center; }
.dev .checks li { color: var(--text); }
.code { background: #0c0a09; border: 1px solid #292524; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.code__bar { display: flex; align-items: center; gap: 4px; padding: 10px 10px 0; background: #1c1917; border-bottom: 1px solid #292524; }
.code__tab { border: 0; background: none; color: #a8a29e; font: 600 14px var(--sans); padding: 10px 14px 12px; cursor: pointer; border-bottom: 2px solid transparent; }
.code__tab[aria-selected="true"] { color: #fff; border-bottom-color: var(--brand-3); }
.code__copy { margin-left: auto; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #3a3532; background: #292524; color: #d6d3d1; font: 500 13px var(--sans); padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.code__copy svg { width: 14px; height: 14px; }
.code pre { margin: 0; padding: 24px; overflow-x: auto; font-size: 14px; line-height: 1.75; color: #e7e5e4; }
.code pre[hidden] { display: none; }
.c-c { color: #78716c; } .c-k { color: #fb923c; } .c-s { color: #86efac; } .c-f { color: #93c5fd; } .c-p { color: #fda4af; }

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.trust h3 { font-size: 19px; margin-top: 18px; }
.trust p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }

/* ---------- get started ---------- */
.start { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.start .needs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.start .needs span { font-size: 14px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #d6d3d1; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 22px; height: 22px; color: var(--brand); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 16.5px; }

/* ---------- final CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 28px; padding: 80px 56px; text-align: center; background: linear-gradient(135deg, #9a3412, var(--brand) 45%, var(--brand-2)); color: #fff; box-shadow: var(--shadow-lg); }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); }
.cta p { font-size: 19px; color: #ffedd5; margin: 18px auto 0; max-width: 620px; }
.cta .hero__ctas { margin-top: 34px; }

/* ---------- footer ---------- */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: 112px; background: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer p { color: var(--muted); font-size: 15px; margin-top: 14px; max-width: 320px; }
.footer h4 { font-size: 15px; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.footer ul a { text-decoration: none; color: var(--muted); font-size: 15px; }
.footer ul a:hover { color: var(--brand); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) { .float--1 { left: 12px; } .float--2, .float--3 { right: 12px; } }
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .panel, .dev, .start { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers div:nth-child(2) { border-right: 0; }
  .numbers div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .cards-3, .trust-grid, .metric-groups { grid-template-columns: 1fr; }
  .float { display: none; }
  .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav.open .nav__links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; gap: 2px; }
  .nav.open .nav__links a { font-size: 17px; padding: 12px; }
  .tabs { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .cta { padding: 56px 24px; }
}
@media (max-width: 560px) {
  .container { width: min(var(--container), 100% - 32px); }
  .steps, .numbers { grid-template-columns: 1fr; }
  .numbers div { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* inline details */
.eyebrow svg { width: 17px; height: 17px; }
.hero__meta code, .trust code { font-size: .92em; background: rgba(28, 25, 23, .06); padding: 1px 6px; border-radius: 6px; }
.btn svg[viewBox="0 0 16 16"] { width: 17px; height: 17px; }
.nav__mcta { display: none; }
@media (max-width: 860px) {
  .nav.open .nav__mcta { display: block; margin-top: 8px; }
  .nav.open .nav__links .nav__mcta a { display: flex; color: inherit; padding: 14px; }
  .nav.open .nav__links .nav__mcta .btn--primary { color: #fff; }
}

/* ---------- book a demo ---------- */
.next { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.next li { display: flex; gap: 16px; align-items: flex-start; }
.next .step__n { flex: none; width: 36px; height: 36px; border-radius: 10px; font-size: 15px; }
.next b { font-family: var(--display); font-size: 18px; color: var(--ink); }
.next p { color: var(--muted); font-size: 15.5px; margin-top: 2px; }
.mailline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 16px; }
.mailline > svg { width: 18px; height: 18px; color: var(--brand); }
.mailline a { color: var(--brand); font-weight: 600; text-decoration: none; }
.mailline a:hover { text-decoration: underline; }
.copy-mail { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: #fff; color: var(--muted); font: 500 13px var(--sans); padding: 5px 9px; border-radius: 8px; cursor: pointer; }
.copy-mail svg { width: 13px; height: 13px; }
.copy-mail:hover { border-color: #d6d3d1; color: var(--ink); }

.demo-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.demo-form h3 { font-size: 24px; margin-bottom: 4px; }
.demo-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.demo-form input:not([type="checkbox"]), .demo-form textarea { font: 400 16px var(--sans); color: var(--ink); padding: 12px 14px; border: 1px solid #d6d3d1; border-radius: 10px; background: var(--paper); transition: border-color .15s, box-shadow .15s; width: 100%; }
.demo-form textarea { resize: vertical; min-height: 96px; }
.demo-form input:focus, .demo-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(194, 65, 12, .14); background: #fff; }
.demo-form fieldset { border: 0; padding: 0; margin: 0; }
.demo-form legend { font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.demo-form .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-form .opts label { display: block; font-weight: 500; }
.demo-form .opts input { position: absolute; opacity: 0; pointer-events: none; }
.demo-form .opts span { display: inline-block; padding: 8px 13px; border-radius: 999px; border: 1px solid #d6d3d1; font-size: 14px; color: var(--muted); cursor: pointer; transition: all .15s; user-select: none; }
.demo-form .opts input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.demo-form .opts input:focus-visible + span { outline: 3px solid var(--brand-3); outline-offset: 2px; }
.demo-form .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: 13.5px; color: var(--faint); text-align: center; }
.form-note.ok { color: var(--ok); font-weight: 500; }
.cta .btn { white-space: normal; }
@media (max-width: 560px) { .demo-form { padding: 22px; } .demo-form .row { grid-template-columns: 1fr; } }
