/* Vantage Point — shared theme for the secondary pages (privacy, terms, support, thanks, confirmed, 404).
   Tokens mirror index.html; the landing page keeps its own inline styles. */
:root {
  color-scheme: light dark;
  --measure: 62rem;
  --measure-text: 46rem;

  --bg: #fffdfb;
  --fg: #1b1a19;
  --muted: #6c6862;
  --line: #e8e3dc;
  --card: #f7f4ef;
  --card-2: #fdf6ec;

  --now: #1668c4;        /* cool — the new photo */
  --then: #b96a1f;       /* warm — the old photo */
  --teal: #0d8a7d;
  --plum: #8a4f9e;
  --link: var(--now);
  --accent: var(--now);

  /* the app icon's twilight: indigo over mauve over apricot, cream mark */
  --indigo: #1f2c5f; --mauve: #54466b; --apricot: #c17253; --cream: #f8f0e6;
  --gold: #e2a459;

  --broth: #C08A1E;   /* Bob's Noodle Factory signature */
  --band-fg: #f6f2ec;
  --band-muted: #cfc7bd;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171b; --fg: #f1efec; --muted: #9b968f; --line: #32353b;
    --card: #1e2126; --card-2: #241f1a;
    --now: #58a6f0; --then: #e2a459; --teal: #33bdad; --plum: #b986cc;
    --broth: #E3B04B;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0; color: var(--fg); background: var(--bg);
}
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: var(--measure-text); }
a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); font-weight: 650; margin: 2.6rem 0 .7rem; scroll-margin-top: 1.5rem; }
h3 { font-size: 1.08rem; font-weight: 650; margin: 1.8rem 0 .4rem; }
p  { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; margin: 0 0 1rem; }
li { margin: .45rem 0; }
li::marker { color: var(--muted); }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- the band: the icon's twilight over every secondary page ---------- */
.band {
  color: var(--band-fg);
  background: linear-gradient(180deg, var(--indigo) 0%, #33355f 34%, var(--mauve) 60%, #8f5f5f 82%, var(--apricot) 100%);
  padding: 1.4rem 0 2.6rem;
}
.band a { color: var(--band-fg); }
.band .lede { color: var(--band-muted); max-width: var(--measure-text); }
.band .kicker { color: var(--gold); }
.band .meta { color: var(--band-muted); font-size: .9rem; margin: 1rem 0 0; }
.band h1 { max-width: 34rem; margin: 0 0 .9rem; }
.topnav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 650; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.topnav .links { display: flex; gap: .2rem; flex-wrap: wrap; }
.topnav .links a {
  text-decoration: none; font-size: .92rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px;
  color: rgba(246,242,236,.85); border: 1px solid transparent;
}
.topnav .links a:hover { background: rgba(246,242,236,.12); color: var(--band-fg); }
.topnav .links a[aria-current="page"] { border-color: rgba(226,164,89,.5); background: rgba(226,164,89,.13); color: var(--gold); }
.kicker { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin: 0 0 .8rem; color: var(--accent); }

/* ---------- page body ---------- */
main { padding: 2.5rem 0 1rem; }
.card { border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem 1.5rem; background: var(--card); margin: 0 0 1.5rem; }
.card > :last-child { margin-bottom: 0; }
.card.accent { border-left: 4px solid var(--accent); }
.card.teal { border-left: 4px solid var(--teal); }
.card.then { border-left: 4px solid var(--then); }
.card h2 { margin-top: 0; font-size: 1.15rem; }
.card h3 { margin-top: 0; }
.short { margin-top: -.25rem; }
.short strong { color: var(--fg); }

.toc { font-size: .95rem; margin: 0 0 2rem; }
.toc p { margin: 0 0 .35rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.4rem; columns: 2; column-gap: 2rem; }
.toc li { margin: .25rem 0; break-inside: avoid; }
.toc a { color: var(--fg); text-decoration: none; }
.toc a:hover { color: var(--link); text-decoration: underline; }
@media (max-width: 40rem) { .toc ol { columns: 1; } }

.legal h2 { padding-top: .5rem; }
.legal h2 .num { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; margin-right: .5rem; }
dl.perm { margin: 0 0 1.25rem; }
dl.perm dt { font-weight: 650; margin-top: .9rem; }
dl.perm dd { margin: .2rem 0 0; color: var(--fg); }
dl.perm dd .why { color: var(--muted); }

.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 0 0 1.5rem; }
.grid .card { margin: 0; border-top: 3px solid var(--c, var(--line)); }
.grid .card .tag { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c, var(--muted)); font-weight: 700; margin-bottom: .5rem; }
.grid .card p { font-size: .97rem; color: var(--muted); }
.grid .card p:last-child { margin-bottom: 0; }
.btn {
  font: inherit; font-weight: 600; padding: .65rem 1.1rem; border: 0;
  border-radius: 10px; background: var(--c, var(--now)); color: #fff;
  cursor: pointer; text-decoration: none; display: inline-block;
}
.btn:hover { filter: brightness(1.1); }

details { border: 1px solid var(--line); border-radius: 12px; padding: .2rem 1.1rem; margin: 0 0 .7rem; background: var(--bg); }
details[open] { background: var(--card); }
summary { cursor: pointer; font-weight: 650; padding: .7rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 600; font-size: 1.2rem; line-height: 1; flex: none; }
details[open] summary::after { content: "–"; }
details > :not(summary) { margin-top: 0; }
details p:last-child, details ul:last-child { margin-bottom: 1rem; }

.tf { display: flex; align-items: center; gap: .9rem; margin: 1.5rem 0 0;
      padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.tf svg { width: 46px; height: 46px; flex: none; border-radius: 11px; }
.tf p { margin: 0; font-size: .93rem; color: var(--muted); }
.tf strong { color: var(--fg); display: block; font-size: 1rem; }
.shot-fig { margin: 2rem 0 0; }
.shot-fig img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.shot-fig figcaption { font-size: .86rem; color: var(--muted); margin-top: .6rem; }
.sig { margin: 1.5rem 0 0; }

/* ---------- footer ---------- */
footer { margin-top: 3rem; padding: 2.25rem 0 3.5rem; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
footer a { color: var(--muted); }
footer nav { margin-bottom: .9rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.brandline img { vertical-align: -5px; margin-right: .4rem; }
.colophon {
  display: flex; align-items: center; gap: .9rem;
  margin-top: 1.6rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.bnf-seal { width: 48px; height: 48px; flex: none; color: var(--muted); --g: var(--broth); opacity: .9; }
.colophon p { margin: 0; font-size: .82rem; line-height: 1.45; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .band { background: none; color: #000; padding: 0 0 1rem; border-bottom: 1px solid #999; }
  .band a, .band .lede, .band .meta, .band .kicker { color: #000; }
  .topnav .links, .toc, footer nav, .colophon { display: none; }
  body { font-size: 11pt; }
  a { color: inherit; text-decoration: none; }
}
