/* ── probalist.com — site styles (extracted from head.php blocks 1-6 on 2026-05-24) ── */

  :root {
    --bg: #f8f7f4;
    --bg2: #f0ede6;
    --surface: #ffffff;
    --border: rgba(0,0,0,0.08);
    --border-s: rgba(0,0,0,0.13);
    --text: #0f0e0c;
    --muted: #8a8680;
    --muted2: #5a5650;
    /* Two-tone brand palette — the indicator-wave colours: deep blue ↔ gold.
       All gradients blend between these two families only. */
    --gold: #b45309;  /* amber-700 — text accent on light bg (contrast) */
    --gold2: #f59e0b; /* amber */
    --gold3: #fbbf24; /* yellow */
    --green: #1a7a4a;
    --red: #b83030;
    --g1: #1e3a8a; /* deep blue — bearish end */
    --g2: #2563eb; /* strong blue */
    --g3: #f59e0b; /* amber */
    --g4: #fbbf24; /* yellow */
    --gold-deep: #d97706; /* amber-600 — gold surfaces that carry white text */
    --thermo: linear-gradient(90deg, #1e3a8a 0%, #2563eb 38%, #f59e0b 78%, #fbbf24 100%);
  }

  [data-theme="dark"] {
    --bg: #0e0e0e;
    --bg2: #161616;
    --surface: #1c1c1c;
    --border: rgba(255,255,255,0.07);
    --border-s: rgba(255,255,255,0.13);
    --text: #f0efe8;
    --muted: #66655f;
    --muted2: #9a9890;
    --gold: #fbbf24;  /* bright yellow text accent on dark bg */
    --gold2: #f59e0b;
    --gold3: #fcd34d;
    --green: #3aaa6a;
    --red: #e06060;
    --g1: #1e3a8a;
    --g2: #2563eb;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 76px; /* clear the fixed 60px .site-nav for #anchors */ }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
    -webkit-font-smoothing: antialiased;
  }

  /* ── NAV (site header) ──
   * Selector is .site-nav (not bare `nav`) so it doesn't bleed into
   * the core/nav widget's inner <nav class="cms-nav"> element.
   *
   * Background + blur are emitted on a ::before pseudo (not directly
   * on .site-nav) because backdrop-filter creates a CSS containing
   * block for position: fixed descendants. With it on .site-nav,
   * the widget's mobile drawer (`position: fixed; inset: 0`) was
   * contained in the 60px header instead of the viewport — the
   * drawer rendered as a tiny strip up top. Pseudo-element holds
   * the blur; .site-nav stays a non-CB-creating ancestor. */
  .site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 150;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 3rem; height: 60px;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
    isolation: isolate;        /* keep the pseudo's stacking sane */
  }
  .site-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(248,247,244,0.96) 0%, rgba(240,236,228,0.96) 50%, rgba(245,242,235,0.96) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background 0.3s;
  }
  [data-theme="dark"] .site-nav::before { background: linear-gradient(90deg, rgba(12,14,24,0.97) 0%, rgba(16,20,36,0.97) 50%, rgba(12,14,24,0.97) 100%); }

  .nav-wordmark {
    font-family: 'Manrope', sans-serif; font-weight: 900;
    font-size: 1.5rem; letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--g1), var(--g2), var(--gold2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-decoration: none;
  }

  /* Wordmark as image (designed text logo, blue->gold letters). */
  .nav-wordmark-img { height: 13px; width: auto; display: block; }
  .footer-wordmark-img { height: 10px; width: auto; display: block; }

  .nav-logo-link { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }

  .nav-logo-img {
    height: 42px; width: auto; display: block;
    filter: drop-shadow(0 1px 4px rgba(30,58,138,0.15));
    transition: filter 0.2s;
  }

  .nav-logo-img:hover { filter: drop-shadow(0 2px 8px rgba(30,58,138,0.3)); }

  .footer-logo-img {
    height: 26px; width: auto; display: block;
    opacity: 0.85; transition: opacity 0.2s;
  }

  .footer-logo-img:hover { opacity: 1; }

  /* Right-hand toolbar — theme/translate widgets + hamburger. */
  .site-nav .nav-right { display: flex; align-items: center; gap: 0.75rem; }

  /* ── HERO ── */
  .hero {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 8rem 2rem 5rem;
    position: relative; overflow: hidden;
  }

  /* Gradient blobs */
  .hero::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background:
      radial-gradient(ellipse 700px 500px at 15% 60%, rgba(30,58,138,0.07) 0%, transparent 70%),
      radial-gradient(ellipse 500px 400px at 85% 30%, rgba(245,158,11,0.08) 0%, transparent 70%),
      radial-gradient(ellipse 400px 300px at 50% 90%, rgba(37,99,235,0.05) 0%, transparent 70%);
    pointer-events: none;
  }

  [data-theme="dark"] .hero::before {
    background:
      radial-gradient(ellipse 700px 500px at 15% 60%, rgba(30,58,138,0.18) 0%, transparent 70%),
      radial-gradient(ellipse 500px 400px at 85% 30%, rgba(245,158,11,0.14) 0%, transparent 70%),
      radial-gradient(ellipse 400px 300px at 50% 90%, rgba(37,99,235,0.1) 0%, transparent 70%);
  }

  .hero > * { position: relative; z-index: 1; }

  /* Same blue→gold gradient-border treatment as .ind-free-pill. */
  .eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem;
    border: 1px solid transparent;
    background: linear-gradient(var(--surface), var(--surface)) padding-box,
                var(--thermo) border-box;
    border-radius: 100px; padding: 0.3rem 1rem;
    font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--g2); margin-bottom: 2rem;
  }

  .eyebrow::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--g2); animation: blink 1.8s infinite;
  }

  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

  h1 {
    font-family: 'Manrope', sans-serif; font-weight: 800;
    font-size: clamp(2.8rem, 6.5vw, 5.8rem);
    line-height: 1.04; letter-spacing: -0.04em;
    max-width: 840px; margin-bottom: 1.5rem;
  }

  h1 .grad {
    background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 45%, var(--gold2) 82%, var(--gold3) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  }

  .hero-sub {
    max-width: 480px; color: var(--muted2); font-size: 1rem;
    line-height: 1.75; margin-bottom: 2.5rem;
  }

  .hero-actions { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 4rem; flex-wrap: wrap; justify-content: center; }

  .btn-primary {
    background: linear-gradient(135deg, var(--g1), var(--g2));
    color: #fff; padding: 0.85rem 2rem; border-radius: 6px;
    font-weight: 500; font-size: 0.875rem; text-decoration: none;
    box-shadow: 0 4px 20px rgba(30,58,138,0.25); transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(30,58,138,0.3); }

  .btn-ghost {
    color: var(--g2); padding: 0.85rem 1.4rem;
    border: 1px solid rgba(37,99,235,0.25); border-radius: 6px;
    font-size: 0.875rem; text-decoration: none;
    background: linear-gradient(135deg, rgba(30,58,138,0.05) 0%, rgba(245,158,11,0.04) 100%);
    transition: all 0.2s;
  }
  .btn-ghost:hover {
    color: var(--g1);
    border-color: rgba(37,99,235,0.5);
    background: linear-gradient(135deg, rgba(30,58,138,0.1) 0%, rgba(37,99,235,0.07) 50%, rgba(245,158,11,0.06) 100%);
    box-shadow: 0 4px 16px rgba(30,58,138,0.12);
    transform: translateY(-1px);
  }

  .stats-row {
    display: flex; gap: 2.5rem; align-items: center;
    flex-wrap: wrap; justify-content: center;
    padding-bottom: 4.5rem; border-bottom: 1px solid var(--border);
    width: 100%; max-width: 680px; margin: 0 auto;
  }

  .stat { text-align: center; }

  .stat-num {
    font-family: 'Manrope', sans-serif; font-weight: 700;
    font-size: 1.6rem; letter-spacing: -0.03em; line-height: 1;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--g1), var(--g2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  }

  .stat-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
  .stat-div { width: 1px; height: 32px; background: var(--border); }

  /* Chart CSS removed - using slider instead */

  /* ── TICKER ── CSS now bundled by the probalist/crypto-ticker
   *               widget (client_css from the default skin). */

  /* ── SECTIONS ── */
  .section { padding: 7rem 3rem; max-width: 1100px; margin: 0 auto; }

  .section-label {
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    background: linear-gradient(90deg, var(--g2), var(--gold2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 0.75rem; display: inline-block;
  }

  .section-title {
    font-family: 'Manrope', sans-serif; font-weight: 800;
    font-size: clamp(1.9rem, 3.5vw, 2.9rem);
    letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 1rem; color: var(--text);
  }

  .section-sub { color: var(--muted2); line-height: 1.7; font-size: 0.95rem; max-width: 420px; }

  /* Section divider = the thermo gradient as a subtle signature line. */
  .divider { border: none; height: 1px; background: var(--thermo); opacity: 0.35; margin: 0; }

  /* ── PROMO BANNER ── */
  .promo-banner {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    padding: 0.5rem 3rem;
    text-align: center;
    font-size: 0.82rem; font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .promo-banner.visible { display: block; }

  @media (max-width: 860px) {
    /* Mobile: keep the mark + text-logo compact so the hamburger always
       fits (the wide letterspaced wordmark would otherwise overflow). */
    .nav-logo-link { gap: 0.4rem; min-width: 0; }
    .nav-logo-img { height: 26px; }
    .nav-wordmark { font-size: 1.15rem; white-space: nowrap; }
    .nav-wordmark-img { display: block; height: 10px; }
    .site-nav .nav-right { flex-shrink: 0; }

    /* Theme toggle relocated into the drawer (see scripts.php). Sits
       centered below the menu items with a divider above. */
    .theme-in-drawer {
      margin: 1.5rem auto 0; transform: scale(1.25);
      padding-top: 1.5rem; border-top: 1px solid var(--border);
    }

    .promo-banner {
      font-size: 0.75rem;
      padding: 0.45rem 2.5rem 0.45rem 0.75rem;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
    }
    body.has-banner .site-nav { top: 30px; }
    body.has-banner .hero { padding-top: 9rem; }
    /* CMS edit mode + banner: admin-bar (48px) + banner (30px) = 78px */
    body.is-edit-mode.has-banner .site-nav { top: 78px; }
  }
  .promo-banner-close {
    position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    font-size: 0.85rem; opacity: 0.65; transition: opacity 0.2s; line-height:1;
  }
  .promo-banner-close:hover { opacity: 1; }

  /* When banner visible: push nav + hero down. No !important — edit
   * mode adds another 48px via a more specific selector below; we
   * want the cascade to compose cleanly, not be locked. */
  body.has-banner .site-nav { top: 30px; }
  body.has-banner .hero     { padding-top: 10rem; }
  body.is-edit-mode.has-banner .site-nav { top: 78px; }

  /* ── DISCOUNT BADGE on pricing cards ── */
  .discount-badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: linear-gradient(135deg, #c83c3c, #e05a5a);
    color: #fff; font-size: 0.65rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 0.18rem 0.55rem; border-radius: 100px;
    margin-left: 0.5rem; vertical-align: middle;
    box-shadow: 0 2px 8px rgba(200,60,60,0.3);
    animation: badgePulse 2.5s ease-in-out infinite;
  }

  @keyframes badgePulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(200,60,60,0.3); }
    50%       { box-shadow: 0 2px 16px rgba(200,60,60,0.5); }
  }

  .original-price {
    font-size: 0.85rem; color: var(--muted);
    text-decoration: line-through; margin-right: 0.3rem;
    font-weight: 400;
  }

  .plan.featured .original-price { color: rgba(255,255,255,0.45); }
  .plan.featured .discount-badge { box-shadow: 0 2px 12px rgba(200,60,60,0.4); }

  /* Features */
  .feat-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; gap: 2rem; flex-wrap: wrap; }
  .feat-header .section-sub { max-width: 380px; }

  .feat-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .feat-card {
    /* Calm blue surface — the full thermo loop was too loud on big cards;
       the gradient signature lives in thin accents (dividers, feat-num). */
    background: linear-gradient(115deg, #1e3a8a 0%, #2563eb 45%, #d97706 82%, #f59e0b 100%);
    border: none;
    border-radius: 10px; padding: 1.75rem;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    position: relative; overflow: hidden;
    opacity: 0.88;
  }

  /* Dark overlay for readability */
  .feat-card::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(8, 12, 24, 0.18);
    border-radius: 10px;
    pointer-events: none;
    transition: background 0.2s;
  }

  .feat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(30,58,138,0.3);
    opacity: 1;
  }

  .feat-card:hover::before {
    background: rgba(8, 12, 24, 0.08);
  }

  /* All text inside cards always white regardless of theme */
  .feat-card * { position: relative; z-index: 1; }
  .feat-card .feat-num  { color: rgba(255,255,255,0.5) !important; }
  .feat-card .feat-title { color: #fff !important; font-weight: 700 !important; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
  .feat-card .feat-desc { color: rgba(255,255,255,0.8) !important; }
  .feat-card .feat-num svg,
  .feat-card svg { color: rgba(255,255,255,0.5) !important; stroke: rgba(255,255,255,0.5) !important; }
  .feat-card:hover::before { opacity: 1; }
  .feat-card.wide { grid-column: span 2; }

  .feat-num {
    font-family: 'Manrope', sans-serif; font-size: 0.68rem; font-weight: 700;
    color: var(--muted); letter-spacing: 0.1em; margin-bottom: 1.25rem;
    display: inline-flex; align-items: center; gap: 0.4rem;
  }

  .feat-num::before {
    content: ''; width: 16px; height: 1px;
    background: linear-gradient(90deg, var(--g2), var(--gold2));
  }

  .feat-card h3 {
    font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 0.95rem;
    margin-bottom: 0.5rem; color: var(--text); letter-spacing: -0.01em;
  }

  .feat-card p { font-size: 0.875rem; color: var(--muted2); line-height: 1.65; }

  /* How */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3.5rem; position: relative; }

  .steps::before {
    content: ''; position: absolute; top: 1.5rem; left: 15%; right: 15%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--g2), var(--gold2), var(--g2), transparent);
    opacity: 0.3;
  }

  .step { text-align: center; }

  .step-circle {
    width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--g1), var(--g2));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.85rem;
    color: #fff; box-shadow: 0 4px 16px rgba(30,58,138,0.2);
    position: relative; z-index: 1;
  }

  .step h3 { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--text); }
  .step p { font-size: 0.875rem; color: var(--muted2); line-height: 1.65; max-width: 240px; margin: 0 auto; }

  /* Pricing */
  .pricing-toggle {
    display: inline-flex; background: var(--bg2); border: 1px solid var(--border);
    border-radius: 6px; padding: 3px; margin: 2rem 0 3rem; gap: 2px;
  }
  .toggle-btn {
    padding: 0.4rem 1.1rem; border-radius: 4px; font-size: 0.8rem;
    cursor: pointer; border: none; background: transparent; color: var(--muted);
    transition: all 0.2s; font-family: 'Inter', sans-serif;
  }
  .toggle-btn.on { background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: 0 1px 4px rgba(0,0,0,0.06); }

  .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; text-align: left; }

  .plan { background: linear-gradient(160deg, rgba(30,58,138,0.04) 0%, rgba(240,236,228,0.6) 100%); border: 1px solid var(--border); border-radius: 10px; padding: 2rem; position: relative; transition: transform 0.2s, box-shadow 0.2s; }
  [data-theme="dark"] .plan { background: linear-gradient(160deg, rgba(30,58,138,0.12) 0%, rgba(245,158,11,0.05) 100%); }
  .plan:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(30,58,138,0.15);
    background: linear-gradient(160deg, rgba(30,58,138,0.1) 0%, rgba(37,99,235,0.07) 50%, rgba(245,158,11,0.06) 100%);
    border-color: rgba(30,58,138,0.25);
  }
  [data-theme="dark"] .plan:hover {
    background: linear-gradient(160deg, rgba(30,58,138,0.28) 0%, rgba(37,99,235,0.18) 50%, rgba(245,158,11,0.1) 100%);
    border-color: rgba(37,99,235,0.4);
    box-shadow: 0 8px 30px rgba(30,58,138,0.3);
  }

  .plan.featured {
    background: linear-gradient(160deg, var(--g1) 0%, var(--g2) 60%, #1a4a8a 100%);
    border-color: transparent;
    box-shadow: 0 8px 40px rgba(30,58,138,0.3);
  }
  .plan.featured:hover { box-shadow: 0 16px 50px rgba(30,58,138,0.4); }

  .popular-tag {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold2), var(--gold3));
    color: #000; font-size: 0.65rem; font-weight: 700;
    padding: 0.22rem 0.9rem; border-radius: 100px;
    text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap;
  }

  .plan-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
  .plan.featured .plan-label { color: rgba(255,255,255,0.5); }

  .plan-name { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; margin-bottom: 1.5rem; color: var(--text); }
  .plan.featured .plan-name { color: rgba(255,255,255,0.8); }

  .plan-price { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 3rem; letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.25rem; color: var(--text); }
  .plan.featured .plan-price { color: #fff; }
  .plan-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 0.4rem; display: inline-block; font-weight: 500; }

  .plan-period { font-size: 0.75rem; color: var(--muted); margin-bottom: 1.75rem; }
  .plan.featured .plan-period { color: rgba(255,255,255,0.4); }

  .plan-line { height: 1px; background: var(--border); margin-bottom: 1.5rem; }
  .plan.featured .plan-line { background: rgba(255,255,255,0.1); }

  .plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
  .plan-features li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.85rem; color: var(--muted2); }
  .plan.featured .plan-features li { color: rgba(255,255,255,0.75); }
  .plan-features li.off { opacity: 0.3; }
  .chk { font-size: 0.7rem; flex-shrink: 0; color: var(--muted); }
  .chk.on { color: var(--gold2); }
  .plan.featured .chk.on { color: var(--gold3); }

  .plan-btn { display: block; text-align: center; padding: 0.75rem; border-radius: 6px; font-size: 0.82rem; font-weight: 500; text-decoration: none; transition: all 0.2s; letter-spacing: 0.01em; }
  .plan-btn-outline {
    border: 1px solid rgba(37,99,235,0.25); color: var(--g2);
    background: linear-gradient(135deg, rgba(30,58,138,0.04) 0%, rgba(245,158,11,0.03) 100%);
  }
  .plan-btn-outline:hover {
    background: linear-gradient(135deg, rgba(30,58,138,0.1) 0%, rgba(37,99,235,0.07) 50%, rgba(245,158,11,0.05) 100%);
    border-color: rgba(37,99,235,0.45);
    box-shadow: 0 4px 14px rgba(30,58,138,0.12);
    transform: translateY(-1px);
  }
  .plan-btn-fill { background: linear-gradient(135deg, var(--gold2), var(--gold3)); color: #000; font-weight: 600; box-shadow: 0 4px 16px rgba(245,158,11,0.3); }
  .plan-btn-fill:hover { box-shadow: 0 6px 24px rgba(245,158,11,0.4); transform: translateY(-1px); }

  /* ── REVIEWS SLIDER ── */
  .reviews-section { padding: 7rem 0; background: linear-gradient(160deg, rgba(30,58,138,0.04) 0%, rgba(245,158,11,0.03) 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }

  .reviews-inner { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }

  .reviews-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }

  /* (Removed) Slider/arrow/.review-card/.avatar/.av-*/.dot-btn rules from the
     legacy review-slider implementation — replaced by the core/reviews widget
     whose CSS lives in skins/<n>/skin.js and only emits when the slot is
     present on the page. */

  /* CTA */
  .cta-section { padding: 7rem 3rem; max-width: 1100px; margin: 0 auto; }

  .cta-box {
    border-radius: 16px; padding: 5rem 3rem; text-align: center;
    background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 55%, #b45309 100%);
    position: relative; overflow: hidden;
  }

  .cta-box::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 600px 400px at 20% 50%, rgba(245,158,11,0.2) 0%, transparent 60%),
                radial-gradient(ellipse 400px 300px at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
  }

  .cta-box > * { position: relative; z-index: 1; }

  .cta-box h2 {
    font-family: 'Manrope', sans-serif; font-weight: 800;
    font-size: clamp(1.9rem, 4vw, 3rem);
    letter-spacing: -0.035em; margin-bottom: 0.9rem; color: #fff; line-height: 1.1;
  }

  .cta-box p { color: rgba(255,255,255,0.65); margin-bottom: 2.2rem; font-size: 1rem; }

  .btn-cta {
    display: inline-block; background: linear-gradient(135deg, var(--gold2), var(--gold3));
    color: #000; padding: 0.9rem 2.4rem; border-radius: 6px;
    font-weight: 600; font-size: 0.9rem; text-decoration: none;
    box-shadow: 0 4px 20px rgba(245,158,11,0.4); transition: transform 0.2s, box-shadow 0.2s;
  }

  .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,158,11,0.5); }

  .cta-note { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 1.2rem; letter-spacing: 0.03em; }

  /* ── FREE INDICATORS (#indicators) — static cards, one per published TV script ── */
  /* "Free on TradingView" badge inside the section title — thermo
     gradient border (padding-box/border-box trick) + live dot. */
  .ind-free-pill {
    display: inline-flex; align-items: center; gap: 0.6em;
    margin-top: 0.6em; padding: 0.5em 1.2em;
    font-size: 0.32em; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    color: var(--muted2);
    border: 1px solid transparent; border-radius: 100px;
    background: linear-gradient(var(--surface), var(--surface)) padding-box,
                var(--thermo) border-box;
    vertical-align: middle;
  }
  .ind-free-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green);
    animation: blink 1.8s infinite;
  }

  /* Click-to-play video facade in the video card — poster + play button
     until scrolled into view / clicked. Idle the shot keeps the card's
     2:1 image ratio; while playing it opens to the player's 16:9 so
     YouTube's controls stay usable. */
  .ind-video {
    position: relative; cursor: pointer;
    overflow: hidden; background: #0e1626;
    aspect-ratio: 2 / 1;
  }
  .ind-video[data-playing] { aspect-ratio: 16 / 9; }
  .ind-video img, .ind-video iframe {
    display: block; width: 100%; height: 100%; object-fit: cover; border: 0;
  }
  .ind-video iframe { object-fit: fill; }
  .ind-video-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, var(--g1), var(--g2));
    box-shadow: 0 8px 32px rgba(30,58,138,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .ind-video-play::after {
    content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
    border-style: solid; border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #fff;
  }
  .ind-video:hover .ind-video-play {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 12px 40px rgba(30,58,138,0.6);
  }
  .ind-video[data-playing] .ind-video-play { display: none; }

  .ind-video-sound {
    position: absolute; right: 12px; bottom: 12px; z-index: 2;
    border: 0; border-radius: 100px; cursor: pointer;
    padding: 0.5rem 1rem; font-size: 0.8rem; font-weight: 600;
    background: rgba(8,12,24,0.78); color: #fff;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    transition: background 0.2s;
  }
  .ind-video-sound:hover { background: rgba(8,12,24,0.95); }

  /* TradingView preview modal */
  .tv-modal {
    position: fixed; inset: 0; z-index: 11000;
    display: flex; align-items: center; justify-content: center;
    padding: 1.25rem;
    background: rgba(8, 12, 24, 0.72);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  .tv-modal[hidden] { display: none; }
  .tv-modal-box {
    position: relative; width: 100%; max-width: 560px;
    background: var(--surface); border: 1px solid var(--border-s);
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.4);
    animation: tvModalIn 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
  }
  @keyframes tvModalIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
  .tv-modal-img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: left top; background: #0e1626; }
  .tv-modal-body { padding: 1.5rem 1.75rem 1.75rem; }
  .tv-modal-title { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
  .tv-modal-desc { font-size: 0.9rem; color: var(--muted2); line-height: 1.7; margin-bottom: 1.4rem; }
  .tv-modal-cta {
    display: inline-block; background: linear-gradient(135deg, var(--g1), var(--g2));
    color: #fff; padding: 0.8rem 1.6rem; border-radius: 8px;
    font-weight: 600; font-size: 0.9rem; text-decoration: none;
    box-shadow: 0 4px 20px rgba(30,58,138,0.3); transition: transform 0.2s, box-shadow 0.2s;
  }
  .tv-modal-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(30,58,138,0.4); }
  .tv-modal-close {
    position: absolute; top: 0.75rem; right: 0.85rem; z-index: 1;
    width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(8,12,24,0.55); color: #fff; font-size: 1.4rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px); transition: background 0.2s;
  }
  .tv-modal-close:hover { background: rgba(8,12,24,0.85); }

  .ind-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
    margin-top: 3rem;
  }

  .ind-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  }

  .ind-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-s);
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  }

  .ind-shot { display: block; background: #0e1626; }

  .ind-shot img {
    display: block; width: 100%; aspect-ratio: 2 / 1;
    object-fit: cover; object-position: left top;
  }

  .ind-body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }

  .ind-title {
    font-family: 'Manrope', sans-serif; font-weight: 700;
    font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 0.6rem;
  }

  .ind-desc { font-size: 0.875rem; color: var(--muted2); margin-bottom: 1.2rem; flex: 1; }

  .ind-link {
    font-size: 0.85rem; font-weight: 600; color: var(--gold);
    text-decoration: none; align-self: flex-start;
    transition: color 0.2s;
  }

  .ind-link:hover { color: var(--gold2); }

  /* Card with two CTAs (TradingView + in-action video). */
  .ind-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; align-items: center; }
  .ind-link--video { color: var(--muted2); }
  .ind-link--video:hover { color: var(--g2); }

  .ind-all { text-align: center; margin-top: 2.5rem; }

  /* ── VIP TEASER — text-only banner, no pricing ── */
  .vip-teaser { padding: 0 3rem 4rem; max-width: 1100px; margin: 0 auto; }

  .vip-box {
    border-radius: 14px; padding: 3rem 2.5rem; text-align: center;
    background: linear-gradient(110deg, var(--g1) 0%, var(--g2) 55%, #d97706 100%);
    position: relative; overflow: hidden;
  }

  .vip-box::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(8, 12, 24, 0.18);
    pointer-events: none;
  }

  .vip-box > * { position: relative; z-index: 1; }

  .vip-box .section-label { color: var(--gold3); }

  .vip-box h2 {
    font-family: 'Manrope', sans-serif; font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    letter-spacing: -0.03em; margin-bottom: 0.7rem; color: #fff; line-height: 1.15;
  }

  .vip-box p { color: rgba(255,255,255,0.7); font-size: 0.95rem; max-width: 620px; margin: 0 auto; }

  @media (max-width: 860px) {
    .ind-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .vip-teaser { padding: 0 1.25rem 3rem; }
    .vip-box { padding: 2.25rem 1.5rem; }
  }

  /* Footer */
  footer { border-top: 1px solid var(--border); padding: 2rem 3rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
  .footer-wordmark {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 0.95rem; letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--g1), var(--g2), var(--gold2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-decoration: none;
  }
  footer p { font-size: 0.75rem; color: var(--muted); }
  .footer-links { display: flex; gap: 1.5rem; list-style: none; }
  .footer-links a { font-size: 0.75rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--g2); }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }

  /* Hamburger button + mobile drawer are owned by the core/nav widget
   * (see :root --nav-* overrides below for probalist branding). */

  @media (max-width: 860px) {
    .site-nav { padding: 0 1.25rem; }
    #translateWrap { display: flex; }
    .translate-dropdown { right: 0; left: auto; min-width: 200px; }
    .section, .reviews-inner, .cta-section { padding-left: 1.25rem; padding-right: 1.25rem; }
    .feat-grid, .pricing-grid { grid-template-columns: 1fr; }
    .feat-card.wide { grid-column: span 1; }
    .feat-header { flex-direction: column; align-items: flex-start; }
    .steps { grid-template-columns: 1fr; }
    .steps::before { display: none; }
    footer { padding: 1.5rem 1.25rem; flex-direction: column; text-align: center; }
  }

