@font-face{
  font-family:'Sora';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('./fonts/sora-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:'Sora';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('./fonts/sora-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:'Sora';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('./fonts/sora-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:'Sora';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('./fonts/sora-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:#FAFAFA;
  --surface:#FFFFFF;
  --surface-tint:#F2F2F5;
  --jet:#0B0B0C;
  --jet-soft:#17171A;
  --ink:#0B0B0C;
  --muted:#4E4E56;
  --accent:#FF5B1F;
  --accent-hover:#E24910;
  --accent-text:#C43804;
  --good:#138A52;
  --warn:#D97706;
  --bad:#DC2626;
  --border:#E1E1E6;
  --border-ctrl:#7D7D87;
  --border-dark:#2A2A30;
  --radius:14px;
  --maxw:1120px;
  --s-1:8px;
  --s-2:16px;
  --s-3:24px;
  --s-4:32px;
  --s-6:48px;
}

*,*::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.6;
  font-size:16px;
  overflow-x:hidden;
}
h1,h2,h3{
  font-family:'Sora',system-ui,sans-serif;
  color:var(--ink);
  line-height:1.18;
  letter-spacing:-0.025em;
  margin-top:0;
}
a{color:var(--accent-text);text-underline-offset:3px}
a:hover{color:var(--jet)}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.num{font-variant-numeric:tabular-nums}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Header */
.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(--jet);
  font-family:'Sora',system-ui,sans-serif;
  font-weight:700;
  font-size:1.125rem;
  letter-spacing:-0.02em;
}
.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:600;
  color:var(--muted);
  text-decoration:none;
  border-radius:8px;
  transition:background-color 150ms ease,color 150ms ease;
}
@media(min-width:740px){
  .nav-link{display:inline-flex}
}
.nav-link:hover{color:var(--jet);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:700;
  text-decoration:none;
  color:var(--muted);
}
.lang-switch a.is-active{
  background:var(--jet);
  color:#FAFAFA;
}

/* Hero & Tool */
.hero-sec{padding:32px 0 40px}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:0.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.07em;
  color:var(--accent-text);
  margin:0 0 10px;
}
.eyebrow-dot{
  width:8px;
  height:8px;
  border-radius:2px;
  background:var(--accent);
  display:inline-block;
}
.hero-h1{
  font-size:clamp(1.8rem,4vw,2.75rem);
  max-width:24ch;
  margin-bottom:12px;
}
.hero-sub{
  font-size:1.02rem;
  color:var(--muted);
  max-width:64ch;
  margin:0 0 24px;
}

.tool-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  align-items:start;
}
@media(min-width:880px){
  .tool-grid{grid-template-columns:1.05fr 0.95fr}
}

.panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
}
.panel-jet{
  background:var(--jet);
  color:#FAFAFA;
  border:1px solid var(--jet);
  border-radius:var(--radius);
  padding:24px;
}
.panel-jet h2,.panel-jet h3{color:#FAFAFA}

/* Live PSI Box */
.psi-box{
  background:var(--surface-tint);
  border:1px solid var(--border);
  border-radius:12px;
  padding:16px;
  margin-bottom:22px;
}
.psi-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
}
.psi-badge{
  font-size:0.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.06em;
  padding:3px 8px;
  border-radius:6px;
  background:var(--jet);
  color:#FAFAFA;
}
.psi-row{
  display:flex;
  flex-direction:column;
  gap:10px;
}
@media(min-width:520px){
  .psi-row{flex-direction:row}
}
.ctrl-input{
  width:100%;
  min-height:44px;
  padding:10px 12px;
  border:1.5px solid var(--border-ctrl);
  border-radius:10px;
  background:var(--surface);
  color:var(--ink);
  font-family:inherit;
  font-size:0.95rem;
  font-weight:500;
}
.psi-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:10px 18px;
  border:none;
  border-radius:10px;
  background:var(--jet);
  color:#FAFAFA;
  font-family:inherit;
  font-size:0.9rem;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
  transition:background-color 150ms ease;
}
.psi-btn:hover{background:#232327}
.psi-btn:disabled{opacity:0.65;cursor:wait}
.psi-status{
  margin:10px 0 0;
  font-size:0.84rem;
  color:var(--muted);
  min-height:20px;
}
.psi-status.is-err{color:#B91C1C;font-weight:500}
.psi-status.is-ok{color:#0F6B40;font-weight:600}

.field-group{margin-bottom:20px}
.field-group:last-child{margin-bottom:0}
.field-label{
  display:block;
  font-size:0.875rem;
  font-weight:700;
  margin-bottom:8px;
  color:var(--ink);
}
.chip-row{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:8px 14px;
  border:1px solid var(--border);
  background:var(--bg);
  color:var(--ink);
  border-radius:10px;
  font-family:inherit;
  font-size:0.86rem;
  font-weight:600;
  cursor:pointer;
  transition:background-color 150ms ease,border-color 150ms ease,color 150ms ease;
}
.chip:hover{border-color:var(--jet)}
.chip.is-active{
  background:var(--jet);
  color:#FAFAFA;
  border-color:var(--jet);
}

.range-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px}
.range-val{font-weight:700;color:var(--accent-text);font-variant-numeric:tabular-nums}
.ctrl-range{width:100%;accent-color:var(--accent);min-height:44px;height:44px;cursor:pointer}
.range-ticks{
  display:flex;
  justify-content:space-between;
  font-size:0.78rem;
  color:var(--muted);
  margin-top:2px;
}

.input-row{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
@media(min-width:520px){
  .input-row{grid-template-columns:1fr 1fr}
}

.check-line{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-height:44px;
  padding:10px 12px;
  border:1.5px solid var(--border-ctrl);
  border-radius:10px;
  background:var(--bg);
  font-size:0.9rem;
  font-weight:500;
  cursor:pointer;
}
.check-line input{width:20px;height:20px;margin-top:2px;flex-shrink:0;accent-color:var(--accent)}

/* Results Panel */
.res-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:14px;
}
.res-kicker{
  font-size:0.76rem;
  text-transform:uppercase;
  letter-spacing:0.07em;
  color:#A1A1AA;
  font-weight:700;
  margin-bottom:6px;
}
.res-kpi{
  font-family:'Sora',system-ui,sans-serif;
  font-size:clamp(2rem,4vw,2.7rem);
  font-weight:700;
  color:#FAFAFA;
  line-height:1.1;
  font-variant-numeric:tabular-nums;
}
.res-subkpi{
  font-size:0.92rem;
  color:#D4D4D8;
  margin-top:6px;
}
.grade-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:74px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border-dark);
  background:var(--jet-soft);
  text-align:center;
}
.grade-letter{
  font-family:'Sora',system-ui,sans-serif;
  font-size:1.75rem;
  font-weight:700;
  line-height:1;
  color:var(--accent);
}
.grade-letter.grade-a{color:#34D399}
.grade-letter.grade-b{color:#FBBF24}
.grade-letter.grade-c{color:#FF5B1F}
.grade-letter.grade-d{color:#F87171}
.grade-lbl{
  font-size:0.7rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.05em;
  color:#A1A1AA;
  margin-top:4px;
}

.cwv-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-bottom:18px;
}
.cwv-cell{
  background:var(--jet-soft);
  border:1px solid var(--border-dark);
  border-radius:10px;
  padding:10px 12px;
}
.cwv-k{display:block;font-size:0.72rem;color:#A1A1AA;font-weight:600;text-transform:uppercase}
.cwv-v{display:block;font-size:1rem;font-weight:700;color:#FAFAFA;margin-top:2px;font-variant-numeric:tabular-nums}

.loss-split{
  background:var(--jet-soft);
  border:1px solid var(--border-dark);
  border-radius:10px;
  padding:14px;
  margin-bottom:18px;
  font-size:0.88rem;
}
.loss-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:4px 0;
  color:#E4E4E7;
}
.loss-row strong{color:#FAFAFA}

.chart-box{
  background:var(--jet-soft);
  border:1px solid var(--border-dark);
  border-radius:12px;
  padding:14px;
  margin-bottom:18px;
}
.chart-title{
  font-size:0.8125rem;
  font-weight:700;
  color:#D4D4D8;
  margin:0 0 12px;
  text-transform:uppercase;
  letter-spacing:0.05em;
}
.bar-group{display:flex;flex-direction:column;gap:11px}
.bar-row{display:flex;flex-direction:column;gap:5px}
.bar-meta{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
  font-size:0.8125rem;
  line-height:1.35;
  color:#E4E4E7;
}
.bar-meta strong{font-weight:700;font-variant-numeric:tabular-nums}
.bar-val-accent{color:#FF7A47}
.bar-val-red{color:#FCA5A5}
.bar-val-green{color:#6EE7B7}
.bar-svg{width:100%;height:10px;display:block}
.bar-track-bg{fill:#2A2A30}
.bar-fill-orange{fill:#FF5B1F}
.bar-fill-red{fill:#B91C1C}
.bar-fill-green{fill:#34D399}
.bar-sub{font-size:0.78rem;color:#A1A1AA}

.upsell-card{
  background:var(--surface);
  color:var(--ink);
  border-radius:12px;
  padding:18px;
}
.upsell-title{
  font-family:'Sora',system-ui,sans-serif;
  font-weight:700;
  font-size:1rem;
  margin:0 0 6px;
  color:var(--jet);
}
.upsell-desc{
  font-size:0.88rem;
  color:var(--muted);
  margin:0 0 14px;
}
.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:var(--jet);
  font-weight:700;
  font-size:0.92rem;
  text-decoration:none;
  border:none;
  cursor:pointer;
  transition:background-color 150ms ease;
}
.btn-primary:hover{background:var(--accent-hover);color:var(--jet)}
.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(--jet);
  font-weight:600;
  font-size:0.88rem;
  text-decoration:none;
}
.btn-ghost:hover{border-color:var(--jet)}

/* Sections */
.sec{padding:44px 0;border-top:1px solid var(--border)}
.sec-head{max-width:68ch;margin-bottom:24px}
.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:16px}
.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:hover{border-color:var(--jet)}
.tab-btn.is-active{background:var(--jet);color:#FAFAFA;border-color:var(--jet)}
.tab-panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
}
.tab-panel[hidden]{display:none}
.tab-panel h3{font-size:1.2rem;margin-bottom:8px}
.tab-panel p{max-width:68ch;margin:0 0 12px}
.tab-panel ul{margin:0;padding-left:20px;max-width:68ch}
.tab-panel li{margin-bottom:6px;color:var(--muted)}
.tab-panel li strong{color:var(--ink)}

/* 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(--jet)}
tr:last-child td{border-bottom:none}

/* Glossary */
.glossary-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
@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(--jet);margin-bottom:4px;font-family:'Sora',system-ui,sans-serif;font-size:0.95rem}
.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:700;
  cursor:pointer;
  min-height:44px;
  list-style-position:outside;
  color:var(--jet);
}
.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);margin:0 0 10px}
.src-list{margin:8px 0 0;padding-left:18px;font-size:0.9rem}
.src-list li{margin-bottom:6px}

/* 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}

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