@font-face{
  font-family:'Plus Jakarta Sans';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('./fonts/plus-jakarta-sans-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:'Plus Jakarta Sans';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('./fonts/plus-jakarta-sans-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:'Plus Jakarta Sans';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('./fonts/plus-jakarta-sans-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:'Plus Jakarta Sans';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('./fonts/plus-jakarta-sans-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:'Plus Jakarta Sans';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('./fonts/plus-jakarta-sans-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:'Plus Jakarta Sans';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('./fonts/plus-jakarta-sans-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:'Plus Jakarta Sans';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('./fonts/plus-jakarta-sans-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:'Plus Jakarta Sans';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('./fonts/plus-jakarta-sans-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:#F3EFE6;
  --surface:#FFFFFF;
  --surface-tint:#EAE3D5;
  --ink:#13221B;
  --muted:#42564C;
  --brand:#1E5A3C;
  --brand-dark:#143F29;
  --brand-deep:#0E2E1E;
  --accent:#F4B740;
  --accent-hover:#E3A225;
  --accent-text:#7C5000;
  --border:#D6CDBB;
  --danger-bg:#521C1C;
  --danger-border:#F39C9C;
  --danger-text:#FFE5E5;
  --pass-bg:#143F29;
  --pass-border:#67C293;
  --focus:#1E5A3C;
  --radius:14px;
  --maxw:1120px;
}

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

.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-weight:700;
  font-size:1.0625rem;
  letter-spacing:-0.02em;
}
.brand-text-wrap{display:flex;flex-direction:column;line-height:1.1}
.brand-tagline{font-size:0.72rem;font-weight:600;color:var(--brand);letter-spacing:0.01em}
.brand-mark{width:36px;height:36px;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;
}
@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:32px 0 28px}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:0.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.05em;
  color:var(--brand);
  margin:0 0 10px;
}
.hero-h1{
  font-size:clamp(1.75rem,3.6vw,2.55rem);
  max-width:26ch;
  margin-bottom:10px;
}
.hero-sub{
  font-size:1.02rem;
  color:var(--muted);
  max-width:66ch;
  margin:0 0 22px;
}

/* Tool Grid */
.tool-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  align-items:start;
}
@media(min-width:940px){
  .tool-grid{grid-template-columns:1.08fr 0.92fr}
}
.panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  min-width:0;
}
.panel-dark{
  background:var(--brand);
  color:#FFFFFF;
  border:1px solid var(--brand-dark);
  border-radius:var(--radius);
  padding:22px;
  min-width:0;
}
.panel-dark h2,.panel-dark h3{color:#FFFFFF}

/* Presets & Shared Context */
.preset-bar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  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.84rem;
  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);
}

.shared-row{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  padding:14px;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:12px;
  margin-bottom:16px;
}
@media(min-width:540px){
  .shared-row{grid-template-columns:1fr 1fr}
}

.offers-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
@media(min-width:600px){
  .offers-grid{grid-template-columns:1fr 1fr}
}
.offer-box{
  border:1px solid var(--border);
  border-radius:12px;
  padding:16px;
  background:var(--surface);
  min-width:0;
}
.offer-box-b{
  background:#FCFBF8;
  border-color:#B7C9BE;
}
.offer-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  padding-bottom:10px;
  border-bottom:1px solid var(--border);
}
.offer-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:8px;
  font-size:0.85rem;
  font-weight:700;
  background:var(--surface-tint);
  color:var(--ink);
  flex-shrink:0;
}
.offer-badge-b{
  background:var(--accent);
  color:var(--ink);
}
.offer-title{
  font-size:0.98rem;
  font-weight:700;
  margin:0;
  min-width:0;
  color:var(--ink);
}
.offer-sub{
  font-size:0.78rem;
  color:var(--muted);
  display:block;
}

