:root{
  --black:#050608;
  --deep:#07101b;
  --card:#101826;
  --card2:#151f30;
  --cream:#f6f0e3;
  --white:#f8fafc;
  --muted:#aab7c9;
  --ink:#0f172a;
  --gold:#d7b64c;
  --gold2:#ffe68a;
  --line:rgba(255,255,255,.12);
  --shadow:0 30px 120px rgba(0,0,0,.46);
  --green:#20c997;
  --red:#ef4444;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--black);
  color:var(--white);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  overflow-x:hidden;
}

button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
.wrap{width:min(1240px,calc(100% - 42px));margin:0 auto}

.noise{
  pointer-events:none;
  position:fixed;
  inset:0;
  opacity:.05;
  z-index:-1;
  background-image:
    linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px);
  background-size:42px 42px;
}

.glow{position:fixed;z-index:-2;border-radius:999px;filter:blur(80px);opacity:.35}
.glow-a{width:520px;height:520px;background:#d7b64c;top:-180px;left:-160px}
.glow-b{width:620px;height:620px;background:#174a8d;top:120px;right:-220px}

.topnav{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(5,6,8,.78);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(18px);
}

.navline{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

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

.brand span{
  width:40px;
  height:40px;
  border-radius:15px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:#111;
  font-weight:950;
}

.brand b{
  font-family:Manrope,sans-serif;
  font-size:23px;
  letter-spacing:-.04em;
}

.topnav nav{
  display:flex;
  align-items:center;
  gap:26px;
  color:#d9e1ec;
  font-weight:850;
  font-size:14px;
}

.topnav nav a:hover{color:#fff}

.navbtn,
.primary-xl,
.secondary-xl,
.gold,
.soft,
.sticky-scan button{
  border:0;
  border-radius:16px;
  font-weight:950;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:.18s ease;
}

.navbtn,
.primary-xl,
.gold,
.sticky-scan button{
  background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:#111;
  box-shadow:0 18px 48px rgba(215,182,76,.22);
}

.navbtn{padding:13px 18px}
.primary-xl,.secondary-xl{padding:17px 22px;font-size:16px}
.secondary-xl,.soft{
  background:rgba(255,255,255,.075);
  color:#fff;
  border:1px solid rgba(255,255,255,.15);
}

.gold{padding:14px 18px}
.soft{padding:14px 18px;background:#edf2f7;color:#111;border-color:#d7dde8}
.navbtn:hover,.primary-xl:hover,.secondary-xl:hover,.gold:hover,.soft:hover,.sticky-scan button:hover{transform:translateY(-2px)}

.stage{
  min-height:calc(100vh - 76px);
  display:flex;
  align-items:center;
  padding:72px 0 98px;
  background:
    radial-gradient(circle at 18% 20%,rgba(215,182,76,.17),transparent 32%),
    radial-gradient(circle at 80% 14%,rgba(23,74,141,.32),transparent 30%),
    linear-gradient(180deg,#07090d,#07101b 70%,#050608);
}

.stage-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:56px;
  align-items:center;
}

.eyebrow,
.section-title small,
.evidence-copy small,
.region small,
.final-panel small,
.drawer-head small{
  color:var(--gold2);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:12px;
  font-weight:950;
}

h1,h2,h3,h4,p{margin-top:0}

.stage h1{
  max-width:720px;
  font-family:Manrope,sans-serif;
  font-size:clamp(52px,7vw,104px);
  line-height:.86;
  letter-spacing:-.085em;
  margin:18px 0 28px;
}

.stage h1 span{
  display:block;
  color:#fff4c3;
}

.stage-copy p{
  max-width:640px;
  color:#d6dfed;
  font-size:20px;
  line-height:1.75;
}

.quick-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:32px 0 0;
}

.diagnose-orbit{
  position:relative;
  min-height:600px;
  display:grid;
  place-items:center;
}

.diagnose-orbit:before{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at center,rgba(255,255,255,.08),transparent 45%),
    conic-gradient(from 180deg,rgba(215,182,76,.24),rgba(23,74,141,.16),rgba(255,255,255,.06),rgba(215,182,76,.24));
  opacity:.95;
}

.orbit-center{
  position:relative;
  z-index:2;
  width:230px;
  height:230px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(5,6,8,.78);
  color:#fff;
  box-shadow:var(--shadow);
}

.orbit-center strong{
  display:block;
  font-family:Manrope,sans-serif;
  font-size:52px;
  letter-spacing:-.07em;
  color:var(--gold2);
}

.orbit-center span{
  display:block;
  color:#d9e2ef;
  font-weight:850;
}

.orbit-card{
  position:absolute;
  z-index:3;
  width:210px;
  min-height:128px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:28px;
  padding:20px;
  color:#fff;
  text-align:left;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(16px);
  box-shadow:0 22px 70px rgba(0,0,0,.22);
}

.orbit-card b{
  display:block;
  font-family:Manrope,sans-serif;
  font-size:25px;
  letter-spacing:-.04em;
  margin-bottom:8px;
}

.orbit-card span{
  color:#c9d4e4;
  font-weight:750;
}

.c1{top:28px;left:55px}
.c2{top:76px;right:20px}
.c3{bottom:58px;left:12px}
.c4{bottom:24px;right:80px}

.proof-rail{
  background:#fff;
  color:var(--ink);
  padding:22px 0;
}

.rail-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}

.rail-grid div{
  display:flex;
  align-items:center;
  gap:12px;
  border-right:1px solid rgba(15,23,42,.12);
}

.rail-grid div:last-child{border-right:0}

.rail-grid b{
  color:#8a6a0d;
  font-weight:950;
}

.rail-grid span{
  color:#182234;
  font-weight:950;
}

.matrix{
  background:#fff;
  color:var(--ink);
  padding:88px 0;
}

.section-title{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:28px;
  margin-bottom:30px;
}

.section-title h2,
.evidence h2,
.region h2,
.final-panel h2{
  font-family:Manrope,sans-serif;
  font-size:clamp(38px,5vw,72px);
  line-height:.95;
  letter-spacing:-.075em;
  margin:10px 0 0;
}

.matrix-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  grid-auto-rows:minmax(260px,auto);
  gap:16px;
}

.matrix-card{
  text-align:left;
  border:1px solid rgba(15,23,42,.10);
  border-radius:34px;
  padding:28px;
  background:#f6f1e6;
  color:var(--ink);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:.2s ease;
}

.matrix-card:hover{
  transform:translateY(-5px);
  box-shadow:0 30px 90px rgba(15,23,42,.12);
}

.matrix-card.large{
  grid-row:span 2;
  background:
    radial-gradient(circle at 80% 20%,rgba(215,182,76,.28),transparent 30%),
    linear-gradient(180deg,#07101b,#111c2d);
  color:#fff;
}

.matrix-card.dark{
  background:#07101b;
  color:#fff;
}

.matrix-card span{
  color:var(--gold);
  font-weight:950;
}

.matrix-card h3{
  font-family:Manrope,sans-serif;
  font-size:clamp(25px,3vw,46px);
  line-height:1;
  letter-spacing:-.06em;
  margin:18px 0;
}

.matrix-card p{
  color:#647084;
  font-weight:650;
  line-height:1.6;
}

.matrix-card.large p,
.matrix-card.dark p{
  color:#d6dfed;
}

.matrix-card b{
  color:#8a6a0d;
}

.matrix-card.large b,
.matrix-card.dark b{
  color:var(--gold2);
}

.evidence{
  background:linear-gradient(180deg,#07101b,#0d1725);
  color:#fff;
  padding:92px 0;
}

.evidence-grid,
.region-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:54px;
  align-items:start;
}

.evidence-copy p,
.region p{
  color:#c8d4e5;
  font-size:18px;
  line-height:1.75;
  max-width:620px;
}

.evidence-stack{
  display:grid;
  gap:16px;
}

.evidence-stack article{
  min-height:138px;
  border-radius:30px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.06);
  padding:26px;
}

.evidence-stack b{
  display:block;
  color:var(--gold2);
  font-family:Manrope,sans-serif;
  font-size:24px;
  letter-spacing:-.035em;
  margin-bottom:8px;
}

.evidence-stack span{
  color:#d6dfed;
}

.region{
  background:var(--cream);
  color:var(--ink);
  padding:86px 0;
}

.region p{color:#677386}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-content:flex-start;
}

.chips button{
  border:1px solid rgba(215,182,76,.30);
  background:#fff;
  color:#5b4306;
  border-radius:999px;
  padding:15px 18px;
  font-weight:950;
}

.final{
  background:#fff;
  color:var(--ink);
  padding:34px 0 100px;
}

.final-panel{
  border-radius:40px;
  background:
    radial-gradient(circle at 82% 18%,rgba(215,182,76,.26),transparent 28%),
    linear-gradient(135deg,#07101b,#132238);
  color:#fff;
  padding:42px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}

.footer{
  padding:34px 0 108px;
  color:#cbd5e1;
  border-top:1px solid var(--line);
}

.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:24px;
}

.footer b{
  color:var(--gold2);
  font-size:22px;
}

.footer p{
  color:#9aa8bb;
}

.footer span,
.footer a{
  display:block;
  margin:4px 0;
}

.sticky-scan{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  z-index:70;
  width:min(760px,calc(100% - 28px));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:13px 14px 13px 18px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(5,6,8,.82);
  color:#fff;
  backdrop-filter:blur(20px);
  box-shadow:0 26px 90px rgba(0,0,0,.40);
}

.sticky-scan b{
  display:block;
  color:var(--gold2);
}

.sticky-scan span{
  color:#c8d4e5;
  font-size:13px;
}

.sticky-scan button{
  padding:12px 17px;
}

/* Drawer */
.drawer{
  position:fixed;
  inset:0;
  z-index:100;
  pointer-events:none;
  opacity:0;
  transition:.2s ease;
}

.drawer.open{
  pointer-events:auto;
  opacity:1;
}

.drawer-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.58);
  backdrop-filter:blur(8px);
}

