/* Byde — bydesports.com
   Layout: alternating black and white full-bleed bands; content in a 1180px container.
   Black hero (thesis + live phone), white audiences, paper "how it works", black reliability,
   white trust + FAQ, black final call. Single deliberate look (no theme switch), like the app's
   Uber-style system: black, white, one semantic green inside the product UI only. */

@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --black: #000000;
  --white: #FFFFFF;
  --paper: #F6F6F6;
  --rule: #E5E5E5;
  --rule-dark: #262626;
  --mute: #5E5E5E;
  --mute-dark: #A6A6A6;
  --go: #05A357;
  --blue: #1F7AF0;       /* Byde Blue: the one accent, once per section */
  --blue-text: #0F62D6;  /* Byde Blue for small text on white */
  --display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
h1, h2, h3, .h2 { font-optical-sizing: auto; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(72px, 10vw, 136px); }
.band.dark { background: var(--black); color: var(--white); }
.band.paper { background: var(--paper); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.dark .eyebrow { color: var(--mute-dark); }
.h2 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--mute); max-width: 56ch; }
.dark .lead { color: var(--mute-dark); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--black); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--black); color: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--rule-dark); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.wordmark { display: inline-flex; color: inherit; text-decoration: none; }
.wordmark .logo { height: 24px; width: auto; display: block; }
.site-footer .wordmark .logo { height: 20px; }
.blue { color: var(--blue); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a:not(.pill) { text-decoration: none; color: var(--mute-dark); transition: color .15s; }
.nav a:not(.pill):hover { color: var(--white); }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 999px; padding: 11px 20px; border: 0; cursor: pointer; transition: transform .15s, background .15s, opacity .15s; }
.pill.light { background: var(--white); color: var(--black); }
.pill.dark { background: var(--black); color: var(--white); }
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: translateY(0); }
@media (max-width: 860px) { .nav a:not(.pill) { display: none; } }

