:root {
  --night: #101713;
  --night-2: #18231d;
  --forest: #214c39;
  --lime: #b8f23c;
  --paper: #f3f4ed;
  --paper-2: #e8ebe1;
  --ink: #142019;
  --muted: #5f6b64;
  --line: #cfd5ca;
  --max: 1160px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.58 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.case-header { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: 24px 0; color: #eaf0e8; }
.case-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.case-brand { font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.case-back { color: #bcc7bf; font-size: 13px; text-decoration: none; }
.case-back:hover { color: var(--lime); }
.hero {
  position: relative; overflow: hidden; min-height: 700px; padding: 150px 0 76px;
  color: #f5f7f2; background: radial-gradient(circle at 83% 20%, rgba(184,242,60,.16), transparent 24%), linear-gradient(140deg, var(--night), #183326 72%, #214c39);
}
.hero::after {
  position: absolute; right: -130px; bottom: -260px; width: 560px; height: 560px;
  border: 1px solid rgba(184,242,60,.22); border-radius: 50%; content: "";
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: 56px; align-items: end; }
.eyebrow { margin: 0 0 14px; color: var(--forest); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow--light { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 830px; margin-bottom: 24px; font-size: clamp(48px, 6.5vw, 82px); line-height: .96; letter-spacing: -.055em; }
h2 { max-width: 870px; margin-bottom: 18px; font-size: clamp(34px, 4.5vw, 58px); line-height: 1.02; letter-spacing: -.045em; }
h3 { margin-bottom: 10px; font-size: 20px; line-height: 1.25; }
.hero-lead { max-width: 730px; color: #cbd5ce; font-size: 20px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag { padding: 7px 11px; border: 1px solid rgba(235,245,235,.24); border-radius: 99px; color: #dce6de; font-size: 12px; }
.metric-stack { display: grid; gap: 11px; }
.metric-card { padding: 21px; border: 1px solid rgba(236,245,235,.18); border-radius: 16px; background: rgba(255,255,255,.065); backdrop-filter: blur(8px); }
.metric-value { display: block; color: var(--lime); font-size: 35px; font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.metric-label { display: block; margin-top: 7px; color: #d6e0d9; font-size: 13px; }
.metric-note { display: block; margin-top: 4px; color: #93a49a; font-size: 11px; }
section { padding: 96px 0; }
.section--light { background: var(--paper); }
.section--soft { background: var(--paper-2); }
.section--dark { color: #eff3ed; background: var(--night); }
.section--dark h2 { color: #fff; }
.section--dark .eyebrow { color: var(--lime); }
.lead { max-width: 810px; color: var(--muted); font-size: 19px; }
.section--dark .lead { color: #aebbb2; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 38px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fafbf7; }
.card p:last-child { margin-bottom: 0; }
.card__number { display: block; margin-bottom: 30px; color: var(--forest); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.card p { color: var(--muted); font-size: 14px; }
.result-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 42px; border: 1px solid #33463b; background: #33463b; }
.result-item { min-height: 145px; padding: 24px; background: var(--night-2); }
.result-item strong { display: block; color: var(--lime); font-size: 34px; letter-spacing: -.045em; line-height: 1; }
.result-item span { display: block; margin-top: 9px; color: #bbc7bf; font-size: 13px; }
.steps { display: grid; gap: 1px; margin-top: 42px; border: 1px solid var(--line); background: var(--line); }
.step { display: grid; grid-template-columns: 76px minmax(220px, .75fr) minmax(300px, 1.25fr); gap: 24px; padding: 24px 28px; background: #fafbf7; }
.step__number { color: var(--forest); font-weight: 850; }
.step h3, .step p { margin: 0; }
.step p { color: var(--muted); }
.data-table-wrap { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.data-table { width: 100%; min-width: 680px; border-collapse: collapse; background: #fafbf7; }
.data-table th, .data-table td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { color: #f3f7f1; background: var(--forest); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.data-table td { color: #4c5951; }
.data-table td:first-child { color: var(--ink); font-weight: 750; }
.data-table tr:last-child td { border-bottom: 0; }
.note { max-width: 900px; margin-top: 26px; padding-left: 18px; border-left: 3px solid var(--forest); color: var(--muted); }
.section--dark .note { border-color: var(--lime); color: #aebbb2; }
.breakdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.breakdown__item { padding: 28px; border: 1px solid #33463b; border-radius: var(--radius); background: var(--night-2); }
.breakdown__item strong { display: block; color: var(--lime); font-size: 48px; line-height: 1; }
.breakdown__item span { display: block; margin-top: 10px; color: #bec9c1; }
.conclusion { padding: 110px 0; color: #f4f7f2; background: linear-gradient(135deg, #173125, #24553f); }
.conclusion .eyebrow { color: var(--lime); }
.conclusion h2 { color: #fff; }
.conclusion p { max-width: 820px; color: #cad6cd; font-size: 19px; }
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.case-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 12px; background: var(--lime); color: #142019; font-weight: 800; text-decoration: none; }
.case-button--ghost { border: 1px solid rgba(237,245,238,.3); background: transparent; color: #edf4ee; }
.case-footer { padding: 28px 0; color: #849188; background: #0b110e; font-size: 12px; }
.case-footer__inner { display: flex; justify-content: space-between; gap: 24px; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .metric-stack { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .result-strip { grid-template-columns: repeat(2, 1fr); }
  .step { grid-template-columns: 58px 1fr; }
  .step p { grid-column: 2; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 30px)); }
  .case-header { padding-top: 18px; }
  .case-brand { font-size: 11px; }
  .hero { padding: 112px 0 56px; }
  h1 { font-size: 44px; }
  .hero-lead { font-size: 17px; }
  .metric-stack, .grid-2, .result-strip, .breakdown { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step p { grid-column: auto; }
  .case-footer__inner { flex-direction: column; }
}