.drawer-panel{
  position:absolute;
  top:18px;
  right:18px;
  bottom:18px;
  width:min(620px,calc(100% - 36px));
  overflow:auto;
  border-radius:32px;
  background:#fff;
  color:var(--ink);
  box-shadow:var(--shadow);
  padding:26px;
  transform:translateX(30px);
  transition:.2s ease;
}

.drawer.open .drawer-panel{
  transform:translateX(0);
}

.drawer-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:14px;
}

.drawer-head h2{
  font-family:Manrope,sans-serif;
  font-size:34px;
  line-height:1;
  letter-spacing:-.055em;
  margin:8px 0 0;
}

.close{
  width:42px;
  height:42px;
  border:0;
  border-radius:14px;
  background:#07101b;
  color:#fff;
  font-size:26px;
  line-height:1;
}

.drawer-progress{
  height:9px;
  background:#edf2f7;
  border-radius:999px;
  overflow:hidden;
  margin-bottom:22px;
}

.drawer-progress i{
  display:block;
  height:100%;
  width:25%;
  background:linear-gradient(90deg,var(--gold2),var(--gold));
  border-radius:999px;
  transition:.2s ease;
}

.drawer-step{display:none}
.drawer-step.active{display:block}

.drawer-step h3{
  font-family:Manrope,sans-serif;
  font-size:25px;
  letter-spacing:-.04em;
}

