/* Shotbar — design system
   Native-feeling, system font stack, light and dark, no framework. */

:root {
  color-scheme: light dark;

  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  /* Light */
  --bg: #fbfbfd;
  --bg-elevated: #ffffff;
  --bg-sunken: #f2f2f5;
  --text: #16161a;
  --text-soft: #55555f;
  --text-faint: #86868b;
  --line: rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.16);
  --accent: #0a6cff;
  --accent-text: #ffffff;
  --accent-soft: rgba(10, 108, 255, 0.09);
  --ink: #e5342f;
  --good: #14894a;

  --shadow-sm: 0 1px 2px rgba(16, 16, 24, 0.06), 0 2px 8px rgba(16, 16, 24, 0.04);
  --shadow-md: 0 4px 12px rgba(16, 16, 24, 0.08), 0 12px 32px rgba(16, 16, 24, 0.06);
  --shadow-lg: 0 12px 28px rgba(16, 16, 24, 0.12), 0 40px 80px rgba(16, 16, 24, 0.10);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --page: 1140px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 120px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0f;
    --bg-elevated: #16161b;
    --bg-sunken: #121216;
    --text: #f4f4f6;
    --text-soft: #b4b4be;
    --text-faint: #82828c;
    --line: rgba(255, 255, 255, 0.10);
    --line-strong: rgba(255, 255, 255, 0.18);
    --accent: #4d9bff;
    --accent-text: #08121f;
    --accent-soft: rgba(77, 155, 255, 0.14);
    --ink: #ff6b5e;
    --good: #3ddc84;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.65);
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 650;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); letter-spacing: -0.032em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.65rem); letter-spacing: -0.028em; }
h3 { font-size: 1.06rem; letter-spacing: -0.012em; }

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
a:not([class]) { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* Visible keyboard focus everywhere — the previous site had none. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: var(--radius-sm);
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { left: 12px; }

.wrap {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--sunken { background: var(--bg-sunken); border-block: 1px solid var(--line); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.lede {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-soft);
  max-width: 62ch;
}

.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 74ch; }
.section-head .lede { margin-top: 16px; }

/* Buttons */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--bg-elevated); }

