@font-face{
  font-family:'Source Serif 4';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('./fonts/source-serif-4-600-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Source Serif 4';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('./fonts/source-serif-4-600-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Source Serif 4';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('./fonts/source-serif-4-700-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Source Serif 4';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('./fonts/source-serif-4-700-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('./fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('./fonts/inter-400-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('./fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('./fonts/inter-500-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('./fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('./fonts/inter-600-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('./fonts/inter-700-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('./fonts/inter-700-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  --bg:#FDFCFB;
  --surface:#FFFFFF;
  --surface-tint:#F5F2EE;
  --ink:#1C1917;
  --ink-soft:#292524;
  --muted:#57534E;
  --accent:#B45309;
  --accent-dark:#92400E;
  --accent-soft:#FEF3C7;
  --accent-ink:#78350F;
  --border:#E2DDD5;
  --border-strong:#C8C0B4;
  --ok-bg:#ECFDF5;
  --ok-ink:#065F46;
  --warn-bg:#FEF3C7;
  --warn-ink:#92400E;
  --risk-bg:#FEF2F2;
  --risk-ink:#991B1B;
  --focus:#B45309;
  --radius:14px;
  --maxw:1100px;
  --s-1:8px;
  --s-2:16px;
  --s-3:24px;
  --s-4:32px;
  --s-6:48px;
  --s-8:64px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.65;
  font-size:16px;
}
h1,h2,h3{
  font-family:'Source Serif 4',Georgia,serif;
  color:var(--ink);
  line-height:1.18;
  letter-spacing:-0.015em;
  margin-top:0;
}
a{color:var(--accent-dark);text-underline-offset:3px}
a:hover{color:var(--ink)}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.num{font-variant-numeric:tabular-nums}

/* Topbar */
.site-hdr{
  background:var(--surface);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:40;
}
.hdr-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:60px;
}
.brand-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--ink);
  font-family:'Source Serif 4',Georgia,serif;
  font-weight:700;
  font-size:1.2rem;
}
.brand-mark{width:34px;height:34px;flex-shrink:0}
.hdr-nav{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}
.nav-link{
  display:none;
  align-items:center;
  min-height:44px;
  padding:0 12px;
  font-size:0.9rem;
  font-weight:500;
  color:var(--muted);
  text-decoration:none;
  border-radius:8px;
}
@media(min-width:740px){
  .nav-link{display:inline-flex}
}
.nav-link:hover{color:var(--ink);background:var(--surface-tint)}
.lang-switch{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--border);
  border-radius:8px;
  overflow:hidden;
  background:var(--bg);
}
.lang-switch a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:0 10px;
  font-size:0.8125rem;
  font-weight:600;
  text-decoration:none;
  color:var(--muted);
}
.lang-switch a.is-active{
  background:var(--ink);
  color:#FDFCFB;
}

/* Hero + Immediate Interactive Auditor */
.hero-sec{padding:var(--s-4) 0 var(--s-3)}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:0.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:var(--accent-dark);
  margin:0 0 var(--s-1);
}
.hero-h1{
  font-size:clamp(1.85rem,4vw,2.75rem);
  max-width:24ch;
  margin-bottom:var(--s-1);
}
.hero-sub{
  font-size:1.03rem;
  color:var(--muted);
  max-width:64ch;
  margin:0 0 var(--s-3);
}

/* Tool Grid */
.tool-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--s-3);
  align-items:start;
}
@media(min-width:900px){
  .tool-grid{grid-template-columns:minmax(0,1.12fr) minmax(0,0.88fr)}
}
.panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:var(--s-3);
}
.panel-dark{
  background:var(--ink);
  color:#FDFCFB;
  border:1px solid #0C0A09;
  border-radius:var(--radius);
  padding:var(--s-3);
}
.panel-dark h2,.panel-dark h3{color:#FDFCFB}
@media(min-width:900px){
  .panel-dark{position:sticky;top:76px}
}

.input-row{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--s-2);
  margin-bottom:var(--s-2);
}
@media(min-width:520px){
  .input-row{grid-template-columns:1fr 1fr}
}
.field-label{
  display:block;
  font-size:0.85rem;
  font-weight:600;
  margin-bottom:6px;
  color:var(--ink);
}
.ctrl-select{
  width:100%;
  font-family:inherit;
  min-height:44px;
  padding:10px 12px;
  border:1px solid var(--border-strong);
  border-radius:10px;
  background:var(--bg);
  color:var(--ink);
  font-size:0.92rem;
  font-weight:500;
}

