/* NotiPilot marketing site, "Ledger" look. Plain CSS, no build step.
   Light by default, dark with prefers-color-scheme. Ink on a neutral ground, rows and hairlines instead of cards.
   Teal is reserved for the Smart filter and primary buttons; orange only marks the alarm action.
   Tokens match the app theme. Served immutable: change this file under a NEW name (site.v4.css) and update the <head> links. */

:root {
  color-scheme: light dark;
  --bg: #f4f6f5;
  --surface: #ffffff;
  --raised: #edf1ef;
  --ink: #0e1514;
  --muted: #5a6866;
  --line: #dce2e0;
  --line-strong: #b9c4c1;
  --accent: #0b6e5f;
  --on-accent: #ffffff;
  --accent-soft: #ddf0ec;
  --on-accent-soft: #07463c;
  --alarm: #d9480f;

  --font-display: "Bricolage Grotesque", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1120px;
  --header-h: 64px;
  --r-field: 10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1110;
    --surface: #111918;
    --raised: #172120;
    --ink: #e9f0ee;
    --muted: #8c9d99;
    --line: #223130;
    --line-strong: #34463f;
    --accent: #4fe0c8;
    --on-accent: #04201b;
    --accent-soft: #0f2b27;
    --on-accent-soft: #bff5ea;
    --alarm: #ff8a4c;
  }
}

/* The Smart filter story has two variants of a few lines, switched by html[data-cloud-live] (set in /play-config.js).
   This rule lives here, not in an inline <style>: the site CSP does not allow inline styles. */
html:not([data-cloud-live="true"]) .cloud-live-only,
html:not([data-cloud-live="false"]) .cloud-off-only { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

a { color: var(--ink); text-decoration-line: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.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;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: var(--r-field); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 10px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Small label above a heading. .label--smart is the accent version, used only for the Smart filter. */
.label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.label--smart { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em;
}
.brand img { border-radius: 9px; }
.nav-links { display: none; align-items: center; gap: 2px; }
.nav-links a, .menu a {
  color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding: 10px 12px; border-radius: 6px;
}
.nav-links a:hover, .menu a:hover { color: var(--ink); background: var(--raised); }
.header-actions { display: flex; align-items: center; gap: 8px; }

.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 44px; min-width: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border-radius: var(--r-field); border: 1px solid var(--line-strong);
  color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--raised); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px;
  padding: 8px; display: grid;
}
.menu-panel a { padding: 12px 14px; }

@media (max-width: 520px) {
  .header-actions .play--sm { display: none; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .menu { display: none; }
  .header-actions .play--sm { display: inline-flex; }
}

/* ---------- Buttons ---------- */
/* The Google Play button has two states, switched by html[data-play-live] (set in /play-config.js).
   Live: a primary button that links to Play. Not live: a quiet outlined pill that is not a link. */
.play {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 24px 8px 18px;
  background: var(--accent); color: var(--on-accent);
  border: 1.5px solid var(--accent); border-radius: var(--r-field);
  text-decoration: none; line-height: 1.1;
  transition: opacity 0.15s ease;
}
.play[href]:hover { opacity: 0.9; text-decoration: none; }
.play svg { width: 24px; height: 24px; flex: none; }
.play svg path { fill: currentColor; }
.play small { display: block; font-size: 0.75rem; font-weight: 500; opacity: 0.9; }
.play strong { display: block; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
.play--sm { min-height: 44px; padding: 4px 16px 4px 12px; gap: 8px; }
.play--sm svg { width: 18px; height: 18px; }
.play--sm small { display: none; }
.play--sm strong { font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.play .soon, .play .live { display: block; }
html:not([data-play-live="true"]) .play .live,
html[data-play-live="true"] .play .soon { display: none; }
html:not([data-play-live="true"]) .play-live-only { display: none; }
.play:not([href]) { background: transparent; color: var(--ink); border-color: var(--line-strong); cursor: default; }

.link-arrow {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; color: var(--ink); text-decoration-line: underline; text-decoration-color: var(--ink); text-decoration-thickness: 1.5px;
}
.link-arrow::after { content: "\2192"; margin-left: 8px; font-family: var(--font-body); text-decoration: none; display: inline-block; }
.link-arrow:hover { text-decoration-thickness: 2.5px; }

/* ---------- Sections ---------- */
section { padding-block: clamp(48px, 8vw, 96px); border-top: 1px solid var(--line); }
section.hero { border-top: 0; padding-block: clamp(36px, 7vw, 88px) clamp(48px, 7vw, 88px); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .label { display: block; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.75rem, 1.15rem + 2.7vw, 3rem); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; max-width: 40rem; }
h3.sub-h { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem); margin-bottom: 8px; }
.sub-p { color: var(--muted); max-width: 40rem; margin-bottom: 18px; }
.block + .block { margin-top: clamp(44px, 6vw, 72px); }

/* ---------- Hero ---------- */
.hero-grid { display: grid; gap: clamp(36px, 6vw, 64px); }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 5.6vw, 5.4rem); line-height: 1; letter-spacing: -0.035em; margin-top: 14px; }
.lede { margin-top: 24px; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); line-height: 1.5; max-width: 36rem; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hero-meta { margin-top: 20px; color: var(--muted); font-size: 0.95rem; max-width: 34rem; }

