@font-face{
  font-family:'DM Sans';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('./fonts/dm-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:'DM Sans';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('./fonts/dm-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:'DM Sans';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('./fonts/dm-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:'DM Sans';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('./fonts/dm-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:'DM Sans';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('./fonts/dm-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:'DM Sans';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('./fonts/dm-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:'DM Sans';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('./fonts/dm-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:'DM Sans';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('./fonts/dm-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:#F7FBF9;
  --surface:#FFFFFF;
  --surface-tint:#ECFDF5;
  --surface-tint-strong:#D1FAE5;
  --ink:#052E24;
  --muted:#355249;
  --brand:#064E3B;
  --brand-dark:#04392B;
  --accent:#047857;
  --accent-dark:#065F46;
  --mint-bright:#34D399;
  --mint-soft:#A7F3D0;
  --border:#B7E4D1;
  --border-subtle:#D1FAE5;
  --focus:#047857;
  --radius:14px;
  --maxw:1080px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:'DM Sans',system-ui,-apple-system,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.62;
  font-size:16px;
}
h1,h2,h3{
  font-family:'DM Sans',system-ui,-apple-system,sans-serif;
  color:var(--ink);
  line-height:1.18;
  letter-spacing:-0.025em;
  font-weight:700;
  margin-top:0;
}
a{color:var(--accent);text-underline-offset:3px}
a:hover{color:var(--brand)}
: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}

/* 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:8px;
  text-decoration:none;
  color:var(--brand);
  font-weight:700;
  font-size:clamp(0.88rem,3.6vw,1.05rem);
  letter-spacing:-0.02em;
  white-space:nowrap;
  min-height:44px;
}
.brand-mark{width:30px;height:30px;flex-shrink:0}
@media(min-width:420px){
  .brand-link{gap:10px}
  .brand-mark{width:34px;height:34px}
}
.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(--brand);background:var(--surface-tint)}
.lang-switch{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--border);
  border-radius:8px;
  overflow:hidden;
  background:var(--surface-tint);
}
.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 + Calculator */
.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.06em;
  color:var(--accent);
  background:var(--surface-tint);
  border:1px solid var(--border);
  padding:4px 12px;
  border-radius:99px;
  margin:0 0 12px;
}
.hero-h1{
  font-size:clamp(1.75rem,3.8vw,2.65rem);
  max-width:26ch;
  margin-bottom:10px;
  color:var(--brand);
}
.hero-sub{
  font-size:1.02rem;
  color:var(--muted);
  max-width:66ch;
  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.02fr 0.98fr}
}
.panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
}
.panel-dark{
  background:var(--brand);
  color:#ECFDF5;
  border:1px solid var(--brand-dark);
  border-radius:var(--radius);
  padding:22px;
}
.panel-dark h2,.panel-dark h3{color:#FFFFFF}

.field-group{margin-bottom:18px}
.field-group:last-child{margin-bottom:0}
.field-label{
  display:block;
  font-size:0.875rem;
  font-weight:600;
  margin-bottom:8px;
  color:var(--ink);
}
.chip-row{display:flex;flex-wrap:wrap;gap:8px}
.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.86rem;
  font-weight:600;
  cursor:pointer;
  transition:background-color 150ms ease,border-color 150ms ease,color 150ms ease;
}
.chip:hover{border-color:var(--accent);background:var(--surface-tint)}
.chip.is-active{
  background:var(--brand);
  color:#FFFFFF;
  border-color:var(--brand);
}

.input-row{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
@media(min-width:520px){
  .input-row{grid-template-columns:1fr 1fr}
}
.ctrl-select{
  width:100%;
  font-family:inherit;
  min-height:44px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--bg);
  color:var(--ink);
  font-size:0.92rem;
  font-weight:500;
}
.check-line{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-height:44px;
  padding:8px 12px;
  border:1px solid var(--border-subtle);
  background:var(--surface-tint);
  border-radius:10px;
  font-size:0.88rem;
  cursor:pointer;
}
.check-line input{
  width:20px;
  height:20px;
  margin-top:2px;
  flex-shrink:0;
  accent-color:var(--accent);
}

.panel-tip{
  margin-top:16px;
  padding:12px 14px;
  border-radius:10px;
  background:var(--surface-tint);
  border:1px solid var(--border-subtle);
  font-size:0.86rem;
  color:var(--muted);
}
.panel-tip strong{color:var(--brand)}

