:root {
  --red: #ff1b30;
  --bg: #c8c8c8;
  --ink: #1a1a1e;
  --green: #2ecc71;
  --quiet: #ececef;
  --header-h: 4.5rem;
  --sans: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  text-transform: uppercase;
}

h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wrap {
  width: min(1080px, calc(100% - 2.25rem));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(640px, calc(100% - 2.25rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.1rem;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: color-mix(in srgb, var(--ink) 10%, transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
}

.brand-word {
  height: 1.35rem;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
}

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}

.hero {
  display: grid;
  gap: 2rem;
  width: min(1180px, calc(100% - 2.25rem));
  margin: 0.5rem auto 4rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5c5c63;
  font-weight: 500;
}

.lede {
  font-size: 1.2rem;
  max-width: 28rem;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-red:hover,
.btn-red:focus-visible {
  filter: brightness(1.05);
}

.store-row {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.4rem;
}

.store-cta {
  display: grid;
  gap: 0.35rem;
}

.store-cta span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c5c63;
}

.store-badge {
  appearance: none;
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 0.7rem;
  padding: 0.7rem 1.1rem;
  font: inherit;
  font-weight: 700;
  cursor: not-allowed;
  opacity: 0.9;
}

.hero-visual {
  margin: 0;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 28rem;
}

.red-orb {
  position: absolute;
  width: min(88%, 26rem);
  aspect-ratio: 1;
  background: var(--red);
  border-radius: 50%;
  z-index: 0;
}

.orbit-text {
  position: absolute;
  z-index: 1;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  mix-blend-mode: multiply;
}

.orbit-left {
  left: 4%;
  top: 42%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.orbit-right {
  right: 4%;
  top: 38%;
  writing-mode: vertical-rl;
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 22rem);
  filter: drop-shadow(0 24px 40px rgba(26, 26, 30, 0.18));
}

.why,
.how,
.pilot {
  padding: 4.5rem 0;
}

.match {
  padding: 4.5rem 0;
  background: var(--ink);
  color: #fff;
}

.match p {
  color: #c8c8c8;
}

.pain,
.ease,
.chips,
.steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.pain {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.pain li,
.ease li,
.chips li,
.steps li {
  background: var(--quiet);
  border-radius: 1.1rem;
  padding: 0.95rem 1.1rem;
}

.pain li {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.ease {
  display: grid;
  gap: 0.55rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chips li {
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
}

.steps {
  display: grid;
  gap: 0.8rem;
}

.steps span {
  display: block;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.steps p {
  margin: 0;
  color: #4a4a50;
}

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.waitlist input {
  flex: 1 1 14rem;
  border: 0;
  background: #fff;
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  font: inherit;
  color: var(--ink);
}

.waitlist input:focus {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.form-msg {
  flex-basis: 100%;
  margin: 0.2rem 0 0;
  font-weight: 600;
}

.form-msg.is-ok {
  color: #1a7a43;
}

.form-msg.is-err {
  color: var(--red);
}

.site-footer {
  position: relative;
  padding: 3rem 0 2.5rem;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  background: url("/brand/pattern-word.png") repeat;
  background-size: 220px;
  opacity: 0.35;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  gap: 1.4rem;
}

.footer-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.social-placeholders {
  display: flex;
  gap: 1rem;
  color: #5c5c63;
}

.legal {
  color: #5c5c63;
  font-size: 0.9rem;
}

.page-404 {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.page-404 a {
  color: var(--red);
  font-weight: 700;
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: calc(100dvh - var(--header-h) - 1rem);
  }

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

  .ease {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .orbit-text {
    display: none;
  }
}

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