/* ─── LOCAL FONTS ─── */
@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-400.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-600.woff') format('woff');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-700.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-800.woff') format('woff');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-300.woff') format('woff');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-300i.woff') format('woff');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-400.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-400i.woff') format('woff');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-500.woff') format('woff');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ── MyStake Brand Palette ──────────────────────────────────────
     Primary BG  : #0B0E1A  (deep navy)
     Surface 1   : #111525  
     Surface 2   : #181D30  
     Surface 3   : #1F2540  
     Brand Purple: #7B5FFF  (main CTA, headings accent)
     Brand Lite  : #A98FFF  (lighter purple for H3)
     Neon Teal   : #00E5C3  (highlight / score values)
     Text        : #ECEDF5  
     Muted       : #7A7F99  
     Red         : #FF4D6D  (cons / warnings)
     Green       : #3DDB96  (pros / positive)
     Border      : rgba(123,95,255,0.20)
  ───────────────────────────────────────────────────────────────── */
  :root {
    --gold: #7B5FFF;
    --gold-light: #A98FFF;
    --dark: #0B0E1A;
    --dark2: #111525;
    --dark3: #181D30;
    --dark4: #1F2540;
    --text: #ECEDF5;
    --muted: #7A7F99;
    --accent: #FF4D6D;
    --green: #3DDB96;
    --border: rgba(123,95,255,0.20);
    --teal: #00E5C3;
  }

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

  body {
    background: var(--dark);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
  }

  /* ─── TYPOGRAPHY ─── */
  h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
    font-weight: 700;
  }

  h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
  h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); color: var(--gold); margin-bottom: 0.8em; }
  h3 { font-size: clamp(1.1rem, 2.5vw, 1.45rem); color: var(--gold-light); margin-bottom: 0.6em; }

  p { margin-bottom: 1.1em; max-width: 72ch; }
  strong { color: var(--gold-light); font-weight: 600; }

  a { color: var(--gold); text-decoration: none; }
  a:hover { color: var(--gold-light); text-decoration: underline; }

  /* ─── LAYOUT ─── */
  .container { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }

  section { padding: 3rem 0; border-bottom: 1px solid var(--border); }
  section:last-of-type { border-bottom: none; }

  /* ─── HERO ─── */
  .hero {
    background: radial-gradient(ellipse at 70% -10%, rgba(123,95,255,0.22) 0%, transparent 60%),
                radial-gradient(ellipse at 10% 80%, rgba(0,229,195,0.07) 0%, transparent 50%),
                linear-gradient(180deg, #0B0E1A 0%, #111525 100%);
    padding: 4.5rem 0 3rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      60deg,
      transparent,
      transparent 50px,
      rgba(123,95,255,0.025) 50px,
      rgba(123,95,255,0.025) 51px
    );
    pointer-events: none;
  }

  .badge {
    display: inline-block;
    background: rgba(123,95,255,0.15);
    color: #A98FFF;
    border: 1px solid rgba(123,95,255,0.35);
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.28em 0.9em;
    margin-bottom: 1.2rem;
  }

  .hero h1 { margin-bottom: 1rem; }

  .hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 62ch;
    margin-bottom: 2rem;
  }

  .hero-sub strong { color: var(--text); }

  .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 2.5rem; }

  .btn {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    padding: 0.8em 2em;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
  }

  .btn-primary {
    background: linear-gradient(135deg, #7B5FFF 0%, #5B3FE0 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(123,95,255,0.45);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(123,95,255,0.65);
    color: #fff;
    text-decoration: none;
  }

  .btn-outline {
    background: transparent;
    color: #A98FFF;
    border: 1px solid rgba(123,95,255,0.5);
  }

  .btn-outline:hover {
    background: rgba(123,95,255,0.12);
    color: #C5B0FF;
    text-decoration: none;
  }

  .age-notice {
    font-size: 0.78rem;
    color: var(--muted);
    border-left: 2px solid var(--border);
    padding-left: 0.8rem;
    line-height: 1.5;
    max-width: 50ch;
  }

  /* ─── SCORE STRIP ─── */
  .score-strip {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    overflow: hidden;
    margin-top: 2rem;
  }

  .score-item {
    flex: 1;
    min-width: 130px;
    padding: 1rem 1.2rem;
    border-right: 1px solid var(--border);
    text-align: center;
  }

  .score-item:last-child { border-right: none; }

  .score-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--teal);
    display: block;
  }

  .score-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

  /* ─── IMAGE WRAP ─── */
  .img-wrap {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--dark3);
    line-height: 0;
  }

  .img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  /* ─── TABLE ─── */
  .data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0 1.5rem;
    font-size: 0.92rem;
  }

  .data-table th {
    background: var(--dark4);
    color: #A98FFF;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border);
  }

  .data-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    vertical-align: top;
    color: var(--text);
  }

  .data-table tr:last-child td { border-bottom: none; }
  .data-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
  .data-table td:first-child { color: var(--muted); font-size: 0.85rem; }

  /* ─── LISTS ─── */
  .styled-list {
    list-style: none;
    margin: 1rem 0 1.5rem;
  }

  .styled-list li {
    padding: 0.35rem 0 0.35rem 1.6rem;
    position: relative;
    line-height: 1.65;
    font-size: 0.95rem;
  }

  .styled-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.8rem;
    top: 0.45rem;
  }

  /* ─── PROS / CONS ─── */
  .pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.5rem 0; }

  @media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }

  .pros-box, .cons-box {
    background: var(--dark3);
    border-radius: 8px;
    padding: 1.2rem 1.4rem;
    border-top: 3px solid;
  }

  .pros-box { border-color: var(--green); }
  .cons-box { border-color: var(--accent); }

  .pros-box h4, .cons-box h4 {
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
  }

  .pros-box h4 { color: var(--green); }
  .cons-box h4 { color: var(--accent); }

  .pros-box li, .cons-box li {
    list-style: none;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    line-height: 1.5;
  }

  /* ─── FAQ ─── */
  .faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 0;
  }

  .faq-q {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    cursor: pointer;
  }

  .faq-q::before { content: 'Q: '; color: #7B5FFF; }

  .faq-a { font-size: 0.92rem; color: var(--muted); max-width: 70ch; }

  /* ─── HIGHLIGHT BOX ─── */
  .highlight-box {
    background: rgba(123,95,255,0.08);
    border: 1px solid rgba(123,95,255,0.25);
    border-left: 3px solid #7B5FFF;
    border-radius: 0 6px 6px 0;
    padding: 1rem 1.3rem;
    margin: 1.2rem 0;
    font-size: 0.93rem;
  }

  /* ─── STEP LIST ─── */
  .step-list { list-style: none; margin: 1rem 0 1.5rem; counter-reset: steps; }

  .step-list li {
    counter-increment: steps;
    padding: 0.6rem 0 0.6rem 3rem;
    position: relative;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .step-list li:last-child { border-bottom: none; }

  .step-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 1.8rem;
    height: 1.8rem;
    background: #7B5FFF;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }

  /* ─── INTERNAL LINK PLACEHOLDER ─── */
  .internal-link {
    display: inline;
    color: #7B5FFF;
    border-bottom: 1px dashed #7B5FFF;
    font-style: italic;
    font-size: 0.88rem;
    opacity: 0.7;
  }

  /* ─── FOOTER ─── */
  .site-footer {
    background: var(--dark2);
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
    line-height: 1.9;
  }

  /* ─── KEYWORD REPORT ─── */
  .kw-report {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem 1.8rem;
    font-size: 0.85rem;
    font-family: 'DM Sans', monospace;
    color: var(--muted);
  }

  .kw-report strong { color: #A98FFF; }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 700px) {
    .score-strip { flex-direction: column; }
    .score-item { border-right: none; border-bottom: 1px solid var(--border); }
    .score-item:last-child { border-bottom: none; }
    h2 { font-size: 1.4rem; }
  }