/* ==========================================================================
   Design tokens ported from the 10Secs app (see DESIGN.md / DesignSystem.swift
   in the app repo). Same warm sunset world: LightBackdrop ground, one
   near-black ink, coral accent, softGlow pills, film grain over everything.
   ========================================================================== */

@font-face {
  font-family: "MiniMochi";
  src: url("assets/fonts/TMT-MiniMochiVF.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "ChatFavour";
  src: url("assets/fonts/ChatFavour.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "GeistPixel";
  src: url("assets/fonts/GeistPixel-Regular-VariableFont_ELSH.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* -- color: the one-ink rule -- */
  --ember-clay: #1a1817;      /* near-black ink, everywhere */
  --sunset-coral: #e8735c;    /* accent: kickers, tints, hover */
  --warm-cream: #f3eadb;
  --warm-sand: #d8c6ac;
  --dusk-blue: #7fa8ce;

  --on-backdrop: #1a1817;
  --on-backdrop-secondary: #524e4a;

  --card-surface: #fffefc;
  --card-ink: #1a1817;
  --card-ink-secondary: #7a756f;
  --card-hairline: #ebe6e0;
  --card-inset: #f5f2ee;

  --sheet-bg: #1a1714;

  /* -- radius (AppRadius) -- */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;

  /* -- spacing (AppSpacing) -- */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 12px;
  --sp-lg: 16px;
  --sp-xl: 20px;
  --sp-xxl: 24px;
  --gutter: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--on-backdrop);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #f2edea;
  position: relative;
}

/* LightBackdrop: the home sunrise aired out to near-white — cool sky top,
   coral bloom low in the frame, periwinkle base. Painted on a fixed
   pseudo-element rather than background-attachment: fixed, which iOS
   Safari doesn't support (the backdrop would repaint/jump on scroll). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(120% 85% at 50% 72%, rgba(232, 115, 92, 0.14) 0%, rgba(232, 115, 92, 0.05) 45%, transparent 72%),
    linear-gradient(180deg, #dce8f4 0%, #f2edea 34%, #f7e7de 62%, #f4dbcf 86%, #e8e3f0 100%);
  background-size: 100% 140%;
  background-position: center top;
  animation: driftBackdrop 32s ease-in-out infinite alternate;
}

/* A near-imperceptible drift in the backdrop so the page never feels frozen. */
@keyframes driftBackdrop {
  from { background-position: center top; }
  to { background-position: center 14%; }
}

/* Film grain — a whisper of texture over every screen, per DESIGN.md §3.
   Jittered on a stepped timer rather than held static, so it reads like
   the flicker of actual film grain instead of a printed texture. */
body::after {
  content: "";
  position: fixed;
  inset: -10%;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
  z-index: 999;
  animation: grainFlicker 1s steps(2) infinite;
}
@keyframes grainFlicker {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-2%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* ---------- scroll-reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
.no-js [data-reveal] { opacity: 1; transform: none; }

/* The nth-child stagger delays below exist for the reveal only — without
   this reset they also delay every hover transition on the later items. */
.step-row:hover, .feature:hover, .shot:hover { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none !important; }
  [data-reveal] { transition: none !important; opacity: 1 !important; transform: none !important; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- typography roles ---------- */
.eyebrow, .kicker {
  font-family: "GeistPixel", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sunset-coral);
}
.font-logo { font-family: "MiniMochi", system-ui, sans-serif; }
.font-script { font-family: "ChatFavour", cursive; }
.font-heavy {
  font-family: -apple-system, system-ui, sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  letter-spacing: -0.01em;
}
.font-caps {
  font-family: -apple-system, system-ui, sans-serif;
  font-weight: 700;
  font-stretch: expanded;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* ---------- nav ---------- */
nav.top {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 28px 0;
  background: transparent;
  box-shadow: none;
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
nav.top.scrolled {
  padding: 14px 0;
  background: rgba(247, 242, 238, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 rgba(26, 24, 23, 0.06), 0 12px 28px rgba(26, 24, 23, 0.06);
}
nav.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ember-clay);
  transition: transform 0.15s ease;
  padding: 8px 0;
}
.brand:hover { transform: translateY(-1px); }
.brand img {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  display: block;
  box-shadow: 0 2px 6px rgba(26, 24, 23, 0.16), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  transition: transform 0.2s ease;
}
.brand:hover img { transform: rotate(-6deg); }
.brand span {
  font-family: "MiniMochi", system-ui, sans-serif;
  font-size: 20px;
}
nav.top a.back {
  font-family: "GeistPixel", monospace;
  color: var(--card-ink-secondary);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* 44px tap target without shifting the layout */
  padding: 14px 0 14px 14px;
}
nav.top a.back:hover { color: var(--sunset-coral); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: "GeistPixel", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--card-ink-secondary);
  padding: 14px 10px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--sunset-coral); }

/* The persistent conversion path: the same softGlow capsule at nav scale,
   with the card-strength shadow so it floats without shouting. */
.cta--nav {
  font-size: 11px;
  letter-spacing: 0.06em;
  gap: 6px;
  padding: 10px 16px;
  min-height: 40px;
  white-space: nowrap;
  box-shadow:
    inset 0 -5px 4px -2px rgba(0, 0, 0, 0.22),
    0 6px 12px rgba(58, 42, 30, 0.2),
    0 2px 3px rgba(58, 42, 30, 0.14);
}
.cta--nav:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 -5px 4px -2px rgba(0, 0, 0, 0.22),
    0 8px 16px rgba(58, 42, 30, 0.24),
    0 3px 5px rgba(58, 42, 30, 0.16);
}
.cta--nav:active {
  transform: scale(0.97);
  box-shadow:
    inset 0 -5px 4px -2px rgba(0, 0, 0, 0.22),
    0 4px 8px rgba(58, 42, 30, 0.16),
    0 1px 2px rgba(58, 42, 30, 0.1);
}

@media (max-width: 639px) {
  .nav-links { display: none; }
  .nav-actions { gap: 0; }
  nav.top { padding: 14px 0; }
  nav.top.scrolled { padding: 10px 0; }
}

/* Anchor targets land clear of the sticky nav. */
#cameras, #how { scroll-margin-top: 84px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 56px 0 72px;
  text-align: center;
}