.field-group{margin-bottom:12px}
.field-group:last-child{margin-bottom:0}
.field-label{
  display:block;
  font-size:0.82rem;
  font-weight:600;
  margin-bottom:5px;
  color:var(--ink);
}
.ctrl-input,.ctrl-select{
  width:100%;
  min-height:44px;
  padding:9px 12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--bg);
  color:var(--ink);
  font-family:inherit;
  font-size:0.95rem;
  font-weight:600;
}
.ctrl-input{font-variant-numeric:tabular-nums}
.ctrl-range{width:100%;min-height:44px;cursor:pointer;accent-color:var(--brand)}
.ctrl-input:focus,.ctrl-select:focus{border-color:var(--brand);background:var(--surface)}
.two-mini{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

/* Result Output Panel */
.res-kicker{
  font-size:0.76rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:#D2E5DA;
  font-weight:700;
  margin-bottom:10px;
}
.res-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:12px;
}
.res-card{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:10px;
  padding:12px 14px;
}
.res-card.is-winner{
  background:var(--brand-dark);
  border-color:var(--accent);
}
.res-card-lbl{
  font-size:0.78rem;
  font-weight:700;
  color:#D2E5DA;
  margin-bottom:4px;
}
.res-price{
  font-size:clamp(1.45rem,2.8vw,1.9rem);
  font-weight:700;
  color:#FFFFFF;
  line-height:1.15;
}
.res-sub{
  font-size:0.8rem;
  color:#DCE9E1;
  margin-top:3px;
}
.diff-pill{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  background:var(--accent);
  color:var(--ink);
  border-radius:10px;
  padding:10px 14px;
  font-size:0.9rem;
  font-weight:700;
  margin-bottom:14px;
}

/* Compliance Alert */
.compliance-box{
  display:flex;
  align-items:flex-start;
  gap:10px;
  border-radius:10px;
  padding:12px 14px;
  font-size:0.86rem;
  line-height:1.45;
  margin-bottom:14px;
  border:1px solid var(--pass-border);
  background:var(--pass-bg);
  color:#EAF5EE;
}
.compliance-box.is-alert{
  border-color:var(--danger-border);
  background:var(--danger-bg);
  color:var(--danger-text);
}
.compliance-icon{width:20px;height:20px;flex-shrink:0;margin-top:2px}
.compliance-link{color:var(--accent);font-weight:700}

/* SVG Comparison Bar Chart */
.bar-box{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:10px;
  padding:14px;
  margin-bottom:14px;
}
.bar-row{margin-bottom:10px}
.bar-row:last-child{margin-bottom:0}
.bar-meta{
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:0.83rem;
  color:#EAF5EE;
  margin-bottom:5px;
}
.bar-svg{display:block;width:100%;height:12px;border-radius:99px;overflow:hidden}
.bar-svg-bg{fill:rgba(255,255,255,0.16)}
.bar-svg-a{fill:#DCE9E1}
.bar-svg-b{fill:var(--accent)}

/* Breakdown Table inside Dark Panel */
.breakdown-box{
  background:rgba(14,46,30,0.55);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:10px;
  padding:12px 14px;
  margin-bottom:16px;
  min-width:0;
}
.bd-table{
  width:100%;
  border-collapse:collapse;
  font-size:0.82rem;
  color:#EAF5EE;
}
.bd-table th,.bd-table td{
  padding:6px 4px;
  border-bottom:1px solid rgba(255,255,255,0.12);
  background:transparent;
  color:inherit;
}
.bd-table th{font-weight:700;color:#D2E5DA}
.bd-table td:not(:first-child),.bd-table th:not(:first-child){text-align:right;white-space:nowrap}
.bd-table tr:last-child td{border-bottom:none;font-weight:700;color:#FFFFFF;padding-top:8px}

/* Result-Aware Upsell Card */
.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.875rem;
  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(--ink);
  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(--ink)}
.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(--brand);color:var(--brand)}

/* Content Sections */
.sec{padding:40px 0;border-top:1px solid var(--border)}
.sec-head{max-width:68ch;margin-bottom:24px}
.sec-head h2{font-size:clamp(1.4rem,2.6vw,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 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}
.tab-panel ul{margin:10px 0 0;padding-left:20px;max-width:68ch}
.tab-panel li{margin-bottom:6px}

/* Data Table */
.table-wrap{
  overflow-x:auto;
  min-width:0;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
}
.rate-table{width:100%;border-collapse:collapse;font-size:0.92rem;text-align:left}
.rate-table th,.rate-table td{padding:13px 16px;border-bottom:1px solid var(--border)}
.rate-table th{background:var(--surface-tint);font-weight:700;color:var(--ink)}
.rate-table 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(--brand);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: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}

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