/* SiteTiller landing. Tokens: docs/sitetiller/01-MARKA-TASARIM.md §3 */
:root {
  color-scheme: light dark;
  --st-bg: #FAF8F4; --st-surface: #FFFFFF; --st-surface-2: #F1EEE6;
  --st-border: #DDD7CA; --st-border-strong: #857F70;
  --st-text: #16201D; --st-muted: #4F5B56;
  --st-primary: #0F5563; --st-on-primary: #FFFFFF; --st-primary-soft: #DCEBEE;
  --st-accent: #E0A21B; --st-on-accent: #16201D;
  --st-success: #16743A; --st-success-bg: #E5F3EA;
  --st-danger: #B42318; --st-danger-bg: #FBE9E6;
  --st-warning: #8A5A00; --st-warning-bg: #FBF0D6;
  --st-info: #1B5CA6; --st-info-bg: #E4EEF9;
  --st-chart-test: #0F7A8A; --st-chart-control: #6B7570; --st-chart-grid: #E2DDD2;
  --st-focus: #1B5CA6;
  --st-shadow-md: 0 4px 12px rgb(22 32 29 / .08);
  --st-shadow-lg: 0 18px 48px rgb(22 32 29 / .14);
  --st-paper-line: rgb(15 85 99 / .07);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --st-bg: #0D1412; --st-surface: #141D1A; --st-surface-2: #18231F;
    --st-border: #2B3833; --st-border-strong: #6B7D75;
    --st-text: #E7EEEA; --st-muted: #9DADA5;
    --st-primary: #5CC0CF; --st-on-primary: #0A1A1D; --st-primary-soft: #16313A;
    --st-accent: #F0B83C; --st-on-accent: #16201D;
    --st-success: #4CC580; --st-success-bg: #12281C;
    --st-danger: #FF8A78; --st-danger-bg: #2E1713;
    --st-warning: #F2BD55; --st-warning-bg: #2B2110;
    --st-info: #79B6F5; --st-info-bg: #13233A;
    --st-chart-test: #5CC0CF; --st-chart-control: #8D9A94; --st-chart-grid: #26332E;
    --st-focus: #79B6F5;
    --st-shadow-md: 0 0 0 1px rgb(255 255 255 / .04);
    --st-shadow-lg: 0 24px 60px rgb(0 0 0 / .45);
    --st-paper-line: rgb(92 192 207 / .06);
  }
}
:root[data-theme="dark"] {
  --st-bg: #0D1412; --st-surface: #141D1A; --st-surface-2: #18231F;
  --st-border: #2B3833; --st-border-strong: #6B7D75;
  --st-text: #E7EEEA; --st-muted: #9DADA5;
  --st-primary: #5CC0CF; --st-on-primary: #0A1A1D; --st-primary-soft: #16313A;
  --st-accent: #F0B83C; --st-on-accent: #16201D;
  --st-success: #4CC580; --st-success-bg: #12281C;
  --st-danger: #FF8A78; --st-danger-bg: #2E1713;
  --st-warning: #F2BD55; --st-warning-bg: #2B2110;
  --st-info: #79B6F5; --st-info-bg: #13233A;
  --st-chart-test: #5CC0CF; --st-chart-control: #8D9A94; --st-chart-grid: #26332E;
  --st-focus: #79B6F5;
  --st-shadow-md: 0 0 0 1px rgb(255 255 255 / .04);
  --st-shadow-lg: 0 24px 60px rgb(0 0 0 / .45);
  --st-paper-line: rgb(92 192 207 / .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--st-bg); color: var(--st-text);
  font: 400 16px/1.6 var(--font-sans); text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--st-primary); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--st-focus); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--st-surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 16px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; margin: 0; font-optical-sizing: auto; }
