/* mygtd — light SaaS landing */
:root {
  --bg: #ffffff;
  --soft: #f5f7fb;
  --ink: #0b1220;
  --text: #3b4558;
  --muted: #667085;
  --line: #e4e7ee;
  --brand: #2554f4;
  --brand-ink: #1a3fcc;
  --brand-soft: #eef2ff;
  --ok: #0f9d58;
  --ok-soft: #e6f6ed;
  --bad: #d93a3a;
  --bad-soft: #fdecec;
  --r: 16px;
  --sh-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --sh: 0 1px 2px rgba(16, 24, 40, .05), 0 12px 32px -12px rgba(16, 24, 40, .16);
  --sh-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 32px 64px -24px rgba(23, 45, 120, .28);
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --margin: 20px;
}
@media (min-width: 40em) { :root { --margin: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--margin); }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 600; font-size: 16px; box-shadow: 0 1px 2px rgba(16,24,40,.1), inset 0 1px 0 rgba(255,255,255,.15); transition: background-color .15s ease, transform .12s ease; }
.btn:hover { background: var(--brand-ink); }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); }
.btn-ghost:hover { background: var(--soft); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: #e9ecf3; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip .ic { width: 15px; height: 15px; }
.chip-ok { background: var(--ok-soft); color: #0b7a44; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.logo-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 18px; font-weight: 700; line-height: 1; }
.top-nav { display: flex; gap: 28px; margin-right: auto; font-size: 15px; font-weight: 500; color: var(--muted); }
.top-nav a:hover { color: var(--ink); }
.top-nav .top-new { color: var(--brand); }
@media (max-width: 56em) { .top-nav { display: none; } .top-in { justify-content: space-between; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background:
  radial-gradient(60% 60% at 85% 20%, rgba(37,84,244,.10), transparent 70%),
  radial-gradient(40% 50% at 10% 0%, rgba(15,157,88,.06), transparent 70%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); font-size: 14px; font-weight: 500; color: var(--ink); }
.pill-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.hero h1 { margin-top: 24px; font-size: clamp(2.3rem, 1.4rem + 3vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.06; }
.hl { color: var(--brand); }
.lead { margin-top: 22px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 15px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.5; }

.hero-shot { position: relative; }
.app { background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line), var(--sh-lg); overflow: hidden; font-size: 13px; color: var(--text); }
.app-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #d5d9e2; }
.app-bar span { margin-left: 12px; padding: 3px 12px; border-radius: 6px; background: #fff; color: var(--muted); font-size: 12px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-body { display: grid; grid-template-columns: 140px minmax(0, 1fr); }
.app-side { padding: 16px 10px; font-size: 13px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.app-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 15px; padding: 0 8px 14px; }
.app-logo .logo-mark { width: 24px; height: 24px; font-size: 13px; border-radius: 7px; }
.app-side a { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.app-side a.is-on { background: var(--brand-soft); color: var(--brand); }
.app-side .ic { width: 16px; height: 16px; }
.app-main { padding: 18px 20px 20px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.app-crumb { font-size: 12px; color: var(--muted); }
.app-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-top: 2px; letter-spacing: -0.01em; }
.app-stats { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 1fr; gap: 8px; margin-top: 16px; }
.app-stats div { padding: 10px 12px; border-radius: 10px; background: var(--soft); }
.app-stats span { display: block; font-size: 11px; color: var(--muted); }
.app-stats b { display: block; font-size: 13px; color: var(--ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.app-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-variant-numeric: tabular-nums; }
.app-table th { text-align: left; font-weight: 500; font-size: 11px; color: var(--muted); padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); }
.app-table td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.app-table td:first-child { white-space: normal; color: var(--ink); font-weight: 500; }
.app-table .num { text-align: right; padding: 9px 0 9px 14px; }
.app-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.app-docs div { display: flex; align-items: center; gap: 6px; padding: 9px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.app-docs .ic { width: 15px; height: 15px; color: var(--brand); }
.app-docs span { font-weight: 500; color: var(--ink); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-docs em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 600; color: var(--muted); }

.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line), var(--sh); font-size: 13px; }
.float b { display: block; color: var(--ink); font-size: 14px; }
.float span { color: var(--muted); }
.float-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); }
.float-ic-b { background: var(--brand-soft); color: var(--brand); }
.float-ic .ic { width: 18px; height: 18px; stroke-width: 2.5; }
.float-a { left: -28px; bottom: -28px; }
.float-b { right: -20px; top: -24px; }
@media (prefers-reduced-motion: no-preference) {
  .float-a { animation: bob 6s ease-in-out infinite; }
  .float-b { animation: bob 6s ease-in-out -3s infinite; }
  @keyframes bob { 50% { transform: translateY(-8px); } }
}

/* ---------- stats band ---------- */
.stats { border-block: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-in div { padding: 28px 24px; display: flex; align-items: center; gap: 16px; }
.stats-in div + div { border-left: 1px solid var(--line); }
.stats-in b { font-size: 40px; font-weight: 700; color: var(--brand); letter-spacing: -0.03em; line-height: 1; }
.stats-in span { font-size: 15px; line-height: 1.35; color: var(--text); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sec-head-left { text-align: left; margin: 0; }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.75rem); }
.sec-sub { margin-top: 16px; font-size: 18px; color: var(--muted); }

.card { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { border-radius: var(--r); padding: 32px; }
.compare-before { background: var(--soft); }
.compare-after { background: #fff; box-shadow: inset 0 0 0 2px var(--brand), var(--sh); }
.compare-label { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.compare ul { display: grid; gap: 16px; }
.compare li { display: flex; gap: 12px; align-items: flex-start; }
.compare li .ic { margin-top: 2px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; stroke-width: 3; }
.compare-before .ic { color: var(--bad); background: var(--bad-soft); }
.compare-after .ic { color: var(--ok); background: var(--ok-soft); }
.compare-after li { color: var(--ink); }

/* features */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid3 .card { transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) { .grid3 .card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--sh); } }
.card-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.card-ic .ic { width: 24px; height: 24px; }
.card h3 { margin-top: 20px; font-size: 20px; }
.card p { margin-top: 8px; color: var(--muted); }

/* ---------- demo ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.demo-controls { display: grid; gap: 24px; position: sticky; top: 92px; }
.ctl-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.doc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.doc-tabs button { height: 42px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .15s, color .15s, box-shadow .15s; }
.doc-tabs button:hover { background: var(--soft); }
.doc-tabs button[aria-selected="true"] { background: var(--brand-soft); color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.seg { display: flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--soft); }
.seg button { flex: 1; height: 36px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background-color .15s, color .15s; }
.seg button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: var(--sh-sm), inset 0 0 0 1px var(--line); }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 46px; height: 46px; flex: none; border-radius: 10px; font-size: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.stepper button:hover { background: var(--soft); }
.stepper .field { flex: 1; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.field { width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37,84,244,.14); }
.field::placeholder { color: #98a1b2; }
.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--ink); }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-ui { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #cdd3de; transition: background-color .2s; flex: none; }
.toggle-ui::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-sm); transition: transform .2s ease; }
.toggle input:checked + .toggle-ui { background: var(--brand); }
.toggle input:checked + .toggle-ui::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid var(--brand); outline-offset: 2px; }

.demo-view { border-radius: var(--r); background: #e9edf5; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.demo-name { font-weight: 600; color: var(--ink); font-size: 15px; }
.demo-paper { padding: 32px; min-height: 560px; }
.demo-paper .doc-sheet { margin: 0 auto; box-shadow: var(--sh); border-radius: 6px; transition: opacity .18s ease, transform .18s ease; }
.demo-paper.is-swapping .doc-sheet { opacity: 0; transform: translateY(6px); }

/* ---------- document sheets (rendered by docs.js) ---------- */
.doc-sheet { width: 100%; max-width: 640px; background: #fff; color: var(--ink); padding: 40px 44px 44px; font-size: 14px; line-height: 1.5; }
.doc-sheet p + p { margin-top: 10px; }
.doc-title { font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.doc-title span { display: block; font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.doc-meta { color: var(--muted); margin-top: 6px !important; font-size: 13px; }
.doc-parties { display: grid; gap: 8px; margin: 22px 0; }
.doc-parties > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; }
.doc-parties dt { color: var(--muted); }
.doc-parties dd { margin: 0; }
.doc-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.doc-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 8px 6px 8px 0; border-bottom: 1px solid #d8dce5; }
.doc-table td { padding: 10px 6px 10px 0; vertical-align: top; border-bottom: 1px solid #edf0f4; }
.doc-table tfoot td { font-weight: 700; border-bottom: 0; padding-top: 12px; }
.doc-table .num { text-align: right; white-space: nowrap; }
.doc-hs { display: block; color: var(--brand); font-size: 12px; font-weight: 500; }
.doc-foot { margin-top: 18px !important; font-variant-numeric: tabular-nums; }
.doc-contract .doc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 20px; }
.doc-contract .doc-cols p { font-size: 13px; }
.doc-sign { margin-top: 26px !important; }
[data-hl] { border-radius: 3px; transition: background-color 1s ease; }
[data-hl].is-changed { background-color: #fff1a8; transition: none; }

.doc-gtd { padding: 24px; max-width: none; }
.gtd-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; border: 1px solid #d8dce5; border-radius: 8px; overflow: hidden; }
.gtd-box { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 10px 12px; border: 1px solid #edf0f4; margin: -1px 0 0 -1px; }
.gtd-wide { grid-column: 1 / -1; }
.gtd-n { grid-row: span 2; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.gtd-l { font-size: 12px; color: var(--muted); }
.gtd-v { font-size: 14px; font-variant-numeric: tabular-nums; }

/* panels in "how it works" (rendered by stages.js) */
.panel { width: 100%; font-size: 15px; line-height: 1.5; }
.panel-title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.panel-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 16px; border-radius: 10px; font-variant-numeric: tabular-nums; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.panel-row + .panel-row { margin-top: 6px; }
.panel-row span:last-child { color: var(--muted); text-align: right; white-space: nowrap; }
.panel-row.is-sel { background: var(--brand-soft); box-shadow: inset 0 0 0 1.5px var(--brand); }
.panel-btn { display: inline-flex; margin-top: 18px; height: 44px; align-items: center; padding: 0 18px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; }

/* ---------- how ---------- */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.how-steps { display: grid; gap: 10px; }
.how-steps button { display: flex; gap: 16px; width: 100%; text-align: left; padding: 20px; border-radius: var(--r); transition: background-color .2s, box-shadow .2s; }
.how-steps button:hover { background: rgba(255,255,255,.6); }
.how-steps button[aria-selected="true"] { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh); }
.how-n { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; color: var(--muted); }
.how-steps button[aria-selected="true"] .how-n { background: var(--brand); color: #fff; box-shadow: none; }
.how-t b { display: block; font-size: 18px; color: var(--ink); }
.how-t span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.how-view { min-height: 380px; padding: 28px; transition: opacity .18s ease; }
.how-view.is-swapping { opacity: 0; }
.how-view .doc-gtd { padding: 0; }

/* ---------- roadmap ---------- */
.road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.road-card { border-radius: var(--r); padding: 26px; background: var(--soft); }
.road-now { background: #fff; box-shadow: inset 0 0 0 2px var(--brand), var(--sh); }
.road-card h3 { margin-top: 16px; font-size: 20px; }
.road-card ul { display: grid; gap: 10px; margin-top: 16px; font-size: 15px; }
.road-card li { position: relative; padding-left: 18px; }
.road-card li::before { content: ''; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: #b8c0cf; }
.road-now li::before { background: var(--brand); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 600; color: var(--ink); font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--brand); font-size: 20px; font-weight: 500; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 22px; color: var(--text); }

/* ---------- cta ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: center; padding: 56px; border-radius: 24px; background: var(--brand); color: #e4eaff; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none; }
.cta-copy { position: relative; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.75rem); }
.cta-copy > p { margin-top: 16px; font-size: 18px; }
.cta-points { display: grid; gap: 12px; margin-top: 28px; }
.cta-points li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; }
.cta-points .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255,255,255,.18); stroke-width: 3; }
.form { position: relative; background: #fff; color: var(--text); border-radius: var(--r); padding: 28px; box-shadow: 0 24px 48px -16px rgba(5, 20, 80, .45); display: grid; }
.form-title { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.form label { font-size: 14px; font-weight: 500; color: var(--ink); margin: 12px 0 6px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; margin: 16px 0 18px; min-width: 0; }
.roles label { margin: 0; }
.roles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.roles span { display: grid; place-items: center; height: 44px; padding: 0 8px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; text-align: center; cursor: pointer; transition: background-color .15s, box-shadow .15s, color .15s; }
.roles input:checked + span { background: var(--brand-soft); color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); font-weight: 600; }
.roles input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 12px; font-size: 14px; min-height: 1.5em; color: #0b7a44; font-weight: 500; }
.form-status.is-error { color: var(--bad); }
.form.is-sent .form-send { background: var(--ok); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 32px 0; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot-meta { margin-left: auto; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 64em) {
  .hero-in { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; max-width: 720px; margin-inline: auto; }
  .lead { margin-inline: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .hero-shot { max-width: 760px; margin-inline: auto; width: 100%; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stats-in div:nth-child(3) { border-left: 0; }
  .stats-in div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .demo { grid-template-columns: 1fr; }
  .demo-controls { position: static; grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .cta { grid-template-columns: 1fr; padding: 40px; }
}
@media (max-width: 40em) {
  body { font-size: 15px; }
  .hero { padding: 40px 0 64px; }
  .hero-copy { text-align: left; }
  .hero-cta, .hero-points { justify-content: flex-start; }
  .hero-cta .btn { width: 100%; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-main { padding: 14px; }
  .app-stats { grid-template-columns: 1fr 1fr; }
  .app-table th:nth-child(2), .app-table td:nth-child(2) { display: none; }
  .app-head .chip { display: none; }
  .float { display: none; }
  .stats-in div { padding: 20px 4px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .stats-in div:nth-child(even) { padding-left: 16px; }
  .stats-in b { font-size: 32px; }
  .stats-in span { font-size: 14px; }
  .section { padding: 64px 0; }
  .sec-head { text-align: left; margin-bottom: 32px; }
  .sec-sub { font-size: 16px; }
  .compare, .grid3, .road { grid-template-columns: 1fr; }
  .compare-card, .card { padding: 22px; }
  .demo-controls { grid-template-columns: 1fr; padding: 20px; }
  .demo-paper { padding: 12px; min-height: 0; }
  .doc-sheet { padding: 22px 18px; font-size: 12px; }
  .doc-title { font-size: 19px; }
  .doc-parties > div { grid-template-columns: 1fr; gap: 0; }
  .doc-contract .doc-cols { grid-template-columns: 1fr; }
  .demo-bar .chip { display: none; }
  .how-steps button { padding: 14px; }
  .how-view { padding: 18px; min-height: 0; }
  .gtd-grid { grid-template-columns: 1fr; }
  .panel-row { padding: 12px; font-size: 14px; }
  .faq-list summary { padding: 16px 18px; font-size: 16px; }
  .faq-list details p { padding: 0 18px 18px; }
  .cta { padding: 28px 20px; border-radius: 20px; }
  .form { padding: 20px; }
  .roles { grid-template-columns: 1fr; }
  .foot-meta { margin-left: 0; }
}
