/* Pronto — sales website. Tokens first, then layout, components, pages. No framework. */
:root {
  /* Cool base (slate and petrol blue) with a warm amber used sparingly for emphasis. */
  --bg: #F5F7FA;
  --bg-2: #EDF1F6;
  --surface: #FFFFFF;
  --surface-2: #EBF0F5;
  --ink: #0F1A26;
  --ink-2: #2C3A48;
  --muted: #5B6B7B;
  --line: #D8E0E8;
  --accent: #1B4F72;
  --accent-2: #24658F;
  --accent-soft: #DDEAF4;
  --accent-ink: #FFFFFF;
  --glow: #E08A3C;
  --glow-soft: #FCEBDB;
  --danger: #B03A2E;
  --danger-soft: #F8E0DC;
  --focus: #E08A3C;
  --shadow: 0 1px 2px rgba(15, 26, 38, .06), 0 12px 32px -12px rgba(15, 26, 38, .18);
  --shadow-lg: 0 2px 4px rgba(15, 26, 38, .05), 0 30px 60px -24px rgba(27, 79, 114, .30);
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 16px;
  --r-sm: 10px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 7vw, 84px); }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
h3 { font: 600 19px/1.3 var(--sans); }
em { font-style: italic; }
h1 em, h2 em { font-family: var(--serif); color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.eyebrow { font: 500 12.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--glow); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 36em; }
.muted { color: var(--muted); }
.todo { background: var(--glow-soft); color: var(--ink); padding: 0 .25em; border-radius: 4px; box-shadow: inset 0 -2px 0 var(--glow); }
.tag { display: inline-block; margin-left: .5em; padding: 1px 8px; border-radius: 99px; font: 500 11px/1.6 var(--mono); letter-spacing: .04em; vertical-align: 2px; white-space: nowrap; }
.tag-soon { background: var(--accent-soft); color: var(--accent); }
.tag-draft { background: var(--glow-soft); color: var(--ink); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Buttons */
.btn { --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 22px; border-radius: 99px; border: 1px solid transparent; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -10px var(--accent); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Preview bar */

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; }
.bm-bg { fill: var(--accent); }
.bm-wave { stroke: var(--accent-ink); stroke-width: 2.2; stroke-linecap: round; fill: none; }
.brand-name { font: 400 28px/1 var(--serif); letter-spacing: -.01em; }
.nav-desktop { margin-left: 8px; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 99px; background: none; border: 0; font: 500 15.5px/1 var(--sans); color: var(--ink-2); text-decoration: none; cursor: pointer; }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--surface-2); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--accent); }
.chev { width: 12px; height: 12px; stroke: currentColor; stroke-width: 1.6; fill: none; transition: transform .2s ease; }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
/* The panel starts right under the trigger: its transparent top padding is the bridge the
   pointer crosses without leaving the menu. */
.menu-panel { position: absolute; left: -12px; top: 100%; padding-top: 10px; min-width: 340px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.has-menu.open .menu-panel { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .18s ease, transform .18s ease, visibility 0s; }
.menu-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 8px; }
.menu-entry { display: grid; gap: 3px; padding: 12px 14px; border-radius: var(--r-sm); text-decoration: none; }
.menu-entry:hover, .menu-entry:focus-visible { background: var(--surface-2); }
.me-title { font-weight: 600; }
.me-desc { color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, top .22s ease; }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-sheet { position: fixed; z-index: 49; inset: calc(var(--header-h) + var(--bar-h, 0px)) 0 0 0; background: var(--bg); padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--line); }
.mobile-sheet[hidden] { display: none; }
.mobile-sheet nav { display: grid; }
.mobile-sheet nav a { display: flex; align-items: center; min-height: 54px; font: 400 26px/1.1 var(--serif); text-decoration: none; border-bottom: 1px solid var(--line); }
.ms-label { margin: 18px 0 2px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ms-actions { display: grid; gap: 10px; margin-top: auto; }
body.sheet-open { overflow: hidden; }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--ink-2); font-size: 18.5px; }

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); overflow: clip; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, var(--glow-soft), transparent 70%); opacity: .8; pointer-events: none; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 15.5px; }
.hero-facts li { display: flex; gap: 10px; align-items: baseline; }
.hero-facts li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--glow); transform: translateY(-2px); }

