/* Layout: one long page; a hero where the app's Smart Scan runs for real, then
   plain sections on the same dark ground. Dark first, with a light palette for
   people whose system is set to light, or who pick it with the button in the
   header (data-theme, set by the script in index.html's head). Sections are set
   like a manual: hairlines and run-in heads rather than cards. The look is
   Glidemote's, with copper in place of its blue. */
:root {
  color-scheme: dark;
  --bg: #0a0b0d;
  --bg-raised: #0f1114;
  --surface: #131518;
  --surface-2: #1b1e23;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --fg: #eef0f3;
  --muted: #8f96a0;

  /* Copper, the colour of a new penny. */
  --accent: #e8945a;
  --accent-text: #f2b184;
  --accent-soft: rgba(232, 148, 90, 0.16);
  --cta: #e38a4e;
  --cta-hover: #f0a46e;
  --cta-ink: #1a1008;
  --heart: #f2626b;

  /* The app mock-up looks the same in both themes. */
  --dev-bg: #15171b;
  --dev-side: #111316;
  --dev-bar: #1c1f24;
  --dev-line: rgba(255, 255, 255, 0.08);
  --dev-fg: #eef0f3;
  --dev-muted: #8a9099;
  --dev-accent: #e8945a;
  --dev-accent-text: #f2b184;
  --dev-cta: #e38a4e;
  --dev-cta-ink: #1a1008;

  --font-display: "Young Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-device: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 10px;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f3f5f8;
    --bg-raised: #ebeef3;
    --surface: #ffffff;
    --surface-2: #f2f4f8;
    --line: rgba(14, 20, 32, 0.09);
    --line-strong: rgba(14, 20, 32, 0.17);
    --fg: #0e1218;
    --muted: #59606d;
    --accent: #b4561f;
    --accent-text: #9a4a1a;
    --accent-soft: rgba(180, 86, 31, 0.12);
    --cta: #a9501b;
    --cta-hover: #9c4a18;
    --cta-ink: #ffffff;
    --heart: #d42a3a;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f8;
  --bg-raised: #ebeef3;
  --surface: #ffffff;
  --surface-2: #f2f4f8;
  --line: rgba(14, 20, 32, 0.09);
  --line-strong: rgba(14, 20, 32, 0.17);
  --fg: #0e1218;
  --muted: #59606d;
  --accent: #b4561f;
  --accent-text: #9a4a1a;
  --accent-soft: rgba(180, 86, 31, 0.12);
  --cta: #a9501b;
  --cta-hover: #9c4a18;
  --cta-ink: #ffffff;
  --heart: #d42a3a;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

/* Paints the band behind a phone's status bar above the sticky nav. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--bg);
}

h1, h2, h3 { margin: 0; text-wrap: balance; font-synthesis: none; }
p { margin: 0; }
a { color: inherit; }
img, svg { max-width: 100%; }
code { font: 0.9em var(--font-mono); }
button { font: inherit; }

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

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

/* -- buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--cta);
  color: var(--cta-ink);
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--cta-hover); }
.btn:active { transform: translateY(1px); }
.btn-small { height: 38px; padding: 0 16px; border-radius: 8px; font-size: 0.9375rem; }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration-color: currentColor; }
.btn-block { width: 100%; }

/* -- nav ------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 400 1.25rem/1 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand .mark { width: 28px; height: 28px; flex: none; }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--fg); }

/* Light or dark. It shows the one in use, and hides without scripts, since then it
   can't do anything. */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.theme-toggle:hover { color: var(--fg); background: var(--surface-2); }
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle .sun, :root[data-theme="light"] .theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root:not([data-theme]) .theme-toggle { display: none; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .theme-toggle { margin-left: auto; }
}

/* -- hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 56px;
  padding-block: 72px 88px;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 48px 64px; }
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 1.8rem + 3.6vw, 4.9rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.lede { margin-top: 22px; max-width: 34em; color: var(--muted); font-size: 1.1875rem; line-height: 1.55; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }

.aside { max-width: 30em; margin-top: 28px; color: var(--muted); font-size: 0.9375rem; }

/* -- demo: the app's window ------------------------------------------------ */

.demo { display: grid; gap: 22px; margin: 0; min-width: 0; }
@media (max-width: 980px) { .demo { max-width: 680px; } }

/* The window is a size container, and the type inside is sized from its width
   (clamped, so it stays readable on a phone). Everything else is in em. */
.app {
  container-type: inline-size;
  max-width: 100%;
  border-radius: 12px;
  background: var(--dev-bg);
  outline: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  color: var(--dev-fg);
  font-family: var(--font-device);
}
.app-frame { font-size: clamp(11px, 2.05cqw, 14.5px); line-height: 1.3; }

.app-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9em;
  height: 2.7em;
  padding: 0 1em;
  background: var(--dev-bar);
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}
.lights { display: flex; gap: 0.55em; }
.lights i { width: 0.92em; height: 0.92em; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.app-name { color: rgba(255, 255, 255, 0.62); font-size: 0.9em; font-weight: 600; }
.win-ctl { display: none; margin-left: auto; align-self: stretch; }
.win-ctl i { position: relative; width: 3.3em; }
.win-ctl i::before, .win-ctl i::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.win-ctl .min::before { width: 0.8em; height: 1px; background: var(--dev-muted); }
.win-ctl .max::before { width: 0.7em; height: 0.7em; border: 1px solid var(--dev-muted); border-radius: 1px; }
.win-ctl .close::before, .win-ctl .close::after { width: 0.95em; height: 1px; background: var(--dev-muted); rotate: 45deg; }
.win-ctl .close::after { rotate: -45deg; }
[data-os="win"] .lights { display: none; }
[data-os="win"] .win-ctl { display: flex; margin-right: -1em; }
[data-os="win"] .app-title { padding-left: 1.1em; }

.app-body { display: grid; grid-template-columns: minmax(0, 15.5em) minmax(0, 1fr); }

.app-side {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  padding: 1em 0.75em;
  background: var(--dev-side);
  border-right: 1px solid var(--dev-line);
}
.tool-link {
  display: flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.55em 0.65em;
  border-radius: 0.55em;
  color: var(--dev-muted);
  font-size: 0.95em;
  font-weight: 500;
  white-space: nowrap;
}
.tool-link svg {
  width: 1.3em;
  height: 1.3em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tool-link.on { background: rgba(232, 148, 90, 0.14); color: var(--dev-accent-text); }

.disk { display: grid; gap: 0.45em; margin-top: auto; padding: 0.9em 0.65em 0.2em; }
.disk-name { font-size: 0.85em; font-weight: 600; }
.disk-bar { height: 0.42em; border-radius: 1em; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.disk-bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: #9aa1ab; transition: width 0.5s ease; }
.disk-free { color: var(--dev-muted); font-size: 0.78em; font-variant-numeric: tabular-nums; }

.app-main { display: flex; flex-direction: column; gap: 1em; min-width: 0; padding: 1.3em 1.5em 1.4em; }

.scan-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1em; }
.scan-heading { min-width: 0; }
.scan-title { font-size: 1.3em; font-weight: 650; letter-spacing: -0.01em; }
.scan-status {
  min-height: 1.3em;
  margin-top: 0.2em;
  color: var(--dev-muted);
  font-size: 0.86em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.scan-total { flex: none; font-size: 1.9em; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
[data-state="idle"] .scan-total { color: var(--dev-muted); }

.scan-bar { display: flex; gap: 2px; height: 0.55em; border-radius: 1em; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.scan-bar i { flex: none; width: var(--w); background: var(--c); transition: width 0.45s ease; }
.scan-bar i:first-child { border-radius: 1em 0 0 1em; }

.scan-rows { display: grid; margin: 0; padding: 0; list-style: none; }
.scan-rows li { border-top: 1px solid var(--dev-line); opacity: 0; transition: opacity 0.3s; }
.scan-rows li.found { opacity: 1; }
.row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85em;
  width: 100%;
  padding: 0.6em 0.15em;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.row:disabled { cursor: default; }
.row:focus-visible { outline-offset: -2px; }
.tick {
  display: grid;
  place-items: center;
  width: 1.2em;
  height: 1.2em;
  border-radius: 0.32em;
  border: 1.5px solid var(--dev-muted);
  transition: background 0.15s, border-color 0.15s;
}
.tick svg { width: 100%; height: 100%; fill: none; stroke: #15171b; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.row[aria-pressed="true"] .tick { background: var(--c); border-color: var(--c); }
.row[aria-pressed="true"] .tick svg { opacity: 1; }
.row-text { display: grid; min-width: 0; }
.row-name, .row-where { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-name { font-size: 0.95em; font-weight: 550; }
.row-where { color: var(--dev-muted); font-size: 0.78em; }
.row-size { font-size: 0.92em; font-variant-numeric: tabular-nums; transition: color 0.2s; }
.row[aria-pressed="false"] .row-size { color: var(--dev-muted); }
.cleaned .row-name, .cleaned .row-where { opacity: 0.45; }
.cleaned .row-size { color: var(--dev-accent-text); }

.scan-foot { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-top: 0.2em; }
.scan-note { min-width: 0; color: var(--dev-muted); font-size: 0.82em; }
.app-btn {
  flex: none;
  min-width: 8.6em;
  padding: 0.72em 1.25em;
  border: 0;
  border-radius: 0.6em;
  background: var(--dev-cta);
  color: var(--dev-cta-ink);
  font-size: 0.95em;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s, transform 0.15s;
}
.app-btn:hover { background: #f0a46e; }
.app-btn:active { transform: translateY(1px); }
.app-btn:disabled { opacity: 0.55; cursor: default; transform: none; background: var(--dev-cta); }
.app-btn.quiet { background: rgba(255, 255, 255, 0.1); color: var(--dev-fg); }
.app-btn.quiet:hover { background: rgba(255, 255, 255, 0.16); }

/* On a narrow window the sidebar goes, as the app's own does. */
@container (max-width: 520px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .app-main { padding: 1.1em 1.1em 1.2em; }
  .scan-total { font-size: 1.6em; }
}

.demo-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.demo-hint { display: flex; align-items: center; gap: 8px; }
.demo-hint svg { width: 20px; height: 20px; flex: none; color: var(--accent-text); }

/* Mac or Windows, for the window above. */
.os-switch { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); }
.os-switch button {
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.os-switch button:hover { color: var(--fg); }
.os-switch button[aria-pressed="true"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18); }
:root:not([data-theme]) .os-switch { display: none; }

/* -- sections -------------------------------------------------------------- */

.band { padding-block: clamp(64px, 8vw, 104px); }
.band + .band { border-top: 1px solid var(--line); }

.section-head { display: grid; gap: 12px; max-width: 40rem; margin-bottom: clamp(32px, 4vw, 48px); }
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.section-head p { color: var(--muted); font-size: 1.125rem; }

h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.25; }

/* tools */

/* A reference list: picture, name and what it does, two columns wide. */
.ref-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) { .ref-list { grid-template-columns: minmax(0, 1fr); } }

.ref {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-content: center;
  column-gap: 24px;
  row-gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.ref > svg { grid-row: span 2; display: block; width: 100%; height: auto; }
.ref h3 { align-self: end; }
.ref p { align-self: start; color: var(--muted); font-size: 1rem; }
@media (max-width: 560px) {
  .ref { grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; padding: 14px 0; }
}

/* The tool pictures are drawn on the same pad as Glidemote's gestures: neutral
   shapes for what's there, copper for what the tool finds. */
.g-pad { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1; }
.t-base, .t-block, .t-label, .t-file, .t-page { fill: var(--line-strong); }
.t-used { fill: var(--muted); opacity: 0.55; }
.t-junk, .t-big, .t-top, .t-app, .t-copy .t-page { fill: var(--accent); }
.t-bar { fill: var(--muted); opacity: 0.55; }
.t-top { opacity: 1; }
.t-split { fill: none; stroke: var(--surface-2); stroke-width: 2; }
.t-sweep { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; opacity: 0; }
.t-page { stroke: none; }
.t-lines { fill: none; stroke: var(--surface-2); stroke-width: 2.4; stroke-linecap: round; }
.t-copy .t-lines { stroke: var(--surface-2); }
.t-equal { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.t-trail { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0.5 6; opacity: 0.8; }
.t-chip { fill: var(--accent); opacity: 0.55; }
.t-track { fill: var(--accent); }
.t-knob { fill: #fff; }

/* The pictures take turns acting out their tool: demo.js gives one at a time the
   "playing" class for a single run, and the rest stay still. */
.tool svg * { transform-box: fill-box; transform-origin: left center; }
.t-copy, .t-app, .t-chip, .t-big { transform-origin: center; }

.playing[data-motion="sweep"] .t-junk { animation: t-shrink 2.4s ease-in-out; }
.playing[data-motion="sweep"] .t-junk:nth-of-type(9) { animation-delay: 0.12s; }
.playing[data-motion="sweep"] .t-junk:nth-of-type(10) { animation-delay: 0.24s; }
.playing[data-motion="sweep"] .t-sweep { animation: t-sweep 2.4s ease-in-out; }
.playing[data-motion="map"] .t-big { animation: t-pulse 2.4s ease-in-out; }
.playing[data-motion="sort"] .t-bar { animation: t-grow 2.4s ease-out; }
.playing[data-motion="sort"] .t-bar:nth-of-type(3) { animation-delay: 0.1s; }
.playing[data-motion="sort"] .t-bar:nth-of-type(4) { animation-delay: 0.2s; }
.playing[data-motion="dupe"] .t-copy { animation: t-lift 2.4s ease-in-out; }
.playing[data-motion="remove"] .t-app, .playing[data-motion="remove"] .t-chip { animation: t-vanish 2.4s ease-in-out; }
.playing[data-motion="remove"] .t-chip.c1 { animation-delay: 0.08s; }
.playing[data-motion="remove"] .t-chip.c2 { animation-delay: 0.16s; }
.playing[data-motion="remove"] .t-chip.c3 { animation-delay: 0.12s; }
.playing[data-motion="remove"] .t-chip.c4 { animation-delay: 0.2s; }
.playing[data-motion="remove"] .t-trail { animation: t-flow 0.8s linear 3; }
.playing[data-motion="toggle"] .s1 .t-knob, .playing[data-motion="toggle"] .s3 .t-knob { animation: t-knob 2.4s ease-in-out; }
.playing[data-motion="toggle"] .s1 .t-track, .playing[data-motion="toggle"] .s3 .t-track { animation: t-off 2.4s ease-in-out; }
.playing[data-motion="toggle"] .s3 * { animation-delay: 0.3s !important; }

/* The copper part of each bar is cleared as the line passes, then comes back. */
@keyframes t-shrink {
  0%, 18% { transform: none; opacity: 1; }
  48%, 74% { transform: scaleX(0.12); opacity: 0; }
  92%, 100% { transform: none; opacity: 1; }
}
@keyframes t-sweep {
  0%, 8% { transform: translateX(-74px); opacity: 0; }
  14% { opacity: 1; }
  50% { transform: none; opacity: 1; }
  58%, 100% { transform: none; opacity: 0; }
}
/* The biggest block brightens and splits into what's inside it. */
@keyframes t-pulse {
  0%, 10%, 90%, 100% { opacity: 1; }
  30%, 70% { opacity: 0.7; }
}
@keyframes t-grow {
  0% { transform: scaleX(0); }
  50%, 100% { transform: none; }
}
/* The copy lifts away to the Trash, then is put back. */
@keyframes t-lift {
  0%, 12% { transform: none; opacity: 1; }
  45%, 72% { transform: translate(10px, -6px) scale(0.6); opacity: 0; }
  92%, 100% { transform: none; opacity: 1; }
}
@keyframes t-vanish {
  0%, 12% { transform: none; opacity: var(--o, 1); }
  42%, 72% { transform: scale(0.3); opacity: 0; }
  92%, 100% { transform: none; opacity: var(--o, 1); }
}
.t-chip { --o: 0.55; }
@keyframes t-flow { to { stroke-dashoffset: -6.5; } }
@keyframes t-knob {
  0%, 16% { transform: none; }
  32%, 76% { transform: translateX(-10px); }
  92%, 100% { transform: none; }
}
@keyframes t-off {
  0%, 16% { fill: var(--accent); }
  32%, 76% { fill: var(--line-strong); }
  92%, 100% { fill: var(--accent); }
}

.legend { display: grid; gap: 8px; max-width: 46rem; margin-top: 28px; color: var(--muted); }
.legend code { color: var(--fg); }

/* how it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  margin-bottom: 6px;
  font: 400 2.25rem/1 var(--font-display);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.steps p { color: var(--muted); }
@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* safety */

.details { columns: 2; column-gap: 56px; max-width: 64rem; }
@media (max-width: 760px) { .details { columns: 1; } }
.details p { margin-bottom: 20px; color: var(--muted); break-inside: avoid; }
.details b { color: var(--fg); font-weight: 600; }

/* pricing */

.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: center; gap: 48px 72px; }
.pricing-copy { display: grid; gap: 16px; max-width: 32rem; min-width: 0; }
.pricing-copy p { color: var(--muted); font-size: 1.125rem; }
@media (max-width: 860px) { .pricing { grid-template-columns: minmax(0, 1fr); } }

.compare { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 0.9375rem; }
.compare caption { padding-bottom: 8px; color: var(--muted); font-size: 0.875rem; text-align: left; }
.compare th, .compare td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.compare tr:last-child > * { border-bottom: 1px solid var(--line); }
.compare th { font-weight: 600; }
.compare td { color: var(--muted); }
.compare td:last-child { padding-right: 0; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare .us td:last-child { color: var(--accent-text); font-weight: 600; }
@media (max-width: 420px) { .compare td:nth-child(2) { display: none; } }

.price-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.plan { font-weight: 600; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 12px; }
.amount {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.per { color: var(--muted); font-size: 1rem; }
.includes { margin-bottom: 6px; }
.req { color: var(--muted); font-size: 0.875rem; text-align: center; }
.req a { color: var(--fg); }
.trial { margin-top: -6px; color: var(--muted); font-size: 0.9375rem; text-align: center; }
.trial a { color: var(--fg); }

/* faq */

.faq { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px 72px; align-items: start; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.faq-list { display: grid; gap: 28px; margin: 0; }
.faq dt { font-weight: 600; }
.faq dd { max-width: 40rem; margin: 6px 0 0; color: var(--muted); }
.faq dd a { color: var(--fg); text-underline-offset: 3px; }

/* footer */

.footer { border-top: 1px solid var(--line); background: var(--bg-raised); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-block: 36px; color: var(--muted); font-size: 0.9375rem; }
.footer .brand { color: var(--fg); margin-right: auto; }
.footer a:not(.brand) { color: var(--fg); text-underline-offset: 3px; }
.fine { width: 100%; font-size: 0.8125rem; }
.heart { color: var(--heart); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .tool * { animation: none !important; }
}
