
  * { margin:0; padding:0; box-sizing:border-box; }
  html, body { min-height:100%; }
  body {
    font-family: Georgia, 'Times New Roman', serif;
    color: #fff7e6;
    min-height: 100vh;
    padding-bottom: 60px;
  }
  /* background image + 70% dark overlay */
  body::before {
    content:""; position:fixed; inset:0; z-index:-2;
    background:url('/assets/thrive/background.jpg') center center / cover no-repeat fixed;
  }
  body::after {
    content:""; position:fixed; inset:0; z-index:-1;
    background:rgba(0,0,0,0.78);
  }

  /* ---------- SCREENS ---------- */
  .screen { display:none; }
  .screen.active { display:block; animation: fade .4s ease; }
  @keyframes fade { from{opacity:0; transform:translateY(12px);} to{opacity:1; transform:translateY(0);} }
  .wrap { max-width: 820px; margin:0 auto; padding: 26px 18px; text-align:center; }

  /* ---------- ENTRANCE ---------- */
  .logo { width: 300px; max-width: 78%; height:auto; margin: 6px auto 22px; display:block; filter: drop-shadow(0 0 22px rgba(243,195,78,.35)); }
  .lead { font-size: 30px; line-height: 1.4; font-weight: bold; margin: 6px auto 26px; max-width: 700px; }
  .lead .big { color:#f3c34e; }

  /* ---------- BIG CTA ---------- */
  .cta {
    font-family: inherit; font-size: 30px; font-weight:bold;
    padding: 22px 40px; border:none; border-radius: 14px;
    background: linear-gradient(180deg,#f7d873,#e0a91d); color:#1a1206;
    cursor:pointer; display:inline-block; width:100%; max-width:600px;
    box-shadow: 0 6px 0 #b8911f, 0 0 30px rgba(243,195,78,.25);
    transition: transform .08s ease;
  }
  .cta:hover { transform: translateY(-2px); }
  .cta:active { transform: translateY(3px); box-shadow:0 2px 0 #b8911f; }

  /* ---------- INPUTS ---------- */
  .name-input, .money-input {
    width: 100%; max-width: 600px; font-family: inherit; font-size: 30px;
    text-align:center; padding: 20px 16px; border: 3px solid #f3c34e; border-radius: 14px;
    background:#f7f3ea; color:#1a1206; outline:none; margin: 0 auto 20px; display:block; font-weight:bold;
  }
  .name-input::placeholder, .money-input::placeholder { color:#8a7c55; font-weight:normal; }

  /* ---------- AFFIRMATION GLOW BOX ---------- */
  .glowbox {
    max-width: 660px; margin: 40px auto; padding: 46px 30px; border-radius: 22px;
    border: 3px solid #f3c34e; background: rgba(10,8,4,.7);
    animation: glowpulse 2s ease-in-out infinite;
  }
  @keyframes glowpulse {
    0%,100% { box-shadow: 0 0 28px rgba(243,195,78,.45), inset 0 0 30px rgba(243,195,78,.12); }
    50%     { box-shadow: 0 0 60px rgba(243,195,78,.85), inset 0 0 45px rgba(243,195,78,.22); }
  }
  .glowbox .small { font-size: 24px; color:#ffe9ab; margin-bottom: 18px; }
  .glowbox .phrase { font-size: 36px; font-weight:bold; color:#f3c34e; line-height:1.25; margin: 22px auto; font-style:italic; }
  .glowbox .note { font-size: 20px; color:#cdbd92; margin-bottom: 30px; }

  /* ---------- PERSISTENT HEADER ---------- */
  .qhead { text-align:center; padding-top: 14px; }
  .qhead .logo-sm { width: 110px; height:auto; margin: 0 auto 10px; display:block; }
  .hello { font-size: 24px; font-weight:bold; color:#f3c34e; margin-bottom: 16px; }
  .bal-label { font-size: 16px; letter-spacing: 3px; color:#9a9078; text-transform:uppercase; }
  .bal-value { font-size: 40px; font-weight:bold; color:#f3c34e; margin-top: 4px; animation: blink 1.6s ease-in-out infinite; }
  @keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.55;} }

  .energy { max-width: 100%; margin: 22px auto 0; }
  .energy-row { display:flex; justify-content:space-between; font-size: 15px; font-style:italic; color:#b7a878; margin-bottom:6px; }
  .energy-track { height: 12px; width:100%; background:#1c1810; border-radius: 8px; overflow:hidden; border:1px solid #3a3018; }
  .energy-fill { height:100%; width:0%; background: linear-gradient(90deg,#e0a91d,#f7d873); transition: width .5s ease; border-radius:8px; }

  /* achievements strip — wraps to new lines so it never goes off-screen on mobile */
  .strip { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; padding: 14px 2px 4px; margin-top: 12px; }
  .strip .thumb { width:52px; height:52px; border-radius:11px; border:2px solid #f3c34e; overflow:hidden; box-shadow:0 0 10px rgba(243,195,78,.4); }
  .strip .thumb img { width:100%; height:100%; object-fit:cover; display:block; }

  /* ---------- QUESTION CARD ---------- */
  .qcard {
    margin: 26px auto 0; max-width: 820px; padding: 34px 22px 30px;
    border-radius: 18px; background: rgba(8,6,3,.6); border:1px solid rgba(243,195,78,.25);
  }
  .tag {
    display:inline-block; font-size: 17px; padding: 7px 18px; border-radius: 30px;
    background: rgba(40,36,24,.8); color:#cdbd92; margin-bottom: 18px; border:1px solid #3a3018;
  }
  .question { font-size: 34px; line-height: 1.25; font-weight: bold; margin: 0 auto 30px; max-width: 740px; }

  .options { display:flex; flex-direction:column; gap:16px; max-width:720px; margin:0 auto; }
  .opt {
    font-family: inherit; font-size: 24px; font-weight:bold; line-height:1.3;
    padding: 22px 26px; border:none; border-radius: 12px;
    background: linear-gradient(180deg,#f7d873,#e0a91d); color:#1a1206; cursor:pointer; text-align:left;
    box-shadow: 0 0 18px rgba(243,195,78,.25); transition: transform .08s ease, filter .15s ease;
  }
  .opt:hover { filter:brightness(1.08); }
  .opt:active { transform: scale(.985); }

  /* ---------- TOP PROGRESS BAR ---------- */
  .progress-wrap { position: fixed; top:0; left:0; width:100%; height: 8px; background:#1c160c; z-index: 60; }
  .progress-bar { height:100%; width:0%; background:#f3c34e; transition: width .3s ease; }

  /* ---------- UNLOCK MODAL ---------- */
  .overlay {
    display:none; position:fixed; inset:0; z-index:80; background: rgba(0,0,0,.85);
    align-items:center; justify-content:center; padding: 20px; overflow-y:auto;
  }
  .overlay.active { display:flex; animation: fade .3s ease; }
  .modalcard {
    max-width: 520px; width:100%; margin:auto; text-align:center; padding: 36px 26px 30px;
    border-radius: 22px; background:#070503; border: 3px solid #f3c34e;
    box-shadow: 0 0 50px rgba(243,195,78,.55);
  }
  .modaltop { font-size: 30px; font-weight:bold; color:#f3c34e; letter-spacing:1px; margin-bottom: 22px; }
  .achimg {
    width: 170px; height:170px; margin: 0 auto 22px; border-radius: 18px; border:3px solid #f3c34e;
    overflow:hidden; box-shadow: 0 0 30px rgba(243,195,78,.5); background:#100b04;
  }
  .achimg img { width:100%; height:100%; object-fit:cover; display:block; }
  .slot-img { width:42px; height:42px; border-radius:8px; object-fit:cover; border:1px solid #f3c34e; }
  .portal-img { width:40px; height:40px; border-radius:8px; object-fit:cover; border:2px solid #f3c34e; }
  .achname { font-size: 40px; font-weight:bold; color:#f3c34e; margin-bottom: 14px; line-height:1.1; }
  .achsub { font-size: 24px; line-height:1.35; margin: 0 auto 24px; max-width: 440px; }
  .balbox {
    font-size: 30px; font-weight:bold; color:#f3c34e; background:#15110a; border:2px solid #6a5418;
    border-radius: 14px; padding: 20px; margin: 0 auto 22px;
  }
  .modalcard .cta { font-size: 26px; padding: 20px; }

  /* ---------- LOADING SCREEN ---------- */
  .loadwrap { max-width: 720px; margin: 0 auto; padding: 40px 20px; text-align:center; }
  .loadwrap h2 { font-size: 38px; color:#f3c34e; line-height:1.2; margin-bottom: 16px; }
  .loadwrap .sub { font-size: 22px; color:#cdbd92; margin-bottom: 28px; }
  .load-status { font-size: 24px; font-weight:bold; min-height: 32px; margin-bottom: 14px; }
  .load-track { height: 22px; width:100%; max-width:560px; margin:0 auto; background:#1c1810; border-radius: 12px; overflow:hidden; border:2px solid #3a3018; }
  .load-fill { height:100%; width:0%; background: linear-gradient(90deg,#e0a91d,#f7d873); transition: width .2s linear; }
  .load-pct { font-size: 44px; font-weight:bold; color:#f3c34e; margin: 16px 0 30px; }

  /* ---------- WINNERS ---------- */
  .winners { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; max-width:520px; margin:16px auto 6px; }
  .winner img { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:14px; border:3px solid #f3c34e; display:block; box-shadow:0 0 16px rgba(243,195,78,.3); }
  .winner .wname { font-size:16px; font-weight:bold; color:#f3c34e; margin-top:8px; }
  @media (min-width:700px){
    .winners { grid-template-columns:repeat(4,1fr); max-width:820px; }
  }

  /* ---------- OFFER PAGE ---------- */
  .offer { max-width: 760px; margin:0 auto; text-align:center; }
  .offer h1 { font-size: 42px; line-height:1.15; color:#f3c34e; margin: 10px auto 18px; }
  .offer h2 { font-size: 32px; line-height:1.2; color:#f3c34e; margin: 40px auto 18px; }
  .offer p { font-size: 23px; line-height:1.5; margin: 0 auto 16px; }
  .offer .quote { font-size: 25px; font-style:italic; color:#ffe9ab; border-left: 6px solid #f3c34e; padding:14px 20px; margin: 22px auto; background:rgba(21,17,10,.7); text-align:left; max-width:680px; }
  .offer .divider { height:4px; width:120px; background:#f3c34e; margin: 38px auto; border-radius:4px; }
  .offer .stat { font-size: 28px; font-weight:bold; color:#fff; background:rgba(21,17,10,.7); border:3px solid #f3c34e; border-radius:12px; padding:18px; margin:14px auto; max-width:560px; }

  .portals { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin: 26px auto 10px; max-width:640px; }
  .portal { font-size: 22px; font-weight:bold; padding:20px 12px; border:3px solid #f3c34e; border-radius:14px; background:rgba(22,18,10,.7); color:#fff7e6; display:flex; align-items:center; justify-content:center; gap:8px; min-height:80px; box-shadow:0 0 16px rgba(243,195,78,.25); }
  .portal .emo { font-size: 26px; }

  .seeds { display:flex; flex-direction:column; gap:34px; max-width:600px; margin:30px auto 0; }
  .seed { font-family: inherit; font-size: 27px; font-weight:bold; padding: 24px 20px; border:none; border-radius:16px; background: linear-gradient(180deg,#f7d873,#e0a91d); color:#1a1206; cursor:pointer; box-shadow: 0 6px 0 #b8911f; transition: transform .08s ease; }
  .seed small { display:block; font-size:18px; font-weight:bold; opacity:.7; margin-top:4px; }
  .seed:hover { transform: translateY(-2px); }
  .seed:active { transform: translateY(3px); box-shadow:0 2px 0 #b8911f; }
  .seed.free { background: linear-gradient(180deg,#86e58a,#3fae45); box-shadow:0 6px 0 #2c7e30; }
  /* each seed = product image (square, mobile-optimized) + gold CTA button below */
  .seed-block { width:100%; max-width:420px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
  .seed-card { background:none; box-shadow:none; padding:0; border:3px solid #f3c34e; border-radius:16px; overflow:hidden; aspect-ratio:1/1; width:100%; line-height:0; }
  .seed-card img { width:100%; height:100%; object-fit:cover; display:block; }
  .seed-card:hover { filter:brightness(1.06); box-shadow:0 0 22px rgba(243,195,78,.45); }
  .seed-card:active { transform: translateY(1px); }
  .seed-cta { width:100%; max-width:none; font-size:23px; padding:18px; }

  /* ---------- COMPLIANCE FOOTER ---------- */
  .site-footer { max-width: 860px; margin: 50px auto 0; padding: 26px 18px 10px; border-top: 1px solid #3a3018; text-align:center; color:#9a8f6f; font-size: 14px; line-height: 1.7; }
  .site-footer a { color:#cdb86a; text-decoration:underline; }
  .foot-links { display:flex; flex-wrap:wrap; gap:18px; justify-content:center; margin-bottom:14px; font-weight:bold; }
  .foot-legal { margin-bottom:10px; }
  .foot-disc { font-style:italic; opacity:.85; max-width:640px; margin:0 auto; }

  @media (max-width:600px){
    .lead { font-size: 23px; }
    .site-footer { font-size: 13px; }
    .foot-links { gap: 12px 16px; }
    .glowbox .phrase { font-size: 27px; }
    .question { font-size: 27px; }
    .opt { font-size: 20px; padding:18px; }
    .name-input, .money-input { font-size: 24px; }
    .bal-value { font-size: 32px; }
    .achname { font-size: 30px; }
    .achsub { font-size: 20px; }
    .offer h1 { font-size: 29px; }
    .offer h2 { font-size: 24px; }
    .offer p { font-size: 20px; }
    .portals { grid-template-columns:1fr; }
    .seed { font-size: 21px; }
    .seed-cta { font-size: 19px; padding: 15px; }
    .strip .thumb { width:46px; height:46px; }
    .loadwrap h2 { font-size: 28px; }
  }

  /* ---------- MOBILE APP SHELL ----------
     One screen = one viewport. The page itself never scrolls, so answering a
     question can't jump the scroll position, the URL bar never collapses (which
     is what exposed the white strip), and a long screen scrolls inside itself. */
  @media (max-width:760px){
    /* nothing white can show through, even for a frame */
    html { background:#0a0805; }
    html, body { height:100%; overflow:hidden; }
    body {
      min-height:0; padding-bottom:0;
      display:flex; flex-direction:column;
      overscroll-behavior:none;   /* no pull-to-refresh, no rubber-banding */
    }
    /* background-attachment:fixed is unreliable on mobile Safari. The pseudo
       element is already position:fixed, so this changes nothing visually. */
    body::before { background-attachment:scroll; }

    .screen.active { display:flex; flex-direction:column; flex:1; min-height:0; }
    .screen.active > .wrap {
      flex:1; min-height:0; width:100%;
      display:flex; flex-direction:column;
      padding:14px 16px 18px;
      overflow-y:auto; -webkit-overflow-scrolling:touch;
    }

    /* question screen: header pinned, only the answers scroll if they must */
    #questionScreen > .wrap { overflow:hidden; }
    #questionScreen .qhead { flex-shrink:0; padding-top:2px; }
    #questionScreen .qcard {
      flex:1; min-height:0; margin-top:10px; padding:16px 14px;
      display:flex; flex-direction:column;
    }
    #questionScreen #qbody {
      flex:1; min-height:0; overflow-y:auto; -webkit-overflow-scrolling:touch;
    }

    /* compact header so the answers fit without scrolling on a normal phone */
    .qhead .logo-sm { width:58px; margin-bottom:2px; }
    .hello { font-size:16px; margin-bottom:4px; }
    .bal-label { font-size:10px; letter-spacing:2px; }
    .bal-value { font-size:24px; margin-top:0; }
    .energy { margin-top:8px; }
    .energy-row { font-size:10px; margin-bottom:3px; }
    .energy-track { height:8px; }
    .strip { gap:5px; padding:6px 2px 0; margin-top:4px; }
    .strip .thumb { width:32px; height:32px; border-radius:7px; border-width:1px; }
    .tag { font-size:11px; padding:4px 11px; margin-bottom:8px; }
    .question { font-size:19px; line-height:1.25; margin-bottom:12px; }
    .options { gap:9px; }
    .opt { font-size:15px; line-height:1.25; padding:13px 15px; border-radius:10px; }
    .money-input { font-size:20px; padding:14px 12px; margin-bottom:12px; }
    .qcard .cta { font-size:18px; padding:14px 20px; }

    /* keyboard open: the shell shrinks to the visible area above the keyboard
       (--vvh comes from visualViewport) and the question header steps aside,
       so the field and its button stay in view while typing */
    html.kb-open, html.kb-open body { height:var(--vvh, 100%); }
    html.kb-open #questionScreen .qhead { display:none; }
    html.kb-open #questionScreen .qcard { margin-top:0; }

    /* entrance + affirmation: the CTA must be above the fold, not scrolled to */
    #entrance .logo { width:170px; margin:0 auto 12px; }
    .lead { font-size:18px; line-height:1.35; margin:2px auto 16px; }
    .name-input { font-size:20px; padding:14px 12px; margin-bottom:14px; }
    .cta { font-size:20px; padding:16px 24px; }
    #affirmation .glowbox { padding:24px 16px; margin:14px auto; border-radius:16px; }
    .glowbox .small { font-size:16px; margin-bottom:10px; }
    .glowbox .phrase { font-size:21px; line-height:1.25; margin:12px auto; }
    .glowbox .note { font-size:14px; margin-bottom:18px; }

    /* unlock modal has to fit too */
    .modalcard { padding:22px 18px 20px; }
    .modaltop { font-size:20px; margin-bottom:12px; }
    .achimg { width:110px; height:110px; margin-bottom:14px; }
    .achname { font-size:24px; margin-bottom:8px; }
    .achsub { font-size:16px; margin-bottom:14px; }
    .balbox { font-size:20px; padding:12px; margin-bottom:14px; }
    .modalcard .cta { font-size:18px; padding:14px; }
  }

button:focus-visible{outline:3px solid white;outline-offset:4px} #video .wrap{width:100%}
