/* Automation Monitor — marketing site
   Layout: left-aligned, single 1120px column with full-bleed bands. Light-first "status page" paper;
   semantic colours (ok / late / bad) carry state, ink carries emphasis, one link blue. */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
}

:root {
  --bg: #F7F8F8;
  --surface: #FFFFFF;
  --surface-2: #EEF1F3;
  --ink: #15202B;
  --muted: #5C6975;
  --line: #D8DEE3;
  --line-strong: #B9C2CA;
  --ok: #1A7F4B;
  --ok-soft: #E4F3EA;
  --late: #8A560D;
  --late-soft: #FBF0DC;
  --bad: #C8321F;
  --bad-soft: #FBE9E5;
  --link: #1E4FA3;
  --shadow: 0 24px 50px -30px rgba(21, 32, 43, .35);
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F161D; --surface: #161F28; --surface-2: #1D2731; --ink: #E8EEF2; --muted: #9AA8B4;
    --line: #28343F; --line-strong: #3A4854;
    --ok: #4CC38A; --ok-soft: rgba(76, 195, 138, .14);
    --late: #E2A33B; --late-soft: rgba(226, 163, 59, .14);
    --bad: #F0705A; --bad-soft: rgba(240, 112, 90, .14);
    --link: #8AB4F8; --shadow: 0 24px 50px -30px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F161D; --surface: #161F28; --surface-2: #1D2731; --ink: #E8EEF2; --muted: #9AA8B4;
  --line: #28343F; --line-strong: #3A4854;
  --ok: #4CC38A; --ok-soft: rgba(76, 195, 138, .14);
  --late: #E2A33B; --late-soft: rgba(226, 163, 59, .14);
  --bad: #F0705A; --bad-soft: rgba(240, 112, 90, .14);
  --link: #8AB4F8; --shadow: 0 24px 50px -30px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  font-feature-settings: "ss01";
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--link); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
img { max-width: 100%; height: auto; }
strong { font-weight: 600; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .92em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -.025em; font-weight: 600; text-wrap: balance; }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 56ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 8px; font-weight: 600; font-size: 15px; line-height: 1;
  text-decoration: none; border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--ok); color: #fff; }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 8px 12px; font-size: 13.5px; border-radius: 6px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16.5px; letter-spacing: -.015em; margin-right: auto; }
.brand svg { width: 26px; height: 26px; }
.brand .mark-bg { fill: var(--ok); }
.brand .mark-fg { stroke: var(--bg); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 6px; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); border: 1px solid transparent; }
.icon-btn:hover { color: var(--ink); background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle [data-icon] { display: none; }
:root:not([data-theme]) .theme-toggle [data-icon="system"],
:root[data-theme="light"] .theme-toggle [data-icon="light"],
:root[data-theme="dark"] .theme-toggle [data-icon="dark"] { display: block; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px var(--gutter) 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 17px; }
  .menu-btn { display: grid; }
  .header-cta { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: 0; overflow: hidden; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; max-width: 20ch; text-wrap: balance; }
.hero .lede { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); max-width: 56ch; }
.hero .cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; align-items: center; }
.hero .cta small { color: var(--muted); font-size: 13.5px; flex-basis: 100%; }

