/* ============================================================
   Courtside · Basketball — marketing site
   Design tokens mirror the app (lib/theme/tokens.dart)
   ============================================================ */

:root {
  /* Surfaces — deep navy court-at-night */
  --bg-0: #0A1420;
  --bg-1: #0E1A2A;
  --bg-2: #131F30;
  --bg-3: #1A2940;
  --bg-4: #223151;

  /* Hairlines */
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);

  /* Foreground */
  --fg-0: #F4F6FA;
  --fg-1: rgba(244, 246, 250, 0.72);
  --fg-2: rgba(244, 246, 250, 0.50);
  --fg-3: rgba(244, 246, 250, 0.32);

  /* Accents */
  --orange: #F4801A;
  --orange-deep: #D9670B;
  --orange-soft: rgba(244, 128, 26, 0.14);
  --amber: #E8B546;
  --red: #E5484D;
  --green: #30A46C;
  --blue: #4F8BF0;
  --on-orange: #1A0F00;

  /* 3x3 streetball volt */
  --volt: #CDF24A;
  --volt-deep: #A6CE2C;
  --asphalt: #181A1F;

  /* Type */
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ui: "DM Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1180px;
  --radius: 16px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ui);
  background: var(--bg-0);
  color: var(--fg-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient court-light background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(244, 128, 26, 0.16), transparent 60%),
    radial-gradient(800px 700px at 8% 8%, rgba(79, 139, 240, 0.12), transparent 55%),
    radial-gradient(1000px 900px at 50% 110%, rgba(205, 242, 74, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, black, transparent 80%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.98;
}

.mono { font-family: var(--mono); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}
.eyebrow.volt { color: var(--volt); }
.eyebrow.volt::before { background: var(--volt); }
.eyebrow.center { justify-content: center; }

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 20, 32, 0.62);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(10, 20, 32, 0.85);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.45)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--fg-0);
}
.brand-text b i { color: var(--orange); font-style: normal; }
/* Letters distributed edge-to-edge so the tagline width == the wordmark width,
   matching the app's BTLogo (which derives the spacing from the wordmark). */
.brand-text .tagline {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; color: var(--fg-1); transition: color 0.2s; }
.nav-links a:hover { color: var(--fg-0); }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--on-orange) !important;
  box-shadow: 0 6px 20px rgba(244, 128, 26, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(244, 128, 26, 0.42); }