/* ── block 2 ── */

  /* Probalist brand colors mapped onto the widget's --tr-* vars */
  :root {
    --tr-btn-bg:            var(--bg2);
    --tr-btn-border:        var(--border-s);
    --tr-btn-color:         var(--muted2);
    --tr-btn-hover-bg:      var(--surface);
    --tr-btn-hover-color:   var(--text);
    --tr-btn-hover-border:  rgba(37,99,235,0.35);
    --tr-dd-bg:             var(--surface);
    --tr-dd-border:         var(--border-s);
    --tr-search-bg:         var(--bg2);
    --tr-search-border:     var(--border);
    --tr-search-color:      var(--text);
    --tr-search-placeholder:var(--muted);
    --tr-item-color:        var(--muted2);
    --tr-item-hover-bg:     var(--bg2);
    --tr-item-hover-color:  var(--text);
    --tr-item-active-color: var(--g2);
    --tr-item-active-bg:    rgba(37,99,235,0.05);
    --tr-scroll-thumb:      var(--border-s);
    --tr-spinner-bg:        linear-gradient(135deg, var(--g1), var(--g2));
    --tr-spinner-shadow:    0 2px 16px rgba(30,58,138,0.5);
    --tr-pill-bg:           var(--g1);
    --tr-pill-shadow:       0 8px 24px rgba(30,58,138,0.35);
  }
  /* Probalist-specific Google Translate word-wrap fix for branded buttons */
  .btn-cta font, .btn-primary font, .btn-gold font,
  .plan-btn font, .cms-nav__cta font {
    display: inline !important;
    white-space: pre !important;
  }

