/* =========================================================
   BenTreder.com homepage styles
   Extracted from index.html for maintainability
   ========================================================= */


:root{
      --bg:#050b12;
      --bg2:#08131f;
      --bg3:#0d1b2b;
      --panel:rgba(10,18,30,.72);
      --panel2:rgba(13,23,37,.88);
      --panel3:rgba(255,255,255,.04);
      --ink:#f4fbff;
      --muted:#b4c4d3;
      --muted2:#88a0b4;
      --line:rgba(255,255,255,.09);
      --line2:rgba(255,255,255,.14);
      --cyan:88,214,255;
      --iceblue:169,231,255;
      --blue:103,160,255;
      --gold:255,210,111;
      --green:62,234,161;
      --shadow:0 20px 70px rgba(0,0,0,.45);
      --shadow2:0 10px 30px rgba(0,0,0,.28);
      --radius:28px;
      --max:1240px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:
        radial-gradient(1100px 700px at 10% -10%, rgba(var(--cyan),.18), transparent 55%),
        radial-gradient(800px 600px at 100% 0%, rgba(var(--iceblue),.14), transparent 52%),
        radial-gradient(900px 800px at 50% 100%, rgba(var(--blue),.08), transparent 58%),
        linear-gradient(180deg, #03070c 0%, #07111c 38%, #091624 100%);
      font:16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      -webkit-font-smoothing:antialiased;
      text-rendering:optimizeLegibility;
      overflow-x:hidden;
    }

    img{max-width:100%;display:block}
    a{color:inherit;text-decoration:none}
    button,input,textarea,select{font:inherit}

    .sr-only{
      position:absolute!important;
      width:1px;height:1px;
      padding:0;margin:-1px;overflow:hidden;
      clip:rect(0,0,0,0);white-space:nowrap;border:0;
    }

    .fx,
    .grain{
      position:fixed;
      inset:0;
      pointer-events:none;
      z-index:-1;
    }

    .fx{
      background:
        radial-gradient(560px 260px at 12% 0%, rgba(var(--cyan),.08), transparent 62%),
        radial-gradient(460px 220px at 88% 8%, rgba(var(--iceblue),.08), transparent 64%),
        radial-gradient(680px 340px at 50% 100%, rgba(var(--blue),.06), transparent 60%);
      filter:saturate(115%);
    }

    .grain{
      opacity:.08;
      background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
      background-size:3px 3px, 4px 4px;
      mix-blend-mode:soft-light;
    }

    .wrap{
      width:min(calc(100% - 28px), var(--max));
      margin:0 auto;
      padding:18px 0 120px;
    }

    .glass{
      position:relative;
      overflow:hidden;
      background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
        linear-gradient(180deg, rgba(10,18,30,.82), rgba(8,15,24,.88));
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:var(--shadow);
      backdrop-filter:blur(18px) saturate(140%);
      -webkit-backdrop-filter:blur(18px) saturate(140%);
    }

    .glass::before{
      content:"";
      position:absolute;
      inset:0;
      background:
        radial-gradient(520px 180px at 0% 0%, rgba(var(--cyan),.12), transparent 58%),
        radial-gradient(420px 160px at 100% 0%, rgba(var(--iceblue),.10), transparent 60%);
      pointer-events:none;
    }

    header{
      position:sticky;
      top:12px;
      z-index:50;
      margin-bottom:18px;
    }

    .topbar{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
      padding:14px 16px;
      border-radius:24px;
      background:rgba(7,17,28,.72);
      border:1px solid rgba(255,255,255,.1);
      box-shadow:0 16px 40px rgba(0,0,0,.26);
      backdrop-filter:blur(16px) saturate(140%);
      -webkit-backdrop-filter:blur(16px) saturate(140%);
    }

    .brand{
      min-width:0;
      display:flex;
      align-items:center;
      gap:12px;
    }

    .logo{
      width:48px;
      height:48px;
      border-radius:16px;
      position:relative;
      flex:0 0 auto;
      background:
        linear-gradient(135deg, rgba(var(--cyan),.95), rgba(var(--iceblue),.72) 45%, rgba(var(--gold),.64) 100%);
      box-shadow:
        0 18px 36px rgba(0,0,0,.3),
        inset 0 1px 0 rgba(255,255,255,.4);
    }

    .logo::before{
      content:"BT";
      position:absolute;
      inset:0;
      display:grid;
      place-items:center;
      color:#021019;
      font-weight:950;
      font-size:18px;
      letter-spacing:.5px;
    }

    .brand h1{
      margin:0;
      font-size:16px;
      line-height:1.1;
      font-weight:950;
      letter-spacing:.12px;
    }

    .brand .sub{
      display:block;
      margin-top:4px;
      color:var(--muted);
      font-size:12px;
      font-weight:720;
      letter-spacing:.08px;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    nav[aria-label="Top menu"]{
      display:flex;
      align-items:center;
      gap:10px;
      flex-wrap:wrap;
      justify-content:flex-end;
    }

    .pill,
    .menuToggle{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:42px;
      padding:0 14px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.1);
      background:rgba(255,255,255,.04);
      color:rgba(245,255,255,.96);
      font-size:13px;
      font-weight:900;
      letter-spacing:.14px;
      transition:transform .18s ease, filter .18s ease, border-color .18s ease, background .18s ease;
      box-shadow:0 8px 24px rgba(0,0,0,.12);
    }

    .pill:hover,
    .menuToggle:hover,
    .btn:hover,
    .tag:hover,
    .app:hover,
    .miniCard:hover,
    .subCard:hover,
    .proofCard:hover{
      transform:translateY(-2px);
      filter:brightness(1.06);
      border-color:rgba(255,255,255,.18);
    }

    .pill.cta,
    .btn.primary{
      background:linear-gradient(135deg, rgba(var(--cyan),.95), rgba(var(--iceblue),.76));
      color:#04111a;
      border-color:rgba(var(--cyan),.8);
      box-shadow:
        0 18px 40px rgba(0,0,0,.22),
        0 0 0 1px rgba(255,255,255,.08) inset;
    }

    .menuToggle{
      display:none;
      width:44px;
      padding:0;
    }

    .menuToggle svg{width:18px;height:18px;display:block}

    .breadcrumbs{
      display:flex;
      flex-wrap:wrap;
      align-items:center;
      gap:8px;
      margin:6px 0 18px;
      padding:0 8px;
      color:var(--muted2);
      font-size:13px;
      font-weight:700;
    }

    .breadcrumbs a{color:var(--muted)}

    .hero{
      display:grid;
      grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);
      gap:18px;
      align-items:stretch;
    }

    .heroMain,
    .heroSide{
      padding:30px;
    }

    .heroMain{
      display:flex;
      flex-direction:column;
      justify-content:center;
      min-height:680px;
    }

    .kicker{
      display:inline-flex;
      align-items:center;
      gap:10px;
      width:max-content;
      max-width:100%;
      padding:10px 14px;
      border-radius:999px;
      border:1px solid rgba(var(--cyan),.22);
      background:rgba(255,255,255,.04);
      color:rgba(240,250,255,.94);
      font-size:12px;
      font-weight:950;
      letter-spacing:.22px;
      text-transform:uppercase;
      box-shadow:var(--shadow2);
      margin-bottom:18px;
    }

    .dot{
      width:10px;height:10px;border-radius:999px;
      background:rgb(var(--green));
      box-shadow:0 0 0 6px rgba(var(--green),.12), 0 0 24px rgba(var(--green),.44);
      flex:0 0 auto;
    }

    .heroTitle{
      margin:0;
      font-size:clamp(42px, 7vw, 76px);
      line-height:.96;
      letter-spacing:-.045em;
      font-weight:1000;
      max-width:12ch;
    }

    .heroTitle .shine{
      display:block;
      background:linear-gradient(135deg, #ffffff 0%, #d5efff 42%, #85e0ff 72%, #ffe19b 100%);
      -webkit-background-clip:text;
      background-clip:text;
      color:transparent;
    }

    .heroLead{
      margin:18px 0 0;
      max-width:66ch;
      color:var(--muted);
      font-size:18px;
      line-height:1.72;
    }

    .heroLead strong{color:var(--ink)}

    .heroActions{
      display:flex;
      flex-wrap:wrap;
      gap:12px;
      margin-top:26px;
    }

    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      min-height:52px;
      padding:0 18px;
      border-radius:18px;
      border:1px solid rgba(255,255,255,.1);
      background:rgba(255,255,255,.05);
      color:rgba(245,255,255,.95);
      font-size:14px;
      font-weight:950;
      letter-spacing:.15px;
      box-shadow:var(--shadow2);
      transition:transform .18s ease, filter .18s ease, border-color .18s ease;
    }

    .btn.secondary{
      background:
        linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
    }

    .heroProof{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      margin-top:20px;
    }

    .proof,
    .tag{
      display:inline-flex;
      align-items:center;
      gap:8px;
      min-height:40px;
      padding:0 14px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.09);
      background:rgba(255,255,255,.045);
      color:rgba(244,251,255,.92);
      font-size:13px;
      font-weight:900;
      letter-spacing:.1px;
      box-shadow:0 8px 24px rgba(0,0,0,.1);
      transition:transform .18s ease, filter .18s ease, border-color .18s ease;
    }

    .heroGrid{
      display:grid;
      grid-template-columns:repeat(3, minmax(0,1fr));
      gap:12px;
      margin-top:26px;
    }

    .miniCard{
      padding:16px;
      border-radius:20px;
      border:1px solid rgba(255,255,255,.08);
      background:
        linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
      box-shadow:0 14px 32px rgba(0,0,0,.16);
      transition:transform .18s ease, filter .18s ease, border-color .18s ease;
    }

    .miniCard .eyebrow{
      color:var(--muted2);
      font-size:12px;
      font-weight:900;
      letter-spacing:.14em;
      text-transform:uppercase;
    }

    .miniCard strong{
      display:block;
      margin-top:8px;
      font-size:24px;
      line-height:1;
      font-weight:1000;
    }

    .miniCard span{
      display:block;
      margin-top:7px;
      color:var(--muted);
      font-size:13px;
      line-height:1.5;
      font-weight:700;
    }

    .heroSide{
      display:flex;
      flex-direction:column;
      gap:16px;
      min-height:680px;
    }

    .portrait{
      position:relative;
      overflow:hidden;
      border-radius:24px;
      min-height:340px;
      background:
        radial-gradient(420px 200px at 50% 0%, rgba(var(--cyan),.16), transparent 70%),
        linear-gradient(180deg, rgba(8,20,32,.9), rgba(7,17,28,.96));
      border:1px solid rgba(255,255,255,.09);
      box-shadow:0 20px 46px rgba(0,0,0,.28);
    }

    .portrait::after{
      content:"";
      position:absolute;
      inset:auto 14px 14px 14px;
      height:120px;
      border-radius:18px;
      background:linear-gradient(180deg, transparent, rgba(4,10,18,.7));
      pointer-events:none;
    }

    .portrait img{
      width:100%;
      height:100%;
      object-fit:cover;
      aspect-ratio:4/4.4;
    }

    .statusCard,
    .quickPanel{
      padding:18px;
      border-radius:22px;
      border:1px solid rgba(255,255,255,.08);
      background:
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
      box-shadow:0 14px 30px rgba(0,0,0,.18);
    }

    .statusTop{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
    }

    .statusLabel{
      font-size:12px;
      font-weight:950;
      text-transform:uppercase;
      letter-spacing:.14em;
      color:var(--muted2);
    }

    .statusValue{
      font-size:15px;
      font-weight:950;
      color:rgb(var(--green));
    }

    .statRows{
      display:grid;
      gap:12px;
      margin-top:14px;
    }

    .statRow{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      padding:12px 14px;
      border-radius:16px;
      background:rgba(255,255,255,.035);
      border:1px solid rgba(255,255,255,.06);
      color:var(--muted);
      font-weight:800;
    }

    .statRow strong{
      color:var(--ink);
      font-size:15px;
      font-weight:950;
    }

    .section{
      margin-top:18px;
      padding:28px;
    }

    .sectionHead{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:18px;
      margin-bottom:20px;
    }

    .sectionHead h2{
      margin:0;
      font-size:clamp(28px,4vw,42px);
      line-height:1.02;
      letter-spacing:-.04em;
      font-weight:1000;
    }

    .sectionHead p{
      margin:0;
      max-width:54ch;
      color:var(--muted);
      font-size:15px;
      font-weight:700;
    }

    .grid{
      display:grid;
      grid-template-columns:repeat(3, minmax(0,1fr));
      gap:14px;
    }

    .app,
    .subCard,
    .proofCard{
      position:relative;
      overflow:hidden;
      padding:22px;
      border-radius:24px;
      border:1px solid rgba(255,255,255,.09);
      background:
        radial-gradient(360px 160px at 0% 0%, rgba(var(--cyan),.10), transparent 62%),
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
      box-shadow:0 16px 34px rgba(0,0,0,.16);
      transition:transform .18s ease, filter .18s ease, border-color .18s ease;
    }

    .app h3,
    .subCard h3,
    .proofCard h3{
      margin:0;
      font-size:22px;
      line-height:1.12;
      font-weight:950;
      letter-spacing:-.02em;
    }

    .app p,
    .subCard p,
    .proofCard p{
      margin:10px 0 0;
      color:var(--muted);
      font-size:15px;
      line-height:1.68;
      font-weight:700;
    }

    .icon{
      width:56px;
      height:56px;
      display:grid;
      place-items:center;
      margin-bottom:16px;
      border-radius:18px;
      background:
        linear-gradient(135deg, rgba(var(--cyan),.2), rgba(var(--iceblue),.12));
      border:1px solid rgba(var(--cyan),.18);
      font-size:24px;
      box-shadow:0 12px 28px rgba(0,0,0,.18);
    }

    .contentGrid{
      display:grid;
      grid-template-columns:repeat(2, minmax(0,1fr));
      gap:14px;
    }

    .proofGrid{
      display:grid;
      grid-template-columns:repeat(3, minmax(0,1fr));
      gap:14px;
    }

    .proofMeta{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-top:16px;
    }

    .miniTag{
      display:inline-flex;
      align-items:center;
      min-height:34px;
      padding:0 12px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.08);
      background:rgba(255,255,255,.04);
      color:rgba(245,255,255,.92);
      font-size:12px;
      font-weight:900;
      letter-spacing:.08px;
    }

    .faq{
      display:grid;
      gap:12px;
    }

    .faq details{
      border-radius:20px;
      border:1px solid rgba(255,255,255,.08);
      background:rgba(255,255,255,.035);
      padding:0 18px;
      overflow:hidden;
    }

    .faq summary{
      list-style:none;
      cursor:pointer;
      padding:18px 0;
      font-size:17px;
      font-weight:900;
      line-height:1.4;
    }

    .faq summary::-webkit-details-marker{display:none}

    .faq p{
      margin:0 0 18px;
      color:var(--muted);
      font-size:15px;
      line-height:1.72;
      font-weight:700;
    }

    .ctaPanel{
      display:grid;
      grid-template-columns:1.1fr .9fr;
      gap:18px;
      align-items:center;
    }

    .ctaBox{
      padding:28px;
      border-radius:26px;
      border:1px solid rgba(255,255,255,.08);
      background:
        radial-gradient(460px 180px at 0% 0%, rgba(var(--cyan),.12), transparent 62%),
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
      box-shadow:0 18px 40px rgba(0,0,0,.18);
    }

    .ctaBox h3{
      margin:0;
      font-size:34px;
      line-height:1.04;
      letter-spacing:-.035em;
      font-weight:1000;
    }

    .ctaBox p{
      margin:12px 0 0;
      color:var(--muted);
      font-size:16px;
      line-height:1.72;
      font-weight:700;
    }

    .chipRow{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
    }

    footer{
      margin-top:18px;
      display:flex;
      flex-wrap:wrap;
      justify-content:space-between;
      gap:14px;
      padding:22px 6px 0;
      color:var(--muted2);
      font-size:14px;
      font-weight:700;
    }

    footer a{color:var(--muted)}

    .dock{
      position:fixed;
      left:50%;
      bottom:16px;
      transform:translateX(-50%);
      width:min(calc(100% - 18px), 760px);
      z-index:60;
      display:grid;
      grid-template-columns:repeat(5,1fr);
      gap:10px;
      padding:10px;
      border-radius:24px;
      border:1px solid rgba(255,255,255,.1);
      background:rgba(7,17,28,.78);
      box-shadow:0 20px 50px rgba(0,0,0,.32);
      backdrop-filter:blur(18px) saturate(140%);
      -webkit-backdrop-filter:blur(18px) saturate(140%);
    }

    .dock a{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:48px;
      padding:0 12px;
      border-radius:16px;
      border:1px solid rgba(255,255,255,.06);
      background:rgba(255,255,255,.04);
      color:rgba(245,255,255,.94);
      font-size:13px;
      font-weight:950;
      letter-spacing:.12px;
      transition:transform .18s ease, filter .18s ease, border-color .18s ease;
    }

    .dock a.quote{
      background:linear-gradient(135deg, rgba(var(--cyan),.98), rgba(var(--iceblue),.78));
      color:#04111a;
      border-color:rgba(var(--cyan),.82);
    }

    .mobileDrawer{
      position:fixed;
      inset:0;
      z-index:90;
      display:none;
      pointer-events:none;
    }

    .mobileDrawer.open{
      display:block;
      pointer-events:auto;
    }

    .mobileDrawerBackdrop{
      position:absolute;
      inset:0;
      background:rgba(2,6,10,.64);
      backdrop-filter:blur(8px);
      -webkit-backdrop-filter:blur(8px);
    }

    .mobileDrawerPanel{
      position:absolute;
      top:0;
      right:0;
      bottom:0;
      width:min(90vw, 380px);
      height:100%;
      padding:18px;
      display:flex;
      flex-direction:column;
      gap:14px;
      background:
        radial-gradient(600px 300px at 12% 0%, rgba(var(--cyan),.13), transparent 60%),
        radial-gradient(520px 260px at 92% 20%, rgba(var(--iceblue),.12), transparent 62%),
        linear-gradient(180deg, rgba(7,20,31,.96), rgba(5,14,24,.98));
      border-left:1px solid rgba(210,245,255,.16);
      box-shadow:
        -20px 0 60px rgba(0,0,0,.46),
        inset 1px 0 0 rgba(255,255,255,.05);
      transform:translateX(105%);
      transition:transform .28s cubic-bezier(.22,1,.36,1);
      overflow-y:auto;
    }

    .mobileDrawer.open .mobileDrawerPanel{
      transform:translateX(0);
    }

    .mobileDrawerHead{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding-bottom:2px;
    }

    .mobileDrawerBrand{
      display:flex;
      align-items:center;
      gap:10px;
      text-decoration:none;
      min-width:0;
    }

    .mobileDrawerBrandText{
      min-width:0;
    }

    .mobileDrawerTitle{
      margin:0;
      font-size:14px;
      font-weight:950;
      line-height:1.1;
      color:rgba(245,255,255,.94);
    }

    .mobileDrawerSub{
      display:block;
      margin-top:3px;
      font-size:11px;
      font-weight:750;
      color:var(--muted2);
      line-height:1.25;
    }

    .mobileDrawerClose{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      width:40px;
      height:40px;
      border-radius:12px;
      border:1px solid rgba(210,245,255,.16);
      background:rgba(255,255,255,.06);
      color:rgba(245,255,255,.92);
      cursor:pointer;
      flex:0 0 auto;
      transition:transform .16s ease, filter .16s ease, border-color .16s ease;
    }

    .mobileDrawerClose:hover{
      transform:translateY(-1px);
      filter:brightness(1.06);
      border-color:rgba(210,245,255,.24);
    }

    .mobileDrawerClose svg{
      width:18px;
      height:18px;
      display:block;
    }

    .mobileDrawerNav{
      display:grid;
      gap:10px;
      margin-top:2px;
    }

    .mobileDrawerLink{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding:14px 14px;
      border-radius:18px;
      border:1px solid rgba(210,245,255,.14);
      background:
        radial-gradient(260px 120px at 18% 0%, rgba(var(--iceblue),.10), transparent 62%),
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
      text-decoration:none;
      color:rgba(245,255,255,.92);
      font-size:14px;
      font-weight:900;
      letter-spacing:.15px;
      box-shadow:0 12px 26px rgba(0,0,0,.20);
      opacity:0;
      transform:translateX(16px);
      transition:
        opacity .32s ease,
        transform .32s ease,
        filter .18s ease,
        border-color .18s ease;
    }

    .mobileDrawer.open .mobileDrawerLink{
      opacity:1;
      transform:translateX(0);
    }

    .mobileDrawer.open .mobileDrawerLink:nth-child(1){ transition-delay:.03s; }
    .mobileDrawer.open .mobileDrawerLink:nth-child(2){ transition-delay:.06s; }
    .mobileDrawer.open .mobileDrawerLink:nth-child(3){ transition-delay:.09s; }
    .mobileDrawer.open .mobileDrawerLink:nth-child(4){ transition-delay:.12s; }
    .mobileDrawer.open .mobileDrawerLink:nth-child(5){ transition-delay:.15s; }
    .mobileDrawer.open .mobileDrawerLink:nth-child(6){ transition-delay:.18s; }
    .mobileDrawer.open .mobileDrawerLink:nth-child(7){ transition-delay:.21s; }

    .mobileDrawerLink:hover{
      filter:brightness(1.06);
      border-color:rgba(210,245,255,.24);
    }

    .mobileDrawerLink.primary{
      border-color:rgba(var(--cyan),.52);
      background:
        radial-gradient(280px 140px at 18% 0%, rgba(var(--cyan),.20), transparent 62%),
        linear-gradient(180deg, rgba(var(--cyan),.10), rgba(255,255,255,.05));
    }

    .mobileDrawerLink.active{
      border-color:rgba(var(--gold),.50);
      background:
        radial-gradient(280px 140px at 18% 0%, rgba(var(--gold),.16), transparent 62%),
        linear-gradient(180deg, rgba(var(--gold),.08), rgba(255,255,255,.05));
      box-shadow:
        0 14px 30px rgba(0,0,0,.24),
        inset 0 1px 0 rgba(255,255,255,.06);
    }

    .mobileDrawerArrow{
      color:var(--muted2);
      font-size:14px;
      line-height:1;
      flex:0 0 auto;
    }

    .mobileDrawerMeta{
      margin-top:auto;
      padding-top:6px;
      display:grid;
      gap:10px;
    }

    .mobileDrawerMetaRow{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
    }

    .mobileDrawerMini{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      padding:10px 12px;
      border-radius:999px;
      border:1px solid rgba(210,245,255,.14);
      background:rgba(255,255,255,.05);
      text-decoration:none;
      font-size:12px;
      font-weight:900;
      color:rgba(245,255,255,.9);
    }

    body.drawer-open{
      overflow:hidden;
    }

    @media (max-width: 1100px){
      .hero{
        grid-template-columns:1fr;
      }
      .heroMain,.heroSide{
        min-height:auto;
      }
      .grid,.proofGrid{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
      .ctaPanel{
        grid-template-columns:1fr;
      }
    }

    @media (max-width: 860px){
      .wrap{
        width:min(calc(100% - 18px), var(--max));
        padding-top:12px;
      }
      .topbar{
        gap:10px;
      }
      nav[aria-label="Top menu"]{
        display:none !important;
      }
      .menuToggle{
        display:inline-flex;
      }
      .heroMain,.heroSide,.section{
        padding:20px;
      }
      .heroTitle{
        max-width:12ch;
      }
      .heroGrid,.contentGrid,.grid,.proofGrid{
        grid-template-columns:1fr;
      }
      .sectionHead{
        flex-direction:column;
        align-items:flex-start;
      }
      .dock{
        width:min(calc(100% - 12px), 100%);
        bottom:10px;
        grid-template-columns:repeat(5, minmax(0,1fr));
        gap:8px;
        padding:8px;
      }
      .dock a{
        font-size:11px;
        min-height:44px;
        padding:0 6px;
      }
      .brand .sub{
        max-width:180px;
      }
    }

    @media (min-width: 861px){
      .mobileDrawer{
        display:none;
      }
    }
  
    .brandLockup{
      position:relative;
      z-index:1;
      display:flex;
      align-items:center;
      gap:14px;
      margin:16px 0 8px;
      padding:14px 16px;
      border-radius:22px;
      border:1px solid rgba(210,245,255,.16);
      background:
        radial-gradient(280px 140px at 12% 0%, rgba(var(--cyan),.14), transparent 62%),
        radial-gradient(260px 140px at 92% 20%, rgba(var(--iceblue),.10), transparent 62%),
        linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
      box-shadow:0 18px 40px rgba(0,0,0,.24);
      overflow:hidden;
    }

    .brandMark{
      width:64px;
      height:64px;
      border-radius:20px;
      display:flex;
      align-items:center;
      justify-content:center;
      flex:0 0 auto;
      background:
        radial-gradient(120px 120px at 30% 20%, rgba(255,255,255,.16), transparent 60%),
        rgba(4,17,26,.78);
      border:1px solid rgba(210,245,255,.18);
      box-shadow:
        0 14px 30px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.08);
      padding:10px;
    }

    .brandMark img{
      width:100%;
      height:100%;
      object-fit:contain;
      display:block;
    }

    .brandLockupText{
      min-width:0;
      display:grid;
      gap:4px;
    }

    .brandLockupEyebrow{
      display:block;
      color:rgba(230,250,255,.62);
      font-size:11px;
      font-weight:900;
      letter-spacing:.18em;
      text-transform:uppercase;
    }

    .brandLockupText strong{
      display:block;
      color:rgba(245,255,255,.94);
      font-size:13.5px;
      line-height:1.35;
      font-weight:950;
      letter-spacing:.08px;
    }

    .portrait-home{
      min-height:420px;
      padding:14px;
      display:flex;
      align-items:center;
      justify-content:center;
      background:
        radial-gradient(420px 220px at 50% 0%, rgba(var(--cyan),.14), transparent 62%),
        radial-gradient(340px 220px at 100% 30%, rgba(var(--iceblue),.10), transparent 62%),
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
      border-radius:26px;
      border:1px solid rgba(210,245,255,.14);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
    }

    .portrait-home img{
      width:100%;
      height:auto;
      max-height:560px;
      object-fit:contain;
      object-position:center;
      filter:drop-shadow(0 26px 60px rgba(0,0,0,.34));
    }

    @media (max-width: 860px){
      .brandLockup{
        padding:12px 14px;
        gap:12px;
      }
      .brandMark{
        width:56px;
        height:56px;
        border-radius:18px;
      }
      .brandLockupText strong{
        font-size:12.5px;
      }
      .portrait-home{
        min-height:320px;
      }
    }


