/* snapdownapp.com
 *
 * Built on Canvas: warm ground, cool action. Every colour below is a Canvas
 * token; the dark theme redefines the same roles with Canvas's tuned values.
 *
 * Layout: one ~1080px column on the warm canvas. Marketing sections are
 * separated by a 1px rule, 76px above and 58px below. The product is shown as
 * real SnapDown windows, never illustrations of it.
 */

:root {
  /* Ground and surfaces */
  --canvas: #fffdf9;
  --surface: #ffffff;
  --surface-sunken: #f3f0e9;
  --surface-muted: #f0f0eb;
  --surface-inverse: #141a2e;
  --on-inverse: #f2f0eb;

  /* Text */
  --ink: #242422;
  --muted: #63635f;
  --subtle: #72736d;

  /* Lines */
  --border: #eae7df;
  --border-strong: #dedbd4;
  --divider: #e5e5df;
  --border-control: #8f8b82;

  /* Action */
  --accent: #2459e8;
  --primary: #2459e8;
  --primary-ledge: #123ab1;
  --on-primary: #fffdf9;
  --secondary: #f0ede7;
  --secondary-ledge: #d9d5cd;
  --highlight: #b53270;
  --focus: #2459e8;

  /* Identity trio: decoration only, never text */
  --brand-blue: #2878ef;
  --brand-orange: #f58220;
  --brand-pink: #ed438b;

  /* Promo panel */
  --gold: #ffd392;
  --gold-ink: #693e16;

  /* Tints and their inks */
  --tint-blue: #e5edff;
  --tint-blue-ink: #12296b;
  --tint-amber: #fff0d6;
  --tint-amber-ink: #5c2d08;
  --tint-pink: #ffe7f1;
  --tint-pink-ink: #6e1a3f;

  /* Status */
  --success: #1f7a4d;
  --success-tint: #e3f4ea;
  --warning: #8a4a0b;
  --warning-tint: #fff0d6;
  --danger: #c2362b;
  --danger-tint: #fde8e5;

  /* Depth: a ledge under buttons, blur only for things that float */
  --ledge-primary: 0 4px 0 0 #123ab1;
  --ledge-secondary: 0 4px 0 0 #d9d5cd;
  --ledge-sm: 0 3px 0 0 #1d56ac;
  --shadow-window: 0 0 0 1px rgba(36, 36, 34, 0.08), 0 34px 70px -24px rgba(70, 46, 20, 0.34);
  --shadow-popover: 0 0 0 1px rgba(36, 36, 34, 0.07), 0 12px 32px -12px rgba(40, 30, 20, 0.3);
  --field-glow: 0 0 0 4px rgba(36, 89, 232, 0.2);

  /* macOS window chrome, drawn around real screenshots of the app */
  --mac-close: #ff5f57;
  --mac-close-edge: #e0443e;
  --mac-min: #febc2e;
  --mac-min-edge: #dea123;
  --mac-zoom: #28c840;
  --mac-zoom-edge: #1aab29;
  --mac-window: #ffffff;

  /* Type: Canvas's rounded display face is the Mac's own (Arial Rounded MT
     Bold); elsewhere it falls back to the system sans at 800, by design. */
  --font-display: "Arial Rounded MT Bold", ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Spacing (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 42px;
  --space-8: 64px;
  --space-9: 76px;
  --gutter: clamp(16px, 4vw, 32px);
  --content: 1080px;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 7px;
  --radius-md: 10px;
  --radius-lg: 13px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-3xl: 26px;
  --radius-pill: 999px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #191a1d;
    --surface: #25262b;
    --surface-sunken: #202125;
    --surface-muted: #2e2f34;
    --surface-inverse: #f2f0eb;
    --on-inverse: #141a2e;
    --ink: #f2f0eb;
    --muted: #b8b8b2;
    --subtle: #9a9a94;
    --border: #34353a;
    --border-strong: #3d3e44;
    --divider: #303136;
    --border-control: #75767d;
    --accent: #90b0ff;
    --primary: #2459e8;
    --primary-ledge: #0f2f8f;
    --on-primary: #fffdf9;
    --secondary: #35363b;
    --secondary-ledge: #18191c;
    --highlight: #f394be;
    --focus: #90b0ff;
    --gold: #ffd392;
    --gold-ink: #3a2210;
    --tint-blue: #1f2a47;
    --tint-blue-ink: #c9d8ff;
    --tint-amber: #3a2c1a;
    --tint-amber-ink: #ffd9a8;
    --tint-pink: #3d2030;
    --tint-pink-ink: #ffc6de;
    --success: #6fd19f;
    --success-tint: #1d3328;
    --warning: #ffb870;
    --warning-tint: #3a2c1a;
    --danger: #ff8a7a;
    --danger-tint: #3d201d;
    --ledge-primary: 0 4px 0 0 #0f2f8f;
    --ledge-secondary: 0 4px 0 0 #18191c;
    --ledge-sm: 0 3px 0 0 #0f2f8f;
    --shadow-window: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 34px 70px -24px rgba(0, 0, 0, 0.6);
    --shadow-popover: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --field-glow: 0 0 0 4px rgba(144, 176, 255, 0.25);
    --mac-window: #1c1c1e;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --canvas: #191a1d;
  --surface: #25262b;
  --surface-sunken: #202125;
  --surface-muted: #2e2f34;
  --surface-inverse: #f2f0eb;
  --on-inverse: #141a2e;
  --ink: #f2f0eb;
  --muted: #b8b8b2;
  --subtle: #9a9a94;
  --border: #34353a;
  --border-strong: #3d3e44;
  --divider: #303136;
  --border-control: #75767d;
  --accent: #90b0ff;
  --primary: #2459e8;
  --primary-ledge: #0f2f8f;
  --on-primary: #fffdf9;
  --secondary: #35363b;
  --secondary-ledge: #18191c;
  --highlight: #f394be;
  --focus: #90b0ff;
  --gold: #ffd392;
  --gold-ink: #3a2210;
  --tint-blue: #1f2a47;
  --tint-blue-ink: #c9d8ff;
  --tint-amber: #3a2c1a;
  --tint-amber-ink: #ffd9a8;
  --tint-pink: #3d2030;
  --tint-pink-ink: #ffc6de;
  --success: #6fd19f;
  --success-tint: #1d3328;
  --warning: #ffb870;
  --warning-tint: #3a2c1a;
  --danger: #ff8a7a;
  --danger-tint: #3d201d;
  --ledge-primary: 0 4px 0 0 #0f2f8f;
  --ledge-secondary: 0 4px 0 0 #18191c;
  --ledge-sm: 0 3px 0 0 #0f2f8f;
  --shadow-window: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 34px 70px -24px rgba(0, 0, 0, 0.6);
  --shadow-popover: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --field-glow: 0 0 0 4px rgba(144, 176, 255, 0.25);
  --mac-window: #1c1c1e;
  color-scheme: dark;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px));
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

