:root {
  --blue: #145aa8;
  --blue-2: #2168ad;
  --blue-3: #143f71;
  --navy: #184575;
  --green: #37bc82;
  --green-2: #1a9f72;
  --ink: #0b2a4d;
  --muted: #5d7089;
  --line: #d7e1eb;
  --paper: #ffffff;
  --wash: #eaf0f6;
  --panel-pad: clamp(1.25rem, 4vw, 3.25rem);
  --max: 1280px;
  --shadow: 0 18px 55px rgba(17, 54, 91, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0%;
  height: 4px;
  z-index: 80;
  background: linear-gradient(90deg, var(--green), #69d4ef);
  transform-origin: left center;
  transition: width 0.12s linear;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--panel-pad);
  border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 8%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  left: 50%;
  transform: translateX(-50%);
}

.site-header.dark-mode {
  color: var(--blue);
  border-color: color-mix(in srgb, var(--line), transparent 8%);
  background: rgba(255, 255, 255, 0.9);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.58rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(1.8rem, 4vw, 2.45rem);
  max-width: min(58vw, 28rem);
  object-fit: contain;
}

.brand-divider {
  color: #9ba2aa;
  font-size: clamp(1rem, 4vw, 1.45rem);
  font-weight: 800;
  line-height: 1;
}

.brand-partner {
  color: #9a9da1;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1rem, 4vw, 1.45rem);
  line-height: 1;
  white-space: nowrap;
}

.site-header.dark-mode .main-nav a {
  color: var(--blue);
}

.site-header.dark-mode .main-nav a.active {
  color: var(--green);
}

.menu-button {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 2px 0;
  background: var(--blue);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-open .menu-button span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-button span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  inset: 4.35rem var(--panel-pad) auto;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.5rem);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.menu-open .main-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.main-nav a {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.7rem;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.main-nav a.active {
  color: var(--green);
}

.main-nav .nav-cta {
  justify-content: center;
  min-height: 3rem;
  margin-top: 0.35rem;
  color: var(--ink);
  background: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.68rem;
}

.panel {
  position: relative;
  width: 100%;
  max-width: var(--max);
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(5.8rem + env(safe-area-inset-top)) var(--panel-pad) 4.25rem;
  isolation: isolate;
}

.light {
  background: var(--wash);
}

.dark {
  color: #fff;
  background: var(--blue-2);
}

.panel-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: clamp(2.4rem, 6vw, 4.2rem);
  color: #0a7a5b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.73rem, 2.2vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.dark .panel-kicker {
  color: var(--green);
}

.panel-kicker span {
  width: 1.9rem;
  height: 2px;
  background: currentColor;
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-logo {
  display: block;
  width: min(100%, 47rem);
  height: auto;
}

.hero-copy strong,
h2 em,
.method h2 em,
.final-cta h2 em,
.proof-copy strong {
  color: var(--green);
  font-style: italic;
  font-weight: 900;
}

.hero-copy {
  max-width: 46rem;
  margin: clamp(2rem, 5vw, 3.2rem) 0 0;
  font-size: clamp(1.05rem, 4vw, 1.42rem);
  line-height: 1.2;
}

.actions {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 3.85rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(16, 71, 128, 0.2);
}

.button.primary {
  background: var(--green);
}

.button.secondary {
  background: var(--blue-2);
}

.hero-facts {
  border-left: 1px solid var(--line);
}

.hero-facts dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.hero-facts div {
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem 0 1.1rem 1.1rem;
  border-bottom: 1px dotted var(--line);
}

.hero-facts dt,
.profile-card small,
.process-card small {
  color: #0a7a5b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.05rem, 5vw, 1.35rem);
  text-align: left;
}

.split {
  display: grid;
  gap: 2rem;
}

.split .panel-kicker {
  margin-bottom: 0;
}

.split-title {
  justify-self: start;
  text-align: left;
}

.split-title h2 {
  font-size: clamp(3.2rem, 8.2vw, 5.2rem);
}

.split-copy {
  justify-self: start;
}

h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2.55rem, 13vw, 6.7rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
}

.dark h2,
.dark h3 {
  color: #fff;
}

.split-copy {
  display: grid;
  gap: 1.65rem;
  font-size: clamp(1rem, 3vw, 1.34rem);
}

.split-copy p,
.proof-copy p,
.stage-intro p,
.centered-heading p,
.method-copy p {
  max-width: 47rem;
  margin: 0;
}

.split-copy strong {
  font-weight: 900;
}

.split-copy em {
  color: #d01851;
  font-style: italic;
  font-weight: 700;
}

.callout {
  padding: 0.9rem 1.1rem;
  border-left: 0.45rem solid var(--green);
  background: #e7eef5;
}

.callout h3 {
  margin: 0 0 0.65rem;
  color: var(--blue);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.1rem;
}

.callout p {
  font-size: 0.95rem;
  line-height: 1.16;
}

.section-heading p {
  max-width: 53rem;
  margin: 1.3rem 0 0;
  font-size: clamp(1rem, 3vw, 1.2rem);
}

.profile-grid,
.pillar-grid,
.process-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.profile-card,
.process-card {
  position: relative;
  min-height: 17rem;
  padding: 1.65rem;
  border: 1px solid #cfdbe6;
  border-top: 0.38rem solid var(--green);
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.profile-card:hover,
.process-card:hover,
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.profile-card h3 {
  margin: 1.35rem 0 1.6rem;
  color: var(--blue);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.7rem, 8vw, 2rem);
  line-height: 1.2;
}

.profile-card p,
.process-card p,
.pillar-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.28;
}

