@font-face{
  font-family:'Outfit';
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url('./fonts/outfit-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:'Outfit';
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url('./fonts/outfit-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;
}

:root{
  --bg:#F5F5FF;
  --surface:#FFFFFF;
  --surface-tint:#EAEAFD;
  --ink:#1E1B4B;
  --muted:#434168;
  --brand:#312E81;
  --brand-dark:#1E1B4B;
  --brand-mid:#4338CA;
  --accent:#F59E0B;
  --accent-hover:#FBBF24;
  --ok-light:#047857;
  --ok-dark:#34D399;
  --warn-dark:#FCD34D;
  --danger-dark:#FCA5A5;
  --border:#D6D5F0;
  --focus:#312E81;
  --radius:14px;
  --maxw:1100px;
}

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

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

/* 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:10px;
  min-height:58px;
}
.brand-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--ink);
  font-weight:700;
  font-size:1.08rem;
  letter-spacing:-0.015em;
  min-height:44px;
}
.brand-mark{width:34px;height:34px;flex-shrink:0}
.brand-sub{
  display:none;
  font-size:0.78rem;
  font-weight:500;
  color:var(--muted);
  padding-left:10px;
  border-left:1px solid var(--border);
}
@media(min-width:960px){
  .brand-sub{display:inline-block}
}
.hdr-nav{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}
.nav-link{
  display:none;
  align-items:center;
  min-height:44px;
  padding:0 11px;
  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(--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:700;
  text-decoration:none;
  color:var(--muted);
}
.lang-switch a.is-active{
  background:var(--brand);
  color:#FFFFFF;
}

/* Hero + Immediate Utility */
.hero-sec{padding:28px 0 36px}
.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(--brand);
  margin:0 0 10px;
}
.eyebrow-dot{
  width:8px;
  height:8px;
  border-radius:99px;
  background:var(--accent);
  display:inline-block;
}
.hero-h1{
  font-size:clamp(1.75rem,3.8vw,2.65rem);
  max-width:25ch;
  margin-bottom:10px;
  font-weight:700;
}
.hero-sub{
  font-size:1.02rem;
  color:var(--muted);
  max-width:66ch;
  margin:0 0 24px;
}

/* Tool Grid */
.tool-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  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:22px;
}
.panel-dark{
  background:var(--brand-dark);
  color:#F5F5FF;
  border:1px solid var(--brand);
  border-radius:var(--radius);
  padding:22px;
}
.panel-dark h2,.panel-dark h3{color:#F5F5FF}
.panel-dark a:focus-visible{outline-color:var(--accent)}

.block-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:8px;
  margin-bottom:10px;
}
.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;
  min-height:44px;
  padding:8px 13px;
  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(--brand)}
.chip.is-active{
  background:var(--brand);
  color:#FFFFFF;
  border-color:var(--brand);
}

/* 6-Point Compliance Checklist */
.audit-list{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
.audit-check{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:48px;
  padding:9px 12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--bg);
  cursor:pointer;
  transition:border-color 150ms ease,background-color 150ms ease;
}
.audit-check:hover{border-color:var(--brand)}
.audit-check-main{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:0.9rem;
  font-weight:600;
  color:var(--ink);
}
.audit-check input{
  width:20px;
  height:20px;
  flex-shrink:0;
  accent-color:var(--brand);
  cursor:pointer;
}
.audit-check-meta{
  display:block;
  font-size:0.78rem;
  font-weight:500;
  color:var(--muted);
}
.pts-pill{
  font-size:0.75rem;
  font-weight:700;
  padding:3px 8px;
  border-radius:99px;
  background:var(--surface-tint);
  color:var(--brand);
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

/* Pay Inputs */
.divider-line{
  height:1px;
  background:var(--border);
  margin:20px 0;
}
.input-row{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
@media(min-width:520px){
  .input-row{grid-template-columns:1fr 1fr}
}
.ctrl-select,.ctrl-num,.ctrl-range{width:100%;font-family:inherit}
.ctrl-select,.ctrl-num{
  min-height:44px;
  padding:9px 12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--bg);
  color:var(--ink);
  font-size:0.95rem;
  font-weight:600;
}
.ctrl-num{font-variant-numeric:tabular-nums}
.range-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:4px}
.range-val{font-weight:700;color:var(--brand);font-variant-numeric:tabular-nums;font-size:0.92rem}
.ctrl-range{accent-color:var(--brand);min-height:44px;height:44px;cursor:pointer}
.wage-hint{
  font-size:0.8rem;
  color:var(--muted);
  margin:6px 0 0;
}