img {
  height: auto;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

::selection {
  background: var(--tint-blue);
  color: var(--tint-blue-ink);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--surface-inverse);
  color: var(--on-inverse);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.skip:focus {
  top: calc(12px + env(safe-area-inset-top, 0px));
}

.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;
}

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

/* ---------- Type ---------- */

.display-xxl,
.display-xl,
.display-lg,
.display-md,
.title-lg {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}

.display-xxl {
  font-size: clamp(56px, 9vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.display-xl {
  font-size: clamp(42px, 7.4vw, 71px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.display-lg {
  font-size: clamp(38px, 6.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.display-md {
  font-size: clamp(32px, 4.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.041em;
}

.title-lg {
  font-size: 26px;
  line-height: 28px;
  letter-spacing: -0.9px;
}

.title-md {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 27px;
  font-weight: 400;
  letter-spacing: -0.5px;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 58ch;
  text-wrap: pretty;
}

.body-sm {
  font-size: 14px;
  line-height: 22.4px;
}

.caption {
  font-size: 13px;
  line-height: 19px;
  color: var(--muted);
}

.meta {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--subtle);
}

/* The ink / accent two-line headline */
.cv-headline {
  margin: 0;
}

.cv-headline .accent {
  display: block;
  color: var(--accent);
}

/* ---------- Buttons: the ledge button ---------- */

.cv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 19.6px;
  font-weight: 650;
  padding: 11px 16px;
  border-radius: var(--radius-pill);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.cv-btn:active {
  transform: translateY(3px);
}

.cv-btn-lg {
  font-size: 16px;
  line-height: 22.4px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  min-width: 200px;
}

.cv-btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--ledge-primary);
}

.cv-btn-primary:active {
  box-shadow: 0 1px 0 0 var(--primary-ledge);
}

.cv-btn-secondary {
  background: var(--secondary);
  color: var(--ink);
  box-shadow: var(--ledge-secondary);
}

.cv-btn-secondary:active {
  box-shadow: 0 1px 0 0 var(--secondary-ledge);
}

@media (hover: hover) {
  .cv-btn-primary:hover,
  .cv-btn-secondary:hover {
    filter: brightness(1.06);
  }
}

.cv-btn-ghost {
  background: transparent;
  color: var(--ink);
  padding-inline: 12px;
}

.cv-btn-ghost:hover {
  background: var(--surface-muted);
}

.cv-btn-link {
  background: transparent;
  color: var(--accent);
  padding: 0;
  font-weight: 400;
  border-radius: 4px;
}

.cv-btn-link:hover {
  text-decoration: underline;
}

.cv-arrow {
  font-weight: 400;
}

/* ---------- Chips ---------- */

.cv-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 22.4px;
  font-weight: 650;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.cv-chip svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cv-chip-amber { background: var(--tint-amber); color: var(--tint-amber-ink); }
.cv-chip-blue { background: var(--tint-blue); color: var(--tint-blue-ink); }
.cv-chip-pink { background: var(--tint-pink); color: var(--tint-pink-ink); }
.cv-chip-ink { background: var(--surface-inverse); color: var(--on-inverse); }
.cv-chip-neutral { background: var(--surface-muted); color: var(--ink); }
.cv-chip-success { background: var(--success-tint); color: var(--success); }
.cv-chip-warning { background: var(--warning-tint); color: var(--warning); }
.cv-chip-danger { background: var(--danger-tint); color: var(--danger); }

.cv-chip-sm {
  font-size: 12px;
  line-height: 16px;
  padding: 3px 9px;
  font-weight: 600;
}

.cv-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0;
  list-style: none;
}

/* ---------- Cards ---------- */

.cv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cv-card-art {
  position: relative;
  min-height: 132px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cv-card-art.blue { background: var(--tint-blue); }
.cv-card-art.amber { background: var(--tint-amber); }
.cv-card-art.pink { background: var(--tint-pink); }

.cv-card-body {
  padding: 24px 26px 28px;
}

.cv-card-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.9px;
  color: var(--ink);
  text-wrap: balance;
}

.cv-card-text {
  margin: 0;
  font-size: 14px;
  line-height: 22.4px;
  color: var(--muted);
}

/* ---------- Icon tiles and feature lists ---------- */

.cv-icontile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--tint-blue);
  color: var(--accent);
  flex: none;
}

.cv-icontile svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cv-icontile.amber { background: var(--tint-amber); color: var(--tint-amber-ink); }
.cv-icontile.pink { background: var(--tint-pink); color: var(--tint-pink-ink); }
.cv-icontile.neutral { background: var(--surface-muted); color: var(--subtle); }

.cv-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.cv-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 14px;
  line-height: 22.4px;
  color: var(--ink);
}

