:root {
  --bg: #f7f3ea;
  --surface: #f8f5ee;
  --surface-elevated: #ffffff;
  --text: #272a24;
  --text-secondary: #5f5d5b;
  --text-muted: #767471;
  --border: #d3d1cb;
  --divider: #eae8e1;
  --primary: #4f6f52;
  --primary-hover: #48674b;
  --primary-soft: #e1ebe1;
  --secondary: #6f8792;
  --secondary-strong: #4b626c;
  --secondary-soft: #e2e9ed;
  --celebration: #c88b4a;
  --celebration-soft: #f8e4d1;
  --error: #b75d55;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

.page {
  min-height: 100vh;
  overflow: hidden;
}

.hero,
.how-it-works,
.preview-band,
.final-cta {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 24px;
  padding-right: 24px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  min-height: min(760px, 92vh);
  padding-bottom: 52px;
  padding-top: 64px;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgb(248 245 238 / 0.92), rgb(248 245 238 / 0)),
    repeating-linear-gradient(
      0deg,
      rgb(79 111 82 / 0.08) 0,
      rgb(79 111 82 / 0.08) 1px,
      transparent 1px,
      transparent 38px
    );
  content: "";
  inset: 0 auto 0 -35vw;
  pointer-events: none;
  position: absolute;
  width: 82vw;
  z-index: 0;
}

.hero__copy {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1 {
  color: var(--text);
  font-size: clamp(3.35rem, 7.2vw, 6.65rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0;
  max-width: 820px;
}

.hero__lead {
  color: var(--text-secondary);
  font-size: clamp(1.18rem, 2.1vw, 1.48rem);
  line-height: 1.45;
  margin: 26px 0 0;
  max-width: 660px;
}

.hero__support {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin: 18px 0 0;
  max-width: 620px;
}

.waitlist-form {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  max-width: 640px;
}

.interest-group {
  border: 0;
  margin: 0;
  padding: 0;
}

.interest-group legend {
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 800;
  margin-bottom: 10px;
}

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

.choice {
  cursor: pointer;
  min-width: 0;
  position: relative;
}

.choice input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.choice span {
  align-items: center;
  background: rgb(255 255 255 / 0.54);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  display: flex;
  font-size: 0.9rem;
  font-weight: 780;
  justify-content: center;
  min-height: 46px;
  padding: 0 10px;
  text-align: center;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.choice input:focus-visible + span {
  border-color: var(--primary);
  outline: 3px solid var(--primary-soft);
}

.choice input:checked + span {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary);
}

.form-row {
  align-items: stretch;
  display: flex;
  gap: 10px;
}

.form-row input[type="email"] {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  flex: 1;
  min-height: 54px;
  min-width: 0;
  padding: 0 16px;
}

.form-row input[type="email"]::placeholder {
  color: var(--text-muted);
}

.form-row input[type="email"]:focus {
  border-color: var(--primary);
  outline: 3px solid var(--primary-soft);
}

.form-row button,
.final-cta a {
  align-items: center;
  background: var(--primary);
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  text-decoration: none;
  white-space: nowrap;
}

.form-row button:hover,
.final-cta a:hover {
  background: var(--primary-hover);
}

.form-row button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.form-status {
  color: var(--secondary-strong);
  font-size: 0.96rem;
  font-weight: 750;
  min-height: 24px;
  margin: 10px 0 0;
}

.form-status.is-error {
  color: var(--error);
}

.fine-print {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.company-field {
  display: none;
}

.phone-wrap {
  justify-self: end;
  padding: 28px 0;
  position: relative;
  z-index: 1;
}

.phone {
  background: #201f1e;
  border: 1px solid rgb(39 42 36 / 0.35);
  border-radius: 34px;
  box-shadow:
    0 30px 80px rgb(39 42 36 / 0.2),
    0 10px 28px rgb(39 42 36 / 0.16);
  padding: 12px;
  width: min(350px, 78vw);
}

.phone__bar {
  background: #494845;
  border-radius: 999px;
  height: 5px;
  margin: 8px auto 12px;
  width: 72px;
}

.app-screen {
  background:
    linear-gradient(180deg, rgb(225 235 225 / 0.85), rgb(247 243 234 / 0.1)),
    var(--bg);
  border-radius: 24px;
  display: grid;
  gap: 18px;
  min-height: 610px;
  padding: 28px 18px 18px;
}

.app-kicker {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.app-screen h2 {
  color: var(--text);
  font-size: 2rem;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

.app-copy {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.42;
  margin: 12px 0 0;
}

.progress-card,
.task,
.field-card,
.step-grid article,
.benefit-grid article {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.progress-card {
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.progress-card span,
.field-card span {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.progress-card strong,
.field-card strong {
  color: var(--text);
  font-size: 1.05rem;
}

.progress-track {
  background: var(--divider);
  border-radius: 999px;
  height: 9px;
  overflow: hidden;
}

.progress-fill {
  background: var(--primary);
  height: 100%;
  width: 50%;
}

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

.task {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px minmax(0, 1fr);
  padding: 13px;
}

.task span {
  border: 2px solid var(--text-muted);
  border-radius: 999px;
  height: 18px;
  width: 18px;
}

.task.is-done span {
  background: var(--primary);
  border-color: var(--primary);
}

.task p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.32;
  margin: 0;
}

.field-card {
  box-shadow: 0 16px 44px rgb(39 42 36 / 0.12);
  display: grid;
  gap: 5px;
  max-width: 190px;
  padding: 14px;
  position: absolute;
  z-index: 4;
}

.field-card--top {
  left: -58px;
  top: 8px;
}

.field-card--bottom {
  bottom: 10px;
  right: -38px;
}

.how-it-works,
.preview-band,
.final-cta {
  padding-bottom: 64px;
  padding-top: 64px;
}

.how-it-works {
  border-top: 1px solid var(--border);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
}

.how-it-works h2,
.preview-band h2,
.final-cta h2 {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

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

.step-grid article,
.benefit-grid article {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.step-grid span {
  align-items: center;
  background: var(--primary-soft);
  border-radius: 999px;
  color: var(--primary);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.step-grid h3 {
  color: var(--text);
  font-size: 1.04rem;
  letter-spacing: 0;
  margin: 0;
}

.step-grid p,
.benefit-grid span,
.preview-copy p {
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.preview-band {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.preview-copy p {
  font-size: 1.05rem;
  margin-top: 18px;
  max-width: 520px;
}

.benefit-grid strong {
  color: var(--text);
  font-size: 1rem;
}

.benefit-grid article:nth-child(2) {
  background: var(--secondary-soft);
}

.benefit-grid article:nth-child(4) {
  background: var(--celebration-soft);
}

.final-cta {
  align-items: center;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}

.final-cta a {
  min-width: 170px;
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 38px;
  }

  .phone-wrap {
    justify-self: center;
    order: -1;
    padding: 8px 0 20px;
  }

  .phone {
    width: min(310px, 86vw);
  }

  .app-screen {
    min-height: 500px;
  }

  .field-card {
    display: none;
  }

  .how-it-works,
  .preview-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero,
  .how-it-works,
  .preview-band,
  .final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.45rem);
  }

  .choice-grid,
  .step-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row button {
    width: 100%;
  }
}
