:root {
  --ink: #17221c;
  --muted: #5e6a62;
  --paper: #f7f6f0;
  --panel: #fffef9;
  --line: #d8ddd6;
  --green: #146b45;
  --green-dark: #0c4d30;
  --lime: #d8f084;
  --amber: #b96b00;
  --red: #a9382d;
  --blue: #2f5f8f;
  --shadow: 0 24px 80px rgba(23, 34, 28, .10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 34, 28, .10);
  background: rgba(247, 246, 240, .91);
  backdrop-filter: blur(14px);
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--green); color: white; box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; }
.nav-links a:hover { color: var(--ink); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--green);
  color: white !important;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(20, 107, 69, .18);
}
.button:hover { background: var(--green-dark); transform: translateY(-1px); }
.button.secondary { border-color: var(--line); background: transparent; color: var(--ink) !important; box-shadow: none; }
.button.secondary:hover { background: white; }
.button.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }

.hero { position: relative; overflow: hidden; padding: 94px 0 84px; border-bottom: 1px solid var(--line); }
.hero::after {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: -260px;
  top: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,240,132,.72), rgba(216,240,132,0) 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: block; margin-bottom: 12px; color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 7vw, 80px); line-height: .98; letter-spacing: -.055em; font-weight: 600; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4.5vw, 50px); line-height: 1.06; letter-spacing: -.035em; font-weight: 600; }