/* Right Auditor Report Panel */
.score-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.res-kicker{
  font-size:0.75rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:#C7D2FE;
  font-weight:700;
  margin-bottom:4px;
}
.score-val{
  font-size:clamp(2rem,4vw,2.6rem);
  font-weight:700;
  line-height:1;
  color:#FFFFFF;
  font-variant-numeric:tabular-nums;
}
.score-max{font-size:1.1rem;color:#A5B4FC;font-weight:600}
.verdict-badge{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:6px 12px;
  border-radius:99px;
  font-size:0.82rem;
  font-weight:700;
}
.verdict-badge.is-high{background:#065F46;color:#ECFDF5;border:1px solid #34D399}
.verdict-badge.is-mid{background:var(--accent);color:var(--brand-dark)}
.verdict-badge.is-low{background:#991B1B;color:#FEF2F2;border:1px solid #FCA5A5}

.score-svg{width:100%;height:12px;display:block;margin-bottom:18px}

.net-box{
  background:rgba(255,255,255,0.07);
  border:1px solid rgba(199,210,254,0.2);
  border-radius:12px;
  padding:16px;
  margin-bottom:16px;
}
.net-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  align-items:end;
}
.net-main{
  font-size:clamp(1.75rem,3.4vw,2.2rem);
  font-weight:700;
  line-height:1.1;
  color:var(--accent);
  font-variant-numeric:tabular-nums;
}
.net-sub{font-size:0.85rem;color:#E0E7FF;margin:4px 0 0}
.net-compare{
  text-align:right;
  font-size:0.84rem;
  color:#C7D2FE;
}
.net-compare strong{display:block;font-size:1.08rem;color:#FFFFFF}

/* SVG Breakdown Bar */
.svg-chart-wrap{margin-top:14px}
.pay-svg{width:100%;height:20px;display:block;border-radius:99px;overflow:hidden}
.svg-legend{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
  margin-top:10px;
  font-size:0.82rem;
  color:#E0E7FF;
}
@media(min-width:520px){
  .svg-legend{grid-template-columns:repeat(3,1fr)}
}
.leg-item{display:flex;align-items:center;gap:6px}
.leg-dot{width:10px;height:10px;border-radius:3px;flex-shrink:0}
.leg-dot-net{background:#F59E0B}
.leg-dot-ded{background:#F87171}
.leg-dot-tax{background:#818CF8}

/* Red Flags Box */
.flags-box{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(199,210,254,0.18);
  border-radius:12px;
  padding:14px 16px;
  margin-bottom:16px;
}
.flags-box h3{font-size:0.94rem;font-weight:700;margin-bottom:10px}
.flag-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.flag-item{
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:0.86rem;
  line-height:1.45;
  color:#E0E7FF;
}
.flag-icon{width:18px;height:18px;flex-shrink:0;margin-top:2px}
.flag-item.is-warn{color:#FDE68A}
.flag-item.is-ok{color:#A7F3D0}

/* Registry Quick Links */
.reg-strip{margin-bottom:16px}
.reg-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.reg-pill{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:8px 12px;
  border-radius:8px;
  border:1px solid rgba(199,210,254,0.3);
  color:#F5F5FF;
  text-decoration:none;
  font-size:0.8rem;
  font-weight:600;
  background:rgba(49,46,129,0.55);
  transition:background-color 150ms ease,border-color 150ms ease;
}
.reg-pill:hover{background:#4338CA;border-color:#F5F5FF;color:#FFFFFF}

/* Contextual Upsell Card */
.upsell-card{
  background:var(--surface);
  color:var(--ink);
  border-radius:12px;
  padding:16px;
}
.upsell-title{
  font-weight:700;
  font-size:0.98rem;
  margin:0 0 6px;
  color:var(--ink);
}
.upsell-desc{
  font-size:0.88rem;
  color:var(--muted);
  margin:0 0 14px;
}
.cta-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.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(--brand-dark);
  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(--brand-dark)}
.btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 15px;
  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(--brand);color:var(--brand)}

/* Content Sections */
.sec{padding:40px 0;border-top:1px solid var(--border)}
.sec-head{max-width:70ch;margin-bottom:22px}
.sec-head h2{font-size:clamp(1.45rem,2.6vw,1.95rem);margin-bottom:8px;font-weight:700}
.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,border-color 150ms ease;
}
.tab-btn:hover{border-color:var(--brand)}
.tab-btn.is-active{background:var(--brand);color:#FFFFFF;border-color:var(--brand)}
.tab-panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
}
.tab-panel[hidden]{display:none}
.tab-panel h3{font-size:1.18rem;margin-bottom:8px}
.tab-panel p{max-width:68ch;margin-top:0}
.tab-panel ul,.tab-panel ol{margin:10px 0 0;padding-left:20px;max-width:68ch}
.tab-panel li{margin-bottom:6px}

/* 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;
}
@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(--brand);margin-bottom:4px;font-size:1rem}
.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:6px}

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

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