/* Staggered entrance on load — each hero element fades/rises in turn
   rather than the whole hero appearing as one static block. */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .kicker,
.hero .mark,
.hero .wordmark,
.hero .tagline,
.hero .cta {
  opacity: 0;
  animation: heroIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero .kicker  { animation-delay: 0.05s; }
.hero .mark    { animation-delay: 0.15s; }
.hero .wordmark{ animation-delay: 0.25s; }
.hero .tagline { animation-delay: 0.35s; }
.hero .cta     { animation-delay: 0.5s; }

.kicker { margin: 0 0 28px; }
.mark-wrap {
  width: 64px;
  margin: 0 auto 24px;
  animation: markFloat 6s ease-in-out 1s infinite;
}
@keyframes markFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.mark {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  margin: 0;
  display: block;
  box-shadow:
    0 14px 28px rgba(26, 24, 23, 0.14),
    0 3px 8px rgba(26, 24, 23, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
}
h1.wordmark {
  font-family: "MiniMochi", system-ui, sans-serif;
  font-weight: 400;
  font-size: 52px;
  color: var(--ember-clay);
  letter-spacing: 0.01em;
  margin: 0 0 18px;
}
.tagline {
  font-family: "ChatFavour", cursive;
  font-size: 24px;
  line-height: 1.45;
  color: var(--on-backdrop-secondary);
  margin: 0 auto 40px;
  max-width: 380px;
}

/* softGlow capsule — the app's real PrimaryButtonStyle (see AppButtonStyle.swift):
   a white capsule, near-black ink, no border. The float comes from a broad warm-brown
   ambient shadow + a tighter contact shadow (SoftGlow.shadowColor #3A2A1E), and the
   rounded, top-lit read comes from a dark band pooled along the bottom-left interior
   edge (the SVG-matched inner shadow) — not a hard offset "sticker" shadow. */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ember-clay);
  font-family: -apple-system, system-ui, sans-serif;
  font-weight: 700;
  font-stretch: expanded;
  text-transform: uppercase;
  letter-spacing: 0.085em;
  font-size: 13px;
  text-decoration: none;
  background: var(--card-surface);
  padding: 18px 30px;
  min-height: 52px;
  border-radius: 999px;
  box-shadow:
    inset 0 -7px 6px -3px rgba(0, 0, 0, 0.28),
    inset 0 -3px 3px rgba(0, 0, 0, 0.12),
    0 12px 18px rgba(58, 42, 30, 0.32),
    0 3px 5px rgba(58, 42, 30, 0.2);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 -7px 6px -3px rgba(0, 0, 0, 0.28),
    inset 0 -3px 3px rgba(0, 0, 0, 0.12),
    0 16px 26px rgba(58, 42, 30, 0.36),
    0 4px 7px rgba(58, 42, 30, 0.24);
}
.cta:active {
  transform: scale(0.97);
  box-shadow:
    inset 0 -7px 6px -3px rgba(0, 0, 0, 0.28),
    inset 0 -3px 3px rgba(0, 0, 0, 0.12),
    0 7px 11px rgba(58, 42, 30, 0.19),
    0 2px 3px rgba(58, 42, 30, 0.12);
}
/* Narrow phones: step the button down so "Start shooting on TestFlight"
   stays on one line instead of wrapping inside the pill. */