.nav-toggle { display: none; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn-primary {
  background: linear-gradient(180deg, var(--orange), var(--orange-deep));
  color: var(--on-orange);
  box-shadow: 0 10px 30px rgba(244, 128, 26, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(244, 128, 26, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--fg-0);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
/* Disabled-looking placeholder until the store listing is live */
.btn-soon {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--fg-2);
  cursor: default;
}
.btn-soon .pill {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange);
}

/* ===================== HERO ===================== */
.hero { position: relative; padding: 70px 0 90px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--orange-soft);
  border: 1px solid rgba(244, 128, 26, 0.28);
  color: var(--orange);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(244,128,26,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244,128,26,0.5); }
  70% { box-shadow: 0 0 0 9px rgba(244,128,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(244,128,26,0); }
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(46px, 7vw, 84px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--orange), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 19px;
  color: var(--fg-1);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 34px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-meta .item { display: flex; flex-direction: column; }
.hero-meta .item b {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
}
.hero-meta .item span { font-size: 12.5px; color: var(--fg-2); letter-spacing: 0.04em; }

.hero-visual { position: relative; }

/* ===================== TABLET MOCKUP ===================== */
.tablet {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 800;
  background: var(--bg-0);
  border-radius: 18px;
  padding: 12px;
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 10px 30px rgba(0, 0, 0, 0.5);
}
.tablet::after {
  /* camera dot */
  content: "";
  position: absolute;
  top: 50%; right: 5px;
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transform: translateY(-50%);
}
.tablet .screen {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  position: relative;
}
/* Real-screenshot variant — frame adopts the image's own aspect ratio */
.tablet.shot { aspect-ratio: auto; }
.tablet.shot .screen { height: auto; }
.shot-img { display: block; width: 100%; height: auto; }
.hero-visual .tablet { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Floating chips around hero tablet */
.float-chip {
  position: absolute;
  z-index: 3;
  background: rgba(19, 31, 48, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  font-size: 13px;
  font-weight: 600;
}
.float-chip .ic {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 16px;
}
.float-chip.tl { top: -20px; left: -26px; animation: floaty 6s ease-in-out infinite 0.4s; }
.float-chip.br { bottom: 4px; right: -24px; animation: floaty 8s ease-in-out infinite 0.8s; }
.float-chip small { display: block; color: var(--fg-2); font-weight: 500; font-size: 11px; }

/* ===================== SCORE SHEET MOCK (hero) ===================== */
.ss {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: 10px;
}
.ss-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 12px;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.ss-team { display: flex; align-items: center; gap: 8px; }
.ss-team.right { justify-content: flex-end; flex-direction: row-reverse; }
.ss-swatch { width: 26px; height: 26px; border-radius: 7px; flex: none; }
.ss-team .meta { line-height: 1.15; }
.ss-team.right .meta { text-align: right; }
.ss-team .meta .side { font-size: 8px; letter-spacing: 0.16em; color: var(--fg-2); }
.ss-team .meta .nm { font-family: var(--display); font-weight: 700; font-size: 14px; }
.ss-score {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ss-center { text-align: center; }
.ss-period { font-size: 8px; letter-spacing: 0.18em; color: var(--orange); font-weight: 700; }
.ss-clock { font-family: var(--mono); font-size: 22px; font-weight: 500; letter-spacing: 0.02em; }
.ss-dots { display: flex; gap: 3px; margin-top: 3px; }
.ss-dots i { width: 7px; height: 4px; border-radius: 2px; background: var(--orange); display: block; }
.ss-dots i.off { background: var(--line-2); }
.ss-body { flex: 1; display: grid; grid-template-columns: 58px 1fr 58px; gap: 8px; padding: 9px; }
.ss-rail { display: flex; flex-direction: column; gap: 5px; }
.ss-pcard {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ss-pcard .row1 { display: flex; align-items: center; gap: 5px; }
.ss-pcard .jersey {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  width: 16px; text-align: center;
}
.ss-pcard .pts { margin-left: auto; font-family: var(--mono); font-size: 11px; font-weight: 500; }
.ss-pcard .pos { font-size: 8px; color: var(--fg-2); }
.ss-pcard.g { border-left: 2px solid var(--blue); }
.ss-pcard.f { border-left: 2px solid var(--green); }
.ss-pcard.c { border-left: 2px solid var(--amber); }

/* ===================== COURT (SVG-ish via CSS) ===================== */
.court {
  border-radius: 9px;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.04) 0 6px, rgba(255,255,255,0.015) 6px 12px),
    linear-gradient(120deg, #C8843E, #B5702E 55%, #9c5d23);
  border: 1px solid rgba(0,0,0,0.3);
}
.court svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.shot-pin {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--on-orange);
  font-family: var(--display);
  font-weight: 700;
  font-size: 9px;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(255,255,255,0.85);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.shot-pin.b { background: var(--blue); color: white; }
.shot-pin.miss { background: transparent; border-style: dashed; border-color: rgba(255,255,255,0.7); color: rgba(255,255,255,0.85); }

/* ===================== SECTIONS ===================== */
section { padding: 90px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin: 16px 0 16px;
}
.section-head p { font-size: 17px; color: var(--fg-1); }

/* logos / trust strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  padding: 26px 0;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.strip-item { display: flex; align-items: center; gap: 12px; color: var(--fg-1); font-weight: 600; font-size: 14px; }
.strip-item .ic { color: var(--orange); font-size: 20px; }

/* ===================== FEATURES GRID ===================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: linear-gradient(180deg, rgba(26, 41, 64, 0.5), rgba(19, 31, 48, 0.5));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.card:hover::before { opacity: 1; }
.card .fic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--orange-soft);
  border: 1px solid rgba(244,128,26,0.25);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.card h3 { font-family: var(--display); font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--fg-1); }
.card.span-2 { grid-column: span 2; }
.card.volt .fic { background: rgba(205,242,74,0.12); border-color: rgba(205,242,74,0.3); }
.card.volt::before { background: linear-gradient(90deg, transparent, var(--volt), transparent); }

/* ===================== SHOWCASE (alternating) ===================== */
.showcase { display: flex; flex-direction: column; gap: 110px; }
.show-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.show-row.flip .show-text { order: 2; }
.show-row.flip .show-visual { order: 1; }
.show-text .tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px; display: block;
}
.show-text .tag.volt-tag { color: var(--volt); }
.show-text h3 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.02;
  margin-bottom: 16px;
}
.show-text p { font-size: 16px; color: var(--fg-1); margin-bottom: 20px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.feature-list li { display: flex; gap: 12px; font-size: 14.5px; color: var(--fg-1); }
.feature-list li .chk {
  flex: none;
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  margin-top: 1px;
}
.feature-list li b { color: var(--fg-0); font-weight: 600; }

/* ===================== HOME MOCK ===================== */
.home {
  display: flex; flex-direction: column; height: 100%;
  font-size: 10px; padding: 12px;
  gap: 10px;
}
.home-top { display: flex; align-items: center; gap: 9px; }
.home-crest {
  width: 30px; height: 30px; border-radius: 8px;
  background: radial-gradient(circle at 35% 30%, #E89A4C, #B5702E 70%, #7d4d1f);
  border: 1px solid rgba(255,255,255,0.15);
}
.home-title { font-family: var(--display); font-weight: 700; font-size: 16px; }
.home-title small { display:block; font-size: 8px; letter-spacing: 0.2em; color: var(--fg-2); text-transform: uppercase; }
.badge-mode {
  margin-left: auto;
  font-size: 8px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange);
  border: 1px solid rgba(244,128,26,0.3);
}
.home-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; flex: 1; }
.tile-new {
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: var(--on-orange);
  display: flex; flex-direction: column; justify-content: space-between;
}
.tile-new .big { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 0.95; }
.tile-new .sub { font-size: 9.5px; opacity: 0.8; }
.tile-new .go { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.live-card {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.live-top { display: flex; align-items: center; gap: 6px; }
.live-pill {
  font-size: 7.5px; font-weight: 700; letter-spacing: 0.12em;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(229,72,77,0.18); color: var(--red);
  display: flex; align-items: center; gap: 4px;
}
.live-pill .d { width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
.live-score { display: flex; align-items: center; justify-content: space-between; }
.live-score .t { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.live-score .sw { width: 16px; height: 16px; border-radius: 5px; }
.live-score .num { font-family: var(--display); font-weight: 800; font-size: 26px; }
.home-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-1);
  padding: 11px;
}
.mini-panel h6 { font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 7px; }
.result-row { display: flex; align-items: center; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid var(--line); }
.result-row:last-child { border: none; }
.result-row .nm { display: flex; align-items: center; gap: 5px; }
.result-row .sw { width: 9px; height: 9px; border-radius: 3px; }
.result-row .sc { font-family: var(--mono); font-weight: 500; }
.team-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.team-chip {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 8px; border-radius: 999px;
  background: var(--bg-3); border: 1px solid var(--line);
  font-size: 9px; font-weight: 600;
}
.team-chip .sw { width: 9px; height: 9px; border-radius: 3px; }
.team-chip.add { color: var(--orange); border-color: rgba(244,128,26,0.3); }

/* ===================== SUMMARY MOCK ===================== */
.sum { display: flex; flex-direction: column; height: 100%; padding: 12px; font-size: 10px; gap: 10px; }
.sum-head { text-align: center; padding: 6px 0; }
.sum-final {
  font-size: 8px; font-weight: 700; letter-spacing: 0.24em; color: var(--fg-2);
}
.sum-scores { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 4px; }
.sum-scores .blk { text-align: center; }
.sum-scores .nm { font-family: var(--display); font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.sum-scores .sw { width: 14px; height: 14px; border-radius: 5px; }
.sum-scores .pt { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; }
.sum-scores .pt.win { color: var(--orange); }
.win-chip {
  font-size: 7.5px; font-weight: 700; letter-spacing: 0.1em;
  padding: 2px 8px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange); margin-top: 4px; display: inline-block;
}
.sum-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.sum-col { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-1); padding: 9px; }
.sum-col h6 { font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 6px; display: flex; justify-content: space-between; }
.sum-prow { display: grid; grid-template-columns: 16px 1fr auto auto; gap: 7px; align-items: center; padding: 3px 0; border-bottom: 1px solid var(--line); }
.sum-prow:last-child { border: none; }
.sum-prow .j { font-family: var(--display); font-weight: 700; font-size: 12px; }
.sum-prow .p { font-family: var(--mono); font-size: 10px; }
.sum-prow .pf { font-family: var(--mono); font-size: 9px; color: var(--fg-2); }
.sum-prow .pf.dq { color: var(--red); }
.sum-prow .pf.warn { color: var(--amber); }

/* ===================== RULES ===================== */
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rule {
  display: flex; gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.015);
  transition: border-color 0.3s, background 0.3s;
}
.rule:hover { border-color: var(--line-2); background: rgba(255,255,255,0.03); }
.rule .num {
  font-family: var(--display); font-weight: 800; font-size: 30px;
  color: var(--orange); line-height: 1; flex: none; width: 44px;
}
.rule h4 { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.rule p { font-size: 14px; color: var(--fg-1); }

.rules-note {
  margin-top: 18px;
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px;
  border: 1px solid rgba(205, 242, 74, 0.32);
  background: rgba(205, 242, 74, 0.07);
  border-radius: var(--radius);
}
.rules-note .ic { font-size: 22px; line-height: 1.3; flex: none; }
.rules-note h4 { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.rules-note p { font-size: 14.5px; color: var(--fg-1); }
.rules-note b { color: var(--fg-0); font-weight: 600; }

/* ===================== CTA ===================== */
.cta {
  text-align: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(244,128,26,0.18), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1));
  padding: 64px 32px;
}
.cta h2 { font-family: var(--display); font-size: clamp(36px, 6vw, 60px); font-weight: 800; line-height: 1; margin-bottom: 18px; }
.cta p { font-size: 18px; color: var(--fg-1); max-width: 520px; margin: 0 auto 30px; }

/* ===================== FOOTER ===================== */
footer { border-top: 1px solid var(--line); padding: 50px 0 40px; }
.foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 36px; }
.foot-brand { max-width: 300px; }
.foot-brand p { font-size: 13.5px; color: var(--fg-2); margin-top: 14px; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h5 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; color: var(--fg-1); margin-bottom: 9px; transition: color 0.2s; }
.foot-col a:hover { color: var(--orange); }
.foot-bottom {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--fg-3); text-align: center;
}