/* The Smart block: a 1.5px ink rule on top, a hairline below, no fill. Also holds the hero's example rules. */
.smart-block { border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line); padding-block: 14px 8px; }
.smart-block .label { display: block; }
.rules > li { padding-block: 18px; border-top: 1px solid var(--line); }
.rules > li:first-child { margin-top: 14px; }
.rule { text-wrap: balance; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.7rem); line-height: 1.18; letter-spacing: -0.02em; }
.rule em { font-style: normal; color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.rule .then { display: block; margin-top: 4px; }
.rule .then b { font-weight: 700; }
.rule .alarm { color: var(--alarm); }
.block-note { margin-top: 12px; color: var(--muted); font-size: 0.875rem; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: end; }
}

/* ---------- Comparison: a ruled table that stacks into rows on narrow screens ---------- */
.cmp { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border-top: 1px solid var(--line); font-weight: 400; }
.cmp thead th { padding-block: 0 12px; border-top: 0; border-bottom: 1.5px solid var(--ink); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.cmp tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.cmp td:first-child { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.2; letter-spacing: -0.01em; width: 24%; }
.cmp td:last-child { padding-right: 0; }
.cmp td:nth-child(3) { color: var(--ink); }
.cmp td:nth-child(2) { color: var(--muted); }
.cmp sup { font-size: 0.7em; }
.cmp-src { margin-top: 18px; color: var(--muted); font-size: 0.875rem; max-width: 46rem; }
.cmp-src a { color: var(--muted); text-decoration-color: var(--muted); }

@media (max-width: 859.98px) {
  .cmp, .cmp tbody, .cmp tr, .cmp td { display: block; width: 100%; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp tr { padding-block: 18px; border-top: 1px solid var(--line); }
  .cmp tbody tr:first-child { border-top: 1.5px solid var(--ink); }
  .cmp tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .cmp td, .cmp td:first-child { width: 100%; padding: 0; border: 0 !important; }
  .cmp td:first-child { font-size: 1.3rem; margin-bottom: 12px; }
  .cmp td + td { margin-top: 12px; }
  .cmp td[data-label]::before { content: attr(data-label); display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 2px; }
}

/* ---------- Ledger rows ---------- */
.steps { counter-reset: step; border-bottom: 1px solid var(--line); }
.steps > li { counter-increment: step; display: grid; gap: 6px; padding-block: 20px; border-top: 1px solid var(--line); }
.steps > li:first-child { border-top: 1.5px solid var(--ink); }
.steps h3 { font-size: 1.3rem; }
.steps h3::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 6px; }
.steps p { color: var(--muted); max-width: 38rem; }
.steps--smart h3::before { color: var(--accent); }
@media (min-width: 760px) {
  .steps > li { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 32px; align-items: start; }
  .steps h3::before { margin-bottom: 4px; }
}

.qlist { border-bottom: 1px solid var(--line); }
.qlist li { padding-block: 14px; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.7vw, 1.4rem); letter-spacing: -0.015em; line-height: 1.2; }
.qlist li:first-child { border-top: 1.5px solid var(--ink); }
@media (min-width: 760px) {
  .qlist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .qlist li:nth-child(2) { border-top: 1.5px solid var(--ink); }
}