/* Result Panel */
.res-kicker{
  font-size:0.76rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:var(--mint-soft);
  font-weight:700;
  margin-bottom:6px;
}
.res-hero{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:8px;
}
.res-price{
  font-size:clamp(1.9rem,3.8vw,2.45rem);
  font-weight:700;
  letter-spacing:-0.03em;
  color:#FFFFFF;
}
.res-badge{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:99px;
  background:var(--accent);
  color:#FFFFFF;
  font-size:0.82rem;
  font-weight:700;
}
.res-note{font-size:0.9rem;color:#D1FAE5;margin:0 0 14px}

.kpi-strip{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-bottom:16px;
}
@media(min-width:520px){
  .kpi-strip{grid-template-columns:repeat(4,1fr)}
}
.kpi-cell{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(167,243,208,0.22);
  border-radius:10px;
  padding:10px 12px;
}
.kpi-lbl{
  display:block;
  font-size:0.74rem;
  color:var(--mint-soft);
  margin-bottom:2px;
}
.kpi-val{
  font-size:1.05rem;
  font-weight:700;
  color:#FFFFFF;
}

/* TCO SVG Bar Chart */
.chart-box{
  background:rgba(255,255,255,0.07);
  border:1px solid rgba(167,243,208,0.22);
  border-radius:10px;
  padding:14px;
  margin-bottom:16px;
}
.chart-title{
  font-size:0.84rem;
  font-weight:700;
  color:var(--mint-soft);
  margin:0 0 10px;
}
.chart-list{
  display:grid;
  gap:10px;
}
.chart-row{
  display:grid;
  gap:4px;
}
.chart-meta{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:8px;
  font-size:0.85rem;
  color:#ECFDF5;
}
.chart-meta strong{
  color:#FFFFFF;
  font-weight:700;
}
.bar-svg{
  display:block;
  width:100%;
  height:12px;
}
.svg-track{fill:rgba(255,255,255,0.14)}
.svg-bar-chosen{fill:#34D399}
.svg-bar-alt{fill:#A7F3D0}
.svg-bar-agency{fill:#FCD34D}

.prep-box{
  background:rgba(255,255,255,0.08);
  border-radius:10px;
  padding:14px 16px;
  margin-bottom:16px;
}
.prep-box h3{font-size:0.94rem;margin-bottom:8px;font-weight:700}
.prep-list{margin:0;padding-left:18px;font-size:0.86rem;color:#ECFDF5}
.prep-list li{margin-bottom:4px}

.upsell-card{
  background:var(--surface);
  color:var(--ink);
  border-radius:10px;
  padding:16px;
}
.upsell-title{
  font-weight:700;
  font-size:0.95rem;
  margin:0 0 6px;
  color:var(--brand);
}
.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.92rem;
  text-decoration:none;
  border:none;
  cursor:pointer;
  transition:background-color 150ms ease;
}
.btn-primary:hover{background:var(--brand);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(--surface-tint);
  color:var(--brand);
  font-weight:600;
  font-size:0.88rem;
  text-decoration:none;
}
.btn-ghost:hover{border-color:var(--brand);background:var(--surface-tint-strong)}

/* Content Sections */
.sec{padding:40px 0;border-top:1px solid var(--border-subtle)}
.sec-head{max-width:68ch;margin-bottom:22px}
.sec-head h2{font-size:clamp(1.4rem,2.6vw,1.95rem);margin-bottom:8px;color:var(--brand)}
.answer-lead{font-size:1rem;color:var(--muted);margin:0}

/* Expert 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,border-color 150ms ease,color 150ms ease;
}
.tab-btn:hover{border-color:var(--accent);background:var(--surface-tint)}
.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;color:var(--brand)}
.tab-panel p{max-width:70ch;margin:0 0 10px}
.tab-panel ul{margin:10px 0 0;padding-left:20px;max-width:70ch}
.tab-panel li{margin-bottom:6px;color:var(--muted)}
.tab-panel li strong{color:var(--ink)}

/* Comparison 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-subtle)}
th{background:var(--surface-tint);font-weight:700;color:var(--brand)}
tr:last-child td{border-bottom:none}
.table-note{margin:10px 0 0;font-size:0.86rem;color:var(--muted)}

/* 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;
  color:var(--ink);
  cursor:pointer;
  min-height:44px;
  list-style-position:outside;
}
.faq-item p{margin:0 0 14px;color:var(--muted);font-size:0.94rem}

/* Trust Grid */
.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}
}
