/* Fuel Sniper - shared tokens.
   One accent (brand green), one neutral family, one radius scale:
   pill for interactive, 14px for panels, 10px for inputs. */
:root {
  color-scheme: light dark;
  --ink:      #14181c;
  --ink-soft: #5b6670;
  --ink-faint:#8a949d;
  --paper:    #ffffff;
  --paper-2:  #f5f6f5;
  --line:     #e3e6e4;
  --brand:    #1f6b47;
  --brand-ink:#ffffff;
  --cheap:    #17794a;
  --dear:     #b3402f;
  --r-panel: 14px;
  --r-input: 10px;
  --shell: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink:      #edf0ee;
    --ink-soft: #a3aeb3;
    --ink-faint:#7b868c;
    --paper:    #0e1113;
    --paper-2:  #16191b;
    --line:     #262b2e;
    --brand:    #4fbb84;
    --brand-ink:#07110c;
    --cheap:    #5fd08a;
    --dear:     #f08a7c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
}
h1, h2, h3 {
  font-family: "Bricolage Grotesque", ui-sans-serif, -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
a { color: inherit; }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 22px; }

/* Nav: one line, 64px */
.nav {
  height: 64px; display: flex; align-items: center; gap: 24px;
  border-bottom: 1px solid var(--line);
}
.nav .mark { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; text-decoration: none; }
.nav .spacer { flex: 1; }
.nav a.link { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.nav a.link:hover { color: var(--ink); }

/* Buttons: pill, one accent */
.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 13px 24px; border-radius: 999px; text-decoration: none;
  font-weight: 650; font-size: 16px; border: 1px solid transparent;
  transition: transform .18s cubic-bezier(.16,1,.3,1), background-color .18s, border-color .18s;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(.985); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-faint); }
.btn[aria-disabled="true"] { background: var(--paper-2); color: var(--ink-faint); pointer-events: none; border-color: var(--line); }

.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 14px; }
.lede { color: var(--ink-soft); max-width: 62ch; }

footer.site { border-top: 1px solid var(--line); margin-top: 96px; padding: 34px 0 60px; color: var(--ink-faint); font-size: 14px; }
footer.site a { color: var(--brand); text-decoration: none; }
footer.site .fnav { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
footer.site p { max-width: 76ch; line-height: 1.55; }

/* Scroll reveal. Fails open by design: anything already past the viewport is
   shown immediately, and everything is forced visible after 1.5s, because an
   unrun transition leaves opacity 0 forever and the page looks like it lost
   its images. */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.16,1,.3,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
