/* ============================================================
   Sideline Social — marketing chrome
   Shared by the static marketing pages: /, /about, /privacy, /terms.
   Extracted verbatim from the inline <style> that used to live in
   index.html, plus a .doc block for the text-only legal/about pages.
   ============================================================ */

  :root {
    --bg:        #030712;
    --surface:   #0d1117;
    --surface-2: #111927;
    --green:     #00DC82;
    --red:       #EF4444;
    --text:      #F1F5F9;
    --text-2:    #94A3B8;
    --text-3:    #4B5563;
    --border:    rgba(148,163,184,0.12);
    --border-2:  rgba(148,163,184,0.18);
    --display: 'Archivo', system-ui, sans-serif;
    --body: 'Inter', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg); color: var(--text); font-family: var(--body);
    line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  :focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

  /* ============ BRAND LOCKUP ============ */
  .logo { display: inline-flex; align-items: center; gap: 9px; }
  .logo .mk {
    width: 30px; height: 30px; border-radius: 9px;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
  }
  .logo .mk img { width: 100%; height: 100%; object-fit: cover; }
  .logo .wd { font-family: var(--display); font-weight: 900; font-size: 19px; letter-spacing: -0.02em; color: var(--text); white-space: nowrap; }

  /* ============ NAV ============ */
  nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(3,7,18,0.72); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
  .nav-links { display: flex; align-items: center; gap: 28px; }
  .nav-links a.sub { color: var(--text-2); font-size: 14px; font-weight: 500; }
  .nav-links a.sub:hover { color: var(--text); }
  .btn {
    font-family: var(--body); font-weight: 600; font-size: 14px;
    padding: 9px 18px; border-radius: 8px; cursor: pointer; border: none;
    transition: transform .12s ease, background .15s ease;
  }
  .btn-primary { background: var(--green); color: #04130c; }
  .btn-primary:hover { background: #1cf197; transform: translateY(-1px); }
  .btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
  .btn-ghost:hover { border-color: var(--text-2); }
  @media (max-width: 620px){
    .nav-links a.sub { display:none; }
    /* Keep the full "Sideline Social" wordmark on one line beside the CTAs. */
    .nav-inner .logo .wd { font-size: 15px; }
    .nav-links { gap: 10px; }
    .nav-inner .btn { padding: 9px 13px; }
  }

  /* ============ HERO ============ */
  .hero { padding: 88px 0 72px; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
  .eyebrow {
    font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--green); margin-bottom: 22px; display: inline-block;
  }
  h1 {
    font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5.6vw, 66px);
    line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 22px;
  }
  h1 em { font-style: normal; color: var(--green); }
  .lede { font-size: 18px; color: var(--text-2); max-width: 490px; margin-bottom: 32px; }
  .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
  .cta-row .btn-primary { padding: 14px 26px; font-size: 15px; }
  .cta-row .btn-ghost { padding: 14px 22px; font-size: 15px; }
  .trust { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); margin-top: 20px; }
  .trust b { color: var(--text-2); font-weight: 700; }

  /* ============ SIGNATURE: APP SCREEN (matches the real app) ============ */
  .screen {
    background: var(--surface); border: 1px solid var(--border-2); border-radius: 18px;
    overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8);
  }
  .preview-tag {
    font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--text-3); background: var(--bg);
    border-bottom: 1px solid var(--border); padding: 7px 12px; text-align: center;
  }
  .chrome { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); overflow: hidden; }
  .chrome .logo .mk { width: 22px; height: 22px; border-radius: 7px; font-size: 12px; }
  .chrome .logo .wd { font-size: 11.5px; white-space: nowrap; }
  .chrome .logo { gap: 6px; }
  .navtabs { display: flex; align-items: center; gap: 0; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
  .nt { display: flex; align-items: center; gap: 4px; padding: 5px 4px; border-radius: 999px; font-size: 9px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
  .nt svg { width: 10px; height: 10px; }
  .nt.on { color: var(--green); background: rgba(0,220,130,0.10); }
  .navicons { display: flex; align-items: center; gap: 6px; color: var(--text-2); }
  .navicons svg { width: 13px; height: 13px; }
  .navicons .me { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg,#334155,#64748b); border: 1px solid var(--border-2); }

  @keyframes pulse { 0%,100%{opacity:1; box-shadow:0 0 0 0 rgba(239,68,68,0.5);} 50%{opacity:.55; box-shadow:0 0 0 6px rgba(239,68,68,0);} }
  .pulse { border-radius: 50%; background: var(--red); animation: pulse 1.4s infinite; display: inline-block; }

  .game-card { margin: 16px; padding: 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; }
  .gc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .gc-league { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--text-3); }
  .gc-watch { font-family: var(--mono); font-size: 11px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
  .gc-teams { display: flex; align-items: flex-start; justify-content: space-between; }
  .gc-team { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 38%; }
  .logo-badge { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 14px; color: #fff; letter-spacing: 0.02em; }
  .gc-team .nm { font-size: 13px; font-weight: 600; color: var(--text); text-align: center; }
  .gc-team .sc { font-family: var(--mono); font-weight: 700; font-size: 30px; color: var(--text); line-height: 1; }
  .gc-mid { text-align: center; padding-top: 12px; }
  .gc-mid .live-tag { display: flex; align-items: center; gap: 6px; justify-content: center; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--red); }
  .gc-mid .inn { font-family: var(--mono); font-size: 11px; color: var(--text-2); margin-top: 5px; }

  .feed-head { display: flex; align-items: center; gap: 8px; padding: 2px 18px 6px; }
  .feed-head .lbl { font-weight: 600; font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 7px; }
  .feed-head .ldot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; }
  .feed-head .cnt { font-family: var(--mono); font-size: 11px; color: var(--text-3); }

  .feed { padding: 4px 0; height: 240px; overflow: hidden; position: relative; }
  .feed::after { content:""; position:absolute; bottom:0; left:0; right:0; height:40px; background:linear-gradient(transparent, var(--surface)); pointer-events:none; }
  .cmt { display: flex; gap: 11px; padding: 10px 18px; animation: slidein .45s ease; }
  @keyframes slidein { from { opacity:0; transform: translateY(-8px);} to {opacity:1; transform:none;} }
  .cmt .av { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 12px; color: #04130c; }
  .cmt .bd { flex: 1; min-width: 0; }
  .cmt .mt { font-size: 12.5px; margin-bottom: 1px; }
  .cmt .mt .nm { font-weight: 600; color: var(--text); }
  .cmt .mt .tm { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); margin-left: 6px; }
  .cmt .tx { font-size: 13.5px; color: var(--text-2); }

  .composer { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--surface-2); }
  .composer .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#334155,#475569); flex-shrink: 0; }
  .composer .inp { flex: 1; font-size: 13px; color: var(--text-3); }
  .composer .send { width: 34px; height: 34px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; color: #04130c; font-size: 14px; flex-shrink: 0; }

  @media (max-width: 880px){
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .lede { max-width: none; }
    .feed { height: 220px; }
  }
  @media (max-width: 600px){
    .nt .lb { display: none; }
    .nt.on .lb { display: inline; }
    .navicons svg { display: none; }
    /* Room for the full "Sideline Social" wordmark in the narrow mock chrome. */
    .chrome .logo .wd { font-size: 11px; }
    .navicons .me { display: none; }
  }

  /* ============ SECTION SCAFFOLD ============ */
  section.band { padding: 80px 0; border-top: 1px solid var(--border); }
  .section-eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
  h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; line-height: 1.05; }
  .answer { font-size: 19px; color: var(--text-2); max-width: 760px; margin-top: 18px; }
  .answer b { color: var(--text); font-weight: 600; }

  /* ============ HOW IT WORKS ============ */
  .steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px; }
  .step { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px; }
  .step .num { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--green); letter-spacing: 0.1em; }
  .step h3 { font-family: var(--display); font-weight: 800; font-size: 19px; margin: 14px 0 8px; letter-spacing: -0.01em; }
  .step p { font-size: 14.5px; color: var(--text-2); }
  @media (max-width: 760px){ .steps { grid-template-columns: 1fr; } }

  /* ============ SPORTS ============ */
  .leagues { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
  .league { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 22px; }
  .league .badge { font-family: var(--display); font-weight: 900; font-size: 15px; color: var(--green); }
  .league .label { font-size: 14px; color: var(--text); font-weight: 500; }
  .league.soon { opacity: 0.55; }
  .league.soon .badge { color: var(--text-2); }
  .league .tag { font-family: var(--mono); font-size: 10px; color: var(--text-3); border:1px solid var(--border-2); padding: 2px 7px; border-radius: 99px; }

  /* ============ DIFFERENT ============ */
  .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
  .col { border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
  .col.them { background: transparent; }
  .col.us { background: linear-gradient(180deg, rgba(0,220,130,0.06), transparent); border-color: rgba(0,220,130,0.25); }
  .col h4 { font-family: var(--display); font-weight: 800; font-size: 16px; margin-bottom: 18px; }
  .col.them h4 { color: var(--text-2); }
  .col.us h4 { color: var(--green); }
  .col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
  .col li { font-size: 14.5px; color: var(--text-2); padding-left: 26px; position: relative; }
  .col li::before { position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: 13px; }
  .col.them li::before { content: "✕"; color: var(--text-3); }
  .col.us li { color: var(--text); }
  .col.us li::before { content: "✓"; color: var(--green); }
  @media (max-width: 760px){ .compare { grid-template-columns: 1fr; } }
  /* One line of deeper-dive links under the compare columns. */
  .compare-links { margin-top: 20px; font-size: 14px; color: var(--text-3); }
  .compare-links a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
  .compare-links a:hover { color: #1cf197; }

  /* ============ FAQ ============ */
  .faq { margin-top: 36px; max-width: 760px; }
  details { border-bottom: 1px solid var(--border); padding: 20px 0; }
  summary { font-family: var(--display); font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; font-family: var(--mono); color: var(--green); font-size: 20px; }
  details[open] summary::after { content: "–"; }
  details p { color: var(--text-2); font-size: 15px; margin-top: 12px; }

  /* ============ FINAL CTA ============ */
  .final { text-align: center; padding: 96px 0; border-top: 1px solid var(--border); background: radial-gradient(ellipse at center top, rgba(0,220,130,0.07), transparent 60%); }
  .final h2 { font-size: clamp(32px, 5vw, 52px); }
  .final p { color: var(--text-2); font-size: 18px; margin: 18px auto 32px; max-width: 460px; }

  /* ============ FOOTER ============ */
  footer { border-top: 1px solid var(--border); padding: 40px 0; }
  .foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
  .foot-inner .logo .mk { width: 26px; height: 26px; font-size: 14px; }
  .foot-inner .logo .wd { font-size: 16px; }
  .foot-links { display: flex; gap: 24px; font-size: 13px; color: var(--text-3); font-family: var(--mono); }
  .foot-links a:hover { color: var(--text-2); }
  .copyright { font-family: var(--mono); font-size: 12px; color: var(--text-3); }

  @media (prefers-reduced-motion: reduce){
    .pulse { animation: none; }
    .cmt { animation: none; }
    html { scroll-behavior: auto; }
  }

  /* ============ TEXT PAGES (/about, /privacy, /terms) ============ */
  /* .doc-hero and .doc wrap their own .wrap gutters, so only set the block
     padding here — a `padding` shorthand would zero out .wrap's 24px inline
     gutter and push the text flush to the viewport edge on mobile. */
  .doc-hero { padding-top: 72px; padding-bottom: 8px; }
  .doc-hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 14px; }
  .doc-hero .meta { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }

  /* .doc sits inside .wrap, so cap the measure on the children rather than the
     column itself — that keeps the prose flush left with the H1 above it. */
  .doc { padding-top: 24px; padding-bottom: 88px; }
  .doc > * { max-width: 760px; }
  .doc h2 { font-size: clamp(21px, 2.4vw, 26px); margin: 44px 0 14px; }
  .doc h2:first-child { margin-top: 8px; }
  .doc p { font-size: 16.5px; color: var(--text-2); margin-bottom: 16px; }
  .doc p:last-child { margin-bottom: 0; }
  .doc p b, .doc li b { color: var(--text); font-weight: 600; }
  .doc ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 0 0 18px; }
  .doc li { font-size: 16.5px; color: var(--text-2); padding-left: 22px; position: relative; }
  .doc li::before { content: "·"; position: absolute; left: 4px; top: -1px; color: var(--green); font-weight: 700; }
  .doc a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
  .doc a:hover { color: #1cf197; }
  .doc .doc-cta { margin-top: 40px; }
