  :root {
    --glass: #0E0F11;
    --glass-deep: #26282C;
    --ink: #EDE9E0;
    --ink-soft: #A3A199;
    --penny: #F2B84B;
    --penny-dark: #D9713A;
    --brass: #F2B84B;
    --paper: #17191C;
    --mono: ui-monospace, "Cascadia Mono", "JetBrains Mono", Consolas, monospace;
    --font: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  }
  * { box-sizing: border-box; }
  html { background: var(--glass); }
  body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--glass);
    line-height: 1.5;
    font-size: 18px;
  }
  a { color: var(--penny); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
  a:focus-visible, button:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
  .wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }

  header.top { display: flex; justify-content: center; padding: 1.5rem 0 0; }
  .wordmark { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
  .wordmark span { color: var(--penny); }
  nav a { font-family: var(--mono); font-size: 0.9rem; text-decoration: none; }
  nav a:hover { text-decoration: underline; }
  nav a { margin-left: 1.5rem; font-weight: 600; }

  .hero { padding: 5rem 0 4rem; text-align: center; display: grid; justify-items: center; gap: 1.25rem; }
  .hero h1 {
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.035em;
    margin: 0;
    max-width: 14ch;
    font-variation-settings: "opsz" 96;
  }
  .hero p { font-size: 1.25rem; max-width: 30rem; margin: 0; color: var(--ink-soft); }
  .hero .jar-art { margin: 2rem 0 0; }
  .jar-art svg { width: 11rem; height: auto; display: block; }
  .tally-line { font-family: var(--mono); font-size: 0.95rem; color: var(--ink-soft); }
  .tally-line b { color: var(--penny); font-size: 1.2rem; }
  .cta {
    display: inline-block; margin-top: 0.5rem; padding: 0.7rem 1.4rem; border-radius: 999px;
    background: var(--ink); color: var(--glass); text-decoration: none; font-weight: 600;
  }
  .cta:hover { background: var(--penny); }


  .jar-art { display: grid; gap: 0.75rem; justify-items: start; }
  .jar-art svg { width: min(100%, 18rem); height: auto; display: block; }

  section { padding: 4rem 0; max-width: 40rem; margin: 0 auto; }
  section#how { border-top: 1px solid var(--glass-deep); }
  h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 1.25rem; }
  section p { margin: 0 0 1rem; color: var(--ink-soft); }
  .note { font-family: var(--mono); font-size: 0.85rem; margin-top: 1rem; }
  .steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1rem; }
  .steps li { counter-increment: step; display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.75rem; align-items: start; color: var(--ink); }
  .steps li::before {
    content: counter(step);
    display: inline-grid; place-items: center;
    width: 2.2rem; height: 2.2rem; border-radius: 50%;
    background: var(--penny); color: var(--glass);
    font-weight: 800; font-family: var(--mono); font-size: 0.9rem;
  }
  .steps strong { display: block; font-size: 1.2rem; margin-bottom: 0.25rem; }
  .steps p { margin: 0; color: var(--ink-soft); }

  .receipt {
    background: var(--paper);
    border-radius: 4px;
    padding: 1.5rem;
    font-family: var(--mono);
    font-size: 0.92rem;
    line-height: 1.6;
    border: 1px solid var(--glass-deep);
    white-space: pre;
    overflow-x: auto;
    margin: 0;
  }
  .receipt .k { color: var(--penny); }
  .receipt .del { text-decoration: line-through; color: #C25A3C; }
  .receipt .add { background: #3A2F12; color: #F8E7B0; }
  .prose { max-width: 38rem; }
  .prose p { margin: 0 0 1rem; }
  .price { display: flex; gap: 0.25rem; align-items: baseline; flex-wrap: wrap; font-weight: 600; }
  .price { color: var(--ink); }
  .price b { font-size: 2.4rem; font-weight: 800; color: var(--penny); letter-spacing: -0.03em; }
  .price small { font-family: var(--mono); font-size: 0.85rem; }
  .price small { color: var(--ink-soft); font-weight: 400; }


  footer { padding: 3rem 0 4rem; max-width: 40rem; margin: 0 auto; border-top: 2px solid var(--glass-deep); color: var(--ink-soft); font-size: 0.9rem; font-family: var(--mono); }
  footer p { margin: 0 0 0.5rem; }

  @media (max-width: 720px) {
    body { font-size: 17px; }
    nav a { margin-left: 1rem; }
  }
  @media (prefers-reduced-motion: no-preference) {
    .jar-art .coin-in { animation: drop 0.7s cubic-bezier(.2,.9,.3,1.2) 0.3s both; }
    @keyframes drop { from { transform: translateY(-2.5rem); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
  }

  .legal { max-width: 40rem; padding: 3rem 0 4rem; }
  .legal h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 0.5rem; }
  .legal h2 { font-size: 1.4rem; margin: 2rem 0 0.5rem; }
  .legal p, .legal li { margin: 0 0 0.75rem; }
  .legal .date { color: var(--ink-soft); margin-bottom: 2rem; }
  footer a { margin-right: 1.25rem; }
