:root {
  --navy: #13233b;
  --coral: #ff8a65;
  --sky: #a9c3d6;
  --sand: #f2ede6;
  --ink: #0d0d0d;
  --muted: rgba(19, 35, 59, 0.68);
  --line: rgba(19, 35, 59, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--sand);
  color: var(--navy);
}

body {
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}

.nav {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  min-height: 0;
}

.brand {
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

/* Horizontal lockup link for subpages (privacy, etc.) — full asset, no crop */
.nav-lockup {
  display: block;
  width: min(100%, 240px);
  text-decoration: none;
}

.nav-lockup img {
  display: block;
  width: 100%;
  height: auto;
}

/* Mobile/tablet: copy → phone → email (DOM order) */
.hero-split {
  display: grid;
  gap: 0;
  margin: 0 0 8px;
}

.hero-copy {
  min-width: 0;
}

.hero-lockup {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin: 0 0 36px;
}

.eyebrow {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(255, 138, 101, 0.16);
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 18px;
}

h1,
h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(36px, 6vw, 52px);
}

h2 {
  font-size: 28px;
}

h3 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 6px;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 38em;
}

.lede.compact {
  font-size: 16px;
  margin-bottom: 24px;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 0 28px;
}

.phone-glow {
  display: none;
  position: absolute;
  z-index: 0;
  width: min(120%, 420px);
  height: min(120%, 420px);
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(169, 195, 214, 0.55) 0%, rgba(169, 195, 214, 0.18) 42%, transparent 70%),
    radial-gradient(circle at 70% 65%, rgba(255, 138, 101, 0.22) 0%, transparent 55%);
  filter: blur(36px);
}

.hero-visual .product {
  position: relative;
  z-index: 1;
  margin: 0;
}

.hero-capture {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
  margin: 0 0 48px;
  align-items: start;
}

.hero-capture input {
  margin: 0;
}

.hero-capture button {
  margin: 0;
  justify-self: start;
  white-space: nowrap;
}

.hero-capture .form-status {
  grid-column: 1 / -1;
}

.product {
  margin: 0;
  text-align: center;
}

.phone {
  display: inline-block;
  width: min(100%, 270px);
  padding: 12px 12px 20px;
  background: var(--navy);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(19, 35, 59, 0.18);
}

.phone img,
.phone-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 1220;
  object-fit: cover;
  border-radius: 18px;
  background: var(--sand);
}

.demo-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 0 0 16px;
  border-radius: 999px;
  background: rgba(19, 35, 59, 0.07);
}

.demo-tab {
  margin: 0;
  width: auto;
  padding: 9px 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font: 600 14px/1 Inter, system-ui, sans-serif;
}

.demo-tab.is-active {
  background: var(--navy);
  color: #fff;
}

/* Feature list beside the phone (desktop); on phones only the caption shows */
.demo-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.demo-steps {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.demo-step {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 0 10px 16px;
  border-radius: 0;
  border-left: 2px solid var(--line);
  background: transparent;
  color: rgba(19, 35, 59, 0.42);
  font: 500 16px/1.35 Inter, system-ui, sans-serif;
  text-align: left;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.demo-step:hover {
  filter: none;
  color: var(--navy);
}

.demo-step.is-done {
  color: rgba(19, 35, 59, 0.6);
}

.demo-step.is-active {
  color: var(--navy);
  font-weight: 600;
  border-left-color: var(--coral);
}

.demo-caption {
  min-height: 1.4em;
  font-weight: 600;
  color: var(--navy);
}

.demo-tab:hover:not(.is-active) {
  background: rgba(19, 35, 59, 0.08);
  filter: none;
}

.phone-video {
  /* Poster shows until Austin drops marketing/app-demo.mp4 */
  background-color: var(--sand);
}

.caption {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Full-bleed navy accent — only this band leaves the sand field */
.stat-band {
  width: 100vw;
  max-width: 100vw;
  margin: 8px 0 40px;
  margin-left: calc(50% - 50vw);
  background: var(--navy);
  color: var(--sand);
  padding: 36px 24px;
}

.stat-band-inner {
  max-width: 720px;
  margin: 0 auto;
}

.stat-figure {
  display: block;
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(28px, 5.5vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--sand);
}

.stat-label {
  display: block;
  margin: 0 0 12px;
  font-size: 16px;
  color: rgba(242, 237, 230, 0.78);
}

.points {
  margin: 0 auto 48px;
  padding: 0;
  list-style: none;
  max-width: 720px;
}

.points li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--line);
  color: var(--navy);
}

.points li:last-child {
  border-bottom: 1px solid var(--line);
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.story,
.waitlist {
  margin: 0 auto 64px;
  max-width: 720px;
}

.story-body {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--navy);
}

form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 13px;
  font-weight: 600;
}

