:root {
  --ink: #111512;
  --muted: #667067;
  --line: #dfe5df;
  --surface: #f5f8f4;
  --white: #ffffff;
  --lime: #c9ff56;
  --lime-strong: #9ee827;
  --green: #1e5d3a;
  --green-dark: #123a27;
  --orange: #ff8a4c;
  --shadow: 0 24px 60px rgba(18, 58, 39, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background: var(--white);
  color: var(--ink);
}
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(5vw, 24px);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223,229,223,.8);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 800 20px "Manrope", sans-serif;
}
.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(17, 21, 18, 0.16);
  background: #000;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}
.brand-text strong {
  font: 800 17px "Manrope", sans-serif;
  letter-spacing: -0.03em;
}
.brand-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.footer-brand .brand-text strong { color: white; }
.footer-brand .brand-text small { color: #aeb8b0; }
.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.header-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 56px;
  align-items: center;
  padding: 88px max(6vw, 24px) 76px;
  min-height: 700px;
  background:
    radial-gradient(circle at 72% 28%, rgba(201,255,86,.34), transparent 30%),
    linear-gradient(135deg, #f7faf6 0%, #eef6eb 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% 38%;
  height: 520px;
  border-radius: 50%;
  border: 100px solid rgba(30,93,58,.06);
}
.hero-copy, .hero-card { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
}
.hero h1, .section-heading h2, .cta-panel h2 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.045em;
}
.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: .98;
}
.hero-copy > p {
  max-width: 680px;
  margin: 28px 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: var(--white); box-shadow: 0 12px 30px rgba(17,21,18,.18); }
