@font-face{
  font-family:'Space Grotesk';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('./fonts/space-grotesk-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:'Space Grotesk';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('./fonts/space-grotesk-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:'Space Grotesk';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('./fonts/space-grotesk-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:'Space Grotesk';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('./fonts/space-grotesk-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:#EDEDEB;
  --surface:#FFFFFF;
  --surface-tint:#E2E2DF;
  --ink:#1F2328;
  --muted:#4B525C;
  --accent:#F2A900;
  --accent-hover:#DC9800;
  --accent-ink:#1F2328;
  --accent-text:#7A5200;
  --border:#CFCFC9;
  --border-strong:#9DA3AC;
  --steel:#5E768A;
  --slate:#8A939E;
  --warn-bg:#FFF4D6;
  --warn-border:#D49400;
  --ok-bg:#E7F5EC;
  --ok-ink:#14532D;
  --radius:12px;
  --maxw:1120px;
}

*,*::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:clip;
}
h1,h2,h3{
  font-family:'Space Grotesk',system-ui,sans-serif;
  color:var(--ink);
  line-height:1.18;
  letter-spacing:-0.02em;
  margin-top:0;
}
a{
  color:var(--ink);
  text-decoration-color:var(--accent);
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}
a:hover{color:var(--accent-text)}
:focus-visible{outline:3px solid var(--ink);outline-offset:2px;border-radius:4px}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 16px}
@media(min-width:640px){.wrap{padding:0 24px}}
.num{font-variant-numeric:tabular-nums}
.icon{width:20px;height:20px;flex-shrink:0;display:inline-block;vertical-align:middle}

/* Topbar */
.site-hdr{
  background:var(--ink);
  color:#FFFFFF;
  border-bottom:3px solid var(--accent);
  position:sticky;
  top:0;
  z-index:40;
}
.hdr-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:58px;
}
.brand-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#FFFFFF;
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-weight:700;
  font-size:1.08rem;
  min-height:44px;
}
.brand-link:hover{color:var(--accent)}
.brand-mark{width:32px;height:32px;flex-shrink:0}
.hdr-nav{display:flex;align-items:center;gap:6px}
.nav-link{
  display:none;
  align-items:center;
  min-height:44px;
  padding:0 12px;
  font-size:0.88rem;
  font-weight:500;
  color:#D0D5DC;
  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:#FFFFFF;background:rgba(255,255,255,0.1)}
.lang-switch{
  display:inline-flex;
  align-items:center;
  border:1px solid #444B54;
  border-radius:8px;
  overflow:hidden;
  background:#2A2F36;
}
.lang-switch a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:0 10px;
  font-size:0.82rem;
  font-weight:700;
  text-decoration:none;
  color:#D0D5DC;
}
.lang-switch a.is-active{
  background:var(--accent);
  color:var(--accent-ink);
}

/* Hero + Immediate Utility */
.hero-sec{padding:28px 0 32px}
.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-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.75rem,3.8vw,2.65rem);
  max-width:25ch;
  margin-bottom:10px;
}
.hero-sub{
  font-size:1.02rem;
  color:var(--muted);
  max-width:66ch;
  margin:0 0 20px;
}

