@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --green: #166534;
  --green-dark: #14532d;
  --green-soft: #eaf4ed;
  --green-pale: #f2f8f3;
  --bg: #f7f8f7;
  --surface: #ffffff;
  --text: #172018;
  --muted: #667085;
  --border: #e3e9e4;
  --danger: #b42318;
  --shadow: 0 12px 32px rgba(19, 48, 27, .055);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 15px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: 'Manrope', sans-serif; font-size: 23px; font-weight: 800; letter-spacing: -1px; color: var(--text); white-space: nowrap; }
.logo-mark { width: 34px; height: 34px; display: inline-grid; place-items: center; color: white; background: var(--green); border-radius: 10px; font-size: 20px; font-weight: 800; letter-spacing: -1px; }
.main-nav { display: flex; align-items: center; gap: 26px; color: #475467; font-size: 13px; font-weight: 600; }
.main-nav a:hover { color: var(--green); }
.hero { padding: 55px 0 50px; background: linear-gradient(115deg, #f1f8f2 0%, #f8faf8 62%, #edf6ef 100%); border-bottom: 1px solid #e8efe9; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; }
.eyebrow, .section-kicker { display: inline-block; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 1.35px; }
.eyebrow { padding: 7px 11px; background: #e1f0e5; border-radius: 6px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; letter-spacing: -.8px; }
h1 { margin: 19px 0 14px; max-width: 560px; font-size: clamp(35px, 4.1vw, 51px); line-height: 1.12; font-weight: 800; }
.hero-lead { max-width: 540px; margin-bottom: 24px; color: #526057; font-size: 17px; line-height: 1.75; }
.hero-points { display: grid; gap: 9px; color: #34483a; font-size: 13px; font-weight: 600; }
.check { display: inline-grid; place-items: center; width: 19px; height: 19px; margin-right: 8px; border-radius: 50%; background: #dcefe1; color: var(--green); font-size: 12px; }
.hero-result { padding: 27px 29px 24px; background: white; border: 1px solid #e0e9e2; border-radius: 17px; box-shadow: 0 16px 42px rgba(22, 101, 52, .08); }
.result-topline { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1.1px; }
.result-dot, .live-dot { display: inline-block; width: 7px; height: 7px; background: #2f9e57; border-radius: 50%; }
.hero-price { margin-top: 10px; color: var(--green); font-family: 'Manrope', sans-serif; font-size: clamp(38px, 4vw, 49px); line-height: 1.25; font-weight: 800; letter-spacing: -1.7px; overflow-wrap: anywhere; }
.hero-sub { color: var(--muted); font-size: 12px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 19px 0 16px; margin-top: 19px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hero-stats div { display: grid; gap: 4px; }
.hero-stats span { color: var(--muted); font-size: 11px; }
.hero-stats strong { font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.hero-note { padding-top: 14px; color: #617267; font-size: 11px; }
.tool-section { padding: 42px 0 58px; }
.tool-layout { display: grid; grid-template-columns: .97fr 1.03fr; gap: 24px; align-items: start; }
.panel { min-width: 0; padding: 27px; background: var(--surface); border: 1px solid var(--border); border-radius: 15px; box-shadow: var(--shadow); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 25px; }
.panel-heading h2 { margin: 5px 0 0; font-size: 22px; line-height: 1.25; }
.text-button { padding: 6px 0; color: var(--green); border: 0; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.text-button:hover { text-decoration: underline; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 15px; }
.field { min-width: 0; }
.full-width { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; color: #344054; font-size: 12px; font-weight: 700; }
.required { color: var(--green); }
.field input:not([type="range"]), .field select { width: 100%; height: 44px; padding: 0 12px; outline: none; color: var(--text); background: #fff; border: 1px solid #dce4dd; border-radius: 8px; font-size: 14px; }
.field input:focus, .field select:focus { border-color: #47965e; box-shadow: 0 0 0 3px rgba(22,101,52,.09); }
.field small { display: block; margin-top: 6px; color: #7a857d; font-size: 10px; line-height: 1.5; }
.input-wrap { display: flex; align-items: center; min-width: 0; height: 44px; overflow: hidden; border: 1px solid #dce4dd; border-radius: 8px; background: white; }
.input-wrap:focus-within { border-color: #47965e; box-shadow: 0 0 0 3px rgba(22,101,52,.09); }
.input-wrap input { min-width: 0; height: 100% !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.input-prefix, .input-suffix { flex: 0 0 auto; padding: 0 0 0 11px; color: #748078; font-size: 12px; }
.input-suffix { padding: 0 11px 0 0; }
.target-field { margin-top: 3px; padding: 16px; border: 1px solid #e3ede5; border-radius: 10px; background: #f8fbf8; }
.target-label-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.target-label-row label { margin-bottom: 0; }
.target-label-row strong { color: var(--green); font-size: 16px; }
.field input[type="range"] { display: block; width: 100%; margin: 17px 0 6px; accent-color: var(--green); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; color: #7a857d; font-size: 10px; }
.form-error { margin-top: 18px; padding: 10px 12px; color: var(--danger); background: #fff4f2; border: 1px solid #fecdca; border-radius: 8px; font-size: 12px; }
.live-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 20px; color: var(--green); background: var(--green-soft); font-size: 10px; font-weight: 700; white-space: nowrap; }
.price-summary { padding: 19px 20px 20px; border: 1px solid #d9e9dd; border-radius: 11px; background: linear-gradient(135deg, #f0f8f2, #f8fbf8); }
.summary-label { color: #4b6653; font-size: 12px; font-weight: 700; }
.summary-price { margin: 4px 0 2px; color: var(--green); font-family: 'Manrope', sans-serif; font-size: clamp(32px, 3.5vw, 42px); font-weight: 800; line-height: 1.3; letter-spacing: -1.4px; overflow-wrap: anywhere; }
.summary-description { color: #6a7d6e; font-size: 11px; }
.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 15px 0 23px; }
.metric-card { display: grid; gap: 7px; padding: 14px; border: 1px solid #e7ece8; border-radius: 9px; }
.metric-card span { color: var(--muted); font-size: 11px; }
.metric-card strong { font-size: 18px; font-weight: 800; letter-spacing: -.4px; overflow-wrap: anywhere; }
.breakdown { padding-top: 20px; border-top: 1px solid var(--border); }
.breakdown h3, .scenario-section h3 { margin-bottom: 12px; font-size: 15px; letter-spacing: -.2px; }
.breakdown-row { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; color: #667085; font-size: 11px; border-bottom: 1px solid #f0f2f0; }
.breakdown-row strong { color: #344054; font-size: 12px; text-align: right; white-space: nowrap; }
.total-row { color: var(--text); font-weight: 700; }
.total-row strong { color: var(--text); }
.profit-row { color: var(--green); font-weight: 700; border-bottom: 0; }
.profit-row strong { color: var(--green); font-size: 14px; }
.scenario-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.section-description { margin: -5px 0 14px; color: var(--muted); font-size: 11px; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.scenario-card { min-width: 0; display: grid; gap: 5px; padding: 12px 10px; border: 1px solid #e5eae6; border-radius: 9px; background: white; }
.scenario-card.selected { border-color: #b7d7c0; background: #f3f9f4; }
.scenario-card span { color: #667085; font-size: 10px; font-weight: 700; }
.scenario-card strong { color: var(--green); font-size: 18px; letter-spacing: -.4px; overflow-wrap: anywhere; }
.scenario-card small { color: #7a857d; font-size: 9px; overflow-wrap: anywhere; }
.primary-button { width: 100%; min-height: 46px; margin-top: 20px; padding: 12px 18px; color: white; background: var(--green); border: 1px solid var(--green); border-radius: 9px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.primary-button:hover { background: var(--green-dark); }
.primary-button:active { transform: translateY(1px); }
.copy-status { min-height: 16px; margin: 8px 0 0; color: var(--green); text-align: center; font-size: 11px; }
.content-section { padding: 58px 0; background: white; border-top: 1px solid var(--border); }
.content-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 65px; align-items: start; }
.content-copy h2 { margin: 9px 0 14px; font-size: 29px; line-height: 1.25; }
.content-copy p { margin-bottom: 20px; color: #667085; font-size: 13px; line-height: 1.85; }
.content-copy h3 { margin: 23px 0 7px; font-size: 17px; }
.formula-card { padding: 25px; border: 1px solid var(--border); border-radius: 13px; background: #f8faf8; }
.formula-icon { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 15px; color: var(--green); background: #e4f2e7; border-radius: 10px; font-weight: 800; }
.formula-card h3 { margin-bottom: 12px; font-size: 18px; }
.formula-text { padding: 15px; color: var(--green-dark); background: white; border: 1px solid #dfeae1; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.7; }
.formula-note { margin: 14px 0 0; color: #6f7b72; font-size: 11px; line-height: 1.8; }
.bottom-cta { padding: 32px 0; background: #eaf4ed; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.cta-inner h2 { margin-bottom: 5px; font-size: 22px; }
.cta-inner p { margin-bottom: 0; color: #5e7163; font-size: 12px; }
.cta-link { display: inline-flex; align-items: center; gap: 12px; padding: 11px 15px; color: white; background: var(--green); border-radius: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.cta-link:hover { background: var(--green-dark); }
.site-footer { padding: 23px 0; background: white; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-logo { font-size: 19px; }
.footer-logo .logo-mark { width: 29px; height: 29px; font-size: 17px; border-radius: 8px; }
.footer-inner p, .footer-copy { margin: 0; color: #7a857d; font-size: 11px; }
@media (max-width: 900px) {
  .hero-grid { gap: 32px; }
  .tool-layout { grid-template-columns: 1fr; }
  .content-grid { gap: 32px; }
  .main-nav { gap: 15px; }
}
@media (max-width: 650px) {
  .container { width: min(100% - 28px, 540px); }
  .nav-wrap { min-height: 65px; flex-wrap: wrap; gap: 10px; padding: 13px 0; }
  .logo { font-size: 21px; }
  .main-nav { width: 100%; gap: 16px; overflow-x: auto; padding: 4px 0 2px; white-space: nowrap; font-size: 11px; }
  .hero { padding: 36px 0 33px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  h1 { font-size: 36px; }
  .hero-lead { font-size: 15px; }
  .hero-result { padding: 22px; }
  .hero-price { font-size: 42px; }
  .tool-section { padding: 25px 0 38px; }
  .panel { padding: 19px; border-radius: 12px; }
  .panel-heading { margin-bottom: 20px; }
  .panel-heading h2 { font-size: 20px; }
  .field-grid { gap: 16px 11px; }
  .field label { font-size: 11px; }
  .field input:not([type="range"]), .field select, .input-wrap { height: 42px; }
  .input-prefix { padding-left: 8px; font-size: 11px; }
  .input-suffix { padding-right: 8px; }
  .metrics-grid { gap: 8px; }
  .metric-card { padding: 12px; }
  .metric-card strong { font-size: 16px; }
  .scenario-grid { gap: 6px; }
  .scenario-card { padding: 10px 8px; }
  .scenario-card strong { font-size: 15px; }
  .content-section { padding: 40px 0; }
  .content-grid { grid-template-columns: 1fr; gap: 16px; }
  .content-copy h2 { font-size: 25px; }
  .cta-inner { align-items: flex-start; flex-direction: column; gap: 17px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { order: 3; width: 100%; }
}
@media (max-width: 380px) {
  .field-grid { grid-template-columns: 1fr; }
  .full-width { grid-column: auto; }
  .scenario-card span { font-size: 9px; }
  .scenario-card strong { font-size: 14px; }
}