.signals-fieldset{
  border:none;
  margin:0;
  padding:0;
}
.signals-legend{
  font-size:0.85rem;
  font-weight:600;
  color:var(--ink);
  margin-bottom:10px;
  padding:0;
}
.signal-list{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.signal-card{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:12px 14px;
  min-height:56px;
  border:1px solid var(--border);
  border-radius:11px;
  background:var(--bg);
  cursor:pointer;
  transition:border-color 150ms ease,background-color 150ms ease;
}
.signal-card:hover{border-color:var(--accent)}
.signal-card.is-checked{
  background:var(--surface);
  border-color:var(--accent);
}
.signal-input{
  width:22px;
  height:22px;
  margin:2px 0 0;
  accent-color:var(--accent);
  flex-shrink:0;
  cursor:pointer;
}
.signal-body{flex:1;min-width:0}
.signal-top{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:8px;
}
.signal-title{
  font-size:0.93rem;
  font-weight:600;
  color:var(--ink);
}
.signal-weight{
  font-size:0.78rem;
  font-weight:700;
  color:var(--accent-dark);
  background:var(--accent-soft);
  padding:2px 8px;
  border-radius:99px;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.signal-hint{
  display:block;
  font-size:0.82rem;
  color:var(--muted);
  margin-top:2px;
  line-height:1.45;
}

.preset-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:var(--s-2);
}
.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:8px 14px;
  border:1px solid var(--border);
  background:var(--surface-tint);
  color:var(--ink);
  border-radius:10px;
  font-family:inherit;
  font-size:0.84rem;
  font-weight:600;
  cursor:pointer;
  transition:background-color 150ms ease,border-color 150ms ease;
}
.chip:hover{border-color:var(--ink)}

