:root {
  --ink: #132b24;
  --ink-2: #23423a;
  --muted: #61736d;
  --canvas: #f4f3ee;
  --surface: #ffffff;
  --surface-2: #f8f8f4;
  --line: #d8ded9;
  --line-dark: #b9c4be;
  --lime: #d7f44a;
  --lime-soft: #f1f9c8;
  --coral: #ff7657;
  --coral-soft: #fff0ec;
  --danger: #c44d37;
  --shadow: 0 16px 45px rgba(19, 43, 36, .08);
  --radius: 12px;
}

* { box-sizing: border-box; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

.site-header {
  height: 66px;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(244,243,238,.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-weight: 830;
  letter-spacing: -.04em;
  font-size: 20px;
}
.brand-mark { width: 29px; height: 26px; display: flex; align-items: flex-end; gap: 3px; }
.brand-mark i { display: block; width: 7px; border-radius: 2px 2px 0 0; background: var(--ink); }
.brand-mark i:nth-child(1) { height: 11px; }
.brand-mark i:nth-child(2) { height: 18px; }
.brand-mark i:nth-child(3) { height: 25px; background: var(--coral); }
nav { display: flex; align-items: center; gap: 26px; }
nav a { text-decoration: none; font-size: 13px; font-weight: 720; color: var(--ink-2); }
nav a:hover { color: var(--coral); }

.intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 28px 28px;
  display: grid;
  justify-items: center;
  text-align: center;
}
.intro > div {
  display: grid;
  justify-items: center;
}
.eyebrow, .panel-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 790;
}
.intro-copy { max-width: 650px; margin: 17px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.product-promises {
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.product-promises li {
  padding: 7px 11px 7px 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 750;
}
.product-promises li::before { content: "✓"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 7px; border-radius: 50%; background: var(--lime); font-size: 9px; }

.workspace {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(360px, .82fr);
  gap: 18px;
  align-items: start;
}
.calculator-panel, .result-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-header, .result-header {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.panel-header h2, .result-header h2 { margin: 0; font-size: 22px; line-height: 1.15; letter-spacing: -.025em; }
.panel-kicker { margin-bottom: 6px; }
.utility-actions { display: flex; gap: 7px; }
.quiet-button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  background: transparent;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 730;
  cursor: pointer;
}
.quiet-button:hover { border-color: var(--ink); background: var(--surface-2); }

.form-section { padding: 24px; border-bottom: 1px solid var(--line); }
.form-section-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 19px; }
.form-section-heading h3 { margin: 1px 0 3px; font-size: 16px; letter-spacing: -.015em; }
.form-section-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.step-badge { flex: 0 0 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: var(--ink); color: white; font-size: 11px; font-weight: 820; }
.field-grid { display: grid; gap: 14px; }
.field-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
label { min-width: 0; color: var(--ink-2); font-size: 11px; font-weight: 740; line-height: 1.35; }
input {
  width: 100%;
  height: 43px;
  margin-top: 7px;
  padding: 9px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 740;
  outline: 0;
  transition: border-color .15s, box-shadow .15s;
}
input:hover { border-color: #8f9f97; }
input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(215,244,74,.45); }
.input-shell {
  height: 43px;
  margin-top: 7px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.input-shell:hover { border-color: #8f9f97; }
.input-shell:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(215,244,74,.45); }
.input-shell input { height: 41px; margin: 0; padding: 8px; border: 0; box-shadow: none; background: transparent; }
.input-shell b { color: var(--muted); font-size: 11px; white-space: nowrap; }
.input-shell.prefix input { padding-left: 6px; }
.input-shell.suffix input { padding-right: 6px; }

.scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scenario-card { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }
.scenario-card legend { padding: 0 4px; font-size: 12px; font-weight: 800; }
.scenario-card legend span { margin-right: 6px; color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.scenario-card-accent { border-color: #bed13e; background: #fbfde9; }
.scenario-card-accent legend span { color: #6d7f00; }
.microcopy { margin: 13px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

.advanced-costs { border-bottom: 1px solid var(--line); }
.advanced-costs summary { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; }
.advanced-costs summary::-webkit-details-marker { display: none; }
.advanced-costs summary > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.advanced-costs summary b { font-size: 13px; }
.advanced-costs summary small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.summary-action { color: var(--ink-2); font-size: 11px; font-weight: 780; white-space: nowrap; }
.summary-action::after { content: "+"; display: inline-block; margin-left: 8px; font-size: 15px; }
.advanced-costs[open] .summary-action::after { content: "−"; }
.advanced-body { padding: 3px 24px 22px; }
.advanced-group + .advanced-group { margin-top: 20px; padding-top: 19px; border-top: 1px solid var(--line); }
.advanced-group h3 { margin: 0 0 13px; font-size: 12px; }

.target-row { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--lime-soft); }
.compact-heading { margin: 0; }
.target-field { flex: 0 0 100px; }
.target-field .input-shell { margin: 0; background: white; }
.target-field input { font-size: 18px; }
.mobile-result-button { display: none; }

.result-panel { position: sticky; top: 84px; background: var(--ink); color: white; border-color: var(--ink); box-shadow: 0 18px 55px rgba(19,43,36,.18); }
.result-header { border-color: rgba(255,255,255,.13); }
.result-header .panel-kicker { color: #aebfb9; }
.live-indicator { display: inline-flex; align-items: center; gap: 6px; color: #bdd0c8; font-size: 10px; font-weight: 700; }
.live-indicator i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(215,244,74,.12); }
.verdict { margin: 16px 16px 0; padding: 16px; border-radius: 8px; background: rgba(215,244,74,.1); border: 1px solid rgba(215,244,74,.24); }
.verdict-kicker { display: block; color: #b9cbc4; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.verdict strong { display: block; margin: 7px 0 4px; color: var(--lime); font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.verdict p { margin: 0; color: #d3dfda; font-size: 11px; line-height: 1.5; }
.verdict.not-ready { background: rgba(255,118,87,.1); border-color: rgba(255,118,87,.3); }
.verdict.not-ready strong { color: #ff9d86; }
.hero-result { padding: 24px 20px 19px; }
.hero-result span, .result-comparison span, .metric-grid span { display: block; color: #aebfb9; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-result strong { display: block; margin: 4px 0 2px; font-size: clamp(48px, 5vw, 65px); line-height: 1; letter-spacing: -.055em; font-weight: 760; color: white; }
.hero-result small, .result-comparison small, .metric-grid small { color: #aebfb9; font-size: 9px; line-height: 1.35; }
.result-comparison { margin: 0 16px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; overflow: hidden; }
.result-comparison > div { min-width: 0; padding: 13px; }
.result-comparison > div:nth-child(2) { border-left: 1px solid rgba(255,255,255,.13); }
.result-comparison > div:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.13); }
.result-comparison strong { display: block; margin: 5px 0 2px; font-size: 20px; letter-spacing: -.025em; }
.metric-grid { margin: 14px 16px 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; overflow: hidden; }
.metric-grid > div { min-width: 0; padding: 13px; border-bottom: 1px solid rgba(255,255,255,.13); }
.metric-grid > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.13); }
.metric-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.metric-grid strong { display: block; margin: 6px 0 2px; font-size: 20px; letter-spacing: -.025em; }
.meter { height: 3px; margin: 7px 0 5px; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden; }
.meter i { display: block; width: 0; height: 100%; background: var(--lime); transition: width .25s; }
.breakdown { margin: 14px 16px 0; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.breakdown summary { padding: 13px 0; cursor: pointer; color: #cedbd6; font-size: 10px; font-weight: 750; }
.breakdown-grid { padding: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.breakdown-grid div { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.breakdown-grid span { color: #9db0a9; font-size: 9px; line-height: 1.3; }
.breakdown-grid strong { font-size: 11px; white-space: nowrap; }
.breakdown-grid .total { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.1); }
.breakdown-grid .total strong { color: var(--lime); }
.result-actions { padding: 15px 16px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.result-actions button { min-height: 35px; padding: 7px; border: 1px solid rgba(255,255,255,.24); border-radius: 7px; background: transparent; color: white; font-size: 9px; font-weight: 760; cursor: pointer; }
.result-actions button:hover { border-color: var(--lime); color: var(--lime); }
.privacy-note { margin: 10px 16px 17px; color: #8fa49c; font-size: 8px; line-height: 1.4; text-align: center; }

.monetization-slot { width: min(970px, calc(100% - 40px)); max-width: 970px; margin: 0 auto 70px; min-height: 120px; }
.monetization-slot:not([hidden]) { position: relative; padding-top: 18px; display: grid; place-items: center; }
.monetization-slot:not([hidden])::before { content: "Advertisement"; position: absolute; top: 0; left: 50%; color: #87948f; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; transform: translateX(-50%); }
.monetization-slot .adsbygoogle { width: 100%; min-height: 90px; }
.insight-strip { padding: 50px max(28px, calc((100vw - 1060px)/2)); background: var(--lime); display: grid; grid-template-columns: 1fr 1.35fr; gap: 50px; align-items: center; }
.insight-strip p { margin: 0; font-size: 15px; line-height: 1.5; }
.insight-strip strong { font-size: clamp(25px, 3vw, 38px); line-height: 1.1; letter-spacing: -.035em; }
.method-section, .faq-section { max-width: 1160px; margin: 0 auto; padding: 92px 28px; }
.section-heading { max-width: 760px; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.03; letter-spacing: -.045em; }
.section-heading > p:last-child { max-width: 650px; margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.method-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.method-grid article { padding: 24px 26px 24px 0; }
.method-grid article + article { padding-left: 26px; border-left: 1px solid var(--line-dark); }
.method-grid span { color: var(--coral); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.method-grid h3 { margin: 15px 0 8px; font-size: 18px; letter-spacing: -.02em; }
.method-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.formula-card { margin-top: 30px; padding: 22px 24px; border: 1px solid var(--line-dark); border-radius: 9px; background: var(--surface); }
.formula-card span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.formula-card code { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(13px, 2vw, 18px); line-height: 1.5; }
.worked-example { margin-top: 24px; padding: 28px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; border-radius: 9px; background: var(--ink); color: white; }
.worked-example .eyebrow { color: #aebfb9; }
.worked-example h3 { margin: 0; font-size: clamp(23px, 3vw, 32px); line-height: 1.12; letter-spacing: -.035em; }
.worked-example > p { margin: 0; color: #d3dfda; font-size: 13px; line-height: 1.7; }
.worked-example strong { color: var(--lime); }
.market-note { margin-top: 24px; padding: 24px; border-left: 4px solid var(--coral); background: var(--coral-soft); }
.market-note strong { font-size: 14px; }
.market-note p { margin: 7px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.guide-link { margin: 22px 0 0; }
.guide-link a { font-size: 13px; font-weight: 800; text-underline-offset: 4px; }
.faq-section { padding-top: 10px; padding-bottom: 100px; }
.section-heading.compact h2 { font-size: clamp(32px, 4vw, 44px); }
.faq-list { margin-top: 35px; border-top: 1px solid var(--line-dark); }
.faq-list details { border-bottom: 1px solid var(--line-dark); }
.faq-list summary { padding: 21px 0; cursor: pointer; font-size: 14px; font-weight: 760; }
.faq-list details p { max-width: 780px; margin: -5px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.65; }

footer { padding: 45px clamp(24px, 5vw, 72px); background: #0d211b; color: white; display: grid; grid-template-columns: 1fr auto; gap: 24px 60px; align-items: start; }
.footer-brand .brand-mark i { background: white; }
.footer-brand .brand-mark i:last-child { background: var(--coral); }
footer p { margin: 10px 0 0; color: #9fb2aa; font-size: 12px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: #c4d0cb; font-size: 12px; font-weight: 720; }
footer small { grid-column: 1 / -1; color: #72877f; font-size: 10px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; padding: 11px 15px; border-radius: 7px; background: var(--lime); color: var(--ink); box-shadow: var(--shadow); font-size: 12px; font-weight: 800; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.analytics-consent { position: fixed; right: 18px; bottom: 18px; z-index: 100; width: min(560px, calc(100vw - 36px)); padding: 17px 18px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; background: var(--ink); color: white; box-shadow: 0 18px 55px rgba(19,43,36,.28); }
.analytics-consent strong { display: block; margin-bottom: 4px; font-size: 13px; }
.analytics-consent p { margin: 0; color: #c7d5cf; font-size: 11px; line-height: 1.45; }
.analytics-consent-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.analytics-consent a { color: #c7d5cf; font-size: 10px; font-weight: 750; }
.analytics-consent button, .consent-reset { min-height: 34px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 7px; background: transparent; color: white; font: inherit; font-size: 10px; font-weight: 800; cursor: pointer; }
.analytics-consent button.primary { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.consent-reset { min-height: 0; padding: 3px 7px; border-color: var(--line-dark); color: var(--ink); vertical-align: baseline; }

.legal-page { min-height: 70vh; padding: 76px max(24px, calc((100vw - 820px)/2)); background: var(--surface); }
.legal-page h1 { margin: 0 0 30px; font-size: clamp(42px, 6vw, 66px); line-height: 1; letter-spacing: -.05em; }
.legal-page h2 { margin: 34px 0 8px; font-size: 20px; letter-spacing: -.02em; }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.7; }
.guide-page { max-width: none; padding-top: 58px; }
.guide-page article { max-width: 820px; margin: 0 auto; }
.guide-page .guide-deck { margin: -12px 0 34px; font-size: 19px; line-height: 1.55; }
.guide-page .answer-box { margin: 28px 0 36px; padding: 24px; border: 1px solid var(--line-dark); border-radius: 9px; background: var(--lime-soft); }
.guide-page .answer-box h2 { margin-top: 0; }
.guide-page .formula-card { margin: 22px 0; }
.guide-page table { width: 100%; margin: 20px 0 34px; border-collapse: collapse; background: white; }
.guide-page th, .guide-page td { padding: 12px 14px; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; line-height: 1.5; text-align: left; vertical-align: top; }
.guide-page th { background: var(--surface-2); font-weight: 800; }
.guide-cta { margin-top: 44px; padding: 30px; border-radius: 9px; background: var(--ink); color: white; }
.guide-cta h2 { margin-top: 0; color: white; }
.guide-cta p { color: #d3dfda; }
.guide-cta a { display: inline-block; margin-top: 6px; padding: 12px 16px; border-radius: 7px; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 850; text-decoration: none; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 34px; color: var(--muted); font-size: 11px; font-weight: 720; }
.breadcrumbs a { color: var(--ink-2); text-underline-offset: 3px; }
.guide-meta { margin: -20px 0 28px; font-size: 11px; font-weight: 680; }
.inline-cta { display: inline-block; margin-top: 3px; color: var(--ink); font-size: 13px; font-weight: 850; text-underline-offset: 4px; }
.decision-grid { margin: 20px 0 38px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.decision-card { padding: 24px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: white; }
.decision-card > span { color: var(--coral); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.decision-card h3 { margin: 13px 0 8px; font-size: 18px; line-height: 1.15; }
.decision-card p { margin: 0; font-size: 13px; }
.checklist { margin: 18px 0 38px; padding: 0; list-style: none; }
.checklist li { position: relative; margin: 0; padding: 15px 0 15px 30px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "✓"; position: absolute; top: 15px; left: 2px; color: #748a00; font-weight: 900; }
.related-guides { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line-dark); }
.related-guides h2 { margin-top: 7px; }
.related-guides > a { padding: 18px 20px; display: flex; flex-direction: column; gap: 5px; border: 1px solid var(--line-dark); border-radius: 9px; background: white; color: var(--ink); text-decoration: none; }
.related-guides > a:hover { border-color: var(--ink); }
.related-guides > a span { color: var(--muted); font-size: 12px; }
.guide-hub { padding-top: 66px; }
.guide-hub-intro { max-width: 820px; margin: 0 auto; }
.guide-hub-intro h1 { max-width: 740px; }
.guide-hub-intro > p:not(.eyebrow) { max-width: 690px; margin: -12px 0 25px; font-size: 19px; }
.guide-primary-link { display: inline-block; padding: 13px 16px; border-radius: 7px; background: var(--ink); color: white; font-size: 13px; font-weight: 850; text-decoration: none; }
.guide-library, .content-standard { max-width: 940px; margin: 76px auto 0; }
.guide-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-card { min-height: 250px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line-dark); border-radius: 10px; background: white; }
.guide-card.featured { background: var(--lime-soft); }
.guide-card h3 { margin: 11px 0 12px; font-size: 25px; line-height: 1.05; }
.guide-card h3 a { color: inherit; text-decoration: none; }
.guide-card p:not(.panel-kicker) { margin: 0 0 22px; font-size: 13px; }
.guide-card > a { margin-top: auto; color: var(--ink); font-size: 12px; font-weight: 850; text-underline-offset: 4px; }
.content-standard { padding: 32px; border-left: 3px solid var(--coral); background: var(--coral-soft); }
.content-standard h2 { margin-top: 8px; }
.content-standard p:last-child { max-width: 800px; margin-bottom: 0; }

@media (max-width: 1050px) {
  .workspace { grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr); }
  .field-grid-4 { grid-template-columns: 1fr 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .intro { padding-top: 38px; }
  .workspace { grid-template-columns: 1fr; }
  .result-panel { position: static; }
  .mobile-result-button { display: flex; width: 100%; min-height: 51px; padding: 0 20px; align-items: center; justify-content: space-between; border: 0; background: var(--ink); color: white; font-size: 13px; font-weight: 800; cursor: pointer; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article, .method-grid article + article { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .worked-example { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 580px) {
  .site-header { height: 60px; padding: 0 18px; }
  nav { display: none; }
  .intro { padding: 30px 18px 22px; }
  h1 { font-size: 39px; line-height: 1.02; }
  .intro-copy { font-size: 15px; }
  .product-promises { margin-top: 18px; gap: 7px; }
  .product-promises li { padding: 6px 9px 6px 7px; font-size: 10px; }
  .workspace { padding: 0 12px 54px; }
  .calculator-panel, .result-panel { border-radius: 9px; }
  .panel-header, .result-header, .form-section { padding-left: 17px; padding-right: 17px; }
  .panel-header h2, .result-header h2 { font-size: 19px; }
  .field-grid-2, .field-grid-3, .field-grid-4 { grid-template-columns: 1fr 1fr; gap: 12px 9px; }
  .scenario-card .field-grid-2 { grid-template-columns: 1fr 1fr; }
  .advanced-costs summary, .advanced-body { padding-left: 17px; padding-right: 17px; }
  .target-row { padding: 17px; }
  .target-row .form-section-heading p { display: none; }
  .hero-result strong { font-size: 56px; }
  .insight-strip { padding: 44px 22px; grid-template-columns: 1fr; gap: 18px; }
  .method-section, .faq-section { padding-left: 22px; padding-right: 22px; }
  .guide-page { padding-top: 44px; }
  .guide-page .guide-deck { font-size: 16px; }
  .guide-page table { display: block; overflow-x: auto; }
  .decision-grid, .guide-card-grid { grid-template-columns: 1fr; }
  .guide-hub { padding-top: 44px; }
  .guide-hub-intro > p:not(.eyebrow) { font-size: 16px; }
  .guide-library, .content-standard { margin-top: 48px; }
  .guide-card { min-height: 0; }
  .content-standard { padding: 24px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .analytics-consent { right: 8px; bottom: 8px; width: calc(100vw - 16px); padding: 11px 12px; grid-template-columns: 1fr auto; gap: 10px; }
  .analytics-consent strong { margin: 0; font-size: 11px; }
  .analytics-consent p { display: none; }
  .analytics-consent-actions { gap: 5px; }
  .analytics-consent-actions a { display: none; }
  .analytics-consent button { min-height: 32px; padding: 6px 8px; font-size: 9px; }
}

@media (max-width: 390px) {
  .field-grid-2, .field-grid-3, .field-grid-4, .scenario-card .field-grid-2 { grid-template-columns: 1fr; }
  .target-row { align-items: flex-end; }
  .target-field { flex-basis: 86px; }
  .result-actions { grid-template-columns: 1fr; }
  .result-actions button { min-height: 39px; }
}

@media print {
  .site-header, .intro, .calculator-panel, .insight-strip, .method-section, .faq-section, footer, .result-actions, .toast, .analytics-consent { display: none !important; }
  body, .workspace { background: white; }
  .workspace { display: block; padding: 0; }
  .result-panel { position: static; min-height: 100vh; border-radius: 0; box-shadow: none; }
}

/* Guided calculator v2 — comprehension before calculation. */
[hidden] { display: none !important; }

.guided-workspace {
  max-width: 900px;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  transition: max-width .2s ease;
}
.guided-workspace.has-results {
  max-width: 1240px;
  grid-template-columns: minmax(0, 1.15fr) minmax(370px, .85fr);
}
.guided-calculator { overflow: visible; }
.guided-header { border-bottom: 0; padding-bottom: 18px; }
.guided-header h2 { max-width: 520px; font-size: 24px; }

.progress-track { height: 5px; background: #e7ebe7; overflow: hidden; }
.progress-track i { display: block; width: 25%; height: 100%; background: var(--coral); transition: width .25s ease; }
.step-list {
  margin: 0;
  padding: 17px 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  list-style: none;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.step-list li { display: flex; align-items: center; gap: 8px; color: #84918c; font-size: 11px; font-weight: 760; }
.step-list li span { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; background: white; font-size: 10px; }
.step-list li.is-current { color: var(--ink); }
.step-list li.is-current span { border-color: var(--ink); background: var(--ink); color: white; }
.step-list li.is-complete { color: var(--ink-2); }
.step-list li.is-complete span { border-color: var(--lime); background: var(--lime); color: var(--ink); }

.scenario-notice {
  margin: 24px 30px 0;
  padding: 15px 17px;
  display: grid;
  gap: 4px;
  border: 1px solid #d9dfb0;
  border-radius: 9px;
  background: #fbfdec;
}
.scenario-notice strong { font-size: 13px; }
.scenario-notice span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.scenario-notice.example-loaded { border-color: #b9d0c7; background: #edf6f2; }
.scenario-notice.saved-loaded { border-color: #c9d5ec; background: #f1f5fc; }

.goal-options, .leader-options { min-width: 0; margin: 0; padding: 0; border: 0; }
.goal-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.goal-card, .role-card {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  border: 1px solid var(--line-dark);
  border-radius: 11px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.goal-card { min-height: 178px; padding: 20px; flex-direction: column; gap: 15px; }
.goal-card:hover, .role-card:hover { border-color: #82928a; }
.goal-card:focus-within, .role-card:focus-within { box-shadow: 0 0 0 3px rgba(215,244,74,.48); }
.goal-card.is-selected, .role-card.is-selected { border-color: var(--ink); background: #f7faed; box-shadow: inset 0 0 0 1px var(--ink); }
.goal-card input, .role-card input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.goal-card > span:last-child { display: grid; gap: 6px; }
.goal-card strong, .role-card strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.25; }
.goal-card small, .role-card small { display: block; color: var(--muted); font-size: 11px; font-weight: 520; line-height: 1.45; }
.goal-card em { width: max-content; margin-top: 3px; padding: 4px 7px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.goal-card.is-selected em { background: var(--lime); }
.goal-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); }
.goal-icon svg { width: 31px; height: 31px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.goal-card.is-selected .goal-icon { background: var(--lime-soft); }
.journey-preview { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.journey-preview > span { color: var(--muted); font-size: 9px; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.journey-preview ol { margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; counter-reset: journey; }
.journey-preview li { display: flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 11px; font-weight: 740; counter-increment: journey; }
.journey-preview li::before { content: counter(journey); width: 19px; height: 19px; display: grid; place-items: center; flex: 0 0 19px; border-radius: 50%; background: var(--ink); color: white; font-size: 9px; }

.leader-options legend { width: 100%; margin-bottom: 13px; }
.leader-options legend small { display: block; margin-top: 5px; color: #74827d; font-size: 11px; font-weight: 500; }
.role-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-card { min-height: 92px; padding: 15px; align-items: center; gap: 13px; }
.role-card > span:last-child { display: grid; gap: 4px; }
.person-visual { width: 42px; height: 48px; position: relative; display: block; flex: 0 0 42px; border-radius: 11px; background: #eef2ef; color: var(--ink); }
.person-visual::before { content: ""; width: 12px; height: 12px; position: absolute; top: 8px; left: 50%; border: 2px solid currentColor; border-radius: 50%; transform: translateX(-50%); }
.person-visual::after { content: ""; width: 23px; height: 15px; position: absolute; bottom: 7px; left: 50%; border: 2px solid currentColor; border-bottom: 0; border-radius: 15px 15px 3px 3px; transform: translateX(-50%); }
.person-visual i { width: 8px; height: 8px; position: absolute; right: 4px; bottom: 4px; border: 2px solid white; border-radius: 50%; background: var(--coral); }
.person-visual.lead { background: var(--lime-soft); }
.person-visual.lead i { background: #829900; }
.person-visual.member { background: #edf3fa; }
.person-visual.member i { background: #6e8aab; }

.member-builder { margin-top: 23px; border-top: 1px solid var(--line); }
.member-stepper { width: 168px; height: 48px; margin-top: 13px; display: grid; grid-template-columns: 46px 1fr 46px; border: 1px solid var(--line-dark); border-radius: 9px; overflow: hidden; }
.member-stepper button { border: 0; background: var(--surface-2); color: var(--ink); font-size: 20px; font-weight: 700; cursor: pointer; }
.member-stepper button:hover { background: var(--lime-soft); }
.member-stepper input { width: 100%; height: 46px; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 0; text-align: center; font-size: 17px; }
.member-stepper input::-webkit-inner-spin-button { appearance: none; }

.roster-preview { margin: 24px 0 3px; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); }
.roster-preview h4 { margin: 0; font-size: 15px; letter-spacing: -.015em; }
.roster-preview .panel-kicker { margin-bottom: 5px; }
.roster-people { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 8px; }
.roster-person { min-width: 128px; padding: 9px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.roster-person .person-visual { width: 34px; height: 39px; flex-basis: 34px; border-radius: 9px; }
.roster-person .person-visual::before { width: 9px; height: 9px; top: 6px; }
.roster-person .person-visual::after { width: 19px; height: 12px; bottom: 6px; }
.roster-person strong, .roster-person small { display: block; }
.roster-person strong { color: var(--ink); font-size: 11px; }
.roster-person small { margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 560; }
.roster-preview > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.team-pay-fields { margin-top: 24px; }

.wizard-step { padding: 34px 30px 30px; }
.wizard-step:focus, .wizard-step h3:focus { outline: 0; }
.step-intro { max-width: 650px; margin-bottom: 28px; }
.step-intro .eyebrow { margin-bottom: 8px; color: var(--coral); }
.step-intro h3 { margin: 0; font-size: 27px; line-height: 1.12; letter-spacing: -.035em; }
.step-intro > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.question-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.question-field {
  min-width: 0;
  padding: 21px 0 23px;
  display: block;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.question-label { display: block; font-size: 16px; font-weight: 790; line-height: 1.35; letter-spacing: -.015em; }
.question-field > small,
.question-field > label > small {
  max-width: 540px;
  margin-top: 5px;
  display: block;
  color: #74827d;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}
.question-field .input-shell,
.question-field > input {
  width: min(100%, 310px);
  height: 54px;
  margin-top: 13px;
  padding: 0 14px;
  border-radius: 9px;
}
.question-field .input-shell input { height: 52px; font-size: 18px; font-weight: 770; }
.question-field .input-shell b { color: var(--muted); font-size: 12px; }
.question-field input::placeholder { color: #9aa7a2; font-weight: 560; opacity: 1; }
.question-field input:invalid:not(:placeholder-shown) { color: var(--ink); }

.assumption-box {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.assumption-box summary {
  min-height: 58px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
}
.assumption-box summary::-webkit-details-marker { display: none; }
.assumption-box summary span { font-size: 13px; font-weight: 780; }
.assumption-box summary b { color: var(--muted); font-size: 11px; font-weight: 720; }
.assumption-box summary b::after { content: "  Edit"; color: var(--ink); }
.assumption-box[open] summary { border-bottom: 1px solid var(--line); }
.assumption-box .compact-field { padding: 19px 17px 21px; border-bottom: 0; }
.compact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 17px; }
.compact-grid .compact-field { padding-left: 0; padding-right: 0; }

.choice-row { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row button {
  min-height: 39px;
  padding: 8px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: white;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}
.choice-row button:hover,
.choice-row button.is-selected { border-color: var(--ink); background: var(--ink); color: white; }
.compact-input { max-width: 180px; }

.review-card {
  margin-top: 24px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.review-card .panel-kicker { margin-bottom: 13px; }
.review-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.review-card li { padding-left: 22px; position: relative; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.review-card li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: #708300; font-weight: 900; }
.result-scope-note { margin: 14px 16px 0; padding: 11px 12px; border: 1px solid rgba(215,244,74,.24); border-radius: 8px; background: rgba(215,244,74,.08); color: #cad8d2; font-size: 10px; line-height: 1.45; }

.wizard-actions {
  min-height: 72px;
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 0 0 var(--radius) var(--radius);
}
.wizard-actions.final-step { min-height: 58px; justify-content: flex-start; }
.back-button,
.next-button,
.primary-result-button,
.edit-answers {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 820;
  cursor: pointer;
}
.back-button { border: 1px solid var(--line-dark); background: white; }
.next-button { margin-left: auto; border: 1px solid var(--ink); background: var(--ink); color: white; }
.next-button:hover, .primary-result-button:hover { background: var(--ink-2); }
.primary-result-button {
  width: 100%;
  min-height: 55px;
  margin-top: 22px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: var(--ink);
  color: white;
  font-size: 14px;
}
.submit-note { margin: 10px 0 0; color: var(--muted); font-size: 10px; text-align: center; }
.edit-answers { border: 1px solid rgba(255,255,255,.25); background: transparent; color: white; }
.edit-answers:hover { border-color: var(--lime); color: var(--lime); }

.guided-workspace.has-results .guided-calculator { align-self: start; }
.guided-workspace.has-results .result-panel { display: block; }

@media (max-width: 900px) {
  .guided-workspace.has-results { grid-template-columns: 1fr; max-width: 900px; }
  .guided-workspace.has-results .result-panel { position: static; }
}

@media (max-width: 580px) {
  .guided-workspace { padding-left: 12px; padding-right: 12px; }
  .guided-header { padding: 18px 17px 15px; align-items: flex-start; }
  .guided-header h2 { font-size: 20px; }
  .guided-header .utility-actions { flex-direction: column; align-items: stretch; }
  .guided-header .quiet-button { min-height: 32px; font-size: 10px; }
  .step-list { padding: 13px 17px; gap: 6px; }
  .step-list li { justify-content: center; font-size: 0; }
  .step-list li span { font-size: 10px; }
  .scenario-notice { margin: 18px 17px 0; }
  .wizard-step { padding: 28px 17px 24px; }
  .step-intro h3 { font-size: 24px; }
  .goal-options, .role-card-grid { grid-template-columns: 1fr; }
  .goal-card { min-height: 0; padding: 16px; flex-direction: row; align-items: center; }
  .goal-card em { display: none; }
  .journey-preview ol { grid-template-columns: 1fr 1fr; }
  .roster-person { min-width: calc(50% - 4px); }
  .question-label { font-size: 15px; }
  .question-field .input-shell,
  .question-field > input { width: 100%; max-width: none; }
  .compact-grid { grid-template-columns: 1fr; gap: 0; }
  .compact-grid .compact-field + .compact-field { border-top: 1px solid var(--line); }
  .wizard-actions { padding: 12px 17px; }
  .result-header { align-items: flex-start; }
  .edit-answers { min-height: 36px; padding: 7px 10px; font-size: 10px; }
}

@media print {
  .guided-workspace.has-results { display: block; max-width: none; }
}