/* ---------- auth notice (password reset / email confirm landings) ---------- */
.auth-notice { background: var(--white); color: var(--black); }
.auth-notice .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 14px; font-size: 15px; font-weight: 500; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px); }
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.pitch { position: absolute; inset: -10% -20% -10% 30%; width: 90%; height: 120%; pointer-events: none; opacity: .5; }
.pitch path, .pitch circle, .pitch rect, .pitch line { fill: none; stroke: #2E2E2E; stroke-width: 1.5; stroke-dasharray: 2400; stroke-dashoffset: 0; animation: draw 3.2s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes draw { from { stroke-dashoffset: 2400; } to { stroke-dashoffset: 0; } }
.hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--mute-dark); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 0 rgba(5, 163, 87, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(5, 163, 87, .55); } 70% { box-shadow: 0 0 0 12px rgba(5, 163, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(5, 163, 87, 0); } }
.hero h1 { font-size: clamp(52px, 8.4vw, 112px); font-weight: 900; letter-spacing: -.05em; word-spacing: .08em; line-height: .9; }
.hero h1 span { display: block; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 span:nth-child(2) { animation-delay: .08s; }
.hero h1 span:nth-child(3) { animation-delay: .16s; }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; color: var(--blue); }
.hero h1 em::after { content: ""; position: absolute; left: 2%; right: 4%; bottom: .02em; height: .07em; background: var(--blue); transform-origin: left; animation: underline .7s .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { transform: translateY(18px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .lead { color: var(--mute-dark); }
.hero .lead strong { color: var(--white); font-weight: 600; }

/* ---------- waitlist form ---------- */
.waitlist { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.roles legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.role { position: relative; }
.role input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.role span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid #3A3A3A; color: var(--mute-dark); font-size: 15px; font-weight: 500; transition: all .15s; }
.role input:checked + span { background: var(--white); border-color: var(--white); color: var(--black); }
.role input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 3px; }
.light-form .role span { border-color: var(--rule); color: var(--mute); }
.light-form .role input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); }
.light-form .role input:focus-visible + span { outline-color: var(--black); }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) 120px auto; gap: 8px; padding: 6px; border-radius: 18px; background: #141414; border: 1px solid #2A2A2A; }
.light-form .fields { background: var(--white); border-color: var(--rule); box-shadow: 0 8px 30px rgba(0, 0, 0, .06); }
.fields input { font: inherit; font-size: 16px; color: inherit; background: transparent; border: 0; padding: 12px 14px; min-width: 0; border-radius: 12px; }
.fields input::placeholder { color: #7A7A7A; }
.fields input:focus { outline: none; background: rgba(255, 255, 255, .06); }
.light-form .fields input:focus { background: var(--paper); }
.fields .zip { border-left: 1px solid #2A2A2A; border-radius: 0; }
.light-form .fields .zip { border-left-color: var(--rule); }
.fields .pill { padding: 12px 22px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fineprint { font-size: 13px; color: var(--mute-dark); }
.light-form .fineprint { color: var(--mute); }
.form-error { font-size: 14px; font-weight: 500; color: #FF8A7D; min-height: 0; }
.light-form .form-error { color: #C21500; }
.fineprint a, .doc a { color: inherit; }
.joined { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 18px; background: #141414; border: 1px solid #2A2A2A; max-width: 560px; }
.light-form .joined { background: var(--white); border-color: var(--rule); }
.joined .check { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--go); display: grid; place-items: center; }
.joined .check::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.joined b { display: block; font-family: var(--display); font-size: 18px; letter-spacing: -.2px; }
.joined p { color: var(--mute-dark); font-size: 15px; }
.light-form .joined p { color: var(--mute); }
@media (max-width: 560px) {
  .roles { gap: 6px; }
  .role span { padding: 8px 12px; font-size: 14px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .fields .zip { border-left: 0; border-top: 1px solid #2A2A2A; }
  .light-form .fields .zip { border-top-color: var(--rule); }
}

/* ---------- phone ---------- */
.phone-wrap { display: flex; justify-content: center; min-width: 0; }
.phone { position: relative; width: 300px; max-width: 100%; aspect-ratio: 300 / 620; border-radius: 48px; background: #0D0D0D; padding: 11px; box-shadow: 0 0 0 1px #2A2A2A, 0 40px 120px rgba(255, 255, 255, .06); animation: rise 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
.screen { position: relative; height: 100%; border-radius: 38px; background: var(--white); color: var(--black); overflow: hidden; display: flex; flex-direction: column; font-size: 12px; }
.notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0D0D0D; z-index: 3; }
.app-bar { padding: 46px 16px 10px; display: flex; align-items: center; gap: 10px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.app-title { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.5px; }
.bell { margin-left: auto; width: 18px; height: 18px; border: 2px solid var(--black); border-radius: 9px 9px 4px 4px; }
.seg { margin: 4px 16px 10px; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 10px; padding: 3px; font-weight: 600; font-size: 11.5px; text-align: center; }
.seg span { padding: 6px; border-radius: 8px; color: var(--mute); }
.seg span.on { background: var(--white); color: var(--black); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.games { display: flex; flex-direction: column; gap: 8px; padding: 0 12px; }
.game { border: 1px solid var(--rule); border-radius: 14px; padding: 11px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; transition: border-color .3s, background .3s, transform .3s; }
.game .g-title { font-weight: 600; font-size: 13px; }
.game .g-meta { color: var(--mute); font-size: 11px; grid-column: 1; }
.game .g-pay { font-family: var(--display); font-weight: 700; font-size: 15px; grid-row: 1; grid-column: 2; text-align: right; }
.game .g-btn { grid-column: 2; grid-row: 2 / span 2; align-self: end; justify-self: end; background: var(--black); color: var(--white); font-weight: 600; font-size: 11px; padding: 6px 12px; border-radius: 999px; transition: background .25s, transform .15s; white-space: nowrap; }
.game.pressing .g-btn { transform: scale(.92); }
.game.claimed { border-color: var(--go); background: #F1FBF5; }
.game.claimed .g-btn { background: var(--go); }
.toast { position: absolute; left: 12px; right: 12px; bottom: 72px; background: var(--black); color: var(--white); border-radius: 14px; padding: 11px 13px; font-size: 11.5px; font-weight: 500; display: flex; gap: 8px; align-items: center; transform: translateY(140%); opacity: 0; transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.toast.show { transform: none; opacity: 1; }
.toast i { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--go); }
.tabbar { margin-top: auto; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 6px 20px; font-size: 9.5px; font-weight: 600; color: #9A9A9A; text-align: center; }
.tabbar span::before { content: ""; display: block; width: 16px; height: 16px; margin: 0 auto 4px; border-radius: 5px; background: #D6D6D6; }
.tabbar span.on { color: var(--black); }
.tabbar span.on::before { background: var(--black); }

/* ---------- audiences ---------- */
.split-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.aud { border: 1px solid var(--rule); border-radius: 24px; padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.aud h3 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.03em; }
.aud .who { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.feats li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; border-top: 1px solid var(--rule); }
.feats li:first-child { border-top: 0; padding-top: 0; }
.feats .ic { width: 22px; height: 22px; margin-top: 3px; }
.feats b { font-weight: 600; }
.feats p { grid-column: 2; color: var(--mute); font-size: 15.5px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--white); border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.step .n { font-family: var(--display); font-weight: 800; font-size: 15px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--black); display: grid; place-items: center; }
.step h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.step p { color: var(--mute); font-size: 16px; }

/* ---------- reliability ---------- */
.rel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.rel-copy { display: flex; flex-direction: column; gap: 20px; }
.gauge-card { background: #0D0D0D; border: 1px solid var(--rule-dark); border-radius: 28px; padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.gauge { position: relative; max-width: 380px; width: 100%; margin: 0 auto; aspect-ratio: 380 / 262; }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.gauge .track { fill: none; stroke: #262626; stroke-width: 14; stroke-linecap: round; }
.gauge .fill { fill: none; stroke: var(--white); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset 1.6s cubic-bezier(.2, .7, .2, 1); }
.gauge .tick { fill: var(--mute-dark); font: 600 12px var(--body); }
.gauge-read { position: absolute; left: 0; right: 0; top: 34%; text-align: center; display: flex; flex-direction: column; align-items: center; }
.gauge-read .band-label { font-size: 14px; font-weight: 600; color: var(--mute-dark); }
.gauge-read .score { font-family: var(--display); font-weight: 800; font-size: clamp(52px, 7vw, 72px); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge-read .scale { font-size: 12px; color: var(--mute-dark); margin-top: 4px; }
.factors { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.factors li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--rule-dark); font-size: 15px; }
.factors .bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: #262626; overflow: hidden; }
.factors .bar i { display: block; height: 100%; background: var(--white); border-radius: 2px; }
.factors span:nth-child(2) { color: var(--mute-dark); font-variant-numeric: tabular-nums; }

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.trust > div { padding: 32px 28px 8px 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.trust h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.trust p { color: var(--mute); font-size: 16px; }

/* ---------- faq ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: clamp(18px, 1.8vw, 21px); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, 0); }
.faq details p { padding: 0 0 22px; color: var(--mute); max-width: 68ch; }

/* ---------- final call ---------- */
.final { text-align: left; }
.final .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.final h2 { font-size: clamp(48px, 7.4vw, 96px); font-weight: 900; letter-spacing: -.05em; line-height: .92; }

/* ---------- stripes band (the brand motif) ---------- */
.stripes-band { height: clamp(40px, 6vw, 72px); margin-top: clamp(56px, 8vw, 104px); background: repeating-linear-gradient(90deg, var(--white) 0 clamp(14px, 1.6vw, 22px), var(--black) clamp(14px, 1.6vw, 22px) clamp(28px, 3.2vw, 44px)); }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: var(--mute-dark); border-top: 1px solid var(--rule-dark); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.site-footer .wordmark { color: var(--white); font-size: 22px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* ---------- document pages (privacy, support, 404) ---------- */
.doc { padding-block: clamp(56px, 8vw, 104px); }
.doc .container { max-width: 760px; display: flex; flex-direction: column; gap: 28px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-top: 12px; }
.doc p, .doc li { color: #2B2B2B; }
.doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.doc .meta { color: var(--mute); font-size: 15px; }
.contact-card { border: 1px solid var(--rule); border-radius: 20px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.contact-card .addr { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 28px); letter-spacing: -.02em; user-select: all; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .container, .rel, .final .container { grid-template-columns: minmax(0, 1fr); }
  .pitch { inset: auto -40% -30% -10%; width: 160%; height: 70%; }
  .audiences, .steps, .trust { grid-template-columns: minmax(0, 1fr); }
  .trust > div { padding-right: 0; }
  .phone { width: 280px; }
}

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