.btn--small { padding: 8px 16px; font-size: 0.875rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.note {
  font-size: 0.85rem;
  color: var(--text-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}

.kbd {
  font-family: var(--font-mono);
  font-size: 0.82em;
  padding: 2px 6px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--bg-elevated);
  color: var(--text-soft);
  white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header[data-scrolled="true"] { border-bottom-color: var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
}
.brand svg { width: 26px; height: 26px; }

.site-nav {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}
.site-nav a {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  color: var(--text-soft);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { color: var(--text); background: var(--bg-sunken); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--bg-sunken); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero */
.hero { padding-block: clamp(52px, 8vw, 92px) 0; text-align: center; }
.hero .lede { margin: 20px auto 30px; }
.hero .cta-row { justify-content: center; }
.hero .note { justify-content: center; margin-top: 18px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  font-size: 0.83rem;
  font-weight: 550;
  color: var(--text-soft);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
}

.hero-stage {
  margin-top: clamp(40px, 6vw, 64px);
  padding-bottom: var(--section-y);
}

/* ---------------------------------------------------------------
   Product mockups.
   Built from real DOM instead of exported bitmaps: they stay sharp
   at any resolution, cost a few KB rather than megabytes, and they
   mirror the shipping UI exactly rather than an artist's guess.
   --------------------------------------------------------------- */

.mock {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  background: #1d2433;
  aspect-ratio: 16 / 10;
  container-type: inline-size;
}

/* A calm desktop backdrop so the overlay chrome is what draws the eye. */
.mock__desktop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 18% 8%, #4a6fa8 0%, transparent 55%),
    radial-gradient(110% 80% at 88% 22%, #7a5c9e 0%, transparent 52%),
    linear-gradient(168deg, #24304a 0%, #161c2b 62%, #10141f 100%);
}

.mock__window {
  position: absolute;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (prefers-color-scheme: dark) {
  .mock__window { background: #1c1c21; }
}

.mock__titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(128, 128, 140, 0.22);
  flex: 0 0 auto;
}
.mock__lights { display: flex; gap: 6px; }
.mock__lights i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.mock__lights i:nth-child(1) { background: #ff5f57; }
.mock__lights i:nth-child(2) { background: #febc2e; }
.mock__lights i:nth-child(3) { background: #28c840; }

.mock__title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  margin-inline: auto;
  font-family: var(--font-mono);
}

/* Selection overlay: dimmed screen, bright cut-out, badge, loupe. */
.mock__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  /* Punch the selection out of the scrim so the framed pixels stay true. */
  clip-path: polygon(
    0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%,
    22% 26%, 22% 74%, 68% 74%, 68% 26%, 22% 26%
  );
}

.mock__marquee {
  position: absolute;
  left: 22%;
  top: 26%;
  width: 46%;
  height: 48%;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.3);
}
.mock__marquee::before,
.mock__marquee::after {
  content: "";
  position: absolute;
  background: #fff;
}

.mock__size {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(74% - 32px);
  padding: 4px 11px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* The loupe is the signal feature: a real pixel grid with a hex readout.
   It drifts gently and its crosshair pulses, so the hero reads as a live
   magnifier rather than a frozen screenshot — without moving the frozen
   selection/marquee/dim overlay it sits on top of, which the caption right
   below the hero explicitly promises never drifts. `prefers-reduced-motion`
   is handled globally further down (animation-duration forced to ~0). */
.mock__loupe {
  position: absolute;
  right: 13%;
  top: 56%;
  width: 27%;
  max-width: 168px;
  border-radius: 12px;
  overflow: hidden;
  background: #0b0b0d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.65);
  animation: loupe-drift 6s ease-in-out infinite;
}
@keyframes loupe-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-4px, -6px); }
}
.mock__pixels {
  aspect-ratio: 1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(128deg, #3d64a8 0%, #6f5aa0 44%, #2b3550 100%);
  background-size: 9.09% 9.09%, 9.09% 9.09%, cover;
  position: relative;
}
.mock__pixels::after {
  content: "";
  position: absolute;
  left: 45.45%;
  top: 45.45%;
  width: 9.09%;
  height: 9.09%;
  border: 1.5px solid #fff;
  animation: crosshair-pulse 2.4s ease-in-out infinite;
}
@keyframes crosshair-pulse {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
  50% { opacity: 1; box-shadow: 0 0 7px 1px rgba(255, 255, 255, 0.6); }
}
.mock__hex {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  background: rgba(0, 0, 0, 0.8);
  font-variant-numeric: tabular-nums;
}

/* Editor mockup */
.mock--editor { background: var(--bg-sunken); }

.mock__toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
  flex: 0 0 auto;
  flex-wrap: nowrap;
  overflow: hidden;
}
.mock__seg {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  overflow: hidden;
}
.mock__seg span {
  padding: 4px 8px;
  font-size: 11px;
  color: var(--text-soft);
  border-inline-end: 1px solid var(--line);
  line-height: 1.4;
}
.mock__seg span:last-child { border-inline-end: 0; }
.mock__seg span[data-on] { background: var(--accent); color: var(--accent-text); }

.mock__spacer { flex: 1 1 auto; }

.mock__chip {
  padding: 4px 9px;
  font-size: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--text-soft);
  white-space: nowrap;
}
.mock__swatch {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  flex: 0 0 auto;
}

/* Checkerboard, exactly like the editor canvas. */
.mock__canvas {
  flex: 1 1 auto;
  position: relative;
  background-image:
    linear-gradient(45deg, rgba(128, 128, 140, 0.16) 25%, transparent 25%, transparent 75%, rgba(128, 128, 140, 0.16) 75%),
    linear-gradient(45deg, rgba(128, 128, 140, 0.16) 25%, transparent 25%, transparent 75%, rgba(128, 128, 140, 0.16) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 9px 9px;
  display: grid;
  place-items: center;
  padding: 5%;
  min-height: 0;
}

.mock__shot {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(160deg, #202634 0%, #171b26 100%);
  overflow: hidden;
}

.mock__rows { padding: 7% 8%; display: grid; gap: 7%; }
.mock__rows i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}
.mock__rows i:nth-child(1) { width: 46%; background: rgba(255, 255, 255, 0.34); }
.mock__rows i:nth-child(2) { width: 82%; }
.mock__rows i:nth-child(3) { width: 68%; }
.mock__rows i:nth-child(4) { width: 74%; }
.mock__rows i:nth-child(5) { width: 38%; }

.mock__arrow {
  position: absolute;
  right: 12%;
  top: 18%;
  width: 34%;
  height: 34%;
  color: var(--ink);
}
.mock__step {
  position: absolute;
  left: 9%;
  bottom: 16%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.mock__blur {
  position: absolute;
  right: 11%;
  bottom: 17%;
  width: 30%;
  height: 15%;
  border-radius: 5px;
  backdrop-filter: blur(7px);
  background: rgba(255, 255, 255, 0.07);
}

.mock__status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
  font-size: 11px;
  color: var(--text-faint);
  flex: 0 0 auto;
}
.mock__status .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Thumbnail mockup */
.mock--thumb {
  background: var(--bg-sunken);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 8%;
}
.thumb-card {
  width: min(300px, 74%);
  border-radius: 13px;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.thumb-card__shot {
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, #253046 0%, #171c28 100%);
}
.thumb-card__bar {
  display: flex;
  gap: 3px;
  padding: 7px 9px;
  border-top: 1px solid var(--line);
  justify-content: space-between;
}
.thumb-card__bar span {
  width: 24px;
  height: 21px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: var(--text-soft);
}
.thumb-card__bar span[data-on] { background: var(--accent-soft); color: var(--accent); }
.thumb-card__bar svg { width: 13px; height: 13px; }

@container (max-width: 420px) {
  .mock__toolbar { gap: 4px; padding: 6px 8px; }
  .mock__chip, .mock__seg span { font-size: 9px; padding: 3px 5px; }
  .mock__loupe { display: none; }
}

/* Feature grid */
.features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}

.card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 0.94rem; }

.card__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}
.card__icon svg { width: 18px; height: 18px; }

.card--wide { grid-column: span 2; }
@media (max-width: 720px) { .card--wide { grid-column: span 1; } }

/* Featured lead: 2 flagship features (the loupe and on-device text
   recognition — Shotbar's actual differentiators vs. a generic screenshot
   tool) get a larger call-out in their own row before the uniform grid,
   matching how Shottr and Snapzy foreground a signature feature instead of
   listing everything at identical weight. A dedicated 2-up sub-grid, not
   grid-column: span inside .features itself, so the pair always sits
   side by side as a deliberate row instead of leaving a gap or reflowing
   through .features' auto-fit column count on narrower desktop widths. */
.features-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 720px) { .features-lead { grid-template-columns: 1fr; } }