/* Live demo chat — the centre of the first screen */
.demo { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; height: min(640px, 78vh); min-height: 520px; overflow: hidden; }
.demo-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.demo-avatar { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.demo-avatar svg { width: 22px; height: 22px; }
.demo-avatar .bm-wave { stroke-width: 2.4; }
.demo-avatar::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.demo[data-state="thinking"] .demo-avatar::after { animation: ring 1.6s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: .55; } to { transform: scale(1.35); opacity: 0; } }
.demo-id { min-width: 0; }
.demo-name { font-weight: 600; line-height: 1.2; }
.demo-sub { font: 500 12px/1.4 var(--mono); color: var(--muted); }
.demo-badge::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--glow); vertical-align: 1px; }
.demo-badge { margin-left: auto; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 7px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.demo-wave { display: flex; align-items: center; gap: 3px; height: 26px; padding: 0 18px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--surface), var(--bg-2)); }
.demo-wave i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); transform-origin: center; transition: background-color .3s ease; }
.demo[data-state="thinking"] .demo-wave i { background: var(--accent); animation: wave 1.1s ease-in-out infinite; }
.demo-wave i:nth-child(3n) { animation-delay: -.2s; } .demo-wave i:nth-child(3n+1) { animation-delay: -.45s; } .demo-wave i:nth-child(4n) { animation-delay: -.7s; } .demo-wave i:nth-child(5n) { animation-delay: -.9s; }
@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(5); } }
.demo-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: 15.5px; line-height: 1.5; animation: rise .28s ease both; overflow-wrap: anywhere; }
.msg-ai { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.msg-me { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.msg-note { align-self: center; max-width: 100%; text-align: center; font: 500 12px/1.5 var(--mono); color: var(--muted); padding: 4px 8px; background: none; animation: none; }
.msg-error { align-self: center; max-width: 100%; background: var(--danger-soft); color: var(--ink); border-radius: 12px; font-size: 14.5px; }
.msg-error button { margin-left: 8px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.demo-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 99px; padding: 8px 14px; min-height: 40px; font: 500 14px/1.2 var(--sans); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.demo-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.demo-input { flex: 1; min-width: 0; min-height: 48px; border: 1px solid var(--line); border-radius: 99px; padding: 0 18px; font: 400 16px/1 var(--sans); background: var(--bg); color: var(--ink); }
.demo-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.demo-send { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; }
.demo-send svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.demo-send:disabled { opacity: .45; cursor: not-allowed; }
.demo-foot { display: flex; justify-content: space-between; gap: 12px; padding: 0 16px 12px; font: 500 11.5px/1.4 var(--mono); color: var(--muted); }
.demo-foot button { font: inherit; color: var(--accent); }
.demo-overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; text-align: center; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(4px); }
.demo-overlay[hidden] { display: none; }
.demo-overlay h3 { font: 400 30px/1.1 var(--serif); margin-bottom: 10px; }
.demo-overlay p { color: var(--ink-2); max-width: 30em; margin-inline: auto; }

/* Voice trial card */
.voice { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; margin-top: 16px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--surface); }
.voice-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.voice-icon svg { width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 1.8; }
.voice p { margin: 0; font-size: 14.5px; color: var(--muted); }
.voice strong { color: var(--ink); display: block; font-size: 15.5px; }

/* Cards and grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); margin: 0; }
.card-num { font: 500 13px/1 var(--mono); color: var(--accent); margin-bottom: 18px; display: block; }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.step { padding: 28px 24px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-num { font: 400 46px/1 var(--serif); color: var(--glow); display: block; margin-bottom: 18px; }
.step p { color: var(--ink-2); margin: 0 0 14px; font-size: 15.5px; }
.step code { display: inline-block; font: 500 12.5px/1.4 var(--mono); background: var(--surface-2); padding: 6px 9px; border-radius: 8px; color: var(--ink-2); }

/* Example conversation */
.convo { display: grid; gap: 10px; max-width: 620px; }
.convo .msg { animation: none; }
.convo-meta { font: 500 12px/1.4 var(--mono); color: var(--muted); margin-bottom: 4px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px 26px; }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.plan-ribbon { position: absolute; top: -12px; left: 24px; background: var(--glow); color: #FFFFFF; font: 500 11.5px/1 var(--mono); letter-spacing: .04em; padding: 7px 10px; border-radius: 99px; }
.plan-name { font: 400 34px/1 var(--serif); margin-bottom: 6px; }
.plan-for { color: var(--muted); font-size: 15px; min-height: 2.9em; }
.plan-price { margin: 6px 0 2px; display: flex; align-items: baseline; gap: 6px; }
.plan-amount { font: 600 40px/1 var(--sans); letter-spacing: -.02em; }
.plan-period { color: var(--muted); }
.plan-minutes { font: 500 13px/1.4 var(--mono); color: var(--accent); margin-bottom: 18px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; font-size: 15.5px; }
.plan-features li { padding-left: 26px; position: relative; }
.plan-features li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan-terms { margin: 0 0 22px; display: grid; gap: 8px; font-size: 14.5px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan-terms div { display: flex; justify-content: space-between; gap: 12px; }
.plan-terms dt { color: var(--muted); }
.plan-terms dd { margin: 0; text-align: right; }
.plan-cta { margin-top: auto; }
.plans-note { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }
.conditions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.conditions div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.conditions dt { font-weight: 600; margin-bottom: 4px; }
.conditions dd { margin: 0; color: var(--ink-2); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 0 20px; }

/* CTA band */
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(224, 138, 60, .45), transparent); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band { background: var(--accent); color: var(--accent-ink); border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { margin: 0 0 10px; }
.cta-band h2 em { color: inherit; }
.cta-band p { margin: 0; opacity: .85; max-width: 34em; }
.cta-band .btn-primary { background: var(--accent-ink); color: var(--accent); box-shadow: none; }
.cta-band .btn-ghost { color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 40%, transparent); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page hero */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(42px, 6vw, 72px); max-width: 15em; }

/* Forms */
.form { display: grid; gap: 18px; max-width: 640px; }
.field { display: grid; gap: 7px; }
.field label, .legend { font-weight: 600; font-size: 15px; }
.field .hint { color: var(--muted); font-size: 14px; }
.input, .textarea { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; font: 400 16px/1.4 var(--sans); background: var(--surface); color: var(--ink); }
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; min-height: 0; }
.choices { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.choice { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.choice input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.notice { border-radius: var(--r); padding: 18px 20px; border: 1px solid var(--line); background: var(--surface); }
.notice-sandbox { border-color: var(--glow); background: var(--glow-soft); color: var(--ink); }
.notice strong { display: block; margin-bottom: 4px; }
.form-status[hidden] { display: none; }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: c; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.checklist li::before { content: counter(c); width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font: 600 14px/1 var(--mono); }

/* Legal */
.legal { max-width: 760px; }
.legal h2 { font: 600 22px/1.3 var(--sans); margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .draft { border-left: 3px solid var(--glow); background: var(--glow-soft); color: var(--ink); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 0 0 28px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
@media (max-width: 640px) { .legal table, .legal tbody, .legal tr, .legal th, .legal td { display: block; } .legal tr { border-bottom: 1px solid var(--line); padding: 8px 0; } .legal th, .legal td { border: 0; padding: 4px 0; } .legal tr:not(:has(td)) { display: none; } .legal th { font-weight: 600; color: var(--ink); } }
.legal { overflow-wrap: anywhere; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid a:not(.brand) { display: block; color: var(--ink-2); text-decoration: none; padding: 5px 0; font-size: 15.5px; }
.footer-grid a:not(.brand):hover { color: var(--accent); }
.footer-brand p { color: var(--muted); max-width: 26em; margin-top: 14px; font-size: 15px; }
.footer-title { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-base p { margin: 0; }

/* Cookie dialog */
.cookie-dialog { max-width: 520px; width: calc(100% - 32px); border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.cookie-dialog::backdrop { background: rgba(0, 0, 0, .35); }
.cookie-dialog h2 { font-size: 30px; }
.cookie-dialog p { color: var(--ink-2); font-size: 15.5px; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }

/* Reveal on scroll (only when JS runs and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .nav-desktop, .header-actions .login, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .demo { height: 560px; min-height: 480px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .plans, .grid-3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 62px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .demo { height: min(560px, calc(100svh - 120px)); border-radius: 20px; }
  .demo-badge { display: none; }
  .demo-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .msg { max-width: 92%; }
  .steps, .grid-2, .conditions { grid-template-columns: minmax(0, 1fr); }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-actions .btn { flex: 1 1 100%; }
  .voice { grid-template-columns: auto 1fr; }
  .voice .btn { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.demo-scenarios { display: flex; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.demo-scenarios::-webkit-scrollbar { display: none; }
.demo-scenarios .chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.demo-foot { padding-top: 2px; }
.plan-from { display: block; font: 500 12.5px/1.2 var(--mono); color: var(--muted); letter-spacing: .02em; margin-bottom: 4px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface, #FFFFFF); }
.contact-name { font-weight: 600; font-size: 17px; margin: 0 0 4px; }
.contact-line { display: flex; align-items: center; min-height: 40px; color: var(--accent); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.contact-line:hover { text-decoration: underline; }
.trial .choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0 26px; }
.trial .choice { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 64px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface, #FFFFFF); font: inherit; color: inherit; text-align: left; cursor: pointer; }
.trial .choice span { font-size: 13.5px; color: var(--muted); }
.trial .choice[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
@media (max-width: 720px) {
  .contact-grid, .trial .choices { grid-template-columns: minmax(0, 1fr); }
}
