:root {
  --bg: #09090b;
  --bg-2: #0f0f12;
  --surface: #141418;
  --surface-2: #1c1c21;
  --line: #26262c;
  --line-2: #34343b;
  --text: #f4f4f1;
  --muted: #9d9d98;
  --dim: #6b6b67;
  --accent: #ff5a2e;
  --accent-2: #ff8a5c;
  --accent-ink: #1a0701;
  --ok: #6fdc95;
  --r: 16px;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.03em; font-weight: 760; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; }
p { max-width: 64ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); }
section { padding: 112px 0; }
.sec-head { max-width: 760px; }
.sec-head p { margin-top: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center p { margin-left: auto; margin-right: auto; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--accent-2); text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 16px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s cubic-bezier(.16,1,.3,1), background-color .2s, border-color .2s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.link { color: var(--accent-2); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* announcement + nav */
.bar { display: block; text-align: center; font-size: 14px; padding: 10px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--muted); }
.bar b { color: var(--text); font-weight: 650; }
.bar span { color: var(--accent-2); white-space: nowrap; }
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 66px; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 21px; letter-spacing: -0.035em; text-decoration: none; }
.logo i { width: 22px; height: 22px; border-radius: 7px; background: var(--accent); position: relative; }
.logo i::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 8px solid var(--accent-ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.nav-links { display: flex; gap: 26px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav .btn { height: 40px; padding: 0 18px; font-size: 15px; }
@media (max-width: 900px) { .nav-links, .nav .btn-ghost { display: none; } }

/* hero */
.hero { padding: 88px 0 40px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% 0 auto; height: 640px; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.hero > .wrap { position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: .98; max-width: 14ch; margin: 26px auto 0; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { max-width: 58ch; margin: 24px auto 0; }
.signup { display: flex; gap: 8px; max-width: 480px; margin: 36px auto 0; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); }
.signup input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; }
.signup input:focus { outline: none; }
.signup:focus-within { border-color: var(--accent); }
.signup .btn { height: 46px; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--dim); }
.hero-note a { color: var(--muted); }
.form-status { min-height: 22px; margin-top: 10px; font-size: 15px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--accent-2); }
@media (max-width: 520px) {
  .signup { flex-direction: column; border-radius: 20px; padding: 8px; }
  .signup input { height: 48px; }
  .signup .btn { width: 100%; }
}

