/* ==========================================================================
   grppd. landing page
   Ported from the Claude Design export. Tokens up top, then layout, then
   sections in page order.
   ========================================================================== */

/* ---------- Fonts (self hosted Inter Tight, variable 500 to 700) ---------- */
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("fonts/inter-tight-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("fonts/inter-tight-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("fonts/inter-tight-greek-ext.woff2") format("woff2");
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("fonts/inter-tight-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("fonts/inter-tight-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* ---------- Brand tokens ---------- */
/* Light: cream stock, ink, cherry. Dark: navy, cream ink. */
:root {
  --bg: #F2EAD9;
  --dimple: rgba(20, 20, 20, .055);
  --ink: #141414;
  --ink-soft: #5C5A55;
  --rule: rgba(20, 20, 20, .16);
  --cherry: #D2222A;
  --panel: #141414;
  --panel-ink: #F2EAD9;

  --max: 1040px;
  --gutter: 24px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1A2E; --dimple: rgba(242, 234, 217, .06); --ink: #F2EAD9; --ink-soft: #AEB6C4;
    --rule: rgba(242, 234, 217, .18); --cherry: #E0323A; --panel: #F2EAD9; --panel-ink: #0F1A2E;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1A2E; --dimple: rgba(242, 234, 217, .06); --ink: #F2EAD9; --ink-soft: #AEB6C4;
  --rule: rgba(242, 234, 217, .18); --cherry: #E0323A; --panel: #F2EAD9; --panel-ink: #0F1A2E;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-reduced-motion: no-preference) {
  a, button { transition: color .15s ease, background-color .15s ease; }
}
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  /* golf ball dimple texture */
  background-image:
    radial-gradient(circle at 7px 7px, var(--dimple) 0 2.2px, transparent 3.2px),
    radial-gradient(circle at 0 0, var(--dimple) 0 2.2px, transparent 3.2px);
  background-size: 14px 14px;
  color: var(--ink);
  font-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration-color: var(--cherry);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--cherry); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--cherry);
  outline-offset: 3px;
  border-radius: 2px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.dot { color: var(--cherry); }
.soft { color: var(--ink-soft); }

/* ---------- Type ---------- */
.display {
  font-size: clamp(72px, 15vw, 176px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 0;
  position: relative;
  z-index: 1;
}
.h2 {
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-size: clamp(40px, 6vw, 72px);
  margin: 0 0 40px;
}
.h3 {
  display: block;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 20px;
  margin-bottom: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 14px 22px;
  font-size: 17px;
  border-radius: 999px;
  white-space: nowrap;
}
.btn:hover { background: var(--cherry); color: #fff; }
.btn--sm { padding: 10px 16px; font-size: 15px; }

.chip {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- Header ---------- */
.site-header { padding: 28px 0; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero .container { position: relative; }
.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
}
.hero__copy { flex: 1 1 320px; }
.hero__lede {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  max-width: 30ch;
  margin: 32px 0 0;
}
.hero__note { font-size: 16px; margin: 20px 0 0; }
.ball-mount {
  flex: 0 1 400px;
  width: min(60vw, 400px);
  max-width: 100%;
  aspect-ratio: 1;
  margin: -40px 0 -24px auto;
  pointer-events: none;
}

/* ---------- Content sections ---------- */
.section { padding: 88px 0 0; }

/* Product loop */
.steps { border-top: 2px solid var(--rule); list-style: none; margin: 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
}
.step__n { font-weight: 700; color: var(--ink-soft); letter-spacing: -0.02em; font-size: 20px; }
.step__body { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; }
.step__title { flex: 1 1 220px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.step__text { flex: 1.1 1 260px; margin: 0; color: var(--ink-soft); max-width: 44ch; }

/* Trust */
.trust .h2 { margin-bottom: 0; }
.trust__list { list-style: none; padding: 0; margin: 28px 0 0; max-width: 58ch; border-bottom: 1px solid var(--rule); }
.trust__list li { padding: 16px 0; border-top: 1px solid var(--rule); }

/* Market */
.callout {
  background: var(--panel);
  color: var(--panel-ink);
  padding: 22px 24px;
  border-left: 4px solid var(--cherry);
  max-width: 44em;
}
.callout strong { display: block; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 6px; }
.markets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.markets > div { border-top: 1px solid var(--rule); padding-top: 16px; }

/* Conversion */
.get { padding: 96px 0 72px; }
.get .h2 { margin-bottom: 24px; }
.get__lede { margin: 0 0 32px; max-width: 40ch; }
.waitlist__lede { margin: 0 0 28px; max-width: 40ch; }
.field-label { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; margin: 0 0 12px; }
.fieldset + .fieldset { margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.waitlist__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  max-width: 520px;
}
.input {
  flex: 1 1 240px;
  min-width: 0;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 13px 20px;
}
.input::placeholder { color: var(--ink-soft); }
.waitlist__done { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.waitlist__done + p { margin: 8px 0 0; max-width: 40ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--rule); padding: 32px 0 56px; }
.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 15px;
}
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fieldset legend { padding: 0; }
.input[aria-invalid="true"] { border-color: var(--cherry); }

/* ---------------------------------------------------------------------------
   Legal pages (privacy, terms, guidelines)
   Narrower measure than the landing page; section numerals in cherry.
   --------------------------------------------------------------------------- */
.legal { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.legal__head { padding: 56px 0 0; }
.legal__back { display: inline-block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--ink-soft); text-decoration: none; margin-bottom: 28px; }
.legal__back:hover { color: var(--cherry); }
.legal h1 { font-size: clamp(40px, 7vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: .95; margin: 0; }
.legal__meta { color: var(--ink-soft); font-size: 15px; margin: 14px 0 0; }
.legal__lede { font-size: 19px; margin: 28px 0 0; }
.legal__body { padding: 8px 0 72px; }
.legal__body p { margin: 14px 0 0; }
.legal__body ul { margin: 14px 0 0; padding: 0; list-style: none; }
.legal__body li { position: relative; padding-left: 22px; margin: 8px 0 0; }
.legal__body li::before { content: "•"; position: absolute; left: 4px; color: var(--cherry); font-weight: 700; }
.legal__body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cherry); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal__sec { margin: 44px 0 0; padding: 28px 0 0; border-top: 1px solid var(--rule); }
.legal__sec h2 { font-size: 22px; font-weight: 700; letter-spacing: -.025em; margin: 0; display: flex; gap: 12px; align-items: baseline; }
.legal__n { color: var(--cherry); font-variant-numeric: tabular-nums; }
.legal__sub { font-weight: 700; font-size: 17px; letter-spacing: -.02em; margin: 24px 0 0; }
.legal__strong { font-weight: 700; }
.legal__panel { background: var(--panel); color: var(--panel-ink); padding: 22px 24px; border-left: 4px solid var(--cherry); margin: 28px 0 0; }
.legal__panel strong { display: block; font-size: 19px; letter-spacing: -.02em; margin-bottom: 6px; }
.legal__panel p { margin: 0; }
.rule { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: baseline; padding: 20px 0 0; }
.rule__n { font-weight: 700; font-size: 22px; color: var(--cherry); letter-spacing: -.02em; }
.rule__title { font-weight: 700; font-size: 18px; letter-spacing: -.02em; margin: 0; }
.rule__body { color: var(--ink-soft); margin: 4px 0 0; }
.legal__contact { margin: 16px 0 0; line-height: 1.6; }
.legal__note { color: var(--ink-soft); font-size: 15px; margin: 24px 0 0; }
