:root {
  --paper: #fbf9f5;
  --paper-deep: #f1ece2;
  --surface: #fff;
  --ink: #171a1f;
  --muted: #5b6068;
  --line: #ddd5c7;
  --orange: #e8622c;
  --orange-dark: #bd481b;
  --green: #2e6e5b;
  --green-dark: #1f5142;
  --red: #a83c2f;
  --font-display: "Sora", "Avenir Next", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow: 0 22px 70px rgba(45, 35, 24, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; }
button { color: inherit; }
::selection { color: #fff; background: var(--orange); }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: #fff; padding: 10px 16px; }
.skip-link:focus { top: 16px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.wrap--narrow { width: min(820px, calc(100% - 48px)); }
.section { padding: clamp(78px, 9vw, 126px) 0; }
.section--tight { padding: clamp(54px, 6vw, 78px) 0; }
.section--deep { background: var(--paper-deep); }
.section--ink { color: #fff; background: var(--ink); }
.section-head { display: grid; grid-template-columns: minmax(0, .72fr) minmax(300px, .28fr); gap: 54px; align-items: end; margin-bottom: 48px; }
.section-head--single { display: block; max-width: 760px; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 6.5vw, 5.8rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.75rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 650; }
p { margin: 0; }
.kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--orange-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.section--ink .kicker { color: #ff9b70; }
.lede { max-width: 700px; color: var(--muted); font-size: clamp(1.08rem, 1.65vw, 1.3rem); line-height: 1.65; }
.section-head > .lede { justify-self: end; font-size: 1.02rem; }
.section--ink .lede, .section--ink .muted { color: #b7bbc1; }
.accent { color: var(--orange); }
.green { color: var(--green); }
.muted { color: var(--muted); }

.notice { background: var(--green-dark); color: #fff; font-size: .79rem; letter-spacing: .035em; }
.notice .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 34px; }
.notice a { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(221, 213, 199, .9); background: rgba(251, 249, 245, .94); backdrop-filter: blur(16px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 32px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; letter-spacing: .08em; }
.brand__mark { font-size: 1.05rem; }
.brand__unit { color: var(--green); font-size: .66rem; letter-spacing: .12em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { position: relative; color: #42464d; font-size: .91rem; font-weight: 650; text-decoration: none; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--orange); transition: right .2s ease; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 40px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-open .menu-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }

.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 1px solid var(--orange); border-radius: 2px; color: #fff; background: var(--orange); box-shadow: 0 10px 26px rgba(189, 72, 27, .2); font-family: var(--font-display); font-size: .9rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); background: var(--orange-dark); box-shadow: 0 14px 34px rgba(189, 72, 27, .26); }
.btn--small { min-height: 42px; padding: 10px 17px; font-size: .8rem; }
.btn--ghost { color: var(--ink); background: transparent; border-color: var(--ink); box-shadow: none; }
.btn--ghost:hover { color: #fff; background: var(--ink); box-shadow: none; }
.btn--green { background: var(--green); border-color: var(--green); box-shadow: 0 10px 26px rgba(46, 110, 91, .2); }
.btn--green:hover { background: var(--green-dark); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-dark); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.trustline { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 22px; color: var(--muted); font-size: .8rem; }
.trustline span::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }

.hero { position: relative; padding: clamp(70px, 9vw, 124px) 0 clamp(64px, 8vw, 108px); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 50vw; height: 50vw; right: -17vw; top: -24vw; border: 1px solid rgba(46, 110, 91, .18); transform: rotate(17deg); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr); align-items: center; gap: clamp(48px, 7vw, 92px); }
.hero__copy .lede { margin-top: 26px; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero__aside { position: relative; }
.hero__aside::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--orange); opacity: .12; }
.signal-panel { position: relative; border: 1px solid var(--ink); border-radius: 2px; background: #fff; box-shadow: var(--shadow); }
.signal-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--green); }
.status::before { content: ""; width: 7px; height: 7px; background: var(--green); box-shadow: 0 0 0 5px rgba(46,110,91,.12); }
.signal-panel__body { padding: 24px; }
.process-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.process-step { position: relative; padding: 20px 12px; border-top: 1px solid var(--line); }
.process-step:not(:last-child)::after { content: "→"; position: absolute; right: -6px; top: 17px; color: var(--orange); font-weight: 800; }
.process-step small { display: block; color: var(--muted); font-size: .69rem; text-transform: uppercase; letter-spacing: .08em; }
.process-step strong { display: block; margin-top: 6px; font-family: var(--font-display); font-size: .86rem; }
.panel-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 1px; background: var(--line); border: 1px solid var(--line); }
.panel-metric { padding: 24px 20px; background: var(--paper); }
.panel-metric strong { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1; color: var(--green); }
.panel-metric span { display: block; margin-top: 8px; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.signal-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.signal-row:last-child { border-bottom: 0; }
.signal-icon { display: grid; flex: 0 0 34px; height: 34px; place-items: center; background: var(--paper-deep); color: var(--orange); font-weight: 900; }
.signal-row strong { display: block; font-size: .85rem; }
.signal-row span { display: block; color: var(--muted); font-size: .74rem; }

.proof-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 31px 24px; border-left: 1px solid var(--line); }
.proof-item:last-child { border-right: 1px solid var(--line); }
.proof-item strong { display: block; font-family: var(--font-display); font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1; color: var(--green); }
.proof-item span { display: block; margin-top: 8px; color: var(--muted); font-size: .8rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: 2px; background: #fff; }
.card--dark { color: #fff; border-color: #3b3e43; background: #22262b; }
.card__num { display: block; margin-bottom: 30px; color: var(--orange); font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.card p { margin-top: 14px; color: var(--muted); font-size: .94rem; }
.card--dark p { color: #b7bbc1; }
.card ul { margin: 22px 0 0; padding: 0; list-style: none; }
.card li { position: relative; padding: 9px 0 9px 23px; border-top: 1px solid var(--line); font-size: .88rem; }
.card li::before { content: "↳"; position: absolute; left: 0; color: var(--orange); }
.card .text-link { margin-top: 24px; }
.outcome-card { min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.outcome-card::after { content: attr(data-mark); position: absolute; right: -12px; bottom: -50px; color: var(--paper-deep); font-family: var(--font-display); font-size: 9rem; font-weight: 800; line-height: 1; }
.outcome-card > * { position: relative; z-index: 1; }

.quote { display: grid; grid-template-columns: 80px 1fr; gap: 28px; align-items: start; padding: 44px; border-left: 4px solid var(--orange); background: #fff; }
.quote__mark { color: var(--orange); font-family: Georgia, serif; font-size: 5rem; line-height: .65; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 2.2rem); line-height: 1.35; letter-spacing: -.025em; }
.quote cite { display: block; margin-top: 20px; color: var(--muted); font-size: .83rem; font-style: normal; }

.steps { counter-reset: steps; border-top: 1px solid var(--line); }
.step { counter-increment: steps; display: grid; grid-template-columns: 90px .55fr .45fr; gap: 30px; padding: 33px 0; border-bottom: 1px solid var(--line); align-items: start; }
.step::before { content: "0" counter(steps); color: var(--orange); font-family: var(--font-display); font-size: .83rem; font-weight: 800; letter-spacing: .08em; }
.step p { color: var(--muted); font-size: .92rem; }

.case-study { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--green-dark); color: #fff; }
.case-study__copy { padding: clamp(42px, 6vw, 74px); }
.case-study__copy p { margin-top: 20px; color: #d3e3dc; }
.case-study__metrics { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 1px solid rgba(255,255,255,.18); }
.case-metric { display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; padding: 34px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.case-metric strong { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.case-metric span { margin-top: 12px; color: #d3e3dc; font-size: .82rem; }

.comparison { overflow-x: auto; border-top: 1px solid var(--line); }
.comparison-row { display: grid; min-width: 760px; grid-template-columns: 1.15fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.comparison-row > div { padding: 22px 24px; border-right: 1px solid var(--line); }
.comparison-row > div:first-child { font-weight: 700; }
.comparison-row--head { background: var(--ink); color: #fff; font-family: var(--font-display); font-size: .84rem; }
.comparison-row .yes { color: var(--green); font-weight: 750; }
.comparison-row .no { color: var(--muted); }

.use-cases { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.use-case { min-height: 210px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.use-case small { color: var(--orange-dark); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.use-case h3 { margin-top: 36px; }
.use-case p { margin-top: 10px; color: var(--muted); font-size: .88rem; }

.calculator-wrap { display: grid; grid-template-columns: 1.04fr .96fr; gap: 24px; align-items: start; margin-top: 42px; }
.calc-card { padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 2px; background: #fff; box-shadow: var(--shadow); }
.calc-card h3 { margin-bottom: 7px; }
.calc-sub { margin-bottom: 28px; color: var(--muted); font-size: .84rem; }
.calc-field { margin-top: 22px; }
.calc-field__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 9px; font-size: .83rem; font-weight: 650; }
.calc-value { color: var(--orange-dark); font-family: var(--font-display); font-weight: 750; font-variant-numeric: tabular-nums; }
.calc-select { width: 100%; padding: 13px 38px 13px 13px; border: 1px solid #bdb5a9; border-radius: 0; color: var(--ink); background: #fff; appearance: none; }
.calc-select-wrap { position: relative; }
.calc-select-wrap::after { content: "⌄"; position: absolute; right: 14px; top: 9px; pointer-events: none; color: var(--muted); }
.range-wrap { position: relative; display: flex; align-items: center; height: 24px; }
.range-marker { position: absolute; top: 50%; width: 8px; height: 8px; background: var(--green); transform: translate(-50%, -50%); pointer-events: none; z-index: 3; }
input[type="range"] { appearance: none; width: 100%; height: 4px; margin: 0; border-radius: 0; outline: none; background: linear-gradient(to right, var(--orange) 0, var(--orange) var(--fill, 0%), var(--line) var(--fill, 0%), var(--line) 100%); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 0; background: #fff; cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 0; background: #fff; cursor: pointer; }
.calc-scale { display: flex; justify-content: space-between; margin-top: 4px; color: #8a8e94; font-size: .67rem; }
.calc-legend { margin-top: 20px; color: var(--muted); font-size: .7rem; }
.calc-legend::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--green); }
.calc-card .btn { width: 100%; margin-top: 26px; }
.calc-result { position: sticky; top: 102px; min-height: 520px; }
.calc-empty { min-height: 430px; display: grid; place-items: center; text-align: center; color: var(--muted); }
.calc-empty__icon { display: grid; width: 62px; height: 62px; place-items: center; margin: 0 auto 18px; border: 1px solid var(--line); color: var(--orange); font-size: 1.5rem; }
.calc-result-body { display: none; }
.calc-result.is-active .calc-empty { display: none; }
.calc-result.is-active .calc-result-body { display: block; animation: result-in .3s ease both; }
@keyframes result-in { from { opacity: 0; transform: translateY(7px); } }
.loss-label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.loss-amount { margin-top: 8px; color: var(--red); font-family: var(--font-display); font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 750; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.loss-period { color: var(--muted); font-size: .78rem; }
.calc-rows { margin-top: 26px; border-top: 1px solid var(--line); }
.calc-row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .79rem; }
.calc-row span:last-child { font-weight: 750; font-variant-numeric: tabular-nums; }
.loss-year { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 17px; background: #f8ebe7; color: var(--red); font-weight: 750; }
.calc-cta { margin-top: 24px; padding: 22px; color: #fff; background: var(--green-dark); }
.calc-cta p { margin-top: 8px; color: #d3e3dc; font-size: .8rem; }
.calc-cta .btn { margin-top: 17px; background: #fff; border-color: #fff; color: var(--green-dark); box-shadow: none; }
.calc-cta .btn:hover { color: #fff; background: var(--orange); border-color: var(--orange); }
.calc-note { margin-top: 16px; color: #8a8e94; font-size: .68rem; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; cursor: pointer; font-family: var(--font-display); font-size: .96rem; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 760px; padding: 0 0 24px; color: var(--muted); font-size: .9rem; }

.cta-band { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 90px); color: #fff; background: var(--ink); }
.cta-band::after { content: ""; position: absolute; width: 340px; height: 340px; right: -130px; bottom: -180px; border: 60px solid var(--orange); transform: rotate(24deg); opacity: .8; }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; }
.cta-band h2 { max-width: 760px; }
.cta-band p { max-width: 600px; margin-top: 20px; color: #b7bbc1; }
.cta-band .btn { background: #fff; border-color: #fff; color: var(--ink); box-shadow: none; }
.cta-band .btn:hover { color: #fff; background: var(--orange); border-color: var(--orange); }

.site-footer { padding: 58px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, .7fr); gap: 50px; }
.site-footer h3 { font-size: .8rem; letter-spacing: .04em; }
.site-footer p { max-width: 420px; margin-top: 14px; color: var(--muted); font-size: .82rem; }
.footer-links { display: grid; gap: 8px; margin-top: 14px; }
.footer-links a { color: var(--muted); font-size: .82rem; text-decoration: none; }
.footer-links a:hover { color: var(--orange-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: #858990; font-size: .72rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .btn { transition: none; } }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 780px; }
  .hero__aside { max-width: 680px; }
  .section-head { grid-template-columns: 1fr; gap: 22px; }
  .section-head > .lede { justify-self: start; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3) { border-top: 1px solid var(--line); }
  .proof-item:nth-child(4) { border-top: 1px solid var(--line); }
  .case-study { grid-template-columns: 1fr; }
  .case-study__metrics { border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }
  .calculator-wrap { grid-template-columns: 1fr; }
  .calc-result { position: static; min-height: 0; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  .wrap, .wrap--narrow { width: min(100% - 32px, 1180px); }
  .notice .wrap { min-height: 40px; }
  .notice span { max-width: 250px; line-height: 1.25; }
  .site-header__inner { min-height: 66px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 107px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 16px 30px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .menu-open .nav { display: flex; }
  .nav__link { padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .site-header .brand__unit { display: none; }
  .hero { padding-top: 58px; }
  .hero__grid { gap: 54px; }
  .hero__aside::before { inset: 12px -10px -12px 10px; }
  .process-line { grid-template-columns: 1fr; }
  .process-step:not(:last-child)::after { content: "↓"; right: 14px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; gap: 18px; }
  .step p { grid-column: 2; }
  .case-study__metrics { grid-template-columns: 1fr; }
  .case-metric { min-height: 140px; }
  .use-cases { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; padding: 34px 26px; }
  .quote__mark { height: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(2.45rem, 13vw, 3.8rem); }
  .notice a { display: none; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .btn, .hero__actions .text-link { justify-content: center; }
  .panel-metrics, .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
  .proof-item:first-child { border-top: 0; }
  .calc-card { padding: 22px 18px; }
  .calc-field__head { align-items: flex-start; flex-direction: column; gap: 3px; }
}