/* ===== Homepage width rebalance ===== */
@media (min-width: 861px){
  body:has(main[aria-label="Homepage content"]) .wrap{
    width:min(calc(100% - 28px), 1360px);
  }
}

/* Mobile homepage cleanup patch - prevents side-card text from squeezing */
@media (max-width: 760px) {
  .heroSide,
  .statusCard,
  .quickPanel {
    width: 100%;
    max-width: 100%;
  }

  .statusTop {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
  }

  .statusLabel,
  .statusValue {
    width: 100%;
    max-width: 100%;
    text-align: left;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    letter-spacing: normal;
  }

  .statRows {
    display: grid;
    gap: 14px;
  }

  .statRow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    align-items: start;
    text-align: left;
  }

  .statRow span,
  .statRow strong {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: left;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    letter-spacing: normal;
    white-space: normal;
  }

  .statRow span {
    font-size: .82rem;
    line-height: 1.25;
  }

  .statRow strong {
    font-size: 1rem;
    line-height: 1.45;
  }

  .quickPanel .heroActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .quickPanel .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .dock {
    left: 10px;
    right: 10px;
    bottom: 12px;
    max-width: calc(100% - 20px);
    overflow-x: auto;
  }

  .dock a {
    white-space: nowrap;
  }
}

/* Homepage status card readability fix - 2026-05 */
.statusCard{
  overflow:visible;
}