.card--featured {
  padding: 30px;
  background: color-mix(in srgb, var(--accent) 4%, var(--bg-elevated));
  border-color: color-mix(in srgb, var(--accent) 22%, var(--line));
}
.card--featured:hover {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line-strong));
}
.card--featured .card__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  margin-bottom: 18px;
}
.card--featured .card__icon svg { width: 22px; height: 22px; }
.card--featured h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card--featured p { font-size: 1rem; max-width: 46ch; }

/* Showcase */
.showcase { display: grid; gap: clamp(48px, 7vw, 84px); }
.showcase__item {
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}
.showcase__item:nth-child(even) .showcase__text { order: 2; }
@media (max-width: 900px) {
  .showcase__item { grid-template-columns: 1fr; }
  .showcase__item:nth-child(even) .showcase__text { order: 0; }
}
.showcase__text h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; margin-bottom: 14px; }
.showcase__text p { color: var(--text-soft); }
.showcase__list { margin-top: 18px; display: grid; gap: 9px; }
.showcase__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.showcase__list svg { width: 16px; height: 16px; color: var(--good); flex: 0 0 auto; margin-top: 4px; }

/* Comparison table */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: var(--bg-elevated); min-width: 620px; }
caption { text-align: left; padding: 14px 18px; color: var(--text-faint); font-size: 0.85rem; }
th, td { padding: 13px 18px; text-align: left; border-top: 1px solid var(--line); font-size: 0.92rem; }
thead th {
  border-top: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-faint);
  font-weight: 650;
}
tbody th { font-weight: 550; color: var(--text); }
td.yes { color: var(--good); font-weight: 600; }
td.no { color: var(--text-faint); }
col.is-us, th.is-us, td.is-us { background: var(--accent-soft); }

/* Pricing */
.plans {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 780px;
}
.plan {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan--featured { border-color: var(--accent); box-shadow: var(--shadow-md); position: relative; }
.plan__tag {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}
.plan__price { font-size: 2.4rem; font-weight: 650; letter-spacing: -0.03em; line-height: 1; }
.plan__price small { font-size: 0.92rem; font-weight: 500; color: var(--text-faint); letter-spacing: 0; }
.plan ul { display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--text-soft); }
.plan li svg { width: 16px; height: 16px; color: var(--good); flex: 0 0 auto; margin-top: 4px; }

.callout {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  font-size: 0.9rem;
  color: var(--text-soft);
  max-width: 780px;
}
.callout strong { color: var(--text); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  overflow: hidden;
}
summary {
  cursor: pointer;
  padding: 15px 18px;
  font-weight: 600;
  font-size: 0.96rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}
details[open] summary::after { transform: rotate(-135deg); }
details > p, details > ul { padding: 0 18px 16px; color: var(--text-soft); font-size: 0.93rem; }
details > ul { display: grid; gap: 6px; }

/* Shortcut list */
.keys {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 820px;
}
.keys li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  font-size: 0.9rem;
}
.keys span:first-child { color: var(--text-soft); }

/* Download */
.download { text-align: center; }
.download .lede { margin: 18px auto 28px; }
.download .cta-row { justify-content: center; }
.download .note { justify-content: center; margin-top: 20px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 44px 32px;
  background: var(--bg-sunken);
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.4fr repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 32px;
}
.footer-grid h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.footer-grid ul { display: grid; gap: 8px; }
.footer-grid a { color: var(--text-soft); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--text); }
.footer-blurb { color: var(--text-soft); font-size: 0.9rem; max-width: 34ch; margin-top: 12px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* Legal pages */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.35rem; margin-top: 40px; margin-bottom: 12px; }
.prose h1 { margin-bottom: 12px; }
.prose p, .prose li { color: var(--text-soft); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-inline-start: 22px; margin-bottom: 16px; }
.prose ul li { display: list-item; }

/* Scroll reveal — opt out for reduced motion */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 640px) {
  .site-header .wrap { gap: 10px; }
  .brand { margin-inline-end: auto; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px var(--gutter) 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .site-nav a { padding: 12px 6px; font-size: 1rem; }
}