h1 { font-size: clamp(40px, 6.2vw, 64px); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.005em; }
p { margin: 0; }
.lead { font-size: 18px; line-height: 1.6; color: var(--st-muted); max-width: 62ch; }
.eyebrow { font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--st-primary); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--st-accent); border-radius: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; font: 600 16px/1 var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease); }
.btn-primary { background: var(--st-primary); color: var(--st-on-primary); box-shadow: 0 1px 0 rgb(255 255 255 / .15) inset, 0 6px 16px rgb(15 85 99 / .22); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgb(255 255 255 / .15) inset, 0 10px 22px rgb(15 85 99 / .28); }
.btn-ghost { color: var(--st-text); border-color: var(--st-border-strong); background: transparent; }
.btn-ghost:hover { background: var(--st-surface-2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--st-bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.nav.scrolled { border-bottom-color: var(--st-border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--st-text); font: 600 19px/1 var(--font-sans); letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.brand b { color: var(--st-primary); font-weight: 600; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--st-muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav ul a:hover { color: var(--st-text); }
@media (max-width: 820px) { .nav ul { display: none; } }

/* hero */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--st-paper-line) 1px, transparent 1px); background-size: 100% 32px; mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%); pointer-events: none; }
.hero::after { content: ""; position: absolute; top: 0; bottom: 0; left: max(24px, calc(50% - 600px)); width: 1px; background: rgb(224 162 27 / .35); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; gap: 48px; } .hero { padding: 40px 0 64px; } .hero::after { display: none; } }
.hero h1 { margin: 18px 0 22px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--st-primary); }
.hero .lead { margin-bottom: 28px; }
.pillars { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.pillars li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.pillars .ic { width: 28px; height: 28px; border-radius: 8px; background: var(--st-primary-soft); color: var(--st-primary); display: grid; place-items: center; }
.pillars .ic svg { width: 16px; height: 16px; }
.pillars strong { display: block; font-weight: 600; }
.pillars span { color: var(--st-muted); font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.textlink { font-weight: 600; color: var(--st-primary); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.textlink:hover { text-decoration: underline; }
.micro { margin-top: 16px; font-size: 13.5px; color: var(--st-muted); }

/* product mock */
.mock { position: relative; }
.mock .tag-sample { position: absolute; top: -12px; right: 16px; z-index: 3; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--st-accent); color: var(--st-on-accent); padding: 6px 9px; border-radius: 999px; }
.panel { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 16px; box-shadow: var(--st-shadow-lg); overflow: hidden; }
.panel-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--st-border); background: var(--st-surface-2); }
.panel-top .site { font: 500 13px/1 var(--font-mono); color: var(--st-muted); display: inline-flex; gap: 8px; align-items: center; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--st-success); box-shadow: 0 0 0 3px var(--st-success-bg); }
.panel-top .week { font-size: 13px; font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--st-border); }
.kpi { padding: 16px 18px; }
.kpi + .kpi { border-left: 1px solid var(--st-border); }
.kpi .k { font-size: 12px; color: var(--st-muted); }
.kpi .v { font: 600 24px/1.2 var(--font-sans); font-variant-numeric: tabular-nums; margin-top: 4px; }
.kpi .d { font: 500 12px/1 var(--font-mono); color: var(--st-success); margin-top: 6px; }
.kpi .d.neutral { color: var(--st-muted); }
.changes { padding: 6px 0; }
.change { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 14px 18px; align-items: center; }
.change + .change { border-top: 1px dashed var(--st-border); }
.change .url { font: 500 12.5px/1.3 var(--font-mono); color: var(--st-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.change .what { font-size: 14.5px; font-weight: 500; grid-column: 1; }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--font-sans); padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.badge svg { width: 12px; height: 12px; }
.b-type { background: var(--st-surface-2); color: var(--st-muted); border: 1px solid var(--st-border); font-family: var(--font-mono); font-size: 11px; }
.b-up { background: var(--st-success-bg); color: var(--st-success); }
.b-down { background: var(--st-danger-bg); color: var(--st-danger); }
.b-wait { background: var(--st-surface-2); color: var(--st-muted); }
.b-ai { background: var(--st-info-bg); color: var(--st-info); }
.diff { grid-column: 1 / -1; display: grid; gap: 6px; font: 400 13px/1.45 var(--font-mono); background: var(--st-bg); border: 1px solid var(--st-border); border-radius: 10px; padding: 10px 12px; }
.diff .row { display: grid; grid-template-columns: 52px 1fr; gap: 8px; }
.diff .lab { color: var(--st-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.diff del { color: var(--st-danger); text-decoration-thickness: 1.5px; }
.diff ins { color: var(--st-success); text-decoration: none; border-bottom: 2px solid currentColor; }
.undo { font: 600 12.5px/1 var(--font-sans); color: var(--st-danger); background: transparent; border: 1px solid color-mix(in srgb, var(--st-danger) 45%, transparent); padding: 7px 10px; border-radius: 8px; display: inline-flex; gap: 6px; align-items: center; }
.undo svg { width: 13px; height: 13px; }
.float-card { position: absolute; left: -36px; bottom: -34px; z-index: 2; background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 14px; box-shadow: var(--st-shadow-lg); padding: 14px 16px; width: 252px; }
.float-card .t { font-size: 12px; color: var(--st-muted); display: flex; justify-content: space-between; }
.float-card .bars { display: grid; gap: 8px; margin-top: 10px; }
.float-card .bar { display: grid; grid-template-columns: 78px 1fr 26px; gap: 8px; align-items: center; font-size: 12.5px; }
.float-card .bar i { display: block; height: 8px; border-radius: 4px; background: var(--st-primary); }
.float-card .bar b { font: 500 12px/1 var(--font-mono); text-align: right; }
@media (max-width: 980px) { .float-card { left: 12px; bottom: -40px; } }
@media (max-width: 480px) { .float-card { position: relative; left: 0; bottom: 0; margin-top: 14px; width: 100%; } .kpi .v { font-size: 20px; } .kpi { padding: 12px; } }

/* strip */
.strip { border-top: 1px solid var(--st-border); border-bottom: 1px solid var(--st-border); background: var(--st-surface); }
.strip ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.strip li { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
.strip li svg { width: 18px; height: 18px; color: var(--st-primary); }

/* sections */
section.s { padding: 104px 0; }
section.s.alt { background: var(--st-surface-2); }
@media (max-width: 720px) { section.s { padding: 72px 0; } }
.s-head { max-width: 720px; margin-bottom: 52px; }
.s-head h2 { margin: 16px 0 16px; }
.s-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head.center .eyebrow { justify-content: center; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 16px; padding: 24px; position: relative; }
.step .n { font: 500 13px/1 var(--font-mono); color: var(--st-primary); display: inline-flex; align-items: center; gap: 8px; }
.step .n::after { content: ""; height: 1px; width: 32px; background: var(--st-border-strong); opacity: .5; }
.step h3 { margin: 14px 0 10px; }
.step p { color: var(--st-muted); font-size: 15px; }
.step .time { margin-top: 16px; font: 500 12px/1 var(--font-mono); color: var(--st-text); background: var(--st-surface-2); border-radius: 999px; padding: 7px 10px; display: inline-block; }
.footnote { margin-top: 26px; font-size: 14px; color: var(--st-muted); max-width: 78ch; }

/* assets grid */
.assets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .assets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .assets { grid-template-columns: 1fr; } }
.asset { border-radius: 16px; border: 1px solid var(--st-border); background: var(--st-surface); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.asset .viz { height: 116px; border-radius: 10px; background: var(--st-bg); border: 1px solid var(--st-border); padding: 12px; display: grid; }
.asset h3 { font-size: 18px; }
.asset p { color: var(--st-muted); font-size: 14.5px; }
.viz table { width: 100%; border-collapse: collapse; font: 400 11px/1.5 var(--font-mono); }
.viz td, .viz th { text-align: left; padding: 2px 4px; border-bottom: 1px solid var(--st-border); }
.viz th { color: var(--st-muted); font-weight: 500; }
.viz .q { font: 600 12px/1.4 var(--font-sans); }
.viz .a { font-size: 11.5px; color: var(--st-muted); line-height: 1.45; }
.calc { display: grid; gap: 7px; align-content: center; }
.calc .f { display: flex; justify-content: space-between; font-size: 11.5px; border: 1px solid var(--st-border-strong); border-radius: 6px; padding: 5px 8px; background: var(--st-surface); }
.calc .out { font: 600 13px/1 var(--font-mono); color: var(--st-primary); padding-left: 2px; }

/* control chart */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split .lead { margin-top: 16px; }
.chart-card { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 16px; padding: 22px 22px 16px; box-shadow: var(--st-shadow-md); }
.chart-card .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.chart-card .head strong { font-size: 15px; }
.legend { display: flex; gap: 18px; font-size: 12.5px; color: var(--st-muted); }
.legend span { display: inline-flex; gap: 8px; align-items: center; }
.legend svg { width: 26px; height: 8px; }
.chart-card figcaption { font-size: 12.5px; color: var(--st-muted); margin-top: 8px; }
.chart text { font: 500 11px var(--font-mono); fill: var(--st-muted); }
.chart .grid line { stroke: var(--st-chart-grid); }
.chart .test { stroke: var(--st-chart-test); }
.chart .ctrl { stroke: var(--st-chart-control); }
.chart .gap { fill: var(--st-chart-test); opacity: .12; }
.chart .mark { stroke: var(--st-border-strong); }
.chart .lbl-test { fill: var(--st-chart-test); font-weight: 600; }
.chart .lbl-ctrl { fill: var(--st-chart-control); }
.chart .pt-test { fill: var(--st-chart-test); }
.chart .pt-ctrl { fill: var(--st-surface); stroke: var(--st-chart-control); }
.facts { display: grid; gap: 14px; margin-top: 28px; }
.facts div { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; }
.facts svg { width: 20px; height: 20px; color: var(--st-primary); margin-top: 2px; }

/* rollback */
.rb-card { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 16px; overflow: hidden; box-shadow: var(--st-shadow-md); }
.rb-card .change { padding: 18px 20px; }
.rb-card .change.rolled { background: color-mix(in srgb, var(--st-danger-bg) 55%, var(--st-surface)); }
.rb-card .reason { grid-column: 1 / -1; font-size: 14px; color: var(--st-muted); }
.restore { font: 600 12.5px/1 var(--font-sans); color: var(--st-text); border: 1px solid var(--st-border-strong); padding: 7px 10px; border-radius: 8px; background: var(--st-surface); }

/* AI sources */
.sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .sources { grid-template-columns: 1fr; } }
.source { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 16px; padding: 24px; }
.source .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--st-primary-soft); color: var(--st-primary); display: grid; place-items: center; margin-bottom: 16px; }
.source .ic svg { width: 20px; height: 20px; }
.source p { color: var(--st-muted); font-size: 15px; margin-top: 8px; }
.source .what { margin-top: 14px; font: 500 12px/1.5 var(--font-mono); color: var(--st-text); }

/* report email */
.email { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 16px; box-shadow: var(--st-shadow-lg); overflow: hidden; max-width: 560px; }
.email .bar { padding: 14px 20px; border-bottom: 1px solid var(--st-border); font-size: 13px; color: var(--st-muted); display: grid; gap: 4px; }
.email .bar b { color: var(--st-text); font-weight: 600; }
.email .body { padding: 22px 20px; display: grid; gap: 14px; font-size: 14.5px; }
.email .sum { font-family: var(--font-display); font-size: 20px; line-height: 1.35; }
.email .line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--st-border); }
.email .line span:first-child { color: var(--st-muted); }
.email .line .mono { font-weight: 500; }