/* the console: real stream data -> clips */
.console { margin: 64px auto 0; max-width: 1080px; text-align: left; border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  box-shadow: 0 50px 120px -40px color-mix(in srgb, var(--accent) 30%, transparent), 0 0 0 1px rgba(255,255,255,.02) inset; }
.con-top { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #fff; background: #e5212d; font-size: 12px; letter-spacing: .06em; padding: 3px 9px; border-radius: 6px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.con-top b { color: var(--text); font-weight: 650; }
.con-top .r { margin-left: auto; font-family: var(--mono); font-size: 13px; }
.chart { padding: 22px 22px 8px; }
.chart-label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 6px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .area { fill: url(#g); }
.chart .line { fill: none; stroke: color-mix(in srgb, var(--accent) 70%, #fff); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.chart .mk line { stroke: var(--text); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; opacity: .55; }
.chart .mk circle { fill: var(--text); }
.con-clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 18px 22px 24px; }
.cc { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.cc img { width: 76px; aspect-ratio: 9/16; object-fit: cover; border-radius: 9px; }
.cc b { display: block; font-size: 14px; line-height: 1.3; letter-spacing: -0.01em; }
.cc span { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 6px; }
.cc .to { color: var(--ok); }
.con-foot { padding: 0 22px 20px; font-size: 13px; color: var(--dim); }
@media (max-width: 960px) { .con-clips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .con-clips { grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
  .cc { grid-template-columns: 1fr; gap: 10px; }
  .cc img { width: 100%; aspect-ratio: 4/5; object-position: top; }
  .cc b { font-size: 13px; }
  .con-top .r { margin-left: 0; }
}

/* stats */
.stats { padding: 56px 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat b { display: block; font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.stat:first-child b { color: var(--accent); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 24ch; }
@media (max-width: 860px) { .stats .wrap { grid-template-columns: 1fr 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.step { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.step .vis { height: 230px; border-bottom: 1px solid var(--line); background: var(--bg-2); display: grid; place-items: center; padding: 22px; position: relative; overflow: hidden; }
.step .txt { padding: 24px; }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--accent-2); }
.step h3 { margin-top: 8px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.fake-input { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); font-family: var(--mono); font-size: 13px; color: var(--muted); }
.fake-input i { width: 22px; height: 16px; border-radius: 4px; background: #e5212d; flex: none; position: relative; }
.fake-input i::after { content: ""; position: absolute; left: 9px; top: 4px; border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.chatlog { width: 100%; display: grid; gap: 7px; font-size: 13.5px; }
.chatlog div { padding: 7px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.chatlog b { color: var(--text); font-weight: 600; margin-right: 6px; }
.chatlog .hot { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); color: var(--text); }
.queue { width: 100%; display: grid; gap: 8px; }
.queue div { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; }
.queue em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--accent-2); }
.queue span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step .vis { height: auto; min-height: 200px; } }

/* feature rows */
.rows { display: grid; gap: 120px; margin-top: 80px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.row:nth-child(even) .row-vis { order: -1; }
.row h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.08; }
.row p { margin-top: 16px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.row .link { display: inline-block; margin-top: 24px; }
.row-vis { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); padding: 32px; min-height: 380px; display: grid; place-items: center; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; max-width: 420px; }
.pair figure { margin: 0; }
.pair img, .phones img { border-radius: 14px; aspect-ratio: 9/16; object-fit: cover; width: 100%; border: 1px solid var(--line-2); }
.pair figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.pair figure:last-child figcaption { color: var(--text); font-weight: 600; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; max-width: 460px; align-items: center; }
.phones img:nth-child(2) { transform: scale(1.1); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); position: relative; z-index: 1; }
.signals { width: 100%; display: grid; gap: 14px; }
.sig { display: grid; grid-template-columns: 130px 1fr 44px; gap: 14px; align-items: center; font-size: 14px; }
.sig span { color: var(--muted); }
.sig .meter { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.sig .meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.sig b { font-family: var(--mono); font-size: 13px; text-align: right; }
.verdict { margin-top: 8px; padding: 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--ok) 40%, var(--line)); background: color-mix(in srgb, var(--ok) 6%, var(--surface)); font-size: 14.5px; }
.verdict b { color: var(--ok); }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; gap: 36px; } .row:nth-child(even) .row-vis { order: 0; } .rows { gap: 88px; } .row-vis { min-height: 0; padding: 24px; } }

/* audiences */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.aud > a { display: block; text-decoration: none; padding: 32px 28px 8px 0; }
.aud > a + a { padding-left: 28px; border-left: 1px solid var(--line); }
.aud p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.aud .link { display: inline-block; margin-top: 16px; }
.aud > a:hover h3 { color: var(--accent-2); }
@media (max-width: 860px) { .aud { grid-template-columns: 1fr; } .aud > a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* gallery */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 230px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-top: 40px; scrollbar-width: thin; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { border-radius: var(--r); aspect-ratio: 9/16; object-fit: cover; width: 100%; border: 1px solid var(--line); }
.strip figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* case study teaser */
.case { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--line-2); border-radius: 24px; overflow: hidden; background: var(--surface); }
.case-txt { padding: 56px; }
.case-txt .big { font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 800; letter-spacing: -0.055em; line-height: .9; color: var(--accent); }
.case-txt h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 18px; }
.case-txt p { margin-top: 14px; color: var(--muted); }
.case-txt .btn { margin-top: 28px; }
.case-vis { background: var(--bg-2); border-left: 1px solid var(--line); display: grid; place-items: center; padding: 40px; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case-txt { padding: 32px; } .case-vis { border-left: 0; border-top: 1px solid var(--line); } }

/* table */
.table-wrap { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15.5px; }
th, td { text-align: left; padding: 16px 20px; vertical-align: top; }
thead th { font-size: 14px; color: var(--muted); font-weight: 600; background: var(--surface); }
thead th:nth-child(2) { color: var(--accent-2); }
tbody tr + tr td { border-top: 1px solid var(--line); }
td:first-child { color: var(--muted); width: 26%; }
td:nth-child(2) { font-weight: 600; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.plan { border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; display: flex; flex-direction: column; background: var(--surface); position: relative; }
.plan.featured { border-color: var(--accent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface) 55%); }
.plan .badge { position: absolute; top: -12px; left: 24px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.plan h3 { font-size: 18px; }
.price { margin-top: 14px; font-size: 44px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .who { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; font-size: 15px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; width: 100%; }
.fine { margin-top: 20px; font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
details:first-child { padding-top: 0; }
summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 500; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 12px; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } }

/* final cta */
.final { text-align: center; padding: 120px 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: auto 0 -40%; height: 520px; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.final .wrap { position: relative; }
.final h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); max-width: 16ch; margin: 0 auto; }
.final p { margin: 18px auto 0; }
.final .role { margin: 14px auto 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.final .role label { cursor: pointer; }
.final .role input { position: absolute; opacity: 0; pointer-events: none; }
.final .role span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.final .role input:checked + span { border-color: var(--accent); color: var(--text); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.final .role input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* subpages */
.crumbs { font-size: 14px; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 720px; height: 560px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 18%, transparent), transparent); }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -0.042em; margin-top: 18px; }
.page-hero .lead { margin-top: 20px; }
.page-hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.page-hero .vis { justify-self: center; width: 100%; max-width: 420px; }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; } }
.answer { margin-top: 26px; padding: 20px 22px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; color: var(--text); font-size: 16.5px; max-width: 64ch; }
.prose { padding-top: 24px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 72px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 36px; }
.prose p, .prose ul, .prose ol { margin-top: 16px; color: #c9c9c4; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; max-width: 64ch; }
.prose li::marker { color: var(--accent); }
.prose b, .prose strong { color: var(--text); }
.prose a { color: var(--accent-2); text-underline-offset: 3px; }
.prose figure { margin: 36px 0 0; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.prose .table-wrap { margin-top: 24px; }
.callout { margin-top: 28px; padding: 24px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.numbers div { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.numbers b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.numbers span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .numbers { grid-template-columns: 1fr; } }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.related a { display: block; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; }
.related a:hover { border-color: var(--line-2); background: var(--surface-2); }
.related b { display: block; font-size: 17px; }
.related span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* footer */
footer { border-top: 1px solid var(--line); padding: 64px 0 48px; font-size: 14.5px; background: var(--bg-2); }
.foot { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot p { margin-top: 12px; color: var(--muted); max-width: 32ch; font-size: 14px; }
.foot h4 { font-size: 13px; font-weight: 650; color: var(--text); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--text); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; display: flex; flex-wrap: wrap; gap: 12px 24px; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
  .hero .chips, .hero h1, .hero .lead, .hero form, .hero-note, .console { animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
  .hero h1 { animation-delay: .05s; } .hero .lead { animation-delay: .1s; } .hero form { animation-delay: .15s; } .hero-note { animation-delay: .18s; } .console { animation-delay: .25s; }
  .chart .area, .chart .line { clip-path: inset(0 100% 0 0); animation: draw 2.2s cubic-bezier(.65,0,.35,1) .5s forwards; }
  .chart .mk { opacity: 0; animation: pop .5s ease-out forwards; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes draw { to { clip-path: inset(0 0 0 0); } }
  @keyframes pop { to { opacity: 1; } }
}
