:root {
    --room: #0f2a24;
    --room-deep: #081b17;
    --paper: #fffdf8;
    --paper-soft: #f5f0e6;
    --ink: #17211d;
    --ink-soft: #66716a;
    --tomato: #c4362f;
    --cobalt: #1f5d7a;
    --brass: #c89d3f;
    --line: #d9d0bf;
    --wash: #f9f4ea;
    --shadow: 0 24px 70px rgba(4, 18, 15, 0.28);
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --room: #071815;
      --room-deep: #04100e;
      --paper: #171d1a;
      --paper-soft: #202823;
      --ink: #f4efe5;
      --ink-soft: #b8b0a2;
      --tomato: #f26b5e;
      --cobalt: #7ab8d6;
      --brass: #d7b768;
      --line: #39433d;
      --wash: #212a25;
      --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    }
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    min-height: 100vh;
    background:
      radial-gradient(circle at 18% 0%, rgba(200, 157, 63, 0.22), transparent 38%),
      var(--room);
    color: var(--ink);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    padding: 24px 14px 40px;
  }

  a { color: inherit; }

  .sheet {
    width: min(100%, 780px);
    margin: 0 auto;
    background: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: var(--shadow);
  }

  .kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tomato);
  }

  .cover {
    padding: clamp(34px, 7vw, 60px) clamp(20px, 6vw, 56px) clamp(26px, 5vw, 40px);
    border-bottom: 1px solid var(--line);
  }

  .wordmark {
    margin-top: 12px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(3rem, 9vw, 4.6rem);
    font-weight: 700;
    line-height: 0.94;
  }

  .wordmark .dot { color: var(--tomato); }

  .tagline {
    margin-top: 16px;
    max-width: 17em;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.3rem, 4vw, 1.9rem);
    font-weight: 400;
    line-height: 1.12;
  }

  .intro {
    margin-top: 18px;
    max-width: 36rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
  }

  .intro b { color: var(--ink); font-weight: 600; }

  /* face slot styles kept even while the figure ships commented out */
  .face {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .face img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--line);
  }

  .supply {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 22px;
    color: var(--cobalt);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .menu {
    padding: clamp(26px, 6vw, 46px) clamp(20px, 6vw, 56px);
    border-bottom: 1px solid var(--line);
  }

  .menu-head { margin-bottom: 8px; }

  .menu-head h2 {
    margin-top: 6px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.9rem, 6vw, 2.8rem);
    font-weight: 700;
    line-height: 1;
  }

  .menu-head p {
    margin-top: 10px;
    max-width: 34rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
  }

  .rung {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px dotted var(--line);
  }

  .rung:first-of-type { margin-top: 18px; }

  .rung-step {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cobalt);
  }

  .rung-top {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 8px;
  }

  .rung-name {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 700;
    line-height: 1.05;
  }

  .leader {
    flex: 1;
    min-width: 18px;
    border-bottom: 2px dotted var(--line);
    transform: translateY(-0.28em);
  }

  .price {
    color: var(--tomato);
    font-size: 1.05rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .price .per {
    color: var(--ink-soft);
    font-size: 0.78em;
    font-weight: 700;
  }

  .rung-outcome {
    margin-top: 10px;
    max-width: 36rem;
    font-size: 0.97rem;
  }

  .rung-meta {
    margin-top: 12px;
    display: grid;
    gap: 6px;
    max-width: 36rem;
  }

  .rung-meta div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    font-size: 0.88rem;
    color: var(--ink-soft);
  }

  .rung-meta dt,
  .rung-meta .k {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cobalt);
    padding-top: 0.22em;
  }

  .rung-meta .teeth { color: var(--ink); }

  .rung-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 150ms ease-out, background-color 150ms ease-out, color 150ms ease-out;
  }

  .btn.primary {
    background: var(--tomato);
    border-color: var(--tomato);
    color: #fffdf8;
  }

  .btn.quiet { color: var(--ink); }

  .note {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--ink-soft);
  }

  .receipts {
    padding: clamp(26px, 6vw, 46px) clamp(20px, 6vw, 56px);
    background: var(--wash);
    border-bottom: 1px solid var(--line);
  }

  .receipts h2 {
    margin-top: 6px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 700;
  }

  .receipt-list { margin-top: 14px; }

  .receipt {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 14px;
    padding: 12px 0;
    border-bottom: 1px dotted var(--line);
    text-decoration: none;
  }

  .receipt:last-child { border-bottom: 0; }

  .receipt .r-name {
    font-weight: 600;
    font-size: 0.95rem;
  }

  .receipt .r-date {
    color: var(--cobalt);
    font-size: 0.78rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    align-self: start;
    padding-top: 0.2em;
  }

  .receipt .r-desc {
    grid-column: 1 / -1;
    color: var(--ink-soft);
    font-size: 0.86rem;
  }

  .receipts .fineprint {
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--ink-soft);
  }

  .betabar {
    padding: 18px clamp(20px, 6vw, 56px);
    background: var(--room);
    color: rgba(255, 253, 248, 0.92);
    font-size: 0.88rem;
  }

  .betabar b { color: #fffdf8; }

  .betabar a {
    color: #fffdf8;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  footer {
    padding: 30px clamp(20px, 6vw, 56px) 38px;
    background: var(--paper);
  }

  .motto {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-style: italic;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 0.88rem;
  }

  .footer-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 4px;
    transition: color 150ms ease-out, text-decoration-color 150ms ease-out;
  }

  .builtby {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--ink-soft);
  }

  .builtby a { color: inherit; }

  a:focus-visible,
  .btn:focus-visible {
    outline: 3px solid var(--brass);
    outline-offset: 3px;
  }

  @media (hover: hover) {
    .btn:hover { transform: translateY(-2px); }
    .btn.quiet:hover { background: var(--wash); }
    .footer-links a:hover,
    .receipt:hover .r-name {
      color: var(--tomato);
      text-decoration-color: var(--tomato);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
    html { scroll-behavior: auto; }
  }

  @media (max-width: 560px) {
    body { padding: 10px 8px 28px; }
    .rung-top { flex-wrap: wrap; }
    .leader { display: none; }
    .rung-meta div { grid-template-columns: 1fr; gap: 2px; }
    .btn { width: 100%; justify-content: center; }
  }

.no-top-margin{margin-top:0}