/* Result Output */
.res-kicker{
  font-size:0.76rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:#D6D3D1;
  font-weight:700;
  margin-bottom:6px;
}
.res-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.res-score{
  font-family:'Source Serif 4',Georgia,serif;
  font-size:clamp(2.2rem,4.5vw,2.9rem);
  font-weight:700;
  line-height:1;
  color:#FDFCFB;
  font-variant-numeric:tabular-nums;
}
.risk-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:99px;
  font-size:0.82rem;
  font-weight:700;
}
.risk-pill.is-low{background:#D1FAE5;color:#064E3B}
.risk-pill.is-mid{background:#FEF3C7;color:#78350F}
.risk-pill.is-high{background:#FEE2E2;color:#7F1D1D}

.res-note{font-size:0.9rem;color:#E7E5E4;margin:0 0 14px}

.gauge-box{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:10px;
  padding:12px 14px;
  margin-bottom:16px;
}
.gauge-head{
  display:flex;
  justify-content:space-between;
  font-size:0.78rem;
  color:#D6D3D1;
  margin-bottom:6px;
}
.gauge-svg{display:block;width:100%;height:auto}

.advisory-note{
  background:rgba(245,158,11,0.14);
  border:1px solid rgba(245,158,11,0.45);
  border-radius:10px;
  padding:10px 14px;
  font-size:0.85rem;
  color:#FDE68A;
  margin-bottom:16px;
}
.advisory-note[hidden]{display:none}

.clauses-box{
  background:rgba(255,255,255,0.06);
  border-radius:10px;
  padding:14px 16px;
  margin-bottom:16px;
}
.clauses-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.clauses-head h3{
  font-size:0.94rem;
  margin:0;
  font-family:'Inter',sans-serif;
  font-weight:700;
}
.btn-copy{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:44px;
  padding:6px 12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.28);
  background:transparent;
  color:#FDFCFB;
  font-family:inherit;
  font-size:0.8rem;
  font-weight:600;
  cursor:pointer;
  transition:background-color 150ms ease;
}
.btn-copy:hover{background:rgba(255,255,255,0.12)}
.clause-list{
  margin:0;
  padding-left:18px;
  font-size:0.86rem;
  color:#F5F5F4;
}
.clause-list li{margin-bottom:6px}
.clause-list li:last-child{margin-bottom:0}

.upsell-card{
  background:var(--surface);
  color:var(--ink);
  border-radius:10px;
  padding:16px;
  margin-bottom:14px;
}
.upsell-title{
  font-weight:700;
  font-size:0.95rem;
  margin:0 0 6px;
  color:var(--ink);
}
.upsell-desc{
  font-size:0.875rem;
  color:var(--muted);
  margin:0 0 12px;
}
.cta-row{display:flex;flex-wrap:wrap;gap:10px}
.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:10px 18px;
  border-radius:10px;
  background:var(--accent);
  color:#FFFFFF;
  font-weight:700;
  font-size:0.91rem;
  text-decoration:none;
  border:none;
  cursor:pointer;
  transition:background-color 150ms ease;
}
.btn-primary:hover{background:var(--accent-dark);color:#FFFFFF}
.btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 16px;
  border-radius:10px;
  border:1px solid var(--border);
  background:var(--bg);
  color:var(--ink);
  font-weight:600;
  font-size:0.88rem;
  text-decoration:none;
}
.btn-ghost:hover{border-color:var(--ink);color:var(--ink)}

.disclaimer-note{
  margin:0;
  font-size:0.78rem;
  line-height:1.5;
  color:#A8A29E;
}

/* Content Sections */
.sec{padding:var(--s-6) 0;border-top:1px solid var(--border)}
.sec-head{max-width:68ch;margin-bottom:var(--s-3)}
.sec-head h2{font-size:clamp(1.45rem,2.6vw,2rem);margin-bottom:8px}
.answer-lead{font-size:1rem;color:var(--muted);margin:0}

/* Tabs */
.tabs-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.tab-btn{
  min-height:44px;
  padding:8px 16px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--ink);
  border-radius:10px;
  font-family:inherit;
  font-size:0.9rem;
  font-weight:600;
  cursor:pointer;
  transition:background-color 150ms ease,color 150ms ease;
}
.tab-btn.is-active{background:var(--ink);color:#FDFCFB;border-color:var(--ink)}
.tab-panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:var(--s-3);
}
.tab-panel[hidden]{display:none}
.tab-panel h3{font-size:1.25rem;margin-bottom:10px}
.tab-panel p{max-width:68ch}
.tab-panel ul{margin:12px 0 0;padding-left:20px;max-width:68ch}
.tab-panel li{margin-bottom:8px}

/* Table */
.table-wrap{
  overflow-x:auto;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
}
table{width:100%;border-collapse:collapse;font-size:0.92rem;text-align:left}
th,td{padding:14px 16px;border-bottom:1px solid var(--border);vertical-align:top}
th{background:var(--surface-tint);font-weight:700;color:var(--ink)}
tr:last-child td{border-bottom:none}

/* Glossary */
.glossary-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin:0;
}
@media(min-width:720px){
  .glossary-grid{grid-template-columns:repeat(2,1fr)}
}
.term-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:12px;
  padding:16px 18px;
}
.term-card dt{font-weight:700;color:var(--accent-dark);margin-bottom:4px}
.term-card dd{margin:0;color:var(--muted);font-size:0.92rem}

/* FAQ */
.faq-list{display:grid;grid-template-columns:1fr;gap:12px;align-items:start}
@media(min-width:860px){
  .faq-list{grid-template-columns:repeat(2,1fr)}
}
.faq-item{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:12px;
  padding:4px 18px;
}
.faq-item summary{
  padding:14px 0;
  font-weight:600;
  cursor:pointer;
  min-height:44px;
  list-style-position:outside;
}
.faq-item p{margin:0 0 14px;color:var(--muted);font-size:0.94rem}

/* Trust & Sources */
.trust-grid{display:grid;grid-template-columns:1fr;gap:20px}
@media(min-width:760px){.trust-grid{grid-template-columns:1fr 1fr}}
.meta-note{font-size:0.88rem;color:var(--muted)}
.src-list{margin:10px 0 0;padding-left:18px;font-size:0.9rem}
.src-list li{margin-bottom:8px}

/* Footer */
.site-ftr{
  border-top:1px solid var(--border);
  background:var(--surface-tint);
  padding:28px 0;
  font-size:0.875rem;
  color:var(--muted);
}
.ftr-flex{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}

/* 404 */
.page-404{min-height:100vh;display:grid;place-items:center;padding:24px}
.box-404{
  max-width:480px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:32px;
}
.actions-404{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}

.sr-copy-area{position:fixed;left:-9999px;top:0;opacity:0}

@media(prefers-reduced-motion:reduce){
  *{transition:none !important;scroll-behavior:auto !important}
}