/* Tool Grid */
.tool-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  align-items:start;
}
@media(min-width:900px){
  .tool-grid{grid-template-columns:1.06fr 0.94fr}
}
.panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
}
@media(min-width:640px){.panel{padding:24px}}
.panel-dark{
  background:var(--ink);
  color:#EDEDEB;
  border:1px solid #121519;
  border-radius:var(--radius);
  padding:20px;
}
@media(min-width:640px){.panel-dark{padding:24px}}
.panel-dark h2,.panel-dark h3{color:#FFFFFF}

/* Form Controls */
.field-group{margin-bottom:18px}
.field-group:last-child{margin-bottom:0}
.field-label{
  display:block;
  font-size:0.86rem;
  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:9px;
  font-family:inherit;
  font-size:0.85rem;
  font-weight:600;
  cursor:pointer;
  transition:background-color 150ms ease,border-color 150ms ease;
}
.chip:hover{border-color:var(--ink)}
.chip.is-active{
  background:var(--ink);
  color:#FFFFFF;
  border-color:var(--ink);
}
.range-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:4px}
.range-val{font-weight:700;color:var(--ink);font-size:0.95rem}
.ctrl-range{width:100%;accent-color:var(--accent);min-height:44px;cursor:pointer}
.input-row{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
@media(min-width:520px){.input-row{grid-template-columns:1fr 1fr}}
.cost-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
@media(min-width:480px){.cost-grid{grid-template-columns:1fr 1fr}}
.cost-cell label{
  display:block;
  font-size:0.8rem;
  font-weight:600;
  color:var(--muted);
  margin-bottom:4px;
}
.ctrl-num,.ctrl-select{
  width:100%;
  min-height:44px;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--bg);
  color:var(--ink);
  font-family:inherit;
  font-size:0.94rem;
  font-weight:600;
}
.ctrl-num:focus,.ctrl-select:focus{border-color:var(--ink);background:#FFFFFF}
.cost-total-line{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:8px;
  padding:8px 12px;
  background:var(--bg);
  border-radius:8px;
  font-size:0.86rem;
  font-weight:600;
}
.toggle-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-height:44px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--bg);
  cursor:pointer;
  font-size:0.88rem;
}
.toggle-row input{width:20px;height:20px;margin-top:2px;flex-shrink:0;accent-color:var(--ink)}
.kor-status{
  margin-top:8px;
  padding:10px 12px;
  border-radius:8px;
  font-size:0.84rem;
  line-height:1.45;
  background:var(--warn-bg);
  border:1px solid var(--warn-border);
  color:var(--ink);
}
.kor-status[hidden]{display:none}
.kor-status.is-ok{
  background:var(--ok-bg);
  border-color:#2E7D4F;
  color:var(--ok-ink);
}

/* 5-point B2B Readiness Validator */
.validator-box{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--border);
}
.validator-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}
.score-pill{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:99px;
  background:var(--accent);
  color:var(--accent-ink);
  font-size:0.8rem;
  font-weight:700;
}
.check-stack{display:grid;gap:8px}
.check-item{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--bg);
  font-size:0.86rem;
  cursor:pointer;
}
.check-item input{width:20px;height:20px;flex-shrink:0;accent-color:var(--ink)}

/* Result Output (Dark Graphite Panel) */
.res-kicker{
  font-size:0.76rem;
  text-transform:uppercase;
  letter-spacing:0.07em;
  color:var(--accent);
  font-weight:700;
  margin-bottom:4px;
}
.res-hero{
  display:flex;
  align-items:baseline;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.res-price{
  font-family:'Space Grotesk',system-ui,sans-serif;
  font-size:clamp(2.1rem,4.2vw,2.75rem);
  font-weight:700;
  color:#FFFFFF;
  line-height:1.1;
}
.res-unit{font-size:1rem;color:#C7CDD4;font-weight:600}
.res-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px;
}
.res-pill{
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border-radius:8px;
  background:#2C323A;
  border:1px solid #3C434D;
  font-size:0.82rem;
  color:#EDEDEB;
  font-weight:600;
}
.res-ratio-note{
  font-size:0.88rem;
  color:#D0D5DC;
  margin:0 0 16px;
}

/* SVG Cost-Breakdown Bar */
.svg-box{
  background:#282D34;
  border:1px solid #3B424C;
  border-radius:10px;
  padding:14px;
  margin-bottom:14px;
}
.svg-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:0.82rem;
  font-weight:700;
  color:#FFFFFF;
  margin-bottom:8px;
}
.breakdown-svg{width:100%;height:26px;display:block;border-radius:6px;overflow:hidden}
.legend-list{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
  margin-top:10px;
  font-size:0.82rem;
  color:#E2E5E9;
}
@media(min-width:480px){.legend-list{grid-template-columns:repeat(3,1fr)}}
.legend-item{display:flex;align-items:center;gap:7px}
.swatch{width:10px;height:10px;border-radius:2px;flex-shrink:0}
.swatch-net{background:var(--accent)}
.swatch-tax{background:var(--steel)}
.swatch-cost{background:var(--slate)}