@media (max-width: 400px) {
  .cta:not(.cta--nav) {
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.05em;
    padding: 15px 18px;
    min-height: 46px;
    white-space: nowrap;
  }
}

/* ---------- screenshots ----------
   Raw device screenshots, not a fake phone mockup: each shot already
   carries the app's own chrome (status bar, and — on the camera shots —
   the hardware shell the app draws around its viewfinder), so wrapping
   them in a second, invented bezel just doubled up and read as fake.
   A device-proportioned corner radius + a soft shadow is enough to read
   as "a phone" without competing with what's already in the frame. */
.screenshots {
  position: relative;
  z-index: 1;
  padding: 0 0 64px;
}
.shots-wrap {
  max-width: 1080px;
  margin: 0 auto;
}
.shots-intro {
  text-align: center;
  padding: 0 var(--gutter);
  margin: 0 0 24px;
}
.shots-intro .eyebrow { margin: 0 0 8px; }
.shots-intro .shots-note {
  font-size: 14px;
  color: var(--on-backdrop-secondary);
  margin: 0;
}
.scroller {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--sp-xl);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  padding: 4px var(--gutter) 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }

.shot {
  flex: 0 0 auto;
  scroll-snap-align: center;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
}
/* .shot carries its own reveal + tilt transform together (rather than
   the generic [data-reveal] rule) so the two never fight over the
   transform property. */
.shot[data-reveal] {
  opacity: 0;
  transform: translateY(28px) rotate(0deg);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.shot[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) rotate(var(--tilt-active, 0deg));
}
.shot img {
  display: block;
  /* Phone range sizes off the viewport so a shot fills most of the width
     with the next card peeking in — the peek is the "this scrolls" cue.
     The width/height attributes on the img reserve the 750×1622 aspect
     box before the file loads, so the strip never reflows. */
  width: min(62vw, 230px);
  height: auto;
  border-radius: 30px;
  box-shadow:
    0 24px 50px rgba(26, 24, 23, 0.18),
    0 6px 14px rgba(26, 24, 23, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}
.shot figcaption {
  font-family: "GeistPixel", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--card-ink-secondary);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Enough room to lay all four out in one centered, non-scrolling row —
   sized so exactly four fit at the narrow end of this range, no wrap.
   Here (and only here) the shots scatter like prints spilled on a table:
   each card carries its own resting tilt via --tilt, set inline per
   figure, and straightens on hover to invite the click. */
@media (min-width: 820px) {
  .scroller {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    overflow-x: visible;
    padding: 4px var(--gutter) 20px;
  }
  .shot img { width: auto; height: 380px; }
  .shot { --tilt-active: var(--tilt, 0deg); }
  .shot[data-reveal].is-visible:hover {
    transform: translateY(-10px) rotate(0deg);
    z-index: 2;
  }
  .shot:hover img {
    transform: scale(1.035);
    box-shadow:
      0 30px 60px rgba(26, 24, 23, 0.22),
      0 10px 20px rgba(26, 24, 23, 0.14),
      0 0 0 1px rgba(255, 255, 255, 0.5);
  }
  .shot:hover figcaption { transform: translateY(2px); }
}
@media (min-width: 1200px) {
  .shot img { height: 440px; }
}

.shot:nth-child(1) { transition-delay: 0s; }
.shot:nth-child(2) { transition-delay: 0.08s; }
.shot:nth-child(3) { transition-delay: 0.16s; }
.shot:nth-child(4) { transition-delay: 0.24s; }

/* ---------- film-strip divider ---------- */
.film-strip {
  position: relative;
  z-index: 1;
  height: 10px;
  max-width: 200px;
  margin: 0 auto 48px;
  opacity: 0.5;
  background-image: radial-gradient(circle, var(--sunset-coral) 2px, transparent 2.2px);
  background-size: 18px 10px;
  background-repeat: repeat-x;
  background-position: center;
}

/* ---------- how it works: one grouped cardFace, rows split by hairline ----------
   DESIGN.md §9 is explicit: "One `.cardFace()` containing ... rows, split by
   full-width `appCardHairline` dividers; never three separately floating cards."
   The previous version here was three separate tilted, hard-bordered cards —
   exactly the pattern the app's own design doc calls out as wrong. */
.steps {
  position: relative;
  z-index: 1;
  padding: 8px 0 64px;
}
.steps-intro {
  text-align: center;
  margin: 0 0 32px;
}
.step-row {
  display: flex;
  gap: 20px;
  padding: 26px 24px;
  border-bottom: 1px solid var(--card-hairline);
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.step-row:last-child { border-bottom: none; }
.step-row:nth-child(1) { transition-delay: 0s; }
.step-row:nth-child(2) { transition-delay: 0.08s; }
.step-row:nth-child(3) { transition-delay: 0.16s; }
.step-row:hover {
  background: var(--card-inset);
  padding-left: 30px;
}
.step-num {
  flex: 0 0 auto;
  font-family: "GeistPixel", monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--sunset-coral);
  padding-top: 2px;
}
.step-row h3 {
  font-family: -apple-system, system-ui, sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: 16px;
  color: var(--card-ink);
  margin: 0 0 6px;
  transition: color 0.25s ease;
}
.step-row:hover h3 { color: var(--sunset-coral); }
.step-row p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--card-ink-secondary);
  margin: 0;
}
@media (max-width: 560px) {
  .step-row { gap: 14px; padding: 22px 20px; }
  .step-row:hover { padding-left: 26px; }
}

