   :root{
      --navy:#000068;
      --teal:#0D9488;
      --tealBright:#16A085;
      --royal:#201EAF;
      --lav:#E0E7FF;
      --indigo:#4F46E5;
      --text:#0B1020;
      --muted:#5B6478;
      --card:#FFFFFF;
      --line:rgba(0,0,0,.08);
      --shadow: 0 16px 50px rgba(0,0,0,.10);
      --shadow2: 0 10px 24px rgba(0,0,0,.08);
      --radius: 18px;
      --radius2: 26px;
    }

    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0;
     
      color:var(--text);
      background: linear-gradient(180deg, #f7f8ff 0%, #ffffff 233%, #ffffff 100%);
    }
    a{color:inherit; text-decoration:none}
    .container{width:min(1120px, 92vw); margin:0 auto}

    header{
      position:sticky; top:0; z-index:50;
      backdrop-filter: blur(10px);
      background: rgba(255,255,255,.80);
      border-bottom:1px solid var(--line);
    }
    .nav{
      display:flex; align-items:center; justify-content:space-between;
      padding:14px 0;
      gap:16px;
    }
    .brand{display:flex; align-items:center; gap:12px; font-weight:900; letter-spacing:.2px}
    .logo{
      width:34px; height:34px; border-radius:12px;
      background: radial-gradient(circle at 30% 30%, var(--tealBright), var(--teal));
      box-shadow: 0 10px 30px rgba(13,148,136,.28);
      flex:0 0 auto;
    }
    .brand span{color:var(--navy)}
    .navlinks{display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end}
    .pill{
      padding:10px 14px;
      border:1px solid var(--line);
      border-radius:999px;
      color:var(--muted);
      font-weight:700;
      font-size:14px;
    }

    /* .btn{
      border:1px solid transparent;
      padding:12px 16px;
      border-radius:14px;
      font-weight:900;
      display:inline-flex;
      align-items:center;
      gap:10px;
      cursor:pointer;
      transition: transform .08s ease, background .15s ease, border-color .15s ease;
      user-select:none;
      white-space:nowrap;
    } */
    .btn:active{transform: translateY(1px)}
    .btn-primary{
        background-color: #396347 !important;
    font-family: "Roboto", Sans-serif !important;
    font-weight: 600 !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-color: #02010100;
    border-radius: 25px 25px 25px 25px !important;
    }
    .btn-primary:hover{
      background-color: #FFFFFF !important;
    color: #000000 !important;
    border-color: #396347 !important;
    box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.3) !important;
    }
    .btn-secondary{
      background: white;
      color: var(--navy);
      border-color: rgba(13,148,136,.35);
    }
    .btn-secondary:hover{
      background: var(--teal);
      color: white;
      border-color: var(--teal);
    }

    /* Founder banner */
    .founderBanner{
      border-bottom: 1px solid rgba(79,70,229,.18);
      background: linear-gradient(180deg, rgba(224,231,255,.80), rgba(224,231,255,.35));
    }
    .founderInner{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding: 10px 0;
      flex-wrap:wrap;
    }
    .founderTitle{
      font-weight:950;
      color: var(--navy);
      letter-spacing:-.2px;
      display:flex;
      align-items:center;
      gap:10px;
    }
    .spark{
      width:30px; height:30px; border-radius: 12px;
      background: radial-gradient(circle at 30% 30%, rgba(79,70,229,.28), rgba(13,148,136,.18));
      border:1px solid rgba(79,70,229,.20);
      display:inline-flex; align-items:center; justify-content:center;
      font-weight:950;
    }
    .founderMeta{
      color: var(--muted);
      font-size: 13px;
      font-weight:700;
    }
    .founderMeta b{color: var(--navy)}
    .miniRow{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
    .miniPill{
      padding:8px 10px;
      border-radius:999px;
      border:1px solid rgba(0,0,0,.08);
      background:white;
      font-size: 12px;
      font-weight:900;
      color: var(--navy);
    }

    /* Hero */
    .hero{padding: 24px 0 10px}
    .heroCard{
      border-radius: var(--radius2);
      background: linear-gradient(135deg, rgba(0,0,104,.92), rgba(32,30,175,.88));
      color:white;
      padding:28px;
      box-shadow: var(--shadow);
      position:relative;
      overflow:hidden;
    }
    .heroCard:before{
      content:"";
      position:absolute; inset:-40% -20% auto auto;
      width:520px; height:520px;
      background: radial-gradient(circle at 35% 35%, rgba(22,160,133,.55), rgba(13,148,136,.0) 60%);
      transform: rotate(18deg);
      pointer-events:none;
    }
    .kicker{
      display:inline-flex; align-items:center; gap:10px;
      background: rgba(255,255,255,.12);
      border:1px solid rgba(255,255,255,.16);
      padding:10px 12px;
      border-radius:999px;
      font-size:13px;
      color: rgba(255,255,255,.92);
      font-weight:800;
    }
    h1{
      margin:10px 0 10px;
      font-size: 40px;
      line-height:1.06;
      letter-spacing:-.6px;
    }
    .sub{
      margin:0 0 16px;
      color: rgba(255,255,255,.88);
      font-size: 16px;
      line-height:1.55;
      max-width: 90ch;
    }
    .fineprint{
      margin-top:12px;
      color: rgba(255,255,255,.82);
      font-size: 13px;
    }

    section{padding: 26px 0}
    .sectionTitle{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:14px;
      margin-bottom: 14px;
    }
    .sectionTitle h2{
  
          margin: 0;
    color: var(--navy);
    font-size: 18px;
    letter-spacing: -.2px;
    }
    .sectionTitle .hint{color: var(--muted); font-size: 14px}

    /* Progress */
    .progressWrap{
      margin-top: 14px;
      background: rgba(255,255,255,.10);
      border:1px solid rgba(255,255,255,.16);
      border-radius: 18px;
      padding: 12px;
      max-width: 720px;
    }
    .bar{
      height: 10px;
      border-radius: 999px;
      background: rgba(255,255,255,.18);
      overflow:hidden;
      border:1px solid rgba(255,255,255,.12);
    }
    .bar > div{
      height:100%;
      width: 0%;
      background: linear-gradient(90deg, rgba(22,160,133,1), rgba(79,70,229,.95));
      border-radius: 999px;
    }
    .barMeta{
      margin-top: 10px;
      display:flex;
      justify-content:space-between;
      gap:12px;
      flex-wrap:wrap;
      font-size: 13px;
      color: rgba(255,255,255,.88);
      font-weight:800;
    }
    .barMeta b{color:white}
    .endRule{
      margin-top:8px;
      font-size: 12px;
      color: rgba(255,255,255,.82);
    }

    /* Pricing grid */
    .tiers{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      align-items:stretch;
    }
    .tier{
      background: var(--card);
      border:1px solid var(--line);
      border-radius: var(--radius2);
      padding: 18px;
      box-shadow: 0 14px 30px rgba(0,0,0,.06);
      position:relative;
      overflow:hidden;
      display:flex;
      flex-direction:column;
      gap: 12px;
    }
    .tier.featured{
      border-color: rgba(13,148,136,.28);
      box-shadow: 0 18px 44px rgba(13,148,136,.12);
      background: linear-gradient(180deg, rgba(255,255,255,1), rgba(13,148,136,.03));
    }
    .tag{
      display:inline-flex; align-items:center; gap:8px;
      padding:8px 10px;
      border-radius:999px;
      border:1px solid rgba(13,148,136,.28);
      background: rgba(13,148,136,.06);
      color: var(--navy);
      font-size: 12px;
      font-weight: 900;
      width: fit-content;
    }
    .tier h3{margin:0; color: var(--navy); font-size: 18px; letter-spacing:-.2px}

    .priceLine{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:10px;
    }
    .price{
      font-weight: 950;
      color: var(--navy);
      font-size: 30px;
      letter-spacing:-.4px;
    }
    .per{
      font-size: 13px;
      color: var(--muted);
      font-weight:800;
      margin-bottom: 4px;
      text-align:right;
    }
    .anchor{
      color: rgba(91,100,120,.85);
      font-size: 13px;
      font-weight:900;
      text-decoration: line-through;
      margin-top: -4px;
    }

    .desc{color: var(--muted); font-size: 14px; line-height: 1.55; margin:0}
    .ul{margin: 8px 0 2px; padding:0; list-style:none; display:grid; gap:10px}
    .ul li{display:flex; gap:10px; align-items:flex-start; color: var(--muted); font-size:14px; line-height:1.45}
    .check{
      width:18px; height:18px; border-radius: 6px;
      background: rgba(13,148,136,.16);
      border:1px solid rgba(13,148,136,.35);
      margin-top:2px;
      flex: 0 0 auto;
    }
    .callout{
      margin-top: 6px;
      padding: 10px 12px;
      border-radius: 14px;
      background: rgba(224,231,255,.55);
      border:1px solid rgba(79,70,229,.18);
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    /* Referral block */
    .refGrid{
      display:grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 14px;
      align-items:stretch;
    }
    .refCard{
      border-radius: var(--radius2);
      border:1px solid rgba(79,70,229,.18);
      background: linear-gradient(180deg, rgba(224,231,255,.70), rgba(224,231,255,.25));
      padding: 18px;
      box-shadow: 0 14px 30px rgba(0,0,0,.06);
    }
    .refCard h3{margin:0 0 8px; color: var(--navy); font-size: 18px; letter-spacing:-.2px}
    .refCard p{margin:0; color: var(--muted); font-size: 14px; line-height:1.55}
    .refMini{
      background:white;
      border:1px solid rgba(0,0,0,.08);
      border-radius: var(--radius2);
      padding: 18px;
      box-shadow: 0 14px 30px rgba(0,0,0,.06);
    }
    .kpiRow{display:grid; gap:10px; margin-top: 10px}
    .kpi{
      border:1px solid rgba(13,148,136,.18);
      background: rgba(13,148,136,.06);
      border-radius: 16px;
      padding: 12px;
      display:flex;
      justify-content:space-between;
      gap:12px;
      align-items:flex-start;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.35;
    }
    .kpi b{color: var(--navy)}

    /* Referral credit strike-through */
    .creditAnchor{
      color: rgba(91,100,120,.85);
      font-size: 13px;
      font-weight: 900;
      text-decoration: line-through;
      margin-right: 8px;
    }

    /* Modals */
   .modalBack{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;

  align-items: center;
  justify-content: center;

  padding: 18px;
  z-index: 200;

  overflow-y: auto;              /* ADD THIS */
  -webkit-overflow-scrolling: touch;
}
.modal{
  width: min(980px, 96vw);
  max-height: 95vh;              /* ADD THIS */
  overflow-y: auto;              /* ADD THIS */

  border-radius: 22px;
  background: white;
  border:1px solid rgba(255,255,255,.25);
  box-shadow: 0 30px 100px rgba(0,0,0,.25);
}
    .modalTop{
      background: #1F2A44;
      color:white;
      padding: 16px 18px;
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:14px;
    }
    .modalTop b{font-size: 15px; letter-spacing:.2px}
    .close{
      width: 10%;
      background-color: #396347 !important;
    font-family: "Roboto", Sans-serif !important;
    font-weight: 600 !important;
    border: 1px solid #fff;
      border-radius: 25px;
      padding: 8px 12px;
      cursor:pointer;
    }
  
    .close:hover{
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border-color: #396347 !important;
    box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.3) !important;
    }
    .modalBody{padding: 18px}
    
    .formGrid{display:grid; grid-template-columns: 1fr 1fr; gap: 14px}
    .field{display:grid; gap:6px}
    label{font-size: 12px; font-weight: 900; color: var(--navy)}
    input, select{
      padding: 12px 12px;
      border-radius: 14px;
      border:1px solid rgba(0,0,0,.14);
      font-size: 14px;
      outline:none;
    }
    input:focus, select:focus{border-color: rgba(13,148,136,.6); box-shadow: 0 0 0 4px rgba(13,148,136,.12)}

    .zipPick{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-top: 14px;
    }
    .panel{
      border-radius: 18px;
      border:1px solid rgba(0,0,0,.08);
      padding: 14px;
      background: rgba(224,231,255,.25);
    }
    .zRow{display:flex; gap:10px; align-items:center}
    .zRow input{flex:2}
    .zRow .flex-2{
      flex:1;
      border: 1px solid #fff;
    }
    .zipPills{display:flex; flex-wrap:wrap; gap:8px; margin-top: 10px}
    .zipPill{
      background: white;
      border:1px solid rgba(0,0,0,.10);
      border-radius: 999px;
      padding: 8px 10px;
      font-size: 13px;
      font-weight: 850;
      color: var(--navy);
      display:inline-flex;
      align-items:center;
      gap:8px;
    }
    .zipPill button{
      border:0; background: transparent; cursor:pointer;
      font-weight: 950; color: var(--muted);
    }
    .summary{
      border-radius: 18px;
      border:1px solid rgba(0,0,0,.08);
      background: white;
      padding: 14px;
      display:grid;
      
      gap: 10px;
    }
    .sumRow{display:flex; justify-content:space-between; gap:14px; font-size: 14px}
    .sumRow b{color: var(--navy)}
    .hintLine{font-size: 12px; color: var(--muted); line-height: 1.45}

    footer{
      padding: 26px 0 46px;
      color: var(--muted);
      font-size: 13px;
      border-top: 1px solid var(--line);
    }

    @media (max-width: 980px){
      .tiers{grid-template-columns:1fr}
      .refGrid{grid-template-columns:1fr}
      h1{font-size: 34px}
      .formGrid{grid-template-columns:1fr}
      .zipPick{grid-template-columns:1fr}
      .nav{flex-wrap:wrap}
      .navlinks{justify-content:flex-start}
      .founderInner{align-items:flex-start}
    }

    /* Fix WP admin bar offset */
body.admin-bar .founderBanner,
body.admin-bar header {
  margin-top: -32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .founderBanner,
  body.admin-bar header {
    margin-top: -46px;
  }
}
@media (max-width: 768px){

  .modalBack{
    align-items: flex-start;   /* top align */
    padding-top: 20px;
  }

  .modal{
    width: 100%;
    border-radius: 16px;
  }

}


.btnAgent-bt{
    background-color: #396347 !important;
    font-family: "Roboto", Sans-serif !important;
    font-weight: 600 !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-color: #02010100;
    border-radius: 25px 25px 25px 25px !important;
}
.btnAgent-bt:hover{
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border-color: #396347 !important;
    box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.3) !important;
}

.btnAgentChoose-bt{
    background-color: #FFFFFF !important;
    font-family: "Roboto", Sans-serif !important;
    color: #000000 !important;
    font-weight: 600 !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-color: #396347 !important;
    border-radius: 25px 25px 25px 25px !important;
    box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.3) !important;

}

.btnAgentChoose-bt:hover{
    background-color: #396347 !important;
    color:#fff !important;
    border-width: 1px 1px 1px 1px !important;
    border-color: #02010100;
}

.planHeader {
  margin-bottom: 10px;
}

.planLabel {
  font-weight: 900;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 4px;
}

.planNameRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.planName {
  font-weight: 800;
  font-size: 14px;
}

.planBadge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e6f4ff;
  color: #004085;
}
