:root {
  color-scheme: light;
  --background: #f7f7f5;
  --surface: #ffffff;
  --text: #151515;
  --muted: #6b6b66;
  --line: #deded9;
  --red: #e72b22;
  --red-dark: #a91610;
  --focus: #2463eb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; background: var(--background); }
a { color: inherit; }
button, input { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--text); color: white; }
.skip-link:focus { top: 1rem; }
.page-shell { width: calc(100% - 2rem); max-width: 980px; min-width: 0; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) 0 3rem; }
.button-panel, .leaderboard { width: 100%; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.button-panel { padding: clamp(1.5rem, 5vw, 3.5rem); text-align: center; }
.status-line { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem; color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .12em; }
.live-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #21a453; box-shadow: 0 0 0 .25rem #21a45318; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: .65rem; font-size: clamp(2.1rem, 7vw, 4.5rem); line-height: 1; letter-spacing: -.06em; }
.rule { margin-bottom: 2.25rem; color: var(--muted); font-size: clamp(.95rem, 2.5vw, 1.1rem); }
.press-form { width: min(100%, 440px); margin: 0 auto; }
.current-price { display: flex; align-items: baseline; justify-content: center; gap: .75rem; margin-bottom: 1rem; }
.current-price span { color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .1em; }
.current-price output { font-size: 1.8rem; font-weight: 800; letter-spacing: -.04em; }
.terms-check { display: grid; grid-template-columns: 20px 1fr; gap: .65rem; align-items: start; width: min(100%, 390px); margin: 0 auto 1.25rem; text-align: left; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.terms-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); }
.the-button { display: grid; place-content: center; width: min(68vw, 250px); aspect-ratio: 1; margin: 0 auto 1.5rem; border: 7px solid #89140f; border-radius: 50%; color: white; background: radial-gradient(circle at 38% 28%, #ff665e 0 8%, var(--red) 33%, var(--red-dark) 74%); box-shadow: inset -12px -16px 0 #0002, inset 9px 9px 0 #fff2, 0 13px 0 #77110c, 0 18px 24px #0004; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.the-button:hover { transform: translateY(-2px); }
.the-button:active, .the-button.is-pressed { transform: translateY(10px); box-shadow: inset -8px -10px 0 #0003, 0 3px 0 #77110c, 0 7px 12px #0004; }
.the-button:disabled { filter: grayscale(.65); cursor: wait; }
.the-button span { font-size: clamp(1.65rem, 7vw, 2.2rem); font-weight: 900; line-height: 1; }
.the-button b { margin-top: .35rem; font-size: 1rem; }
.checkout-status { min-height: 1.25rem; margin-bottom: .75rem; color: var(--muted); font-size: .8rem; font-weight: 650; }
.optional-fields { border-top: 1px solid var(--line); text-align: left; }
.optional-fields summary { padding: 1rem 0; color: var(--muted); cursor: pointer; font-size: .82rem; font-weight: 700; }
.optional-fields summary span { font-weight: 450; }
.field-grid { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: .75rem; padding-bottom: 1rem; }
.field-grid label { color: var(--muted); font-size: .78rem; font-weight: 700; }
.field-grid input { min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: .7rem .8rem; background: white; }
input:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.stats { display: flex; justify-content: center; gap: clamp(2rem, 10vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.stats p { display: grid; gap: .2rem; margin-bottom: 0; }
.stats strong { font-size: 1.45rem; }
.stats span { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.fine-print { width: min(100%, 600px); margin: 1.5rem auto 0; color: var(--muted); font-size: .7rem; line-height: 1.45; }

.leaderboard { margin-top: 1.25rem; overflow: hidden; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin-bottom: 0; font-size: 1.35rem; letter-spacing: -.03em; }
.section-heading span { color: var(--muted); font-size: .75rem; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; }
table { width: 100%; min-width: 600px; border-collapse: collapse; text-align: left; }
th, td { padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
td { font-size: .88rem; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafaf8; }
td:first-child { width: 90px; font-weight: 800; }
td:last-child { width: 110px; font-weight: 750; }
.leaderboard-link { color: inherit; text-decoration: none; }
.leaderboard-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.empty-row td { padding: 2.5rem 1.5rem; color: var(--muted); text-align: center; font-weight: 500; }

footer { width: calc(100% - 2rem); max-width: 980px; margin: 0 auto; padding: 0 0 2.5rem; }
footer nav { display: flex; justify-content: center; gap: 1.25rem; color: var(--muted); font-size: .72rem; }

.legal-page { width: calc(100% - 2rem); max-width: 760px; margin: 0 auto; padding: 4rem 0 7rem; }
.legal-page h1 { margin-bottom: 2.5rem; font-size: clamp(2.5rem, 9vw, 5rem); }
.legal-page h2 { margin-top: 2.2rem; font-size: 1.05rem; }
.legal-page p, .legal-page li { color: #343431; font-size: 1rem; line-height: 1.65; }
.legal-back { display: inline-block; margin-bottom: 3rem; color: var(--muted); font-size: .8rem; }
.certificate { padding: clamp(1.5rem, 6vw, 4rem); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-align: center; }
.cert-kicker { color: var(--muted); font-size: .7rem; letter-spacing: .14em; }
.cert-number { margin: 1rem 0; color: var(--red); font-size: clamp(4rem, 20vw, 9rem); font-weight: 900; line-height: .9; }
.certificate h2 { font-size: clamp(1.8rem, 7vw, 3.5rem); }
.cert-message { margin: 1.5rem auto; font-size: 1.1rem; }
.share-row { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.share-row button { min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: .7rem 1rem; background: white; cursor: pointer; }

@media (max-width: 560px) {
  .page-shell { width: calc(100% - 1rem); padding-top: .5rem; }
  .button-panel, .leaderboard { border-radius: 12px; }
  .button-panel { padding-inline: 1rem; }
  .field-grid { grid-template-columns: 1fr; gap: .35rem; }
  .field-grid input { margin-bottom: .4rem; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}

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