:root {
  color-scheme: light;
  --ink: #111820;
  --ink-2: #172536;
  --muted: #637382;
  --line: rgba(17, 24, 32, 0.12);
  --paper: #f4f0e8;
  --paper-2: #e8efe9;
  --white: #ffffff;
  --blue: #58a9c8;
  --blue-dark: #075272;
  --green: #587865;
  --copper: #b56c42;
  --shadow: 0 28px 80px rgba(17, 24, 32, 0.18);
  --tight: min(100% - 48px, 1720px);
  --content: min(100% - 48px, 1180px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.035) 1px, transparent 1px) 0 0 / 76px 76px,
    var(--paper);
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - 1720px) / 2 + 24px));
  background: rgba(244, 240, 232, 0.82);
  border-bottom: 1px solid rgba(17, 24, 32, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: clamp(180px, 18vw, 260px);
  height: 54px;
  padding: 7px 10px;
  object-fit: contain;
  background: #050607;
  border: 1px solid rgba(4, 35, 76, 0.34);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(7, 19, 30, 0.2);
}

.brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  position: relative;
  text-decoration: none;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--blue-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(34px, 5vw, 88px);
  align-items: center;
  width: var(--tight);
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: clamp(46px, 6vw, 92px) 0 clamp(52px, 7vw, 96px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
small,
strong {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(50px, 6.8vw, 118px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
  letter-spacing: 0;
}

.lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.55;
}

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

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

button:disabled {
  cursor: wait;
  opacity: 0.74;
}

.primary,
button {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(17, 24, 32, 0.16);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  border-color: var(--line);
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.signal-row span {
  display: grid;
  gap: 2px;
  min-height: 74px;
  padding: 15px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}

.signal-row strong {
  color: var(--ink);
  font-size: 20px;
}

.product-stage {
  position: relative;
  isolation: isolate;
  min-height: clamp(460px, 55vw, 680px);
  overflow: hidden;
  background: #f6f1ea;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-stage::before,
.product-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.product-stage::before {
  inset: 0;
  background:
    radial-gradient(circle at var(--mx, 60%) var(--my, 35%), rgba(88, 169, 200, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent 44%);
  mix-blend-mode: multiply;
}

.product-stage::after {
  inset: 18px;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 6px;
}

.product-stage img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(460px, 55vw, 680px);
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}

.stage-badge {
  position: absolute;
  right: 26px;
  bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.stage-badge span {
  color: var(--copper);
  font-weight: 950;
}

.section,
.routine,
.waitlist {
  padding: clamp(72px, 9vw, 130px) max(24px, calc((100vw - 1180px) / 2 + 24px));
}

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

.section-heading p,
.routine-copy p,
.waitlist p,
.faq p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.product-system {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--ink);
}

.product-system .eyebrow,
.waitlist .eyebrow {
  color: #9dd6e8;
}

.product-system .section-heading p {
  color: rgba(255, 255, 255, 0.68);
}

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

.feature-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  padding: 26px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(88, 169, 200, 0.24), transparent 30%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(157, 214, 232, 0.35);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-number,
.feature-card h3,
.feature-card p {
  position: relative;
}

.feature-number {
  display: inline-block;
  margin-bottom: 78px;
  color: var(--blue);
  font-weight: 950;
}

.feature-card p,
.lane-card p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.routine {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.8fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
  background: var(--paper-2);
}

.routine-copy {
  position: sticky;
  top: 104px;
}

.routine-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.routine-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  align-items: center;
  min-height: 118px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 32, 0.09);
  border-radius: 8px;
}

.routine-steps span {
  grid-row: span 2;
  color: var(--copper);
  font-size: 22px;
  font-weight: 950;
}

.routine-steps strong {
  font-size: 22px;
}

.routine-steps small {
  color: var(--muted);
  font-size: 15px;
}

.test {
  color: var(--white);
  background: var(--ink-2);
}

.test .eyebrow {
  color: #9dd6e8;
}

.lane-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
  gap: 14px;
}

.lane-card {
  min-height: 300px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.lane-card:first-child {
  background:
    linear-gradient(180deg, rgba(88, 169, 200, 0.18), rgba(255, 255, 255, 0.04));
  border-color: rgba(157, 214, 232, 0.28);
}

.lane-card span {
  display: inline-flex;
  margin-bottom: 82px;
  color: #9dd6e8;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 0.68fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 80px 80px,
    #07131e;
}

.waitlist h2 {
  max-width: 760px;
}

form {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

label {
  font-weight: 900;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input {
  min-width: 0;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
}

.hp-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 22px;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 800;
}

.form-status.success {
  color: #9dd6e8;
}

.form-status.error {
  color: #ffcebd;
}

form small {
  color: rgba(255, 255, 255, 0.7);
}

.faq {
  display: grid;
  gap: 12px;
  background: var(--paper);
}

details {
  max-width: 920px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

@keyframes reveal-rise {
  from {
    transform: translateY(22px);
  }

  to {
    transform: translateY(0);
  }
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  animation: reveal-rise 720ms ease both;
  animation-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 88px;
  }

  nav {
    gap: 16px;
  }

  .hero,
  .routine,
  .waitlist {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-stage,
  .product-stage img {
    min-height: 480px;
  }

  .signal-row,
  .feature-grid,
  .lane-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .lane-card {
    min-height: 210px;
  }

  .feature-number,
  .lane-card span {
    margin-bottom: 42px;
  }

  .routine-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  :root {
    --tight: min(100% - 32px, 1720px);
  }

  .topbar {
    padding: 14px 16px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  h1 {
    font-size: 50px;
  }

  .lede {
    font-size: 18px;
  }

  .actions,
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  button {
    width: 100%;
    text-align: center;
  }

  .product-stage,
  .product-stage img {
    min-height: 360px;
  }

  .stage-badge {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .section,
  .routine,
  .waitlist {
    padding: 70px 16px;
  }
}