.field em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font: 16px/1.4 Inter, system-ui, sans-serif;
}

input:focus {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}

button {
  justify-self: start;
  margin-top: 4px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font: 600 16px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
}

button:hover:not(:disabled) {
  filter: brightness(0.97);
}

button:disabled {
  opacity: 0.65;
  cursor: default;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

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

.form-status.is-error {
  color: #9b1c1c;
}

footer {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.footer-lockup {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: 0;
}

.footer-legal {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
}

.footer-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font: 600 16px/1.2 Inter, system-ui, sans-serif;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.footer-email:hover {
  color: var(--coral);
  border-color: var(--coral);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
}

footer a {
  color: var(--navy);
  text-decoration: none;
}

footer a:hover {
  color: var(--coral);
}

.social {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--navy);
}

.social-link:hover {
  color: var(--coral);
  background: rgba(19, 35, 59, 0.06);
}

.dot {
  color: var(--line);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legal {
  color: var(--navy);
}

.legal .updated {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--muted);
}

.legal h2 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 28px 0 10px;
  color: var(--navy);
}

.legal p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.legal a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.legal a:hover {
  color: var(--coral);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* How it works: a real 3-step sequence, so numbers carry meaning */
.how {
  margin: 0 auto 56px;
  max-width: 720px;
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font: 600 16px/36px Inter, system-ui, sans-serif;
  text-align: center;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.how-note {
  margin: 26px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--sky);
  background: rgba(169, 195, 214, 0.16);
  border-radius: 0 12px 12px 0;
}

.story-body p {
  margin: 0 0 14px;
}

.story-body .signature {
  margin-top: 18px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 20px;
}

/* Signup thank-you */
.thanks {
  padding: 20px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  margin: 0 0 48px;
}

.thanks:focus {
  outline: none;
}

.thanks p {
  margin: 0 0 12px;
  color: var(--muted);
}

.thanks .thanks-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 6px;
}

.share-btn {
  background: var(--navy);
}

.share-status {
  min-height: 1.2em;
  margin: 10px 0 0 !important;
  font-size: 14px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

@media (min-width: 1024px) {
  .page {
    max-width: 1120px;
    padding: 36px 40px 80px;
  }

  .hero-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    grid-template-areas:
      "copy visual"
      "capture visual";
    column-gap: clamp(32px, 5vw, 64px);
    row-gap: 22px;
    align-items: center;
    margin-bottom: 28px;
  }

  .hero-copy {
    grid-area: copy;
  }

  .hero-visual {
    grid-area: visual;
    margin: 0;
    align-self: center;
    justify-self: center;
  }

  .hero-capture {
    grid-area: capture;
    margin: 0;
    width: 100%;
  }

  .hero-lockup {
    width: min(100%, 540px);
    margin: 0 0 28px;
  }

  .hero-copy .lede {
    margin-bottom: 0;
    max-width: 34em;
  }

  .phone {
    width: min(100%, 270px);
  }

  .demo-steps {
    display: block;
    width: 230px;
    flex: none;
  }

  .demo-caption {
    display: none;
  }

  .hero-split {
    grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
  }

  .hero-split .thanks {
    grid-area: capture;
    margin: 0;
  }

  .phone-glow {
    width: 480px;
    height: 480px;
    filter: blur(44px);
  }

  .footer-stack {
    max-width: 720px;
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .page {
    padding: 20px 18px 48px;
  }

  .hero-lockup {
    width: min(100%, 100%);
    margin-bottom: 28px;
  }

  .hero-capture {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
    justify-self: stretch;
  }

  .footer-email {
    width: 100%;
  }
}