.select-list{
  display:grid;
  gap:10px;
}

.select-list label{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:15px;
  border:1px solid #dce3ee;
  background:#f8fafc;
  border-radius:18px;
  cursor:pointer;
}

.select-list input{
  width:auto;
  margin-top:4px;
  accent-color:#c99f27;
}

.select-list label:has(input:checked){
  background:#fff6cf;
  border-color:var(--gold);
  box-shadow:0 0 0 4px rgba(215,182,76,.14);
}

.select-list b{
  display:block;
}

.select-list em{
  display:block;
  font-style:normal;
  color:#647084;
  font-size:13px;
  margin-top:3px;
}

.upload-panel{
  display:grid;
  place-items:center;
  text-align:center;
  gap:8px;
  padding:24px;
  border:1px dashed rgba(215,182,76,.85);
  background:#fff9e8;
  border-radius:22px;
  cursor:pointer;
}

.upload-panel input{
  max-width:360px;
  background:#fff;
}

.upload-panel b{
  color:#3d2d07;
  font-size:22px;
  font-family:Manrope,sans-serif;
}

.upload-panel span{
  color:#6b5a24;
  font-size:13px;
  font-weight:750;
}

.field{
  display:grid;
  gap:7px;
  color:#2d3748;
  font-weight:900;
  font-size:13px;
}

