/* The app's own palette and typefaces, so the site and the product look like
   one thing. Fonts are served from here rather than from Google Fonts: a
   privacy policy that promises no third party sees you cannot be delivered by
   a page that hands your IP address to one to fetch a typeface.

   Subset and converted by tool/build_site_fonts.sh: the .ttf files the app
   bundles are 587 KB together, which would be most of this page. Do not point
   these at assets/fonts directly. */
@font-face { font-family: Lato; src: url(fonts/Lato-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Lato; src: url(fonts/Lato-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Roboto; src: url(fonts/Roboto-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Roboto; src: url(fonts/Roboto-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: RobotoMono; src: url(fonts/RobotoMono-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --bg: #F7F2EA;
  --bg-alt: #F0E8DC;
  --surface: #FFFFFF;
  --line: #E7DFD2;
  --line-strong: #D3C7B4;
  --ink: #17191C;
  --ink-soft: #575E68;
  --ink-faint: #8E949D;
  --accent: #C8412B;
  --accent-soft: #F7E5E0;
  --on-accent: #FFF8F3;
  --gold: #9C7736;
  --measure: 34rem;
  --gap: 1.5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121316; --bg-alt: #17191D; --surface: #1C1F24;
    --line: #2A2E35; --line-strong: #3C424B;
    --ink: #F2EDE4; --ink-soft: #A7ADB6; --ink-faint: #757C86;
    --accent-soft: #2A1C19;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 Roboto, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--measure); margin: 0 auto; padding-inline: 1.25rem; }

/* ---- Header ------------------------------------------------------------ */
header { border-bottom: 1px solid var(--line); background: var(--bg); }
header .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 1.1rem; }
.wordmark {
  font: 700 1.35rem/1 Lato, Georgia, serif;
  letter-spacing: -0.015em; color: var(--ink); text-decoration: none;
}
.wordmark span { color: var(--accent); }
header nav a {
  color: var(--ink-soft); text-decoration: none; margin-left: 1.1rem; font-size: 0.95rem;
}
header nav a:hover { color: var(--accent); }

/* ---- Type -------------------------------------------------------------- */
h1, h2, h3 { font-family: Lato, Georgia, serif; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 8vw, 3rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); margin: 2.75rem 0 0.75rem; }
h3 { font-size: 1.12rem; margin: 1.75rem 0 0.4rem; }
p { margin: 0 0 1rem; color: var(--ink-soft); }
h1 + p.lead { font-size: 1.16rem; color: var(--ink-soft); }
a { color: var(--accent); }
strong { color: var(--ink); font-weight: 500; }

.eyebrow {
  font: 400 0.75rem/1 RobotoMono, ui-monospace, monospace;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 0.85rem;
}

/* ---- Blocks ------------------------------------------------------------ */
main { padding-block: 2.5rem 4rem; }
.hero { padding-block: 1rem 0.5rem; }

.price {
  display: flex; align-items: baseline; gap: 0.65rem; flex-wrap: wrap;
  margin: 1.75rem 0;
  padding: 1.15rem 1.25rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
}
.price b { font: 700 1.9rem/1 Lato, Georgia, serif; color: var(--ink); }
.price span { color: var(--ink-faint); font-size: 0.95rem; }

ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.25rem 0; }
ol.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 1.1rem 2.6rem; color: var(--ink-soft);
}
ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -0.1rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font: 400 0.9rem/1.8rem RobotoMono, monospace; text-align: center;
}
ol.steps b { display: block; color: var(--ink); font-weight: 500; }

table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.97rem; }
th, td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-faint); font-weight: 500; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
td { color: var(--ink-soft); }
td:first-child { color: var(--ink); }

.note {
  border-left: 3px solid var(--gold); background: var(--bg-alt);
  padding: 0.9rem 1.1rem; border-radius: 0 10px 10px 0; margin: 1.5rem 0;
  font-size: 0.95rem; color: var(--ink-soft);
}
.note b { color: var(--ink); }

dl dt { color: var(--ink); font-weight: 500; margin-top: 1.1rem; }
dl dd { margin: 0.2rem 0 0; color: var(--ink-soft); }

/* ---- Footer ------------------------------------------------------------ */
footer {
  border-top: 1px solid var(--line); margin-top: 3.5rem;
  padding-block: 1.75rem 2.5rem; font-size: 0.9rem; color: var(--ink-faint);
}
footer nav { margin-bottom: 0.9rem; }
footer nav a { color: var(--ink-soft); text-decoration: none; margin-right: 1.1rem; }
footer nav a:hover { color: var(--accent); }
footer p { color: var(--ink-faint); font-size: 0.86rem; margin: 0.3rem 0; }

.updated { font-family: RobotoMono, monospace; font-size: 0.78rem; color: var(--ink-faint); }