/* compare */
.table-wrap { overflow-x: auto; border: 1px solid var(--st-border); border-radius: 16px; background: var(--st-surface); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15px; }
table.cmp th, table.cmp td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--st-border); vertical-align: top; }
table.cmp thead th { font-size: 13px; color: var(--st-muted); font-weight: 600; background: var(--st-surface-2); }
table.cmp thead th:last-child { color: var(--st-primary); }
table.cmp tbody th { font-weight: 600; width: 28%; }
table.cmp td:nth-child(2) { color: var(--st-muted); }
table.cmp td:last-child { font-weight: 500; }
table.cmp tr:last-child th, table.cmp tr:last-child td { border-bottom: 0; }
.cmp-note { font-size: 13px; color: var(--st-muted); margin-top: 14px; }

/* pricing */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--st-surface); border: 1px solid var(--st-border); margin-bottom: 32px; }
.toggle button { border: 0; background: transparent; color: var(--st-muted); font: 600 14px/1 var(--font-sans); padding: 10px 16px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.toggle button[aria-pressed="true"] { background: var(--st-primary); color: var(--st-on-primary); }
.toggle .save { font: 500 11px/1 var(--font-mono); margin-left: 6px; opacity: .85; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.plan.rec { border: 2px solid var(--st-primary); box-shadow: var(--st-shadow-lg); }
.plan .rec-tag { position: absolute; top: -12px; left: 22px; background: var(--st-accent); color: var(--st-on-accent); font: 600 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.plan .name { font: 600 18px/1 var(--font-sans); }
.plan .for { color: var(--st-muted); font-size: 14px; min-height: 42px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font: 600 40px/1 var(--font-sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--st-muted); font-size: 14px; }
.plan .yr { font: 400 12.5px/1.3 var(--font-mono); color: var(--st-muted); min-height: 16px; }
.plan ul { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--st-border); display: grid; gap: 10px; font-size: 14.5px; flex: 1; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li svg { width: 16px; height: 16px; color: var(--st-primary); margin-top: 3px; }
.plan .btn { width: 100%; }
.included { margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: var(--st-surface); border: 1px dashed var(--st-border-strong); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.included b { font-weight: 600; }
.rules { margin-top: 18px; color: var(--st-muted); font-size: 14px; display: grid; gap: 6px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--st-border); }
.faq details { border-bottom: 1px solid var(--st-border); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 18px/1.4 var(--font-sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--st-muted); border-bottom: 2px solid var(--st-muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .ans { padding: 0 0 22px; color: var(--st-muted); max-width: 70ch; }

/* final cta */
.final { position: relative; padding: 112px 0; background: var(--st-primary); color: var(--st-on-primary); overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px); background-size: 100% 32px; pointer-events: none; }
.final .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .final .wrap { grid-template-columns: 1fr; } .final { padding: 80px 0; } }
.final h2 { color: inherit; }
.final p { opacity: .88; margin-top: 18px; font-size: 18px; max-width: 52ch; }
.final .sig { margin-top: 22px; font: 400 14px/1.4 var(--font-mono); opacity: .8; }

/* form */
.form-card { background: var(--st-surface); color: var(--st-text); border-radius: 16px; padding: 26px; box-shadow: var(--st-shadow-lg); }
.form-card h3 { font-size: 22px; }
.form-card .sub { color: var(--st-muted); font-size: 14.5px; margin: 6px 0 18px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid var(--st-border-strong); background: var(--st-bg); color: var(--st-text); font: 400 16px/1.4 var(--font-sans); padding: 10px 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--st-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--st-focus) 22%, transparent); }
.field .err { color: var(--st-danger); font-size: 13.5px; min-height: 0; }
.field .hint { color: var(--st-muted); font-size: 13px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--st-muted); margin: 6px 0 16px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--st-primary); }
.form-card .btn { width: 100%; }
.form-note { font-size: 13px; color: var(--st-muted); margin-top: 12px; text-align: center; }
.form-msg { margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--st-success-bg); color: var(--st-success); }
.form-msg.bad { background: var(--st-danger-bg); color: var(--st-danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
footer.site { padding: 56px 0 40px; border-top: 1px solid var(--st-border); }
footer.site .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
footer.site h4 { margin: 0 0 12px; font: 600 13px/1 var(--font-sans); color: var(--st-muted); text-transform: uppercase; letter-spacing: .08em; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer.site a { color: var(--st-text); text-decoration: none; font-size: 15px; }
footer.site a:hover { text-decoration: underline; }
footer.site .about { color: var(--st-muted); font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
footer.site .base { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--st-border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--st-muted); }

/* simple pages */
.page { padding: 64px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 14px; }
.page h2 { font-size: 24px; margin: 40px 0 12px; }
.page p, .page li { color: var(--st-muted); font-size: 16.5px; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 20px; display: grid; gap: 8px; }
.page .updated { font: 400 13px/1 var(--font-mono); color: var(--st-muted); }

/* reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* hero mock: leave room under the last change for the floating AI card */
.mock .changes { padding-bottom: 76px; }
@media (max-width: 480px) { .mock .changes { padding-bottom: 6px; } }
/* final CTA keeps deep teal in both themes */
.final { background: #0F5563; color: #FFFFFF; }
.final .eyebrow::before { background: #E0A21B; }
/* grid children must be allowed to shrink below their content width */
.hero .wrap > *, .split > *, .final .wrap > *, .steps > *, .assets > *, .plans > *, .sources > * { min-width: 0; }
@media (max-width: 980px) { .hero .wrap, .split, .final .wrap { grid-template-columns: minmax(0, 1fr); } }
.change .url, .diff span { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .change { grid-template-columns: minmax(0, 1fr); }
  .change > .badge, .change > .undo { justify-self: start; }
}

/* pricing: what every plan includes */
.incl { background: var(--st-surface); border: 1px solid var(--st-border); border-radius: 16px; padding: 22px 24px; margin: 0 auto 32px; }
.incl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.incl-head b { font: 600 17px/1.3 var(--font-sans); }
.incl-head span { font: 500 12px/1 var(--font-mono); color: var(--st-primary); text-transform: uppercase; letter-spacing: .08em; }
.incl ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; }
@media (max-width: 900px) { .incl ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .incl ul { grid-template-columns: minmax(0, 1fr); } }
.incl li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14.5px; color: var(--st-muted); }
.incl li b { color: var(--st-text); font-weight: 600; }
.incl svg { width: 18px; height: 18px; color: var(--st-primary); margin-top: 2px; }
.rules b { color: var(--st-text); }
.plan li b { font-weight: 600; }