.pulse { position: relative; margin-top: clamp(40px, 6vw, 72px); margin-inline: calc(var(--gutter) * -1); }
.pulse svg { width: 100%; height: auto; }
.pulse .trace { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.pulse .trace-ok { stroke: var(--ok); }
.pulse .trace-bad { stroke: var(--bad); }
.pulse .base { stroke: var(--line); stroke-dasharray: 2 6; }
.pulse .band { fill: var(--bad); opacity: .07; }
.pulse .marks { position: absolute; inset: 0; pointer-events: none; }
.mark { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.mark b { color: var(--ink); font-weight: 600; font-family: var(--mono); font-size: 12px; }
.mark-1 { left: 12.9%; }
.mark-2 { left: 48.4%; }
.mark-3 { left: 75.8%; }
.mark-bad b { color: var(--bad); }
.mark-ok b { color: var(--ok); }

.alert-card {
  position: absolute; left: 45%; bottom: -84px; width: min(400px, calc(100% - var(--gutter) * 2));
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  box-shadow: var(--shadow); font-size: 14px; line-height: 1.45;
}
.alert-card .hd { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; margin-bottom: 8px; }
.alert-card .hd i { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); flex: none; }
.alert-card.recovered .hd i { background: var(--ok); }
.alert-card .foot { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.alert-card .foot span { font-size: 12.5px; border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }
.pulse-tools { display: flex; justify-content: flex-start; margin-top: 12px; }
.pulse-tools button { color: var(--muted); font-size: 13px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 6px; }
.pulse-tools button:hover { color: var(--ink); background: var(--surface-2); }
.pulse-tools svg { width: 14px; height: 14px; }
.hero-space { height: 110px; }

/* the draw animation */
.pulse .trace { stroke-dasharray: 1; stroke-dashoffset: 0; }
.pulse.animate .trace-a { animation: draw 1.5s linear both; }
.pulse.animate .trace-b { animation: draw 1.1s linear 1.5s both; }
.pulse.animate .trace-c { animation: draw 1.4s linear 2.6s both; }
.pulse.animate .band { animation: bandin .6s ease 1.6s both; }
.pulse.animate .mark-1 { animation: fade .4s ease .5s both; }
.pulse.animate .mark-2 { animation: fade .4s ease 1.7s both; }
.pulse.animate .mark-3 { animation: fade .4s ease 2.8s both; }
.pulse.animate .alert-card { animation: rise .5s cubic-bezier(.2,.8,.2,1) 2.1s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bandin { from { opacity: 0; } to { opacity: .07; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pulse.animate .band { opacity: .07; }

@media (max-width: 1000px) { .alert-card { left: auto; right: var(--gutter); } }
@media (max-width: 760px) {
  .pulse .marks { display: none; }
  .alert-card { position: static; width: auto; margin: 16px var(--gutter) 0; }
  .pulse.animate .alert-card { animation-delay: 2.1s; }
  .hero-space { height: 40px; }
  .pulse-tools { padding-inline: var(--gutter); }
  .pulse-legend { display: flex; }
}
.pulse-legend { display: none; gap: 14px; flex-wrap: wrap; padding: 12px var(--gutter) 0; font-size: 12.5px; color: var(--muted); }
.pulse-legend b { font-family: var(--mono); font-size: 12px; color: var(--ink); font-weight: 600; }
.pulse-legend .bad b { color: var(--bad); } .pulse-legend .ok b { color: var(--ok); }

/* ---------- causes band ---------- */
.causes { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding-block: 18px; }
.causes .wrap { display: flex; align-items: center; gap: 22px; }
.causes h2 { font-size: 13.5px; font-weight: 600; color: var(--muted); flex: none; white-space: nowrap; }
.ticker { flex: 1; min-width: 0; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 10px; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker li { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 8px; font-size: 13.5px; white-space: nowrap; color: var(--ink); background: var(--bg); }
.ticker li i { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .causes .wrap { flex-direction: column; align-items: stretch; gap: 12px; }
}

/* ---------- stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.story { padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.story + .story { border-left: 1px solid var(--line); }
.story h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
.story p { color: var(--muted); font-size: 15px; }
.story .cmp { margin-top: auto; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13.5px; border-top: 1px solid var(--line); padding-top: 14px; }
.story .cmp dt { color: var(--muted); }
.story .cmp dd { font-family: var(--mono); font-size: 13px; }
.story .cmp .bad { color: var(--bad); } .story .cmp .ok { color: var(--ok); }
@media (max-width: 900px) {
  .stories { grid-template-columns: 1fr; }
  .story + .story { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- how it works ---------- */
.steps { display: grid; gap: clamp(28px, 4vw, 56px); counter-reset: step; }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.step-text { counter-increment: step; }
.step-text h3 { font-size: clamp(21px, 2.4vw, 26px); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; display: flex; gap: 14px; align-items: baseline; }
.step-text h3::before { content: counter(step); font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ok); border: 1px solid var(--line-strong); border-radius: 999px; width: 28px; height: 28px; display: inline-grid; place-items: center; flex: none; transform: translateY(-3px); }
.step-text p { margin-top: 12px; color: var(--muted); font-size: 16.5px; max-width: 46ch; }
.step-text p + p { margin-top: 10px; }
.step-visual { min-width: 0; }
@media (max-width: 860px) { .step { grid-template-columns: 1fr; } }

/* automation sentence mock-up */
.sentence {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  font-size: clamp(19px, 2.2vw, 24px); line-height: 1.75; letter-spacing: -.01em;
}
.sentence .tok { display: inline-block; border-bottom: 2px solid var(--line-strong); padding: 0 2px; font-weight: 600; color: var(--ink); }
.sentence .tok.ok { border-color: var(--ok); }
.sentence .w { display: inline-block; opacity: 1; }
.sentence.build .w { opacity: 0; transform: translateY(6px); animation: wordin .35s cubic-bezier(.2,.8,.2,1) forwards; }
.sentence.build .w:nth-of-type(1) { animation-delay: 0ms; }
.sentence.build .w:nth-of-type(2) { animation-delay: 90ms; }
.sentence.build .w:nth-of-type(3) { animation-delay: 180ms; }
.sentence.build .w:nth-of-type(4) { animation-delay: 270ms; }
.sentence.build .w:nth-of-type(5) { animation-delay: 360ms; }
.sentence.build .w:nth-of-type(6) { animation-delay: 450ms; }
.sentence.build .w:nth-of-type(7) { animation-delay: 540ms; }
.sentence.build .w:nth-of-type(8) { animation-delay: 630ms; }
.sentence.build .w:nth-of-type(9) { animation-delay: 720ms; }
.sentence.build .w:nth-of-type(10) { animation-delay: 810ms; }

@keyframes wordin { to { opacity: 1; transform: none; } }
.sentence .added { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--ok); font-family: var(--mono); }
.sentence .added i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* expectation card */
.expect { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.expect .hd { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.expect .hd b { color: var(--ink); font-weight: 600; }
.expect .body { padding: 16px; display: grid; gap: 14px; }
.expect .field { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; font-size: 14.5px; }
.expect .field span { color: var(--muted); }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; background: var(--bg); }
.seg button { padding: 7px 12px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.seg button + button { border-left: 1px solid var(--line-strong); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 7px 10px; font-size: 13.5px; background: var(--bg); font-family: var(--mono); }
.expect .next { border-top: 1px solid var(--line); padding: 12px 16px; font-size: 13.5px; color: var(--muted); }
.expect .next b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.expect [data-mode] { display: none; }
.expect.mode-interval [data-mode="interval"], .expect.mode-schedule [data-mode="schedule"] { display: contents; }
@media (max-width: 480px) { .expect .field { grid-template-columns: 1fr; gap: 6px; } }

/* alert pair */
.alerts { display: grid; gap: 12px; }
.msg { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.45; }
.msg .hd { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; margin-bottom: 8px; }
.msg .hd i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.msg.bad .hd i { background: var(--bad); } .msg.ok .hd i { background: var(--ok); }
.msg .hd .via { margin-left: auto; font-family: var(--mono); font-size: 11.5px; border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.msg.ok { margin-left: clamp(0px, 6vw, 56px); }
.msg .foot { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.msg .foot span { font-size: 12.5px; border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 20px 24px; display: grid; gap: 10px; align-content: start; background: var(--bg); }
.feature svg { width: 22px; height: 22px; color: var(--ok); }
.feature h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature p { color: var(--muted); font-size: 14.5px; }
.plan-tag { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 6px; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* ---------- fleet mock ---------- */
.fleet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(28px, 4vw, 48px); }
.fleet .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.fleet .bar b { color: var(--ink); font-weight: 600; margin-right: 8px; }
.fleet .tab { padding: 5px 10px; border-radius: 6px; color: var(--muted); }
.fleet .tab:hover { color: var(--ink); }
.fleet .tab[aria-selected="true"] { background: var(--surface-2); color: var(--ink); font-weight: 500; }
.fleet .bar .who { margin-left: auto; font-size: 12.5px; }
.fleet-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fleet-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12.5px; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.fleet-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.fleet-table tr:last-child td { border-bottom: 0; }
.fleet-table tr[hidden] { display: none; }
.fleet-table .name { font-weight: 500; }
.fleet-table .name small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.fleet-table .when { color: var(--muted); font-size: 13px; }
.fleet-table td.actions { text-align: right; white-space: nowrap; }
.fleet-table .acked-note { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.st { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.st i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.st-ok i { background: var(--ok); } .st-ok { color: var(--ok); }
.st-late i { background: var(--late); } .st-late { color: var(--late); }
.st-bad i { background: var(--bad); } .st-bad { color: var(--bad); }
.st-muted i { background: var(--line-strong); } .st-muted { color: var(--muted); }
.st-new i { background: var(--link); } .st-new { color: var(--link); }
tr.is-bad td { background: var(--bad-soft); }
tr.is-late td { background: var(--late-soft); }
.fleet .empty { padding: 28px 14px; text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .fleet-table .when, .fleet-table th:nth-child(3), .fleet-table .cad, .fleet-table th:nth-child(4) { display: none; }
  .fleet .bar .who { display: none; }
}

/* ---------- built for ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.person h3 { font-size: 20px; letter-spacing: -.015em; font-weight: 600; padding-top: 16px; border-top: 2px solid var(--ink); }
.person p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.person ul { margin-top: 14px; display: grid; gap: 8px; font-size: 14.5px; }
.person li { display: flex; gap: 10px; align-items: flex-start; }
.person li svg { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: 3px; }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.section-head.tight { margin-bottom: 0; }
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.billing { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); margin-top: 28px; }
.plan { padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.featured { background: var(--bg); }
.plan h3 { font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price .amt { font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price .per { color: var(--muted); font-size: 14px; }
.plan .note { font-size: 13px; color: var(--muted); min-height: 1.3em; }
.plan ul { display: grid; gap: 9px; font-size: 14.5px; border-top: 1px solid var(--line); padding-top: 16px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: 3px; }
.plan li.off { color: var(--muted); }
.plan li.off svg { color: var(--line-strong); }
.plan .btn { margin-top: auto; }
.pricing-foot { margin-top: 16px; font-size: 14px; color: var(--muted); }
[data-period="monthly"] .yr, [data-period="yearly"] .mo { display: none; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .25s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .ans { padding: 0 0 20px; color: var(--muted); font-size: 15.5px; max-width: 62ch; }
.faq .ans p + p { margin-top: 8px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- final cta ---------- */
.final { background: var(--ink); color: var(--bg); }
.final .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.final h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.final p { margin-top: 14px; opacity: .78; font-size: 17px; max-width: 48ch; }
.final .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.final .btn-ink { background: var(--bg); color: var(--ink); }
.final .btn-ink:hover { background: var(--ok); color: #fff; }
.final .btn-ghost { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
.final .btn-ghost:hover { border-color: var(--bg); }
.final :focus-visible { outline-color: var(--bg); }
@media (max-width: 860px) { .final .wrap { grid-template-columns: 1fr; } .final .cta { justify-content: flex-start; } }

/* ---------- footer ---------- */
.site-footer { padding-block: 40px 48px; font-size: 14px; color: var(--muted); }
.site-footer .top { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.site-footer .links { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.site-footer .links a { color: var(--ink); text-decoration: none; }
.site-footer .links a:hover { text-decoration: underline; }
.site-footer .bottom { padding-top: 18px; display: grid; gap: 8px; max-width: 72ch; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker-track { width: auto; flex-wrap: wrap; animation: none; }
  .ticker-track .dup { display: none; }
  .pulse.animate .band { opacity: .07; }
  .pulse.animate .mark, .pulse.animate .alert-card { opacity: 1; }
  .sentence.build .w { opacity: 1; transform: none; }
}
