:root {
  /*
    LINEALGO DESIGN SYSTEM NOTES

    This CSS file is intentionally commented as a handoff artifact.
    Treat these notes like embedded markdown for future developers, agents, and designers.

    Product Feel:
    - Premium sports intelligence platform.
    - Dense enough for bettors/DFS players, but not chaotic.
    - Should feel closer to a trading desk/community arena than a marketing template.

    Visual Rules:
    - Cards and panels max out at 8px radius.
    - Avoid decorative blobs, oversized hero art, and generic gradient SaaS styling.
    - Green/blue indicate positive edge or action.
    - Amber indicates gated/locked/caution.
    - Red indicates negative movement/risk.
    - Text must remain readable on mobile; do not scale typography by viewport width.

    Future Rebuild:
    - These tokens should become shared app tokens in React/Next/Vite.
    - Component families to preserve: shell, board rows, edge panel, pricing cards,
      community pulse, lead form, trust/legal note.
  */
  --bg: #070b11;
  --panel: #101926;
  --panel-2: #0f213d;
  --line: #253a5b;
  --text: #f7fbff;
  --muted: #a8b4c3;
  --green: #98d719;
  --blue: #125cff;
  --blue-2: #00359f;
  --amber: #f7b955;
  --red: #ff5f66;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#top {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(7, 11, 17, 0.9);
  border-bottom: 1px solid rgba(18, 92, 255, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 250px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a:hover {
  color: var(--text);
}

.header-cta,
.primary-action,
.secondary-action,
.buy-link,
.lead-form button,
.arena-preview button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
}

.header-cta,
.primary-action,
.buy-link,
.lead-form button,
.arena-preview button {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #ffffff;
  padding: 0 18px;
}

.secondary-action {
  border-color: rgba(18, 92, 255, 0.42);
  color: var(--text);
  padding: 0 18px;
  background: rgba(18, 92, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 18px;
  align-items: start;
  padding: 34px clamp(18px, 4vw, 56px) 42px;
  background:
    linear-gradient(180deg, rgba(18, 92, 255, 0.05), transparent 52%),
    var(--bg);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.hero p,
.section-heading p,
.split p,
.founders p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.board-title p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.board-title > span,
.hero-copy > p {
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 8px;
}

.board-workspace {
  display: grid;
  gap: 12px;
}

.board-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(18, 92, 255, 0.28);
  border-radius: 8px;
  background: #0b1420;
}

.sport-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #08111d;
}

.sport-tabs button,
.line-row button {
  min-height: 34px;
  border: 1px solid rgba(18, 92, 255, 0.32);
  border-radius: 6px;
  background: rgba(18, 92, 255, 0.08);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.sport-tabs button {
  padding: 0 14px;
}

.sport-tabs .active,
.line-row button {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
}

.line-table {
  overflow: hidden;
  border: 1px solid rgba(18, 92, 255, 0.32);
  border-radius: 8px;
  background: #0b1420;
}

.line-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr 0.7fr 0.55fr 0.7fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid rgba(37, 58, 91, 0.78);
  font-size: 14px;
}

.line-row:first-child {
  border-top: 0;
}

.line-head {
  min-height: 38px;
  background: #10213a;
  color: #b7c1cc;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.line-row strong {
  display: grid;
  gap: 3px;
}

.line-row small {
  font-weight: 700;
}

.line-row b,
.blue {
  color: var(--green);
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-row {
  color: var(--muted);
  font-size: 13px;
}

.trust-row span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 92, 255, 0.07);
}

.arena-preview {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(18, 92, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, #101b2b, #08111f);
  box-shadow: var(--shadow);
}

.compact-top {
  min-height: 66px;
}

.consensus-card,
.leader-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 92, 255, 0.05);
  padding: 14px;
}

.consensus-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.bar {
  overflow: hidden;
  height: 10px;
  margin-top: 10px;
  border-radius: 999px;
  background: #071327;
}

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.leader-list {
  display: grid;
  gap: 8px;
}

.leader-list div,
.leader-list p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.leader-list div {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.leader-list p {
  color: var(--text);
  font-size: 13px;
}

.preview-top,
.game-row,
.edge-panel,
.mini-grid,
.community-pulse {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
}

.preview-top span,
small,
.mini-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.game-row {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.highlighted {
  border-color: rgba(18, 92, 255, 0.58);
}

.teams {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

.market strong {
  display: block;
  margin-top: 4px;
}

.positive {
  color: var(--green);
}

.edge-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

.score-ring {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 7px solid rgba(18, 92, 255, 0.24);
  border-top-color: var(--green);
  border-radius: 50%;
  color: var(--green);
  font-weight: 900;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.mini-grid div {
  padding: 14px;
}

.mini-grid div + div {
  border-left: 1px solid var(--line);
}

.community-pulse {
  padding: 14px;
}

.community-pulse p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.section {
  padding: 68px clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: 0;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-grid article,
.price-card,
.rules-card {
  border: 1px solid rgba(18, 92, 255, 0.3);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.feature-index,
.plan-label {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-grid h3,
.price-card h3,
.rules-card h3 {
  margin: 16px 0 10px;
}

.feature-grid p,
.price-card p,
.rules-card li,
.legal-note {
  color: var(--muted);
  line-height: 1.5;
}

.split,
.founders {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.rules-card ul,
.price-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.pricing-grid {
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}

.price-card {
  display: grid;
  grid-template-rows: 18px 34px 60px 84px minmax(128px, 1fr) 40px;
  gap: 12px;
  min-height: 454px;
  height: 100%;
}

.price-card .plan-label {
  align-self: start;
}

.empty-label {
  opacity: 0;
}

.price-card h3 {
  align-self: center;
  margin: 0;
}

.price-card > p {
  margin: 0;
}

.price-card ul {
  align-self: start;
  margin: 0;
}

.price-card.featured {
  border-color: rgba(18, 92, 255, 0.58);
  background: var(--panel-2);
}

.lifetime-card {
  border-color: rgba(152, 215, 25, 0.78);
  background:
    linear-gradient(180deg, rgba(18, 92, 255, 0.18), rgba(152, 215, 25, 0.06)),
    var(--panel-2);
}

.lifetime-card .price {
  color: var(--green);
}

.price {
  align-self: center;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 16px;
}

.buy-link {
  width: 100%;
  min-height: 40px;
  margin-top: 0;
  align-self: end;
}

.secondary-buy {
  background: rgba(18, 92, 255, 0.08);
  border-color: var(--line);
  color: var(--text);
}

.legal-note {
  margin-top: 18px;
  font-size: 13px;
}

.lead-form {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.lead-form label {
  font-weight: 900;
}

.lead-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.lead-form input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #071327;
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}

#form-status {
  min-height: 18px;
  color: var(--blue);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero,
  .split,
  .founders {
    grid-template-columns: 1fr;
  }

  .arena-preview {
    min-width: 0;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 34px 16px 36px;
  }

  .section {
    padding: 44px 16px;
  }

  .game-row {
    grid-template-columns: 1fr 1fr;
  }

  .board-title {
    align-items: start;
    flex-direction: column;
  }

  .line-row {
    grid-template-columns: 1.25fr 0.85fr 0.75fr;
  }

  .line-row span:nth-child(4),
  .line-row span:nth-child(5),
  .line-row b {
    display: none;
  }

  .feature-grid,
  .pricing-grid,
  .mini-grid,
  .lead-form div {
    grid-template-columns: 1fr;
  }

  .mini-grid div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .site-footer {
    display: grid;
  }
}
