:root {
  --ink: #17201d;
  --muted: #65716b;
  --paper: #f7f4ef;
  --surface: #ffffff;
  --line: #d7d2c8;
  --sage: #6f877a;
  --sage-dark: #3e5c51;
  --clay: #b66f4d;
  --charcoal: #111615;
  --shadow: 0 18px 45px rgba(19, 27, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: #fff;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(23, 32, 29, 0.08);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.header-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 15px;
}

.nav {
  gap: 28px;
  justify-self: center;
  font-size: 14px;
}

.nav a,
.header-action {
  opacity: 0.88;
}

.nav a:hover,
.header-action:hover {
  opacity: 1;
}

.header-action {
  justify-self: end;
  padding: 0 16px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 18, 16, 0.82) 0%, rgba(13, 18, 16, 0.62) 38%, rgba(13, 18, 16, 0.08) 100%),
    linear-gradient(0deg, rgba(13, 18, 16, 0.32), rgba(13, 18, 16, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-top: 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e6c2aa;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(68px, 12vw, 148px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.12;
}

.hero-lede {
  max-width: 600px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.22;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 750;
}

.button.primary {
  background: var(--sage-dark);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.56);
  color: #fff;
}

.button:hover {
  transform: translateY(-1px);
}

.section,
.band {
  padding: clamp(68px, 9vw, 132px) 0;
}

.band {
  background: var(--surface);
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-grid,
.diagnostic-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
}

.intro-grid p,
.diagnostic-grid p {
  color: var(--muted);
  font-size: 20px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.levers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.lever {
  min-height: 280px;
  padding: clamp(24px, 4vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.lever-number {
  display: block;
  margin-bottom: 54px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 850;
}

.lever p,
.timeline p,
.finding-list span,
.form-note {
  color: var(--muted);
}

.diagnostic {
  background: #eef0e8;
}

.diagnostic-card {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(23, 32, 29, 0.12);
}

.card-label {
  margin-bottom: 18px;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.finding-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.finding-list li {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(23, 32, 29, 0.14);
}

.finding-list li:first-child {
  padding-top: 0;
}

.finding-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.finding-list strong {
  font-size: 18px;
  line-height: 1.24;
}

.finding-list span {
  display: block;
  font-size: 15px;
}

.simulator {
  background: var(--paper);
}

.simulator-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: start;
}

.simulator-copy p {
  max-width: 600px;
  color: var(--muted);
  font-size: 20px;
}

.simulator-panel {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.simulator-controls {
  display: grid;
  gap: 16px;
}

.simulator-panel label {
  color: var(--ink);
}

.simulator-panel input {
  border-color: var(--line);
  background: #fbfaf7;
}

.input-affix {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--line);
  background: #fbfaf7;
}

.input-affix input {
  border: 0;
  background: transparent;
}

.input-affix span {
  padding-right: 14px;
  color: var(--muted);
  font-weight: 800;
}

.range-value {
  color: var(--muted);
  font-size: 14px;
}

.range-value strong {
  color: var(--ink);
}

.simulator-results {
  display: grid;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.result-main {
  display: grid;
  gap: 4px;
}

.result-main span,
.result-grid span {
  color: var(--muted);
  font-size: 14px;
}

.result-main strong {
  color: var(--sage-dark);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.95;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.result-grid div {
  padding: 16px;
  background: #f3f1eb;
}

.result-grid strong {
  display: block;
  margin-top: 5px;
  font-size: 24px;
}

.simulator-insight {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline li {
  min-height: 250px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline span {
  display: block;
  margin-bottom: 40px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 850;
}

.assistant-preview {
  background: #eef0e8;
}

.assistant-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
}

.assistant-preview p {
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
}

.contact {
  background: var(--charcoal);
  color: #fff;
}

.contact h2 {
  color: #fff;
}

.contact-grid {
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
}

input[type="range"] {
  min-height: 28px;
  padding: 0;
  accent-color: var(--sage-dark);
}

select {
  appearance: none;
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 54px);
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .intro-grid,
  .diagnostic-grid,
  .contact-grid,
  .simulator-grid,
  .assistant-preview-grid,
  .levers,
  .timeline {
    grid-template-columns: 1fr;
  }

  .lever,
  .timeline li {
    min-height: auto;
  }

  .lever-number,
  .timeline span {
    margin-bottom: 22px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand,
  .header-action {
    min-height: 38px;
  }

  .header-action {
    padding: 0 12px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(13, 18, 16, 0.86), rgba(13, 18, 16, 0.58));
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-left: 14px;
  }

  h1 {
    font-size: clamp(58px, 21vw, 92px);
  }

  h2 {
    font-size: 34px;
  }

  .button {
    width: 100%;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
  }
}