.facts { border-bottom: 1px solid var(--line); }
.facts > div { display: grid; gap: 6px; padding-block: 18px; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 1.5px solid var(--ink); }
.facts dt { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.facts dd { color: var(--muted); max-width: 40rem; }
.facts dd p + p { margin-top: 10px; }
.facts .smart dt { color: var(--accent); }
@media (min-width: 760px) {
  .facts > div { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 32px; }
}

/* Rows: a term and its description. .rows--two sets them in two columns on wide screens. */
.rows { border-bottom: 1px solid var(--line); }
.rows > li { display: grid; gap: 4px; align-content: start; padding-block: 16px; border-top: 1px solid var(--line); }
.rows > li:first-child { border-top: 1.5px solid var(--ink); }
.rows h4 { font-size: 1.15rem; letter-spacing: -0.01em; }
.rows h4.smart { color: var(--accent); }
.rows p, .rows span.d { color: var(--muted); max-width: 40rem; }
@media (min-width: 760px) {
  .rows:not(.rows--two) > li { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 32px; align-items: start; }
  .rows--two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-bottom: 0; }
  .rows--two > li:nth-child(2) { border-top: 1.5px solid var(--ink); }
  .rows--two > li:last-child, .rows--two > li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
}

/* Urgent Alerts walk-through */
.anatomy-wrap { display: grid; gap: clamp(32px, 5vw, 56px); }
.anatomy { border-top: 1.5px solid var(--ink); padding-top: 14px; }
.anatomy-title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.015em; margin-top: 6px; }
.anatomy-sub { color: var(--muted); font-size: 0.95rem; margin-top: 2px; }
.anatomy dl { margin-top: 12px; border-bottom: 1px solid var(--line); }
.anatomy dl > div { display: grid; gap: 4px; padding-block: 14px; border-top: 1px solid var(--line); }
.anatomy dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.anatomy ul { display: grid; gap: 4px; }
@media (min-width: 900px) { .anatomy-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }

/* ---------- Screens showcase ---------- */
/* Narrow screens (default): a row of text tabs above a swipeable, scroll-snap row of phones.
   Wide screens (min-width 761px): a vertical tab list beside one phone whose screen crossfades.
   The script (site.v2.js) finds these by role and class: keep both in step. */
.showcase { --bezel: 6px; --bezel-r: 30px; --screen-r: 24px; --screen-bg: #101a18; }
.sc-tab {
  appearance: none; font: inherit; color: var(--ink); cursor: pointer; text-align: left; background: transparent; border: 0;
}
.sc-tab-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.sc-shot img { display: block; background: var(--screen-bg); object-fit: cover; }
.sc-cap strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.01em; margin-bottom: 2px; }
.sc-note { margin-top: 28px; color: var(--muted); font-size: 0.875rem; max-width: 40rem; }

