:root {
  --ink: #18211e;
  --muted: #5d6963;
  --paper: #fbfaf6;
  --mist: #e6f1ed;
  --teal: #0b6b5e;
  --teal-deep: #073e39;
  --lime: #e6fb68;
  --clay: #b86649;
  --shell: #f3d7cc;
  --line: rgba(24, 33, 30, 0.14);
  --shadow: 0 24px 80px rgba(21, 31, 28, 0.18);
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

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

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

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

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.9);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
  font-size: 1rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 999px;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-radius: 999px;
}

.brand-mark::after {
  inset: 12px;
  border-color: var(--lime);
  border-right-color: transparent;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: inherit;
  font-size: 0.9rem;
  font-weight: 650;
}

.site-nav a,
.nav-cta {
  opacity: 0.88;
}

.site-nav a:hover,
.nav-cta:hover {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 720;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: min(760px, 86svh);
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fffaf2;
  background: var(--teal-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/leanloop-hero.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 29, 27, 0.92) 0%, rgba(5, 29, 27, 0.72) 38%, rgba(5, 29, 27, 0.24) 74%),
    linear-gradient(0deg, rgba(5, 29, 27, 0.3), rgba(5, 29, 27, 0.06));
}

.hero-inner {
  width: min(100%, 1260px);
  margin: 0 auto;
  padding: calc(var(--header-height) + 30px) clamp(20px, 5vw, 72px) 54px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(4.4rem, 13vw, 11rem);
  line-height: 0.78;
  letter-spacing: 0;
  font-weight: 860;
}

.hero-copy {
  max-width: 630px;
  margin-bottom: 30px;
  color: rgba(255, 250, 242, 0.9);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(34px, 8vh, 84px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  color: var(--teal-deep);
  background: var(--lime);
  border: 1px solid var(--lime);
}

.button-primary:hover {
  background: #f2ff9a;
}

.button-ghost {
  color: #fffaf2;
  border: 1px solid rgba(255, 250, 242, 0.52);
  background: rgba(255, 250, 242, 0.08);
}

.button-ghost:hover {
  border-color: rgba(255, 250, 242, 0.9);
  background: rgba(255, 250, 242, 0.14);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 820px;
  border-top: 1px solid rgba(255, 250, 242, 0.22);
  border-bottom: 1px solid rgba(255, 250, 242, 0.22);
}

.proof-strip div {
  min-height: 92px;
  padding: 20px 22px 20px 0;
}

.proof-strip div + div {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 250, 242, 0.22);
}

.proof-strip strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1rem;
}

.proof-strip span {
  display: block;
  color: rgba(255, 250, 242, 0.72);
  line-height: 1.45;
}

.section-band {
  background: var(--mist);
}

.intro {
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 72px);
}

.section-grid,
.section,
.cta-inner,
.site-footer {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(28px, 8vw, 96px);
  align-items: start;
}

.section-kicker {
  color: var(--teal);
}

.section-grid h2,
.section-heading h2,
.cta-section h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 840;
}

.section-grid p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.section {
  padding: clamp(66px, 10vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 830px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.method-card,
.offer-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.method-card {
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.card-index {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  border-radius: 999px;
  color: var(--teal-deep);
  background: var(--shell);
  font-size: 0.78rem;
  font-weight: 820;
}

.method-card h3,
.offer-card h3 {
  margin: 28px 0 10px;
  font-size: 1.4rem;
  line-height: 1.08;
}

.method-card p,
.offer-card p,
.cta-section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.split-section {
  width: 100%;
  max-width: none;
  background: var(--teal-deep);
  color: #fffaf2;
}

.split-section .section-heading,
.split-section .offer-list {
  width: min(100%, 1180px);
  margin-left: auto;
  margin-right: auto;
}

.split-section .section-kicker {
  color: var(--lime);
}

.offer-list {
  display: grid;
  gap: 14px;
}

.offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: #fffaf2;
}

.offer-card h3 {
  margin-top: 0;
}

.offer-card span {
  min-width: 112px;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--teal-deep);
  background: var(--mist);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 780;
}

.outcome-section {
  padding-bottom: clamp(78px, 11vw, 130px);
}

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

.outcome-item {
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.outcome-item span {
  display: block;
  margin-bottom: 42px;
  color: var(--clay);
  font-weight: 820;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outcome-item strong {
  display: block;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.18;
}

.cta-section {
  padding: clamp(58px, 9vw, 100px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(230, 251, 104, 0.8), rgba(207, 232, 225, 0.95)),
    var(--mist);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 0.6fr);
  gap: clamp(28px, 7vw, 76px);
  align-items: end;
}

.cta-inner .section-kicker,
.cta-inner h2 {
  grid-column: 1 / -1;
}

.cta-inner p {
  max-width: 620px;
  font-size: 1.08rem;
}

.cta-inner .button {
  justify-self: end;
  color: #fffaf2;
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 820;
}

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

  .site-nav {
    display: none;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-media {
    background-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 29, 27, 0.94) 0%, rgba(5, 29, 27, 0.76) 55%, rgba(5, 29, 27, 0.38) 100%),
      linear-gradient(0deg, rgba(5, 29, 27, 0.28), rgba(5, 29, 27, 0.08));
  }

  .section-grid,
  .method-grid,
  .outcome-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .outcome-grid {
    border-left: 0;
  }

  .outcome-item {
    min-height: 170px;
    border-left: 1px solid var(--line);
  }

  .cta-inner .button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    gap: 12px;
    padding: 0 16px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-inner {
    padding: calc(var(--header-height) + 24px) 18px 38px;
  }

  h1 {
    font-size: clamp(4.1rem, 21vw, 6.8rem);
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .hero-actions,
  .proof-strip,
  .offer-card,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .proof-strip div,
  .proof-strip div + div {
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 250, 242, 0.22);
    min-height: auto;
  }

  .proof-strip div:first-child {
    border-top: 0;
  }

  .intro,
  .section,
  .cta-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .method-card {
    min-height: 250px;
    padding: 22px;
  }

  .offer-card span {
    justify-self: start;
  }
}