.cv-feature-list li > span:last-child {
  padding-top: 6px;
  min-width: 0;
}

/* ---------- Stat tiles ---------- */

.cv-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cv-stat-label {
  font-size: 13px;
  line-height: 19px;
  color: var(--muted);
  font-weight: 500;
}

.cv-stat-value {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--ink);
}

.cv-stat-note {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Tables ---------- */

.cv-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow-x: auto;
}

.cv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 22.4px;
}

.cv-table th {
  text-align: left;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-muted);
  padding: 10px 16px;
  white-space: nowrap;
}

.cv-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--divider);
  color: var(--ink);
  vertical-align: top;
}

.cv-table .sub {
  display: block;
  color: var(--subtle);
  font-size: 12px;
  line-height: 18px;
}

.cv-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  border-radius: var(--radius-sm);
}

.brand img {
  width: 28px;
  height: 28px;
}

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav__links a {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav__links a:hover {
  background: var(--surface-muted);
}

@media (max-width: 640px) {
  .nav__links {
    display: none;
  }
  .nav__cta {
    margin-left: auto;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: 72px 8px;
}

.hero__copy {
  max-width: 780px;
  display: grid;
  justify-items: start;
  gap: 20px;
}

.hero__chip {
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  align-items: flex-start;
  margin-top: 12px;
}

.cta {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.cta .caption {
  margin-top: 4px;
}

.cta .caption + .caption {
  margin-top: -6px;
}

.hero__shot {
  position: relative;
  margin-top: 64px;
}

/* The identity trio, as rounded pills peeking from behind the window */
.pill {
  position: absolute;
  z-index: 0;
  height: 24px;
  border-radius: var(--radius-pill);
}

.pill--orange { background: var(--brand-orange); width: 112px; top: -12px; right: 8%; }
.pill--pink { background: var(--brand-pink); width: 56px; top: -12px; right: calc(8% + 128px); }
.pill--blue { background: var(--brand-blue); width: 176px; bottom: -12px; left: 6%; }

/* ---------- Product shots ---------- */

/* A real SnapDown window (or sheet), the way macOS draws it */
.window {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--mac-window);
  box-shadow: var(--shadow-window);
}

.window img {
  width: 100%;
}

/* A piece of the real UI inside a tinted card panel */
.shot-art {
  padding: 32px 28px;
  min-height: 240px;
}

.ui-crop {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-popover);
  background: var(--mac-window);
}

.shot-art--tall .ui-crop {
  width: auto;
  max-height: 380px;
}

.chip-art .cv-chip-row {
  justify-content: center;
}

/* ---------- Sections ---------- */

.sites {
  padding-block: 56px 64px;
}

.sites__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.sites .meta,
.footer .meta {
  color: var(--muted);
}

.section {
  padding-block: var(--space-9) 58px;
  border-top: 1px solid var(--border);
}

.section__head {
  display: grid;
  gap: 20px;
  margin-bottom: var(--space-6);
}

.grid-2,
.grid-3,
.steps,
.stats {
  display: grid;
  gap: var(--space-5);
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--space-5); }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
  margin-top: var(--space-6);
}

