:root {
  --paper: #eee9df;
  --surface: #f8f5ee;
  --ink: #2b2a27;
  --ink-2: #4a463f;
  --yellow: #fadd7c;
  --mint: #8be4b6;
  --dark: #111;
  --c0: #c9f07a; --c1: #fa9387; --c4: #fadd7c;
  --bw: 2px;
  --r: 6px; --r-lg: 10px;
  --sh-sm: 2px 2px 0 #3a3833;
  --sh: 4px 4px 0 #3a3833;
  --sh-lg: 6px 6px 0 #3a3833;
  --font: -apple-system, BlinkMacSystemFont, "Inter Variable", "Inter", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: var(--r); font-weight: 800; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); }

/* Header */
.top { display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top) + 10px) 16px 10px; border-bottom: var(--bw) solid var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.wordmark { font-size: 20px; font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--surface); border: var(--bw) solid var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: var(--bw) solid var(--ink); border-radius: 999px; box-shadow: var(--sh-sm); font: 700 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.pill-mint { background: var(--mint); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 18px; background: var(--surface); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); font-weight: 800; font-size: 17px; text-decoration: none; transition: transform .08s, box-shadow .08s; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #3a3833; }
.btn-yellow { background: var(--yellow); }
.btn-dark { background: var(--dark); color: var(--surface); }
.btn-big { min-height: 60px; padding: 14px 24px; font-size: 19px; box-shadow: var(--sh-lg); }

/* Layout */
main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
main > section { margin-top: 48px; }
h2 { font-size: clamp(26px, 6.5vw, 40px); font-weight: 900; line-height: 1.05; letter-spacing: -.04em; text-transform: uppercase; margin-bottom: 14px; }
h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.card { background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 18px; }
.hint { margin-top: 12px; font: 700 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }

/* Hero */
.hero { margin-top: 20px; }
h1 { font-size: clamp(48px, 15vw, 112px); font-weight: 900; line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.tag { display: inline-block; margin-top: 6px; padding: 0 .12em; background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); transform: rotate(-1.5deg); }
.lede { margin: 22px 0 24px; max-width: 30em; font-size: 20px; color: var(--ink-2); }

/* What's inside */
.grid { display: grid; gap: 14px; }
.grid p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.badge { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh-sm); font: 800 14px var(--mono); }
.c0 { background: var(--c0); } .c1 { background: var(--c1); } .c4 { background: var(--c4); }

.privacy { background: var(--mint); box-shadow: var(--sh-lg); }
.privacy > p:not(.hint) { font-size: 19px; font-weight: 700; }

/* Coaches */
.coaches { display: grid; gap: 0; border-top: var(--bw) solid var(--ink); }
.coaches li { padding: 12px 0; border-bottom: var(--bw) solid var(--ink); color: var(--ink-2); font-size: 16px; }
.coaches a { display: inline-block; padding: 4px 0; color: var(--ink); font-weight: 800; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: var(--bw) solid var(--ink); }
.qa { padding: 16px 0; border-bottom: var(--bw) solid var(--ink); }
.qa p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }

/* Footer */
.foot { margin-top: 56px; padding: 24px 16px calc(env(safe-area-inset-bottom) + 24px); background: var(--surface); border-top: var(--bw) solid var(--ink); }
.foot > * { display: block; max-width: 1008px; margin-left: auto; margin-right: auto; }
.foot p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.small { font-size: 13px !important; }

@media (min-width: 720px) {
  main { padding: 0 24px; }
  main > section { margin-top: 72px; }
  .top { padding-left: max(24px, calc((100% - 992px) / 2)); padding-right: max(24px, calc((100% - 992px) / 2)); }
  .hero { margin-top: 48px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .privacy { padding: 28px; }
  .faq { grid-template-columns: repeat(2, 1fr); column-gap: 32px; border-top: 0; }
  .qa { border-top: var(--bw) solid var(--ink); border-bottom: 0; }
}

/* Visit count badge */
[hidden] { display: none !important; }
.pill-yellow { background: var(--yellow); }
.count-slot { min-height: 32px; margin-bottom: 14px; } /* holds the badge's space so the page doesn't jump when it appears */
.count { color: var(--dark); }
.count .i { width: 14px; height: 14px; stroke-width: 2.75; }

/* Early-access pop-up */
.dialog { width: min(440px, calc(100vw - 32px)); max-width: none; padding: 0; color: var(--ink); background: transparent; border: 0; overflow: visible; }
.dialog::backdrop { background: rgba(43, 42, 39, .55); }
.dialog-box { position: relative; padding: 24px 20px 20px; background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.dialog h2 { margin: 0 44px 16px 0; }
.dialog-x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: var(--paper); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh-sm); cursor: pointer; }
.dialog-x .i { width: 20px; height: 20px; stroke-width: 2.5; }
.signup label { display: block; margin-bottom: 6px; font-weight: 800; }
.signup input[type=email] { box-sizing: border-box; width: 100%; min-height: 52px; padding: 12px 14px; font: 17px var(--font); color: var(--ink); background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r); }
.signup input[aria-invalid=true] { border-color: #b3261e; box-shadow: 0 0 0 2px #b3261e; }
.signup .btn { width: 100%; margin-top: 14px; cursor: pointer; }
.signup .btn:disabled { opacity: .7; cursor: progress; }
.signup-error { margin-top: 10px; font-size: 15px; font-weight: 700; color: #8c1d18; }
.signup-error a { color: inherit; }
.signup-done p { margin: -6px 0 16px; font-size: 18px; }
.signup-done h2:focus { outline: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button, input { font-family: inherit; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