.button.dark { background: var(--green-dark); color: white; }
.button.white { background: white; color: var(--ink); }
.button.secondary { background: var(--lime); color: var(--ink); }
.button.ghost { background: transparent; border: 1px solid var(--line); }
.button.full { width: 100%; }
.trust-note { color: var(--muted); font-size: 14px; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats div { display: flex; flex-direction: column; gap: 3px; }
.hero-stats strong { font: 800 24px "Manrope", sans-serif; }
.hero-stats span { color: var(--muted); font-size: 13px; }

.hero-card {
  justify-self: end;
  width: min(100%, 470px);
  padding: 28px;
  border-radius: 30px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.card-topline, .score-row, .breakdown-row, .locked-report, .cta-panel, footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-topline { color: #b8c1ba; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.live-dot { color: var(--lime); }
.hero-card-label { margin: 40px 0 8px; color: #b8c1ba; }
.hero-value { margin: 0 0 34px; font: 800 clamp(32px, 4vw, 50px) "Manrope", sans-serif; letter-spacing: -.04em; }
.score-row {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
}
.score-row div:first-child { display: flex; flex-direction: column; gap: 6px; }
.score-row span { color: #b8c1ba; font-size: 12px; }
.score-row strong { font-size: 24px; }
.mini-ring {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(var(--lime) 0 74%, rgba(255,255,255,.1) 74% 100%);
  position: relative;
}
.mini-ring::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--ink); }
.mini-ring span { position: relative; z-index: 1; color: white; font-weight: 800; }
.mini-insights { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.mini-insights li { display: flex; gap: 12px; color: #e0e8e2; font-size: 14px; }
.mini-insights li span { color: var(--lime); font-weight: 800; }

.proof-strip {
  padding: 26px max(6vw, 24px);
  background: var(--green-dark);
  color: white;
  text-align: center;
}
.proof-strip p { margin: 0 0 14px; color: #b8c9bd; font-size: 13px; }
.proof-strip div { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; font-weight: 700; }

.calculator-section, .results-section, .how-it-works, .faq {
  padding: 96px max(6vw, 24px);
}
.calculator-section { background: #fbfcfa; }
.section-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2 { margin: 0 0 14px; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; }
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; }

.calculator-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 12px 36px rgba(18,58,39,.05);
}
.form-card-header {
  display: flex;
  gap: 14px;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.step-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--lime);
  font-weight: 800;
}
.form-card h3 { margin: 0; font: 800 22px "Manrope", sans-serif; }
.form-card-header p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
label { display: block; margin-bottom: 20px; }
label > span { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
label em { color: #d44; font-style: normal; }
input, select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 0 14px;
  color: var(--ink);
  outline: none;
  transition: border .2s, box-shadow .2s;
}
input:focus, select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(30,93,58,.1);
}
.money-input { position: relative; }
.money-input span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}
.money-input input { padding-left: 54px; }
label small { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.range-wrap { display: grid; grid-template-columns: 1fr 66px; gap: 12px; align-items: center; }
.range-wrap input { padding: 0; accent-color: var(--green); }
.range-wrap output {
  display: grid;
  place-items: center;
  height: 42px;
  border-radius: 10px;
  background: var(--surface);
  font-weight: 800;
}
.submit-button {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 340px;
  margin-top: 14px;
}

.results-section { background: var(--surface); }
.results-header { text-align: center; margin-bottom: 32px; }
.results-header h2 { margin: 0; font: 800 clamp(34px, 5vw, 56px) "Manrope", sans-serif; letter-spacing: -.04em; }
.valuation-range {
  max-width: 1180px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.range-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  text-align: center;
}
.range-card.featured {
  background: var(--ink);
  color: white;
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.range-card span, .range-card small { display: block; color: var(--muted); }
.range-card.featured span, .range-card.featured small { color: #b7c0b8; }
.range-card strong { display: block; margin: 12px 0 8px; font: 800 clamp(25px, 3.5vw, 40px) "Manrope", sans-serif; }

.results-grid {
  max-width: 1180px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
}
.result-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--line);
}
.card-kicker { display: block; margin-bottom: 16px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.score-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.score-card h3 { margin: 0 0 10px; font: 800 30px "Manrope", sans-serif; }
.score-card p { margin: 0; max-width: 540px; color: var(--muted); line-height: 1.6; }
.score-circle {
  display: grid;
  place-items: center;
  grid-template-columns: auto auto;
  width: 138px;
  height: 138px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 0%, #e7ece7 0% 100%);
  position: relative;
}
.score-circle::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: white; }
.score-circle span, .score-circle small { position: relative; z-index: 1; }
.score-circle span { font: 800 40px "Manrope", sans-serif; }
.score-circle small { align-self: end; margin-bottom: 43px; color: var(--muted); }
.breakdown-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.breakdown-row:last-child { border-bottom: 0; }
.breakdown-row span { color: var(--muted); }
.explanation-card { max-width: 1180px; margin: 0 auto 24px; }
.explanation-card p { margin: 0; font-size: 18px; line-height: 1.75; }

.locked-report {
  max-width: 1180px;
  margin: 0 auto;
  gap: 24px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: var(--lime);
}
.locked-report > div { display: flex; gap: 16px; align-items: center; }
.lock-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--lime);
  font-size: 24px;
}
.locked-report h3 { margin: 0 0 5px; }
.locked-report p { margin: 0; color: #435044; }

.detailed-report { max-width: 1180px; margin: 56px auto 0; }
.recommendations { display: grid; gap: 14px; }
.recommendation {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--line);
}
.rec-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface);
  font-weight: 800;
}
.recommendation h3 { margin: 0 0 5px; font-size: 17px; }
.recommendation p { margin: 0; color: var(--muted); font-size: 14px; }
.recommendation strong { color: var(--green); white-space: nowrap; }
.cta-panel {
  gap: 40px;
  margin-top: 38px;
  padding: 38px;
  border-radius: var(--radius-lg);
  background: var(--green-dark);
  color: white;
}
.eyebrow.light { color: var(--lime); }
.cta-panel h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); }
.cta-panel p { margin: 0; max-width: 650px; color: #c3d3c7; line-height: 1.6; }
.cta-stack { display: grid; gap: 12px; min-width: 250px; }
.text-link { color: var(--lime); font-weight: 800; text-align: center; }
.report-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.disclaimer { max-width: 980px; margin: 28px auto 0; color: var(--muted); text-align: center; font-size: 12px; line-height: 1.6; }

.how-it-works { background: white; }
.method-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.method-grid article { padding: 28px; border-radius: var(--radius-md); background: var(--surface); }
.method-grid article > span { display: inline-block; margin-bottom: 42px; color: var(--green); font-weight: 800; }
.method-grid h3 { margin: 0 0 10px; font: 800 24px "Manrope", sans-serif; }
.method-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.faq { max-width: 960px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; }
.faq details p { color: var(--muted); line-height: 1.65; }

footer {
  gap: 20px;
  padding: 28px max(6vw, 24px);
  background: var(--ink);
  color: white;
}
footer p, footer > span { color: #aeb8b0; font-size: 13px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,15,11,.66); backdrop-filter: blur(6px); }
.modal-card {
  position: relative;
  width: min(100%, 500px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}
.modal-card h2 { margin: 0 0 10px; font: 800 34px "Manrope", sans-serif; }
.modal-card > p { margin: 0 0 24px; color: var(--muted); }
.modal-card > small { display: block; margin-top: 16px; color: var(--muted); line-height: 1.5; }
.modal-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.consent { display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: 18px; height: 18px; min-height: 18px; margin-top: 2px; }
.consent span { margin: 0; font-weight: 400; color: var(--muted); font-size: 12px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-error { margin: 12px 0 0; color: #b42318; font-size: 13px; font-weight: 600; }

.hidden { display: none !important; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 64px; }
  .hero-card { justify-self: stretch; width: 100%; transform: none; }
  .calculator-grid, .results-grid { grid-template-columns: 1fr; }
  .valuation-range, .method-grid { grid-template-columns: 1fr; }
  .range-card.featured { transform: none; }
  .cta-panel, .locked-report { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .site-header { padding: 14px 18px; }
  .header-cta { font-size: 12px; }
  .hero, .calculator-section, .results-section, .how-it-works, .faq { padding-left: 18px; padding-right: 18px; }
  .hero { padding-top: 52px; padding-bottom: 52px; }
  .hero h1 { font-size: 48px; }
  .hero-stats { gap: 18px; justify-content: space-between; }
  .hero-stats span { font-size: 11px; }
  .form-card, .result-card { padding: 22px; }
  .submit-button { min-width: 100%; }
  .score-card { align-items: flex-start; flex-direction: column; }
  .score-circle { width: 118px; height: 118px; }
  .score-circle small { margin-bottom: 35px; }
  .recommendation { grid-template-columns: 46px 1fr; }
  .recommendation strong { grid-column: 2; }
  .report-actions { flex-direction: column; }
  .report-actions .button { width: 100%; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media print {
  .site-header, .hero, .proof-strip, .calculator-section, .how-it-works, .faq, footer,
  .locked-report, .report-actions, .modal { display: none !important; }
  .results-section { padding: 20px; background: white; }
  .hidden { display: none !important; }
  .detailed-report { display: block !important; }
}