.split {
  display: grid;
  gap: var(--space-6);
}

/* Library: the player beside the search card */
.split--wide {
  grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
  align-items: center;
}

.stack {
  display: grid;
  gap: var(--space-5);
}

/* Backup: the list beside a larger window */
.split--text {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  align-items: center;
}

.band {
  background: var(--surface-sunken);
}

.cv-stat-value {
  font-size: clamp(28px, 3vw, 34px);
}

.leaves {
  display: grid;
  gap: 4px;
  margin-top: var(--space-8);
}

.leaves .cv-feature-list {
  margin-top: 16px;
}

.leaves .cv-btn-link {
  justify-self: start;
  margin-top: 24px;
  font-size: 15px;
}

.title-lg {
  margin: 0;
}

.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  background: var(--tint-blue);
  color: var(--tint-blue-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}

.sub-head {
  margin-block: var(--space-8) var(--space-4);
}

.cv-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.cv-table a {
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.cv-table a:hover {
  text-decoration: underline;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: var(--space-8);
  align-items: start;
}

.faq__list {
  border-top: 1px solid var(--divider);
}

.faq details {
  border-bottom: 1px solid var(--divider);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 650;
  color: var(--ink);
  border-radius: var(--radius-xs);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.12s ease;
}

.faq details[open] summary svg {
  transform: rotate(180deg);
}

.faq details p {
  padding-bottom: 20px;
  max-width: 62ch;
  color: var(--muted);
}

/* ---------- Closing ---------- */

.closing {
  padding-block: var(--space-9);
}

.gold {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-7);
  border-radius: var(--radius-3xl);
  background: var(--gold);
  color: var(--gold-ink);
}

.gold__copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.gold .display-xxl {
  margin: 0;
  color: var(--gold-ink);
}

.gold__text {
  max-width: 42ch;
  font-size: 18px;
  line-height: 1.6;
}

.gold .caption {
  color: var(--gold-ink);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding-block: 40px calc(48px + env(safe-area-inset-bottom, 0px));
}

.footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px 40px;
  align-items: start;
}

.footer__brand {
  display: grid;
  gap: 6px;
}

.footer__brand .brand {
  font-size: 18px;
}

.footer__brand .brand img {
  width: 24px;
  height: 24px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
}

.footer__links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__legal {
  grid-column: 1 / -1;
  max-width: 90ch;
}

/* ---------- Narrow screens ---------- */

@media (max-width: 960px) {
  .grid-3,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .split--wide,
  .split--text,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq {
    gap: var(--space-6);
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split--wide .stack .cv-card {
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  .grid-2,
  .feature-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-block: 44px 0;
  }
  .hero__shot {
    margin-top: 44px;
  }
  .pill { height: 14px; }
  .pill--orange { width: 64px; top: -7px; }
  .pill--pink { width: 32px; top: -7px; right: calc(8% + 76px); }
  .pill--blue { width: 96px; bottom: -7px; }
  .window {
    border-radius: 8px;
  }
  .sites {
    padding-block: 44px 48px;
  }
  .section {
    padding-block: 56px 44px;
  }
  .shot-art {
    padding: 20px 16px;
    min-height: 0;
  }
  .gold {
    padding: var(--space-5);
  }
  .footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .cv-table th,
  .cv-table td {
    padding-inline: 12px;
  }
  .cv-table td:first-child {
    white-space: normal;
  }
  .cta,
  .cta .cv-btn-lg {
    width: 100%;
  }
  .cta-row {
    width: 100%;
  }
}

/* ---------- Utility pieces ---------- */

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* 404 */
.lost {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding-block: 48px;
}

.lost__box {
  display: grid;
  justify-items: start;
  gap: 24px;
  max-width: 640px;
}

.lost__box img {
  width: 72px;
  height: 72px;
}