/* ── block 3 ── */

  :root {
    --scta-font:             'Inter', sans-serif;
    --scta-color:            var(--text);
    --scta-bg:               var(--surface);
    --scta-border:           var(--border-s);
    --scta-shadow:           0 -4px 24px rgba(0,0,0,0.08);
    --scta-padding:          0.65rem 2rem;
    --scta-tagline-size:     0.9rem;
    --scta-link-color:       var(--muted);
    --scta-link-hover:       var(--g2);
    --scta-wordmark-color:   transparent;
    --scta-cta-bg:           linear-gradient(135deg, var(--g1), var(--g2));
    --scta-cta-bg-hover:     linear-gradient(135deg, var(--g1), var(--g2));
    --scta-cta-color:        #fff;
    --scta-cta-padding:      0.55rem 1.25rem;
    --scta-cta-radius:       6px;
    --scta-cta-size:         0.8rem;
    --scta-cta-shadow:       0 4px 16px rgba(30,58,138,0.25);
    --scta-cta-shadow-hover: 0 6px 20px rgba(30,58,138,0.35);
    --scta-bar-height:       52px;
  }
  /* Probalist gradient wordmark inside sticky bar */
  .scta-wordmark {
    font-family: 'Manrope', sans-serif; font-weight: 800;
    background: linear-gradient(135deg, var(--g1), var(--g2), var(--gold2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  }
  /* Gradient border-top on the bar — keeps the old Probalist look */
  .scta-bar {
    background:
      linear-gradient(var(--surface), var(--surface)) padding-box,
      linear-gradient(90deg, var(--g1), var(--g2), var(--gold2)) border-box;
    border-top: 1px solid transparent;
  }
  [data-theme="dark"] .scta-bar {
    background:
      linear-gradient(var(--surface), var(--surface)) padding-box,
      linear-gradient(90deg, var(--g1), var(--g2), var(--gold2)) border-box;
  }

/* ── block 4 ── */

  :root {
    /* FAQ widget — calm blue bars with a warm tip (full thermo was too loud). */
    --faq-bar-gradient: linear-gradient(90deg, #1e3a8a 0%, #2563eb 55%, #d97706 88%, #f59e0b 100%);

    --chat-button-bg:           linear-gradient(135deg, var(--g1), var(--g2));
    --chat-button-shadow:       0 4px 20px rgba(30,58,138,0.4);
    --chat-button-hover-shadow: 0 6px 28px rgba(30,58,138,0.5);
    --chat-window-bg:           var(--surface);
    --chat-window-border:       var(--border-s);
    --chat-window-shadow:       0 16px 48px rgba(0,0,0,0.18);
    --chat-header-bg:           linear-gradient(135deg, var(--g1), #2563eb);
    --chat-bubble-bg:           var(--bg2);
    --chat-bubble-color:        var(--text);
    --chat-bubble-user-bg:      linear-gradient(135deg, var(--g1), #2563eb);
    --chat-bubble-user-color:   #fff;
    --chat-input-bg:            var(--bg2);
    --chat-input-border:        var(--border-s);
    --chat-input-color:         var(--text);
    --chat-input-focus-border:  rgba(37,99,235,0.4);
    --chat-input-placeholder:   var(--muted);
    --chat-input-divider:       var(--border);
    --chat-cta-bg:              linear-gradient(135deg, var(--g1), var(--g2));
    --chat-cta-shadow:          0 4px 12px rgba(30,58,138,0.25);
    --chat-cta-hover-shadow:    0 6px 16px rgba(30,58,138,0.35);
    --chat-form-bg:             var(--surface);
    --chat-form-border:         var(--border-s);
    --chat-form-accent-border:  rgba(37,99,235,0.2);
    --chat-text:                var(--text);
    --chat-muted:               var(--muted);
    --chat-muted2:              var(--muted2);
    --chat-success-color:       var(--green);
    --chat-error-color:         var(--red);
    --chat-typing-dot:          var(--muted);
  }

/* ── block 5 ── */

  :root {
    --theme-switcher-bg:     var(--bg2);
    --theme-switcher-border: var(--border-s);
    --theme-switcher-hover:  var(--gold);
    --theme-track-bg-light:  linear-gradient(135deg, #e8d88a, #f5c842);
    --theme-track-bg-dark:   linear-gradient(135deg, #1a2a5a, #2a4a9a);
    --theme-thumb-bg-light:  #fff;
    --theme-thumb-bg-dark:   #e0e8ff;
  }

/* ── block 6 ── */

  :root {
    --xpop-overlay-bg:      rgba(5,10,24,0.85);
    --xpop-modal-bg:        linear-gradient(160deg, #0d1a35 0%, #0a1428 100%);
    --xpop-modal-border:    rgba(37,99,235,0.35);
    --xpop-modal-shadow:    0 0 80px rgba(37,99,235,0.25), 0 32px 64px rgba(0,0,0,0.5);
    --xpop-logo-bg:         linear-gradient(135deg, var(--g1), var(--g2));
    --xpop-title-bg:        linear-gradient(90deg, #4a90d9, #7bb8f0);
    --xpop-input-focus:     rgba(74,144,217,0.5);
    --xpop-btn-bg:          linear-gradient(135deg, #3a6fd8, #5a90e8);
    --xpop-btn-shadow:      0 4px 24px rgba(58,111,216,0.4);
    --xpop-btn-hover-shadow:0 6px 32px rgba(58,111,216,0.55);
    --xpop-code-border:     rgba(74,144,217,0.4);
  }


/* ── Nav widget (core/nav, skin "dropdown"): Probalist tokens ──
 * Brand: navy + gold accent, Manrope sans. Start-free CTA visible
 * on desktop (inline pill) AND mobile (rectangle at drawer bottom).
 * The "dropdown" skin renders a below-header dropdown on mobile
 * (NOT a fullscreen overlay) — items left-aligned with dividers,
 * matching the original probalist mobile-menu look. */
:root {
  --nav-text:             var(--muted2);
  --nav-text-hover:       var(--text);
  --nav-link-size:        0.875rem;
  --nav-link-size-mobile: 1rem;
  --nav-link-gap:         2rem;
  --nav-link-weight:      500;
  --nav-burger-color:     var(--text);
  /* Mobile drawer backdrop (default skin) — follow the active theme
     instead of the skin's hardcoded light default. */
  --nav-bg-overlay:       var(--bg);
  --nav-cta-display:      none;   /* Hide the "Free indicators" CTA in the desktop bar; the mobile drawer (≤860px) still forces display:block so it stays there. */
  --nav-cta-bg:           linear-gradient(135deg, var(--g1), var(--g2));
  --nav-cta-color:        #fff;
  --nav-cta-bg-hover:     linear-gradient(135deg, var(--g2), var(--g1));
  --nav-cta-shadow:       0 4px 16px rgba(26, 58, 106, 0.2);
  /* Dropdown skin specifics */
  --nav-dropdown-top:     60px;                        /* matches .site-nav height */
  --nav-dropdown-padding: 1rem 1.25rem 1.5rem;
  --nav-dropdown-bg:      var(--bg);
  --nav-dropdown-shadow:  0 8px 30px rgba(0, 0, 0, 0.1);
  --nav-divider:          var(--border);
  --nav-cta-radius:       6px;
}
/* data-theme lives on the <html> element (:root), so the override must
   target [data-theme="dark"] directly — '[data-theme="dark"] :root'
   never matched (no :root can be a descendant of itself). */
[data-theme="dark"] {
  --nav-dropdown-bg:      #0c0e18;
  --nav-bg-overlay:       #0c0e18;
}

/* Layout: .site-nav has three children (wordmark, cms-nav, nav-right)
 * with justify-content: space-between — auto margins on both sides
 * centre the inline nav between the wordmark and the toolbar. */
.site-nav > .cms-nav { margin: 0 auto; }
.site-nav > .nav-right { gap: 0.5rem; }

@media (max-width: 860px) {
  /* When the promo banner is visible the .site-nav shifts down 30px;
   * the dropdown drawer follows. Edit-mode (admin-bar 48px) adds on
   * top — final offsets cover all 4 combinations. */
  body.has-banner .cms-nav--dropdown                { top: 90px; }
  body.is-edit-mode.has-banner .cms-nav--dropdown   { top: 138px; }

  /* Override the widget's --nav-* tokens for mobile only — the
   * desktop nav uses muted2/gold-on-hover, but the original
   * .mobile-menu used full --text colour with --gold2 hover. */
  .cms-nav--dropdown .cms-nav__item {
    color: var(--text);
  }
  .cms-nav--dropdown .cms-nav__item:hover,
  .cms-nav--dropdown .cms-nav__item:active {
    color: var(--gold2);
  }
  /* CTA white-on-gradient stays white on hover; restore from any
   * inherited hover override above. */
  .cms-nav--dropdown .cms-nav__item.cms-nav__cta {
    color: #fff;
  }
  .cms-nav--dropdown .cms-nav__item.cms-nav__cta:hover {
    color: #fff;
  }
}

/* iOS focus-zoom defense — Mobile Safari zooms when a focused form
 * control has a computed font-size < 16px. Bump every text-bearing
 * input on touch-sized viewports so focus never triggers a zoom. */
@media (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]),
  textarea,
  select {
    font-size: 16px;
  }
}

/* ─── NEWSLETTER SIGN-UP (hero + footer) ──────────────────────────────────
 * Inline direct-opt-in form. Markup: includes/newsletter_signup.php.
 * Submit handler: includes/scripts.php (delegated on .nl-form). Reuses the
 * landing .btn-primary for the submit so it tracks the page's accent. */
.nl-form { width: 100%; }
.nl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nl-form-msg { font-size: 0.8rem; min-height: 1.1em; margin-top: 0.5rem; }
.nl-form-msg.is-error { color: var(--red); }
.nl-form-msg.is-ok    { color: var(--green); }
.nl-input {
  flex: 1 1 220px; min-width: 0;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-s); border-radius: 6px;
  padding: 0.85rem 1rem; font-size: 0.95rem; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nl-input::placeholder { color: var(--muted); }
.nl-input:focus { outline: none; border-color: var(--g2); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.nl-submit { border: none; cursor: pointer; white-space: nowrap; }
.nl-submit[disabled] { opacity: 0.6; cursor: default; }

/* Hero variant — centered block under the CTAs */
.nl-form--hero { max-width: 520px; margin: 0.5rem auto 3.5rem; text-align: center; }
.nl-form--hero .nl-form-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.4rem;
}
.nl-form--hero .nl-form-title { font-size: 1.05rem; color: var(--muted2); margin-bottom: 1rem; }
.nl-form--hero .nl-form-row { display: flex; gap: 0.6rem; }

/* Footer variant — full-width band above the wordmark/links. The flex item
 * itself stays 100% wide so the wordmark + links wrap onto the row below;
 * the width cap lives on the inner row (centered via text-align). */
.nl-form--footer {
  flex: 0 0 100%; width: 100%; margin: 0 0 1.75rem;
  padding-bottom: 1.75rem; border-bottom: 1px solid var(--border);
  text-align: center;
}
.nl-form--footer .nl-form-title--sm {
  font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem;
}
.nl-form--footer .nl-form-row {
  display: inline-flex; gap: 0.5rem; width: 100%; max-width: 420px; text-align: left;
}
.nl-form--footer .nl-form-msg { text-align: center; }
.nl-form--footer .nl-input { padding: 0.7rem 0.9rem; font-size: 0.85rem; }
.nl-form--footer .nl-submit { padding: 0.7rem 1.4rem; font-size: 0.8rem; }

@media (max-width: 560px) {
  .nl-form-row { flex-direction: column; }
  /* In a column the input's flex-basis (220px) would become its HEIGHT,
   * blowing the field up to a tall box — reset to auto so it keeps the
   * normal one-line height. */
  .nl-input { flex: 0 0 auto; width: 100%; }
  .nl-submit { width: 100%; }
}