@media (max-width: 760.98px) {
  .sc-tabs {
    display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter);
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .sc-tabs::-webkit-scrollbar { display: none; }
  .sc-tab {
    display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 16px;
    white-space: nowrap; border: 1px solid var(--line-strong); border-radius: 999px;
  }
  .sc-tab-desc { display: none; }
  .sc-tab-title { font-size: 0.975rem; }
  .sc-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

  .sc-slides {
    position: relative; display: flex; align-items: flex-start; gap: 16px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin: 12px calc(var(--gutter) * -1) 0; padding: 12px var(--gutter) 28px;
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .sc-slides::-webkit-scrollbar { display: none; }
  .sc-slides:focus-visible { outline-offset: -4px; border-radius: 0; }
  .sc-slide { flex: 0 0 min(72vw, 288px); scroll-snap-align: start; }
  .sc-shot { padding: var(--bezel); background: #0e1514; border: 1px solid var(--line-strong); border-radius: var(--bezel-r); }
  .sc-shot img { width: 100%; height: auto; aspect-ratio: 540 / 960; border-radius: var(--screen-r); }
  .sc-cap { margin-top: 14px; padding-inline: 4px; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
  .sc-note { margin-top: 4px; }
}

@media (min-width: 761px) {
  .showcase { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }

  .sc-tabs { display: block; max-width: 36rem; border-bottom: 1px solid var(--line); }
  .sc-tab {
    position: relative; display: block; width: 100%; padding: 16px 0 16px 18px; border-top: 1px solid var(--line);
  }
  .sc-tab:first-child { border-top: 1.5px solid var(--ink); }
  .sc-tab::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; background: var(--accent); opacity: 0; transition: opacity 0.2s ease; }
  .sc-tab[aria-selected="false"]:hover .sc-tab-title { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; }
  .sc-tab[aria-selected="true"]::before { opacity: 1; }
  .sc-tab-text { display: block; }
  .sc-tab-title { display: block; font-size: 1.2rem; line-height: 1.25; }
  .sc-tab-desc { display: block; margin-top: 3px; color: var(--muted); font-size: 0.975rem; line-height: 1.5; }
  .sc-tab[aria-selected="false"] .sc-tab-title { color: var(--muted); }

  .sc-stage { display: grid; place-items: center; padding-block: 8px; }
  .sc-device { position: relative; width: clamp(248px, 34vw, 312px); padding: var(--bezel); background: #0e1514; border: 1px solid var(--line-strong); border-radius: var(--bezel-r); }
  .sc-slides { position: relative; overflow: hidden; aspect-ratio: 540 / 960; border-radius: var(--screen-r); background: var(--screen-bg); }
  .sc-slide {
    position: absolute; inset: 0; z-index: 0; opacity: 0; visibility: hidden;
    transition: opacity 0s linear 0.25s, visibility 0s linear 0.25s;
  }
  .sc-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity 0.2s ease; }
  .sc-shot, .sc-shot img { width: 100%; height: 100%; }
  .sc-cap { display: none; }
}

/* ---------- Privacy ---------- */
.privacy .wrap { display: grid; gap: clamp(28px, 5vw, 56px); }
.privacy .section-head { margin-bottom: 0; }
.privacy .cta { margin-top: 20px; }
@media (min-width: 900px) { .privacy .wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; } }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 1.5px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; padding-block: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-body); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding-bottom: 22px; display: grid; gap: 12px; max-width: 42rem; color: var(--muted); }
.faq .answer strong { color: var(--ink); }
.faq .answer a { color: var(--ink); }
.faq .answer ul { display: grid; gap: 8px; }

/* ---------- Closing call to action ---------- */
.closing h2 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.8rem); letter-spacing: -0.03em; max-width: 16ch; }
.closing p { margin-top: 18px; color: var(--muted); font-size: 1.125rem; max-width: 34rem; }
.closing .play { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--muted); font-size: 0.95rem; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand p { margin-top: 10px; max-width: 26rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.85rem; display: grid; gap: 6px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } .footer-links { justify-content: flex-end; } }

/* ---------- Privacy policy page and 404 ---------- */
.page-head { padding-block: clamp(40px, 7vw, 80px) 8px; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -0.03em; }
.page-head .updated { margin-top: 14px; color: var(--muted); }
.prose { max-width: 44rem; padding-block: 24px clamp(56px, 8vw, 96px); }
.prose h2 { font-size: 1.55rem; margin: 44px 0 12px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.prose p, .prose ul { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.prose li::marker { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose a { text-decoration-color: var(--ink); }
.prose .table-wrap { margin-top: 16px; overflow-x: auto; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; }
.prose thead th { font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--muted); }
.prose tr:last-child th, .prose tr:last-child td { border-bottom: 0; }

.notfound { min-height: 60vh; display: grid; align-content: center; padding-block: 72px; }
.notfound h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); letter-spacing: -0.035em; }
.notfound p { margin-top: 16px; color: var(--muted); max-width: 32rem; }
.notfound .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
}
