:root {
  color-scheme: light;
  --ink: #101815;
  --ink-soft: #23332f;
  --paper: #f4f7f3;
  --panel: #ffffff;
  --muted: #5d6f69;
  --line: #d7e0db;
  --teal: #08766e;
  --mint: #8af4e2;
  --green: #1f7a4d;
  --blue: #285c9f;
  --amber: #a65f13;
  --red: #983a2e;
  --shadow: 0 22px 60px rgba(16, 24, 21, 0.13);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

a { color: inherit; }

.topbar {
  align-items: center;
  background: rgba(244, 247, 243, 0.95);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 230px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  color: #fff;
  display: grid;
  font-size: 14px;
  font-weight: 950;
  height: 38px;
  justify-items: center;
  width: 38px;
}

.brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 3px;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  background: #fff;
  border-color: var(--line);
}

.nav .nav-cta {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.hero {
  background:
    linear-gradient(90deg, rgba(16,24,21,0.83), rgba(16,24,21,0.58), rgba(16,24,21,0.2)),
    linear-gradient(135deg, rgba(8, 118, 110, 0.95), rgba(40, 92, 159, 0.74) 46%, rgba(31, 122, 77, 0.64)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.14) 0 1px, transparent 1px 92px);
  color: #fff;
  min-height: calc(100vh - 68px);
  padding: 78px 28px 34px;
}

.hero-inner,
.section-inner,
.section-grid,
.footer-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.82fr);
}

.hero-grid > *,
.section-grid > *,
.intake-grid > * {
  min-width: 0;
}

.eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow,
.band .eyebrow,
.final-cta .eyebrow {
  color: var(--mint);
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.9;
  margin: 0;
}

h1 span {
  display: block;
}

.hero-subhead {
  font-size: clamp(25px, 3.8vw, 42px);
  font-weight: 900;
  line-height: 1.04;
  margin: 26px 0 0;
  max-width: 840px;
}

.hero-copy {
  color: rgba(255,255,255,0.84);
  font-size: 18px;
  line-height: 1.58;
  margin: 22px 0 0;
  max-width: 780px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 17px;
  text-decoration: none;
}

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

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

.section .button.secondary,
.final-cta .button.secondary {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.proof-visual {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 80px rgba(0,0,0,0.24);
  padding: 12px;
}

.proof-visual img {
  display: block;
  height: auto;
  width: 100%;
}

.proof-visual figcaption {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 10px;
}

.signal-band {
  background: var(--ink);
  color: #fff;
  padding: 16px 28px;
}

.signal-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1180px;
}

.signal-inner span {
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.section {
  padding: 74px 28px;
  scroll-margin-top: 68px;
}

.section-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
}

.section h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.98;
  margin: 0;
  max-width: 820px;
}

.section-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 18px 0 0;
  max-width: 820px;
}

.model-list {
  display: grid;
  gap: 10px;
}

.model-list article,
.panel,
.card,
.intake-card,
.packet-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.model-list article {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: 48px 1fr;
  padding: 18px;
}

.model-list article span {
  align-items: center;
  background: #ecf4f1;
  color: var(--teal);
  display: grid;
  font-size: 13px;
  font-weight: 950;
  height: 48px;
  justify-items: center;
  width: 48px;
}

.model-list h3,
.panel h3,
.card h3,
.packet-card h3 {
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}

.model-list p,
.panel p,
.card p,
.card li,
.packet-card p,
.packet-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 8px 0 0;
}

.band {
  background: #14201c;
  color: #fff;
}

.band .section-lead,
.band .panel p,
.band .card p,
.band .card li {
  color: rgba(255,255,255,0.74);
}

.offer-grid,
.proof-grid,
.boundary-grid,
.packet-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel {
  min-height: 220px;
  padding: 20px;
}

.band .panel,
.band .card {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.19);
}

.panel.featured {
  border-color: rgba(138,244,226,0.58);
}

.panel-kicker {
  color: var(--teal);
  display: block;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.band .panel-kicker {
  color: var(--mint);
}

.panel strong {
  display: block;
  font-size: 28px;
  line-height: 1.05;
  margin-top: 24px;
}

.proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 18px;
}

.card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.boundary-grid,
.packet-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.boundary-grid .card {
  border-left: 4px solid var(--green);
}

.boundary-grid .card:nth-child(2) { border-left-color: var(--blue); }
.boundary-grid .card:nth-child(3) { border-left-color: var(--amber); }
.boundary-grid .card:nth-child(4) { border-left-color: var(--red); }

.final-cta {
  background: var(--ink);
  color: #fff;
}

.final-cta p {
  color: rgba(255,255,255,0.76);
}

.intake-shell {
  background: linear-gradient(180deg, #eef4ef, #f7f8f5);
  padding: 56px 28px 74px;
}

.intake-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  margin: 0 auto;
  max-width: 1180px;
}

.intake-card {
  padding: 24px;
}

.intake-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

label {
  color: var(--ink-soft);
  display: grid;
  font-size: 13px;
  font-weight: 850;
  gap: 7px;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

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

.summary-box {
  background: #101815;
  border-radius: 8px;
  color: #fff;
  margin-top: 18px;
  padding: 18px;
  white-space: pre-wrap;
}

.footer {
  background: #0d1211;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  padding: 24px 28px;
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.footer strong,
.footer a {
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 1020px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
    position: static;
  }

  .brand { min-width: 0; }
  .nav { justify-content: flex-start; }
  .hero { min-height: auto; padding: 54px 18px 28px; }
  .hero-grid,
  .section-grid,
  .offer-grid,
  .proof-grid,
  .boundary-grid,
  .packet-grid,
  .intake-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 54px 18px; }
}

@media (max-width: 560px) {
  .nav {
    display: block;
    width: 100%;
  }
  .nav a:not(.nav-cta) {
    display: none;
  }
  .nav a {
    display: flex;
    font-size: 12px;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
  .nav .nav-cta,
  .hero-grid,
  .hero-grid > div,
  .hero h1,
  .hero-subhead,
  .hero-copy,
  .hero-actions,
  .proof-visual {
    max-width: 100%;
    width: calc(100vw - 36px);
  }
  h1 {
    font-size: 44px;
    line-height: 0.96;
  }
  .hero-subhead {
    font-size: 22px;
    overflow-wrap: break-word;
  }
  .hero-copy {
    font-size: 16px;
    overflow-wrap: break-word;
  }
  .button { width: 100%; }
  .proof-visual {
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }
  .signal-inner { justify-content: flex-start; }
}