.statusTop{
  display:grid;
  grid-template-columns:minmax(120px, .34fr) minmax(0, 1fr);
  gap:10px 18px;
  align-items:start;
}

.statusLabel,
.statRow span{
  white-space:nowrap;
  word-break:keep-all;
  overflow-wrap:normal;
  hyphens:none;
}

.statusValue{
  min-width:0;
  overflow-wrap:normal;
  word-break:normal;
  line-height:1.55;
}

.statRows{
  display:grid;
  gap:16px;
}

.statRow{
  display:grid !important;
  grid-template-columns:minmax(112px, 128px) minmax(0, 1fr);
  gap:10px 18px;
  align-items:start;
}

.statRow strong{
  display:block;
  min-width:0;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
  line-height:1.55;
}

@media (max-width:920px){
  .statusTop{
    grid-template-columns:1fr;
  }

  .statRow{
    grid-template-columns:1fr;
    gap:5px;
  }

  .statusLabel,
  .statRow span{
    white-space:normal;
  }
}

@media (max-width:520px){
  .statusCard{
    padding:18px;
  }

  .statusValue,
  .statRow strong{
    font-size:15px;
    line-height:1.55;
  }
}


/* Premium homepage conversion polish */
.brandTitle{
  margin:0;
  font-size:14px;
  line-height:1.05;
  letter-spacing:-.02em;
  font-weight:950;
  color:var(--text, #102018);
}

.brandTitle .sub{
  display:block;
  margin-top:3px;
  font-size:11px;
  line-height:1.2;
  font-weight:800;
  color:var(--muted, #66736d);
  letter-spacing:.01em;
}

.smallKicker{
  margin:0 0 10px;
}

.premiumConversion{
  position:relative;
  overflow:hidden;
}

.premiumConversion:before{
  content:"";
  position:absolute;
  inset:-80px -120px auto auto;
  width:280px;
  height:280px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(73,160,132,.18), rgba(73,160,132,0) 68%);
  pointer-events:none;
}

.conversionGrid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

.conversionCard{
  position:relative;
  border:1px solid rgba(21,42,35,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.46));
  border-radius:22px;
  padding:20px;
  box-shadow:0 18px 44px rgba(34,55,45,.08);
  min-height:210px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.conversionCard:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 58px rgba(34,55,45,.13);
  border-color:rgba(47,122,98,.22);
}

.conversionCard h3{
  margin:14px 0 8px;
  font-size:18px;
  line-height:1.12;
  letter-spacing:-.03em;
}

.conversionCard p{
  margin:0;
  color:var(--muted, #66736d);
  line-height:1.62;
  font-size:14px;
}

.conversionNum{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:14px;
  background:rgba(47,122,98,.10);
  color:var(--text, #102018);
  font-weight:950;
  font-size:12px;
  box-shadow:inset 0 0 0 1px rgba(47,122,98,.12);
}

.conversionCard.featured{
  background:linear-gradient(145deg, rgba(20,58,45,.96), rgba(36,95,74,.88));
  color:#fff;
  border-color:rgba(255,255,255,.16);
}

.conversionCard.featured p,
.conversionCard.featured .conversionNum{
  color:rgba(255,255,255,.82);
}

.conversionCard.featured .conversionNum{
  background:rgba(255,255,255,.12);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);
}

.miniCta{
  margin-top:16px;
  width:100%;
  justify-content:center;
}

@media (max-width:980px){
  .conversionGrid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:620px){
  .conversionGrid{
    grid-template-columns:1fr;
  }

  .conversionCard{
    min-height:auto;
  }
}
