/* Top Bins landing. Club Kit tokens, self-hosted fonts, no third-party requests. */

@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('/assets/fonts/manrope-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url('/assets/fonts/manrope-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('/assets/fonts/manrope-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url('/assets/fonts/manrope-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap; src: url('/assets/fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); }

:root {
  --navy: #0E1B34;
  --navy-2: #1B2B4E;
  --navy-line: #26365C;
  --orange: #FF5A1F;
  --tint: #FFE8DC;
  --tint-ink: #B8400F;
  --paper: #F6F7F9;
  --app: #F2F4F8;
  --white: #FFFFFF;
  --ink-2: #3E4A63;
  --muted: #5E6985;
  --soft: #C8D1E3;
  --line: #E3E8F0;
  --line-2: #D5DCE7;
  --good: #0B7A55;
  --good-bg: #E4F4EC;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --gutter: 16px;
  --max: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font: 500 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; }
a { color: inherit; }
.num { font-family: var(--cond); font-weight: 800; font-variant-numeric: tabular-nums; }
.i { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 12px 16px; border-radius: 12px; background: var(--navy); color: var(--white); font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 8px; }
.players :focus-visible { outline-color: var(--orange); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-weight: 800;
  font-size: clamp(2.5rem, 1.35rem + 5.6vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 11ch;
  text-wrap: balance;
}
.h2 {
  font-weight: 800;
  font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 18ch;
  text-wrap: balance;
}
.h3 { font-weight: 800; font-size: 1.3125rem; line-height: 1.25; letter-spacing: -0.015em; }
.lead { margin-top: 20px; max-width: 34ch; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem); line-height: 1.5; color: var(--ink-2); }
.sec-lead { margin-top: 14px; max-width: 42ch; font-size: 1.125rem; color: var(--muted); }
.fine { margin-top: 14px; font-size: 0.9375rem; font-weight: 600; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: 16px; border: 0;
  background: var(--orange); color: var(--navy);
  font: 800 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
  transition: background-color .15s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: #FF6E3A; }
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 56px; padding: 0 24px; font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 0.9375rem; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { background: var(--white); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Header ---------- */
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand-tile { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--white); }
.wordmark { font-family: var(--cond); font-weight: 800; font-size: 1.75rem; line-height: 1; letter-spacing: .01em; }
.wordmark span { color: var(--orange); }
.top-nav { display: flex; align-items: center; gap: 4px; }
.top-link { display: none; min-height: 44px; align-items: center; padding: 0 14px; border-radius: 12px; font-weight: 700; font-size: 0.9375rem; text-decoration: none; color: var(--ink-2); }
.top-link:hover { color: var(--navy); background: var(--white); }

/* ---------- Hero ---------- */
.hero { padding: 24px 0 56px; }
.hero-grid { display: grid; gap: 48px; }
.hero-copy { align-self: center; }
.hero .cta-row .btn { flex: 1 1 auto; }

.hero-art { position: relative; padding: 36px 44px 0 0; }
.goal { position: absolute; inset: 0; pointer-events: none; }
.goal-net {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(120% 90% at 100% 0, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 100% 0, #000 30%, transparent 75%);
}
.goal-bar, .goal-post { position: absolute; background: var(--navy); border-radius: 999px; }
.goal-bar { top: 0; right: 0; left: 18%; height: 14px; }
.goal-post { top: 0; right: 0; width: 14px; bottom: 12%; }
.goal-ball { position: absolute; right: 22px; top: 22px; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); }

.phone {
  position: relative;
  width: min(100%, 340px);
  border: 9px solid var(--navy);
  border-radius: 46px;
  background: var(--app);
  overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(14, 27, 52, .45);
}
.scr { padding: 22px 14px 14px; font-size: 13px; line-height: 1.35; display: flex; flex-direction: column; gap: 12px; }

/* ---------- App fragments (Club Kit) ---------- */
.ui-head { display: flex; align-items: center; gap: 10px; }
.ui-tile { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: var(--navy); color: var(--white); flex-shrink: 0; }
.ui-head-t { display: flex; flex-direction: column; min-width: 0; }
.ui-title { font-family: var(--cond); font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: .01em; }
.ui-sub { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.ui-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; height: 38px; border-radius: 999px; background: var(--line); font-weight: 700; font-size: 13px; color: var(--ink-2); }
.ui-seg span { display: flex; align-items: center; justify-content: center; border-radius: 999px; }
.ui-seg .on { background: var(--navy); color: var(--white); font-weight: 800; }
.ui-navy { position: relative; overflow: hidden; border-radius: 20px; background: var(--navy); color: var(--white); padding: 14px 16px 14px; display: flex; flex-direction: column; }
.stripes { position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; }
.ui-navy > *:not(.stripes) { position: relative; }
.ui-navy-ic { position: absolute !important; right: 14px; top: 14px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--orange); color: var(--navy); }
.ui-big { display: flex; align-items: baseline; gap: 5px; margin-top: 18px; }
.ui-big b { font-size: 56px; line-height: .9; }
.ui-big small { font-size: 20px; }
.ui-big.xl { margin-top: 6px; }
.ui-big.xl b { font-size: 76px; color: var(--orange); }
.ui-big.xl small { font-size: 26px; }
.ui-navy-sub { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--soft); }
.ui-h2row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 2px; }
.ui-h2 { font-family: var(--cond); font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: .01em; }
.ui-card { background: var(--white); border-radius: 18px; }
.ui-list { padding: 2px 12px; }
.ui-list li { display: flex; align-items: center; gap: 10px; min-height: 50px; }
.ui-list li + li { border-top: 1px solid #EDF0F5; }
.av { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 999px; background: #E6EAF1; font-size: 11px; font-weight: 800; }
.av.tint { background: var(--tint); color: var(--tint-ink); }
.av-lg { width: 36px; height: 36px; font-size: 12px; background: var(--navy); color: var(--white); }
.ui-name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-weight: 700; font-size: 14px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-name small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.ui-amt { display: inline-flex; align-items: baseline; gap: 2px; font-size: 21px; line-height: 1; }
.ui-amt small { font-size: 12px; color: var(--muted); }
.ui-amt.good, .ui-amt.good small { color: var(--good); }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.pill i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.pill-owe { background: var(--tint); color: var(--tint-ink); }
.pill-owe i { background: var(--orange); }
.pill-paid { background: var(--good-bg); color: #0B6B4B; }
.pill-orange { background: var(--orange); color: var(--navy); }
.ui-dock { margin: 2px -14px -14px; padding: 12px 14px 14px; background: var(--white); border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; }
.ui-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 12px; border-radius: 14px; background: var(--orange); color: var(--navy); font-weight: 800; font-size: 14px; text-align: center; }
.ui-btn.ghost { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.ui-link { display: block; text-align: center; font-weight: 800; font-size: 13px; color: var(--tint-ink); padding: 4px 0; }
.ui-ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; }
.ui-ic.tint { background: var(--tint); color: var(--tint-ink); }
.ui-ic.navy { background: var(--navy); color: var(--orange); }
.ui-ic.orange { background: var(--orange); color: var(--navy); }
.ui-count { display: inline-flex; align-items: baseline; gap: 2px; font-size: 26px; line-height: 1; }
.ui-count small { font-size: 14px; color: var(--muted); font-family: var(--cond); }

/* ---------- How it works ---------- */
.how { padding: 72px 0; background: var(--white); border-top: 1px solid var(--line); }
.steps { display: grid; gap: 56px; margin-top: 48px; }
.step { display: grid; gap: 20px; align-content: start; }
.step-copy p { margin-top: 8px; max-width: 36ch; color: var(--muted); }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; background: var(--orange); color: var(--navy); font-size: 24px; line-height: 1; }
.frag { display: grid; gap: 10px; align-content: start; padding: 14px; border-radius: 26px; background: var(--app); font-size: 13px; line-height: 1.35; }
.frag-pad { padding: 14px; display: grid; gap: 12px; }
.frag-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.frag-row b { font-weight: 800; }
.push { margin-left: auto; }
.chat { padding: 10px 12px; border-radius: 14px; background: var(--app); columns: 2; column-gap: 16px; font-weight: 600; color: #1F2B45; }
.chat p { line-height: 1.5; }
.chat .chat-q { column-span: all; margin-bottom: 4px; font-weight: 800; color: var(--navy); }
.chat .more { color: var(--muted); }
.lineup .frag-row { justify-content: space-between; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.slots span { display: flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 10px; background: var(--app); font-weight: 700; font-size: 13px; }
.wait { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid #EDF0F5; font-size: 14px; }
.wait .ui-sub { margin-left: auto; }
.ui-list.plain { padding: 0; }
.tick { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; background: var(--good-bg); color: var(--good); flex-shrink: 0; }
.bubble { padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: var(--app); font-weight: 600; font-size: 13.5px; line-height: 1.45; color: #1F2B45; }
.bubble p + p { margin-top: 10px; }

/* ---------- For players ---------- */
.players { padding: 80px 0; background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.players .sec-lead { color: var(--soft); }
.players-grid { display: grid; gap: 48px; }
.points { margin-top: 32px; display: grid; gap: 18px; max-width: 40ch; }
.points li { position: relative; padding-left: 28px; color: var(--soft); }
.points li::before { content: ''; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.points b { color: var(--white); font-weight: 800; }
.players-art { display: grid; gap: 16px; align-items: start; color: var(--navy); }
.pcard { display: grid; gap: 12px; padding: 16px; border-radius: 28px; background: var(--app); font-size: 13px; line-height: 1.35; }
.owe-top { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--soft); }
.board { display: grid; gap: 4px; padding: 6px; border-radius: 18px; background: var(--white); }
.board li { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 10px 0 6px; border-radius: 12px; }
.board li.me { background: var(--tint); }
.board li.me .av { background: var(--orange); color: var(--navy); }
.board .rk { width: 20px; text-align: center; font-size: 20px; }
.board .gp { font-size: 22px; }
.streak { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--white); }
.streak .ui-count { font-size: 22px; }
.streak .ui-count small { font-size: 13px; font-family: var(--sans); font-weight: 700; }
.badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.badge { display: flex; flex-direction: column; gap: 10px; padding: 12px 10px; border-radius: 16px; background: var(--white); }
.badge b { font-weight: 800; font-size: 13px; line-height: 1.2; }

/* ---------- Commercial ---------- */
.watch { padding: 80px 0; }
.watch[hidden] { display: none; }
.watch-grid { display: grid; gap: 32px; }
.frame { width: min(100%, 340px); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: var(--navy); }
.frame video { width: 100%; height: 100%; object-fit: cover; background: var(--navy); }

/* ---------- Closing ---------- */
.close { padding: 88px 0 96px; background: var(--white); border-top: 1px solid var(--line); }
.close-mark { color: var(--navy); margin-bottom: 28px; }
.close .h2 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); max-width: 14ch; }

/* ---------- Footer ---------- */
.foot { padding: 32px 0 40px; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.foot .brand.small .brand-tile { width: 32px; height: 32px; border-radius: 10px; }
.foot .brand.small .wordmark { font-size: 1.375rem; color: var(--navy); }
.foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--navy); text-underline-offset: 3px; }
.foot .copy { margin-left: auto; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .goal-ball { animation: ball-in .7s cubic-bezier(.3, 1.35, .5, 1) .25s both; }
  .phone { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes ball-in { from { transform: translate(-90px, 70px) scale(.5); opacity: 0; } 40% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- Small phones ---------- */
@media (max-width: 374px) {
  .hero-art { padding-right: 36px; }
  .goal-ball { right: 16px; top: 18px; width: 26px; height: 26px; }
  .scr .pill { display: none; }
  .hero .cta-row .btn { width: 100%; }
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .hero { padding: 40px 0 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 368px; gap: 28px; align-items: center; }
  .display { font-size: clamp(3rem, 1rem + 4.4vw, 4.75rem); }
  .hero-art { padding: 44px 52px 0 0; }
  .goal-bar { height: 16px; left: 12%; }
  .goal-post { width: 16px; }
  .goal-ball { right: 30px; top: 30px; width: 34px; height: 34px; }
  .hero .cta-row .btn { flex: 0 0 auto; }
  .phone { width: 316px; }
  .sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
  .sec-head .sec-lead { margin-top: 0; justify-self: end; }
  .top-link { display: inline-flex; }

  .how { padding: 104px 0; }
  .step { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; padding-top: 40px; border-top: 1px solid var(--line); }
  .steps { gap: 40px; margin-top: 56px; }

  .players { padding: 104px 0; }
  .players-art { grid-template-columns: 1fr 1fr; }

  .watch { padding: 104px 0; }
  .watch-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 48px; }

  .close { padding: 120px 0 128px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .hero { padding: 48px 0 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 444px; gap: 48px; }
  .hero-art { padding: 56px 104px 0 0; }
  .phone { width: 340px; }
  .goal-bar { left: 8%; }

  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 0 32px; }
  .step { grid-row: span 2; grid-template-rows: subgrid; grid-template-columns: none; gap: 28px; padding-top: 32px; }


  .watch-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .frame { justify-self: center; width: 360px; }
}

@media (min-width: 1280px) {
  :root { --gutter: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 500px; gap: 72px; }
  .hero-art { padding-right: 140px; }
  .players-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
}