.method-copy h2 {
  font-size: clamp(3rem, 15vw, 6rem);
}

.method-copy p {
  margin-top: 2.1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  font-weight: 800;
}

.retail-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3rem;
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}

.retail-strip button {
  display: grid;
  min-height: 10rem;
  padding: 1.25rem 0.7rem;
  border: 0;
  border-right: 1px solid rgba(20, 63, 113, 0.38);
  color: var(--green);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.retail-strip button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.retail-strip strong {
  font-size: clamp(4rem, 22vw, 8rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.9;
}

.retail-strip span {
  align-self: end;
  color: rgba(255, 255, 255, 0.62);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.pillar-detail h2 {
  font-size: clamp(2.6rem, 10vw, 3.8rem);
}

.pillar-card {
  position: relative;
  min-height: 24rem;
  padding: 1.6rem;
  color: #fff;
  background: var(--navy);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pillar-card small {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.25em;
}

.pillar-card > strong {
  display: block;
  margin-top: 2.2rem;
  color: var(--green);
  font-size: clamp(6rem, 32vw, 9rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.75;
}

.pillar-card h3 {
  margin: 0.6rem 0 2rem;
  font-size: clamp(1.85rem, 8vw, 2.1rem);
  font-weight: 500;
}

.pillar-card p::before {
  content: "";
  display: block;
  width: 3.1rem;
  height: 2px;
  margin-bottom: 1.25rem;
  background: var(--green);
}

.pillar-card.highlight {
  outline: 3px solid var(--green);
  outline-offset: -3px;
}

.stage-intro {
  display: grid;
  gap: 1.5rem;
}

.stage-intro h2 {
  font-size: clamp(3.1rem, 14vw, 5.2rem);
}

.stage-intro p {
  font-size: clamp(1rem, 3vw, 1.22rem);
}

.stage-intro strong {
  color: var(--green);
}

.stage-list {
  display: grid;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.stage-list article {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.stage-list span {
  color: var(--green);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2.3rem;
  font-style: italic;
}

.stage-list h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
}

.stage-list small {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.stage-list p {
  margin: 0;
  font-size: 0.98rem;
}

.centered-heading {
  display: grid;
  justify-items: start;
  text-align: left;
}

.centered-heading .panel-kicker {
  margin-bottom: 1.8rem;
}

.centered-heading h2 {
  font-size: clamp(2.9rem, 13vw, 5.9rem);
}

.centered-heading p {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 3vw, 1.14rem);
}

.process-card h3 {
  margin: 1.4rem 0 1.75rem;
  color: var(--blue);
  font-size: clamp(1.9rem, 8vw, 2.1rem);
  font-weight: 500;
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  margin-top: 1.4rem;
  padding: 0.35rem 1rem;
  color: var(--green-2);
  background: #e3fbf1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.arrow {
  display: none;
}

.proof-grid {
  display: grid;
  gap: 2.5rem;
}

.proof-copy h2 {
  font-size: clamp(2.45rem, 12vw, 4.2rem);
}

.proof-copy p {
  margin-top: 2rem;
  font-size: clamp(1rem, 3vw, 1.08rem);
}

.stats-grid {
  display: grid;
  border-top: 3px solid var(--blue);
}

.stats-grid article {
  min-height: 10rem;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--line);
}

.stats-grid strong,
.stats-grid span {
  color: var(--green);
  font-size: clamp(4rem, 18vw, 5.2rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.8;
}

.stats-grid p {
  max-width: 17rem;
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.final-cta {
  display: grid;
  place-items: center;
  text-align: center;
}

.final-inner {
  display: grid;
  justify-items: center;
  max-width: 62rem;
}

.final-inner .panel-kicker {
  margin-bottom: 2rem;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(2.85rem, 15vw, 6.5rem);
  line-height: 1.05;
}

.final-cta p {
  max-width: 48rem;
  margin: 1.7rem auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 3vw, 1.32rem);
  font-weight: 800;
}

.final-cta .button {
  width: min(100%, 24rem);
  margin-top: 1.65rem;
  border: 0;
}

.micro-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.4rem;
  margin: 1.55rem 0 0;
  padding: 0;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  list-style: none;
  text-transform: uppercase;
}

.micro-list li::before {
  content: "◆";
  margin-right: 0.55rem;
}

.back-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  color: #fff;
  background: var(--blue);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 620px) {
  .actions {
    grid-template-columns: minmax(15rem, 25rem) minmax(14rem, 21rem);
  }

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

  .process-grid {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .process-grid .process-card:last-child {
    grid-column: 1 / -1;
  }

  .arrow {
    display: block;
    color: #0a7a5b;
    font-size: 2rem;
    font-weight: 900;
  }

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

  .stats-grid article:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 459px) {
  .brand-divider,
  .brand-partner {
    display: none;
  }

  .brand-logo {
    height: 1.75rem;
    max-width: 70vw;
  }
}

@media (min-width: 900px) {
  .menu-button {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav a {
    min-height: 2.2rem;
    padding: 0 0.35rem;
    font-size: 0.76rem;
  }

  .main-nav .nav-cta {
    min-height: 2.9rem;
    padding: 0 0.85rem;
    margin: 0 0 0 0.45rem;
  }

  .panel {
    padding-top: calc(6.8rem + env(safe-area-inset-top));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 24rem;
    align-items: center;
  }

  .hero-facts dl div {
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    padding: 1.2rem 0 1.2rem 1.6rem;
  }

  .hero-facts dd {
    text-align: right;
  }

  .split {
    grid-template-columns: minmax(0, 0.92fr) minmax(26rem, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    column-gap: clamp(3rem, 8vw, 7rem);
    row-gap: clamp(2.8rem, 5vw, 4rem);
  }

  .split .panel-kicker {
    grid-column: 1;
    grid-row: 1;
  }

  .split-title {
    grid-column: 1;
    grid-row: 2;
  }

  .split-copy {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

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

  .retail-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

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

  .stage-intro {
    grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.75fr);
    align-items: center;
  }

  .stage-list article {
    grid-template-columns: 4rem 18rem 1fr;
    align-items: center;
  }

  .centered-heading {
    justify-items: center;
    text-align: center;
  }

  .process-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
  }

  .process-grid .process-card:last-child {
    grid-column: auto;
  }

  .proof-grid {
    grid-template-columns: 1fr minmax(26rem, 0.95fr);
    align-items: start;
  }
}

@media (min-width: 1180px) {
  .main-nav a {
    padding: 0 0.45rem;
    font-size: 0.8rem;
  }

  .brand-logo {
    height: 2.55rem;
    max-width: 31rem;
  }

  .hero-logo {
    width: min(100%, 52rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