/* Portal vs Direct Box */
.compare-mini{
  background:#282D34;
  border:1px solid #3B424C;
  border-radius:10px;
  padding:14px;
  margin-bottom:14px;
}
.compare-mini h3{
  font-size:0.9rem;
  margin-bottom:8px;
  font-family:'Inter',sans-serif;
  color:#FFFFFF;
}
.compare-cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.compare-col{
  background:#1F2328;
  border:1px solid #3C434D;
  border-radius:8px;
  padding:10px;
}
.compare-col-direct{border-color:var(--accent)}
.compare-lbl{display:block;font-size:0.75rem;color:#C7CDD4;margin-bottom:2px}
.compare-val{display:block;font-family:'Space Grotesk',sans-serif;font-size:1.15rem;font-weight:700;color:#FFFFFF}
.compare-col-direct .compare-val{color:var(--accent)}
.compare-sub{display:block;font-size:0.75rem;color:#A9B1BB;margin-top:2px}

/* Readiness Summary + Contextual Upsell */
.readiness-summary{
  background:#282D34;
  border:1px solid #3B424C;
  border-radius:10px;
  padding:12px 14px;
  margin-bottom:14px;
  font-size:0.86rem;
  color:#E2E5E9;
}
.readiness-summary strong{color:var(--accent)}
.upsell-card{
  background:var(--surface);
  color:var(--ink);
  border-radius:10px;
  padding:16px;
}
.upsell-title{font-weight:700;font-size:0.96rem;margin:0 0 6px;color:var(--ink)}
.upsell-desc{font-size:0.86rem;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 16px;
  border-radius:9px;
  background:var(--accent);
  color:var(--accent-ink);
  font-weight:700;
  font-size:0.9rem;
  text-decoration:none;
  border:1px solid #D49400;
  transition:background-color 150ms ease;
}
.btn-primary:hover{background:var(--accent-hover);color:var(--accent-ink)}
.btn-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 14px;
  border-radius:9px;
  border:1px solid var(--border-strong);
  background:var(--bg);
  color:var(--ink);
  font-weight:600;
  font-size:0.86rem;
  text-decoration:none;
}
.btn-ghost:hover{border-color:var(--ink);background:var(--surface-tint);color:var(--ink)}

/* Content Sections */
.sec{padding:36px 0;border-top:1px solid var(--border)}
.sec-head{max-width:68ch;margin-bottom:20px}
.sec-head h2{font-size:clamp(1.4rem,2.5vw,1.95rem);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 15px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--ink);
  border-radius:9px;
  font-family:inherit;
  font-size:0.88rem;
  font-weight:600;
  cursor:pointer;
}
.tab-btn.is-active{
  background:var(--ink);
  color:#FFFFFF;
  border-color:var(--ink);
}
.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}
.tab-panel ul{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.9rem;text-align:left}
th,td{padding:13px 15px;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:12px;
  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:10px;
  padding:15px 17px;
}
.term-card dt{font-family:'Space Grotesk',sans-serif;font-weight:700;color:var(--ink);margin-bottom:4px}
.term-card dd{margin:0;color:var(--muted);font-size:0.9rem}

/* 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:10px;
  padding:4px 16px;
}
.faq-item summary{
  padding:13px 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.92rem}

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

/* Footer */
.site-ftr{
  border-top:1px solid var(--border);
  background:var(--surface-tint);
  padding:24px 0;
  font-size:0.86rem;
  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}
}
