/*
  Wager landing-page kit — base.css
  Tokens are copied from the Wager site (apps/frontend tailwind.config.js, Nov 2026).
  Do not invent new colours: use the variables below.
*/

@font-face { font-family: 'Proxima Nova'; src: url('/_kit/fonts/ProximaNova-Regular-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Proxima Nova'; src: url('/_kit/fonts/ProximaNova-Bold-latin.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Proxima Nova'; src: url('/_kit/fonts/ProximaNova-ExtraBold-latin.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  /* Surfaces */
  --bg-page: #08060e;
  --bg-card: #1d1a2e;
  --bg-card-raised: #26223a;
  --bg-card-subtle: #151221;
  --stroke: #312d43;
  --stroke-strong: #4f4b63;

  /* Brand */
  --brand: #9581f8;          /* links, accents */
  --brand-strong: #b3a5fc;   /* highlights on dark */
  --brand-button: #6342e6;   /* primary button fill */
  --brand-button-hover: #5a44dd;
  --brand-tint: #30246b;     /* badge / selected background */

  /* Text */
  --text-primary: #f3f3f7;
  --text-secondary: #bdbac9;
  --text-tertiary: #9d99ad;
  --text-disabled: #4f4b63;

  /* Status */
  --green: #0e9f6e;
  --red: #e02424;

  /* Shape and rhythm */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --content-width: 1240px;
  --gutter: 16px;

  --font: 'Proxima Nova', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand-strong); outline-offset: 2px; }

.container { width: 100%; max-width: var(--content-width); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 48px 0; }
.section-title { font-size: 28px; font-weight: 800; line-height: 1.2; margin: 0 0 24px; }
.muted { color: var(--text-secondary); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--bg-card); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--stroke); background: var(--bg-page); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.site-header .logo img { height: 32px; width: auto; }
.site-header nav { display: flex; gap: 12px; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--radius-sm);
  font-family: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--brand-button); color: #fff; }
.btn-primary:hover { background: var(--brand-button-hover); }
.btn-secondary { background: transparent; color: var(--text-primary); border-color: var(--stroke-strong); }
.btn-secondary:hover { border-color: var(--brand); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 18px; }

/* Hero */
.hero { padding: 56px 0 40px; text-align: center; }
.hero .eyebrow { margin-bottom: 12px; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 800; line-height: 1.1; margin: 0 0 16px; }
.hero p { font-size: 18px; color: var(--text-secondary); max-width: 640px; margin: 0 auto 28px; }
.hero .hero-media { margin: 32px auto 0; border-radius: var(--radius-lg); overflow: hidden; max-width: 960px; }

/* Badges */
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--brand-tint); color: var(--brand-strong);
  font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
}
.badge-green { background: rgba(14,159,110,.15); color: #34d399; }

/* Offer card */
.offer-card {
  background: var(--bg-card); border: 1px solid var(--stroke); border-radius: var(--radius-lg);
  padding: 28px; max-width: 560px; margin: 0 auto; text-align: center;
}
.offer-card .offer-amount { font-size: clamp(36px, 8vw, 56px); font-weight: 800; color: var(--brand-strong); line-height: 1.1; margin: 12px 0; }
.offer-card .offer-terms { font-size: 13px; color: var(--text-tertiary); margin-top: 16px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--bg-card); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 20px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-strong);
  font-weight: 800; margin-bottom: 12px;
}
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--text-secondary); }

/* FAQ — uses native <details>, no JavaScript needed */
.faq details { background: var(--bg-card); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--brand); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--text-secondary); margin: 12px 0 0; }

/* CTA band */
.cta-band { background: var(--bg-card-raised); border-radius: var(--radius-lg); padding: 32px var(--gutter); text-align: center; }
.cta-band h2 { margin: 0 0 16px; font-size: 26px; font-weight: 800; }

/* Footer */
.site-footer { border-top: 1px solid var(--stroke); margin-top: 48px; padding: 32px 0; font-size: 14px; color: var(--text-tertiary); }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.site-footer .footer-links a { color: var(--text-secondary); text-decoration: none; }
.site-footer .footer-links a:hover { color: var(--text-primary); }
.site-footer .rg-line { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); margin-bottom: 12px; }
.site-footer .age-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border: 2px solid var(--text-secondary); border-radius: 50%; font-weight: 800; font-size: 13px; color: var(--text-secondary); }
.site-footer .legal { font-size: 12px; line-height: 1.6; }
