:root {
  --bg: #f8f5ef;
  --bg-soft: #f2eee6;
  --text: #16221f;
  --muted: #67716e;
  --line: rgba(22, 34, 31, .12);
  --brand: #087664;
  --brand-dark: #005846;
  --brand-soft: #d9ebe6;
  --card: rgba(255,255,255,.68);
  --shadow: 0 24px 70px rgba(0, 60, 48, .12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  --bg: #071512;
  --bg-soft: #0e211d;
  --text: #f6f0e8;
  --muted: #a9b5b1;
  --line: rgba(246, 240, 232, .12);
  --brand: #39b99c;
  --brand-dark: #0a705d;
  --brand-soft: rgba(57,185,156,.14);
  --card: rgba(255,255,255,.06);
  --shadow: 0 24px 70px rgba(0,0,0,.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 8%, rgba(8,118,100,.13), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  padding: 0 4.2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 40px rgba(0,0,0,.08); }

.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 650; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand);
  color: white;
  font-size: .72rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(8,118,100,.22);
}
.desktop-nav { display: flex; gap: 2.4rem; color: var(--muted); font-size: .95rem; }
.desktop-nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.theme-toggle, .menu-toggle {
  border: 0; background: transparent; color: var(--text);
  font: inherit; cursor: pointer;
}
.menu-toggle { display: none; font-size: 1.25rem; }
.mobile-nav {
  display: none;
  position: fixed;
  z-index: 49;
  top: 76px; left: 0; right: 0;
  padding: 1rem 5vw 1.4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a { display: block; padding: .85rem 0; color: var(--muted); }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 108px 4.2vw;
}
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 6vw;
  align-items: center;
  position: relative;
}
.hero-bg {
  position: absolute; inset: 8% 0 auto 42%;
  width: 44rem; height: 36rem;
  background: radial-gradient(circle, rgba(8,118,100,.2), transparent 66%);
  filter: blur(6px);
  pointer-events: none;
}
.eyebrow {
  color: var(--brand);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 800;
  margin: 0 0 1rem;
}
.eyebrow.light { color: rgba(255,255,255,.74); }
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
  margin: 0;
}
h1 { font-size: clamp(3.1rem, 6.2vw, 7.6rem); max-width: 820px; }
h2 { font-size: clamp(2.4rem, 4.6vw, 5.1rem); max-width: 900px; }
h1 em, h2 em { color: var(--brand); font-style: italic; }
.lead, .section-lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  max-width: 760px;
}
.hero-buttons { display: flex; gap: 1rem; margin: 2rem 0 3.4rem; }
.btn {
  display: inline-flex; align-items: center; gap: .7rem; justify-content: center;
  min-height: 52px;
  padding: 0 1.55rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 760;
  box-shadow: 0 16px 30px rgba(8,118,100,.22);
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(8,118,100,.3); }
.btn-small { min-height: 42px; padding: 0 1.1rem; font-size: .9rem; }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}
.btn-inverted { background: #f8f5ef; color: var(--brand-dark); box-shadow: none; }
.metrics {
  display: flex; gap: 5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.55rem;
}
.metrics span, .label { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .11em; font-size: .74rem; font-weight: 800; }
.metrics strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.hero-card {
  position: relative;
  padding: clamp(2rem, 4vw, 3.4rem);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.hero-card h2 { font-size: clamp(1.7rem, 2.4vw, 2.55rem); letter-spacing: -.03em; line-height: 1.08; }
.icon-list { list-style: none; padding: 1rem 0 0; margin: 0; display: grid; gap: 1rem; }
.icon-list li { display: flex; align-items: center; gap: .9rem; font-weight: 650; }
.icon-list span, .round-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}

.problem-grid, .solution-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.soft-card, .solution-grid article {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.soft-card:hover, .solution-grid article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}
h3 { font-size: 1.14rem; margin: .7rem 0; }
p { color: var(--muted); }

.compare-table {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(1.4rem, 3vw, 3rem);
}
.compare-table p:not(.label) {
  padding: 1rem 0 1rem 2.2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.compare-table p:not(.label)::before {
  content: "→";
  position: absolute; left: 0;
  color: var(--brand);
}
.accent { color: var(--brand); }

.time-block {
  max-width: 1280px;
  margin: 2rem auto;
  padding: clamp(3rem, 6vw, 6.5rem) 5vw;
  border-radius: 0;
  background:
    radial-gradient(circle at 72% 45%, rgba(255,255,255,.14), transparent 18rem),
    linear-gradient(135deg, var(--brand-dark), #087664 70%, #0b8f78);
  color: white;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: 5vw;
}
.time-block p, .time-block h2 { color: white; }
.time-block h2 { font-size: clamp(2.4rem, 4.2vw, 4.8rem); }
.time-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}
.time-visual span, .time-visual small {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  color: rgba(255,255,255,.72);
}
.time-visual strong {
  font-family: var(--serif);
  font-size: clamp(5rem, 9vw, 10rem);
  font-weight: 400;
  line-height: .85;
}
.time-visual .old { opacity: .28; text-decoration: line-through; }
.time-visual small { grid-column: 3; }

.round-icon.dark { background: var(--brand); color: white; }
.number { color: var(--muted); margin-right: .35rem; }

.split-heading {
  display: grid;
  grid-template-columns: 1fr .55fr;
  gap: 7vw;
  align-items: start;
}
.module-list {
  margin-top: 4rem;
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
}
.module-list div {
  display: grid;
  grid-template-columns: 70px 1fr 1.2fr 20px;
  gap: 2rem;
  align-items: center;
  padding: 1.25rem 1.6rem;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.module-list div:hover { background: var(--brand-soft); }
.module-list div:last-child { border-bottom: 0; }
.module-list span { color: var(--muted); }
.module-list i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  justify-self: end;
}
.benefit-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem 4rem;
}
.benefit-grid p { display: flex; gap: 1rem; align-items: flex-start; color: var(--text); font-weight: 560; }
.benefit-grid span {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-grid; place-items: center;
  flex: none;
}

.pilot-card {
  max-width: 1180px;
  margin: 2rem auto 4rem;
  padding: clamp(2.2rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 88% 20%, rgba(255,255,255,.12), transparent 18rem),
    linear-gradient(135deg, var(--brand-dark), #067662);
  color: white;
  border-radius: 34px;
  display: grid;
  grid-template-columns: 1fr .45fr;
  gap: 2rem;
  align-items: center;
}
.pilot-card h2 { color: white; }
.pilot-card p { color: rgba(255,255,255,.82); }
.pilot-note { font-size: .82rem; text-align: center; margin-top: 1rem; }

.contact-section { max-width: 760px; }
.contact-form {
  margin-top: 3rem;
  display: grid;
  gap: 1.3rem;
}
.contact-form label {
  color: var(--muted);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}
input, textarea {
  width: 100%;
  margin-top: .45rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: .9rem 0;
  color: var(--text);
  font: inherit;
  outline: none;
}
textarea { resize: vertical; min-height: 150px; }
input:focus, textarea:focus { border-bottom-color: var(--brand); }
.contact-form small { color: var(--muted); }
.direct-mail { margin-top: 2.5rem; }
.direct-mail a { color: var(--brand); font-weight: 750; }

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 4.2vw 2.2rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr;
  gap: 5vw;
}
.footer a { display: block; margin: .7rem 0; color: var(--muted); }
.footer a:hover { color: var(--brand); }
.copyright, .made { font-size: .8rem; }
.made { text-align: right; text-transform: uppercase; letter-spacing: .18em; }

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 7rem 4.2vw;
}
.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4.2vw 0;
  max-width: 980px;
  margin: 0 auto;
}
.legal h1 { font-size: clamp(3rem, 5vw, 5rem); margin: 4rem 0 1rem; }
.legal h2 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-top: 2.5rem;
  line-height: 1.4;
}
.legal p { color: var(--text); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .mobile-nav.open { display: block; }
  .hero, .time-block, .pilot-card, .split-heading, .compare-table {
    grid-template-columns: 1fr;
  }
  .problem-grid, .solution-grid, .benefit-grid { grid-template-columns: 1fr; }
  .metrics { gap: 2rem; flex-wrap: wrap; }
  .module-list div {
    grid-template-columns: 38px 1fr;
    gap: .6rem 1rem;
  }
  .module-list p { grid-column: 2; margin: 0; }
  .module-list i { display: none; }
  .footer { grid-template-columns: 1fr; }
  .made { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, html { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