h3 { line-height: 1.2; letter-spacing: -.02em; }
.hero-copy > p { max-width: 660px; margin-bottom: 30px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.microcopy { margin-top: 14px; color: var(--muted); font-size: 13px; }

.decision-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.decision-top { padding: 24px 26px 21px; background: var(--ink); color: white; }
.decision-top small { display: block; margin-bottom: 8px; color: #bac5bd; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; }
.decision-top h3 { display: flex; justify-content: space-between; align-items: end; margin: 0; font: 600 34px/1 Georgia, serif; }
.decision-top h3 span { color: var(--lime); font: 800 15px/1.1 Inter, sans-serif; letter-spacing: .04em; }
.decision-body { padding: 10px 26px 24px; }
.signal { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: start; padding: 15px 0; border-bottom: 1px solid var(--line); }
.signal:last-child { border-bottom: 0; }
.signal i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #e2f4e8; color: var(--green); font-style: normal; font-size: 12px; font-weight: 900; }
.signal.warn i { background: #fff0d7; color: var(--amber); }
.signal strong { display: block; font-size: 14px; }
.signal p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.signal b { font-size: 13px; }

.proof-strip { padding: 30px 0; border-bottom: 1px solid var(--line); background: var(--panel); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.proof-grid strong { display: block; font: 600 28px/1.1 Georgia, serif; }
.proof-grid span { color: var(--muted); font-size: 13px; }
.section { padding: 92px 0; }
.section.alt { border-block: 1px solid var(--line); background: #eeefe8; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { min-height: 245px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.feature-number { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 42px; border-radius: 12px; background: var(--ink); color: white; font-size: 13px; font-weight: 800; }
.feature p { color: var(--muted); }

.comparison { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.compare-row { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 0; }
.compare-row > * { padding: 15px 20px; border-left: 1px solid var(--line); }
.compare-row > :first-child { border-left: 0; }
.compare-row.header { background: var(--ink); color: white; font-size: 13px; font-weight: 800; }
.compare-row span { color: var(--muted); }
.compare-row strong:nth-child(3) { color: var(--green); }

.price-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.price-card { padding: 38px; border: 1px solid #b8cc61; border-radius: var(--radius); background: var(--ink); color: white; box-shadow: var(--shadow); }
.price-card .eyebrow { color: var(--lime); }
.price { margin: 12px 0 4px; font: 600 58px/1 Georgia, serif; }
.price-card > p { color: #c6d0c9; }
.price-card ul { padding: 0; list-style: none; }
.price-card li { margin: 12px 0; padding-left: 26px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 900; }
.price-card .button { width: 100%; margin-top: 18px; background: var(--lime); color: var(--ink) !important; }
.price-card .button:hover { background: #e7f6ad; }
.price-note { margin-top: 12px !important; text-align: center; font-size: 12px; }
.faq { max-width: 780px; }
details { padding: 20px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 800; }
details p { max-width: 700px; margin: 12px 0 0; color: var(--muted); }

.cta { padding: 78px 0; background: var(--green); color: white; text-align: center; }
.cta h2 { max-width: 760px; margin-inline: auto; }
.cta p { color: #d9e9df; }
.cta .button { background: white; color: var(--green-dark) !important; box-shadow: none; }
.site-footer { padding: 44px 0; background: var(--ink); color: #b9c5bd; font-size: 13px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-links { display: flex; gap: 20px; }

.app-page { min-height: 100vh; background: #eceee7; }
.app-header { position: static; background: var(--paper); }
.app-intro { padding: 54px 0 28px; }
.app-intro h1 { max-width: 900px; margin-bottom: 14px; font-size: clamp(38px, 6vw, 62px); }
.app-intro p { max-width: 720px; color: var(--muted); }
.privacy-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid #b9d4c3; border-radius: 999px; background: #e8f5ec; color: var(--green-dark); font-size: 12px; font-weight: 750; }
.app-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 22px; align-items: start; padding-bottom: 70px; }
.form-card, .result-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 14px 40px rgba(23,34,28,.06); }
.form-card { overflow: hidden; }
.form-section { padding: 28px; border-bottom: 1px solid var(--line); }
.form-section:last-child { border-bottom: 0; }
.form-section h2 { margin-bottom: 6px; font: 750 20px/1.2 Inter, sans-serif; letter-spacing: -.02em; }
.form-section > p { margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 750; }
input, select, textarea { width: 100%; padding: 12px 13px; border: 1px solid #cbd1ca; border-radius: 10px; outline: none; background: white; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,107,69,.11); }
textarea { min-height: 104px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 28px; background: #f2f3ed; }
.result-column { position: sticky; top: 90px; }
.empty-state { padding: 62px 34px; text-align: center; }
.empty-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 20px; background: #e8eee8; font-size: 25px; }
.empty-state p { color: var(--muted); }
.result-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.result-toolbar span { font-size: 13px; font-weight: 800; }
.verdict { padding: 26px 28px; border-radius: var(--radius) var(--radius) 0 0; color: white; }
.verdict.pursue { background: var(--green); }
.verdict.investigate { background: var(--blue); }
.verdict.pass { background: var(--red); }
.verdict .eyebrow { color: rgba(255,255,255,.72); }
.verdict-line { display: flex; justify-content: space-between; align-items: end; }
.verdict h2 { margin: 0; font-size: 42px; }
.verdict-line > strong { font: 600 38px/1 Georgia, serif; }
.verdict-line small { font: 700 13px/1 Inter, sans-serif; opacity: .7; }
.verdict p { margin: 9px 0 0; color: rgba(255,255,255,.75); font-size: 12px; }
.result-section { padding: 24px 28px; border-bottom: 1px solid var(--line); }
.result-section h3 { margin-bottom: 14px; font-size: 15px; }
.result-section ul { margin: 0; padding-left: 19px; color: var(--muted); font-size: 13px; }
.result-section li { margin: 8px 0; }
.result-section.alert { background: #fff0ed; color: var(--red); }
.result-section.alert ul { color: #7c2b25; }
.result-section.positive { background: #f0f8ef; }
.score-row { margin: 13px 0; }
.score-row > div:first-child { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 12px; }
.score-track { height: 6px; overflow: hidden; border-radius: 999px; background: #e5e8e2; }
.score-track span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.fine-print { margin: 0; padding: 20px 28px; color: var(--muted); font-size: 11px; }
.muted { color: var(--muted); }

.legal { padding: 70px 0 100px; }
.legal h1 { font-size: clamp(42px, 7vw, 68px); }
.legal h2 { margin: 40px 0 12px; font: 750 22px/1.2 Inter, sans-serif; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--muted); }
.legal .notice { padding: 18px 20px; border-left: 4px solid var(--amber); background: #fff7e8; color: var(--ink); }
.article-page { width: min(820px, calc(100% - 40px)); }
.article-page h1 { max-width: 820px; }
.article-page h2 { margin-top: 48px; }
.article-page p, .article-page li { font-size: 17px; }
.article-lede { font-size: 21px !important; color: var(--ink) !important; }
.article-cta { margin-top: 56px; padding: 34px; border-radius: var(--radius); background: var(--ink); color: white; }
.article-cta h2 { margin-top: 0; color: white; }
.article-cta p { color: #c6d0c9; }
.article-cta .button.secondary { border-color: rgba(255,255,255,.3); color: white !important; }
.economics-layout { grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); }
.field-help { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--line); }
.metric-grid > div { padding: 22px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-grid > div:nth-child(even) { border-right: 0; }
.metric-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.metric-grid span { display: block; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.metric-grid strong { display: block; margin-top: 5px; font: 600 25px/1.2 Georgia, serif; }
.metric-grid .good { color: var(--green); }
.metric-grid .bad { color: var(--red); }

@media (max-width: 900px) {
  .hero-grid, .price-wrap, .app-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 46px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature-number { margin-bottom: 24px; }
  .app-layout { padding-bottom: 40px; }
  .result-column { position: static; }
}

@media (max-width: 650px) {
  .shell, .narrow { width: min(100% - 28px, 1160px); }
  .nav-links > a:not(.button) { display: none; }
  .hero { padding: 66px 0 60px; }
  h1 { font-size: 47px; }
  .proof-grid { grid-template-columns: 1fr; gap: 22px; }
  .compare-row { grid-template-columns: 1.2fr repeat(3, .8fr); font-size: 12px; }
  .compare-row > * { padding: 12px 9px; }
  .fields { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-section { padding: 22px 18px; }
  .form-actions { padding: 18px; }
  .footer-grid { flex-direction: column; }
}