/* ===================== LEGAL PAGES ===================== */
.legal-hero {
  padding: 56px 0 30px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(700px 300px at 20% -20%, rgba(244,128,26,0.12), transparent 70%);
}
.legal-hero h1 {
  font-family: var(--display);
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 800;
  line-height: 1;
  margin: 14px 0 18px;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13.5px;
  color: var(--fg-2);
}
.legal-meta b { color: var(--fg-1); font-weight: 600; }
.legal-body { padding: 48px 0 80px; }
.legal-body .wrap { max-width: 820px; }
.legal-body h2 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  margin: 38px 0 12px;
  padding-top: 8px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: 15.5px; color: var(--fg-1); margin-bottom: 14px; }
.legal-body ul { list-style: none; margin: 0 0 16px; padding: 0; }
.legal-body li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  color: var(--fg-1);
  margin-bottom: 10px;
}
.legal-body li::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--orange);
}
.legal-body strong, .legal-body b { color: var(--fg-0); font-weight: 600; }
.legal-body a { color: var(--orange); }
.legal-body a:hover { text-decoration: underline; }
.legal-summary {
  border: 1px solid rgba(244,128,26,0.28);
  background: var(--orange-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 30px;
}
.legal-summary p { margin: 0; color: var(--fg-0); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
  margin-bottom: 10px;
}
.legal-back:hover { color: var(--orange); }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual .tablet, .float-chip, .hero-badge .dot, .live-pill .d { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .card.span-2 { grid-column: span 2; }
  .show-row { grid-template-columns: 1fr; gap: 34px; }
  .show-row.flip .show-text { order: 1; }
  .show-row.flip .show-visual { order: 2; }
  .rules-grid { grid-template-columns: 1fr; }
  .float-chip.tl { left: -8px; }
  .float-chip.br { right: -8px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .card.span-2 { grid-column: span 1; }
  .hero h1 { font-size: 44px; }
  section { padding: 64px 0; }
  .hero-meta { gap: 18px; }
  .float-chip { display: none; }
  .foot-grid { flex-direction: column; }
}