/* ---------- cardFace(): the app's real grouped-card surface ----------
   White fill, no border, `AppRadius.large` (20), and the *card*-scale
   SoftGlow float — tighter than the full-strength pill shadow so stacked
   cards' pools never overlap (SoftGlow.cardAmbient*/cardContact* in
   AppButtonStyle.swift) — plus a faint inner-shadow band (0.3 of the
   full pill strength) for the same rounded, top-lit read at low volume. */
.features {
  position: relative;
  z-index: 1;
  padding: 0 0 16px;
}
.card-face {
  background: var(--card-surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    inset 0 -5px 4px -2px rgba(0, 0, 0, 0.08),
    0 6px 12px rgba(58, 42, 30, 0.14),
    0 2px 3px rgba(58, 42, 30, 0.1);
}
.feature {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 24px;
  border-bottom: 1px solid var(--card-hairline);
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.feature:last-child { border-bottom: none; }
.feature:nth-child(1) { transition-delay: 0s; }
.feature:nth-child(2) { transition-delay: 0.08s; }
.feature:nth-child(3) { transition-delay: 0.16s; }
.feature:hover {
  background: var(--card-inset);
  padding-left: 30px;
}
.feature h3 {
  flex: 0 0 150px;
  font-family: "GeistPixel", monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--card-ink);
  margin: 0;
  transition: color 0.25s ease;
}
.feature:hover h3 { color: var(--sunset-coral); }
.feature p {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: var(--card-ink-secondary);
  margin: 0;
}
@media (max-width: 560px) {
  .feature { flex-direction: column; gap: 8px; padding: 22px 20px; }
  .feature h3 { flex: none; }
  .feature:hover { padding-left: 20px; }
}

/* ---------- closing CTA ---------- */
.closing {
  position: relative;
  z-index: 1;
  padding: 64px 0 48px;
  text-align: center;
}
.closing .tagline {
  margin: 0 auto 28px;
}

/* ---------- footer ---------- */
footer {
  position: relative;
  z-index: 1;
  padding: 32px 0 56px;
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer nav { display: flex; gap: 20px; }
footer a {
  font-family: "GeistPixel", monospace;
  color: var(--card-ink-secondary);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.04em;
}
footer a:hover { color: var(--sunset-coral); }
footer .copyright {
  font-family: "GeistPixel", monospace;
  color: var(--card-ink-secondary);
  font-size: 11px;
  opacity: 0.8;
}

/* ---------- legal pages (privacy / support) ---------- */
main.doc {
  position: relative;
  z-index: 1;
  padding: 24px 0 64px;
}
main.doc .doc-card {
  background: var(--card-surface);
  border-radius: var(--r-lg);
  padding: 40px 32px 8px;
  box-shadow:
    inset 0 -5px 4px -2px rgba(0, 0, 0, 0.08),
    0 6px 12px rgba(58, 42, 30, 0.14),
    0 2px 3px rgba(58, 42, 30, 0.1);
}
main.doc h1 {
  font-family: -apple-system, system-ui, sans-serif;
  font-weight: 800;
  font-stretch: expanded;
  font-size: 28px;
  color: var(--card-ink);
  margin: 0 0 8px;
}
main.doc .updated {
  font-family: "GeistPixel", monospace;
  color: var(--card-ink-secondary);
  font-size: 12px;
  margin: 0 0 36px;
}
main.doc h2 {
  font-family: "GeistPixel", monospace;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--card-ink);
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--card-hairline);
}
main.doc h2:first-of-type {
  padding-top: 0;
  border-top: none;
}
main.doc p, main.doc li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--card-ink-secondary);
}
main.doc strong { color: var(--card-ink); }
main.doc ul { padding-left: 20px; }
main.doc a { color: var(--card-ink); text-decoration: underline; }
main.doc a:hover { color: var(--sunset-coral); }
