/* Executive, clean, conversion-focused */
:root{
  --bg:#0b0f16;
  --panel:#101826;
  --panel2:#0f1724;
  --text:#e8eefc;
  --muted:#b6c2df;
  --soft:#7f8aa6;
  --line:#1e2a3f;
  --accent:#5b8cff;
  --accent2:#00c2a8;
  --danger:#ff5b77;
  --ok:#24d18d;
  --warn:#ffcc66;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 22px;
  --container: 1080px;
  --font: Cambria, "Georgia", "Times New Roman", serif;
  --font2: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; background: radial-gradient(1200px 800px at 20% -10%, rgba(91,140,255,.25), transparent 45%),
                                 radial-gradient(1000px 700px at 110% 0%, rgba(0,194,168,.20), transparent 45%),
                                 var(--bg);
          color:var(--text); font-family:var(--font2); }
a{ color:var(--text); text-decoration:underline; text-underline-offset:3px; }
code{ background:rgba(255,255,255,.06); padding:.12rem .35rem; border-radius:10px; border:1px solid rgba(255,255,255,.10); }

.container{ max-width:var(--container); margin:0 auto; padding:0 20px; }

.site-header{ position:sticky; top:0; z-index:50; backdrop-filter: blur(12px);
              background: rgba(11,15,22,.72); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .container{ display:flex; align-items:center; justify-content:space-between; padding:14px 20px; }
.brand{ display:flex; flex-direction:column; gap:2px; }
.logo{ font-family:var(--font); font-weight:700; letter-spacing:.2px; font-size:20px; }
.tagline{ color:var(--muted); font-size:13px; }

.btn{ border:1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06);
      padding:10px 14px; border-radius:999px; color:var(--text); cursor:pointer; font-weight:650; }
.btn:hover{ border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); }
.btn-primary{ background: linear-gradient(135deg, rgba(91,140,255,.95), rgba(0,194,168,.85)); border: 0; }
.btn-primary:hover{ filter:brightness(1.05); }
.btn-ghost{ background: transparent; }
.btn-lg{ padding:12px 18px; font-size:15px; }

.hero{ padding:56px 0 28px; }
.hero h1{ font-family:var(--font); font-size:44px; line-height:1.08; margin:0 0 14px; letter-spacing:.2px; }
.lead{ color:var(--muted); font-size:17px; line-height:1.6; max-width:820px; }

.cards{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; margin-top:20px; }
.card{ background: linear-gradient(180deg, rgba(16,24,38,.92), rgba(15,23,36,.92));
       border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius); padding:16px; box-shadow: var(--shadow); }
.card h3{ margin:0 0 8px; font-size:15px; }
.card p{ margin:0; color:var(--muted); line-height:1.5; }

.card.big{ padding:18px; border-radius: var(--radius2); }
.section{ padding:26px 0 54px; }
.section h2{ font-family:var(--font); font-size:28px; margin:0 0 8px; }
.sublead{ color:var(--muted); margin:0 0 16px; line-height:1.6; }

.notice{ margin-top:16px; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12);
         padding:14px 14px; border-radius: var(--radius); color: var(--muted); line-height:1.55; }

.form{ margin-top:12px; }
.grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:12px; }
.field label{ display:block; font-weight:650; font-size:13px; margin-bottom:6px; color:var(--text); }
.field input, .field select{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color:var(--text);
  outline:none;
}
.field input:focus, .field select:focus{ border-color: rgba(91,140,255,.65); box-shadow: 0 0 0 4px rgba(91,140,255,.12); }
.consent{ margin-top:10px; }
.checkbox{ display:flex; gap:10px; align-items:flex-start; color:var(--muted); line-height:1.4; }
.checkbox input{ margin-top:3px; }
.actions{ display:flex; gap:10px; margin-top:14px; align-items:center; }
.tiny{ color:var(--soft); font-size:12px; line-height:1.5; }

.hidden{ display:none; }

.section-header{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.pill{ border:1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); padding:10px 12px; border-radius: 999px; font-weight:650; color:var(--muted); }

.toolbar{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin:12px 0 14px; }
.toolbar-left, .toolbar-right{ display:flex; gap:10px; }

.domain{ margin-bottom:12px; border-radius: var(--radius2); overflow:hidden; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.04); }
.domain-header{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:14px 16px; cursor:pointer; background: rgba(255,255,255,.03);
}
.domain-title{ display:flex; flex-direction:column; gap:2px; }
.domain-title strong{ font-size:14px; }
.domain-title span{ color:var(--muted); font-size:12px; }
.chev{ color:var(--muted); font-weight:900; }
.domain-body{ padding:14px 16px 6px; border-top:1px solid rgba(255,255,255,.08); }

.question{ padding:12px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.q-top{ display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.q-text{ font-weight:650; line-height:1.45; }
.q-meta{ color:var(--soft); font-size:12px; margin-top:6px; line-height:1.4; }
.q-controls{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.radio{
  display:flex; gap:8px; align-items:center; padding:8px 10px;
  border-radius:999px; border:1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
  cursor:pointer; user-select:none;
}
.radio input{ accent-color: var(--accent); }
.radio:hover{ border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }

.results-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.results-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:14px; margin-top:12px; }

.score{ display:flex; align-items:center; gap:14px; margin:10px 0 12px; }
.score-number{ font-family:var(--font); font-size:44px; font-weight:800; letter-spacing:.4px; }
.score-meta .tier{ font-weight:800; font-size:14px; }
.bar{ height:12px; border-radius:999px; background: rgba(255,255,255,.08); overflow:hidden; border:1px solid rgba(255,255,255,.10); }
.bar-fill{ height:100%; background: linear-gradient(90deg, rgba(91,140,255,.95), rgba(0,194,168,.85)); }

.list{ margin:10px 0 0; padding-left:18px; color:var(--muted); }
#domainScores .row{ display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.badge{ padding:5px 10px; border-radius:999px; font-weight:800; font-size:12px; border:1px solid rgba(255,255,255,.12); }
.badge.ok{ background: rgba(36,209,141,.10); color: var(--ok); border-color: rgba(36,209,141,.25); }
.badge.warn{ background: rgba(255,204,102,.10); color: var(--warn); border-color: rgba(255,204,102,.25); }
.badge.danger{ background: rgba(255,91,119,.10); color: var(--danger); border-color: rgba(255,91,119,.25); }

.refs{ display:grid; grid-template-columns: repeat(2, 1fr); gap:10px; margin-top:10px; }
.ref{ padding:12px; border-radius: var(--radius); background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.10); }
.ref strong{ display:block; margin-bottom:6px; }
.ref ul{ margin:0; padding-left:18px; color:var(--muted); }

.site-footer{ border-top:1px solid rgba(255,255,255,.08); padding:16px 0 20px; color:var(--soft); }

@media (max-width: 900px){
  .cards{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .results-grid{ grid-template-columns: 1fr; }
  .refs{ grid-template-columns: 1fr; }
  .hero h1{ font-size:36px; }
}