input,
select,
textarea{
  width:100%;
  border:1px solid #dce3ee;
  border-radius:16px;
  background:#f8fafc;
  color:#101827;
  padding:14px;
  outline:none;
}

textarea{resize:vertical}

input:focus,
select:focus,
textarea:focus{
  background:#fff;
  border-color:var(--gold);
  box-shadow:0 0 0 4px rgba(215,182,76,.14);
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

.drawer-actions{
  display:flex;
  gap:12px;
  margin-top:15px;
}

.drawer-actions > *{
  flex:1;
}

.thumbs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin:12px 0;
}

.thumb{
  border:1px solid #dce3ee;
  border-radius:15px;
  padding:6px;
  background:#fff;
  overflow:hidden;
}

.thumb img{
  width:100%;
  height:74px;
  object-fit:cover;
  border-radius:11px;
}

.thumb span{
  display:block;
  color:#647084;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.scan-result{
  background:
    radial-gradient(circle at 16% 10%,rgba(215,182,76,.22),transparent 34%),
    linear-gradient(180deg,#07101b,#132238);
  color:#fff;
  border-radius:24px;
  padding:22px;
  border:1px solid rgba(215,182,76,.34);
  margin-bottom:16px;
}

.scan-result small{
  color:var(--gold2);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:950;
  font-size:11px;
}

.scan-result h4{
  font-family:Manrope,sans-serif;
  font-size:26px;
  line-height:1.1;
  letter-spacing:-.04em;
  margin:10px 0;
}

.scan-result p,
.scan-result li{
  color:#d6dfed;
}

.result-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:14px;
}

.result-grid div{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  border-radius:15px;
  padding:12px;
}

.result-grid b{
  display:block;
  color:var(--gold2);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
}

.result-grid span{
  display:block;
  font-weight:900;
  margin-top:4px;
}

.legal{
  background:#f8fafc;
  border:1px solid #dce3ee;
  border-radius:16px;
  padding:13px;
  color:#647084;
  font-size:13px;
  font-weight:800;
}

.status{
  color:#647084;
  font-size:13px;
  font-weight:800;
}

.status.pass{color:#047857}
.status.stop{color:#b91c1c}

.page-title{
  color:var(--ink);
  font-family:Manrope,sans-serif;
  font-size:clamp(42px,5vw,68px);
  line-height:.98;
  letter-spacing:-.06em;
}

@media(max-width:1080px){
  .stage-grid,
  .evidence-grid,
  .region-grid{
    grid-template-columns:1fr;
  }

  .diagnose-orbit{
    min-height:500px;
  }

  .matrix-grid{
    grid-template-columns:1fr 1fr;
  }

  .matrix-card.large{
    grid-row:auto;
  }
}

@media(max-width:760px){
  .wrap{width:min(100% - 28px,1240px)}
  .topnav nav{display:none}
  .stage{padding:42px 0 76px}
  .stage h1{font-size:44px}
  .stage-copy p{font-size:17px}
  .diagnose-orbit{
    min-height:420px;
  }
  .diagnose-orbit:before{
    width:360px;
    height:360px;
  }
  .orbit-center{
    width:170px;
    height:170px;
  }
  .orbit-center strong{
    font-size:38px;
  }
  .orbit-card{
    position:relative;
    inset:auto !important;
    width:100%;
    min-height:auto;
  }
  .diagnose-orbit{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .diagnose-orbit:before,
  .orbit-center{
    display:none;
  }
  .rail-grid,
  .matrix-grid,
  .form-grid,
  .thumbs,
  .result-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }
  .matrix-card{
    min-height:220px;
  }
  .drawer-panel{
    top:8px;
    right:8px;
    bottom:8px;
    width:calc(100% - 16px);
    border-radius:24px;
    padding:20px;
  }
  .drawer-actions,
  .final-panel,
  .sticky-scan{
    flex-direction:column;
    align-items:stretch;
  }
  .sticky-scan{
    bottom:10px;
  }
}
