:root {
  --ink: #1c2a26;
  --ink-soft: #3d4f48;
  --mist: #eef4f1;
  --foam: #f7faf8;
  --sage: #3d6b5a;
  --sage-deep: #2a4d41;
  --blush: #d4a09a;
  --blush-soft: #f0ddd9;
  --line: rgba(28, 42, 38, 0.12);
  --radius: 999px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", sans-serif;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(212, 160, 154, 0.28), transparent 55%),
    radial-gradient(90% 60% at 100% 0%, rgba(61, 107, 90, 0.16), transparent 50%),
    linear-gradient(180deg, var(--foam) 0%, var(--mist) 45%, #e8efe9 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0;
}

.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;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--space);
  background: rgba(247, 250, 248, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 250, 248, 0.92);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 450;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: var(--foam) !important;
  background: var(--sage);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--sage-deep);
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--foam);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 42, 38, 0.25) 0%, rgba(28, 42, 38, 0.55) 45%, rgba(28, 42, 38, 0.82) 100%),
    linear-gradient(90deg, rgba(28, 42, 38, 0.35) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(6.5rem, 14vh, 8rem) var(--space) clamp(3rem, 8vh, 4.5rem);
  animation: rise-in 0.9s ease both;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 1rem;
}

.hero h1 {
  max-width: 16ch;
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  font-weight: 500;
  color: rgba(247, 250, 248, 0.96);
}

.lede {
  max-width: 36ch;
  margin: 1rem 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(247, 250, 248, 0.88);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--blush-soft);
  color: var(--ink);
}

.btn-primary:hover {
  background: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--foam);
  border-color: rgba(247, 250, 248, 0.45);
}

.btn-ghost:hover {
  border-color: var(--foam);
  background: rgba(247, 250, 248, 0.08);
}

/* Sections */
.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 6.5rem) var(--space);
}

.section-lead {
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.promise {
  text-align: center;
}

.promise h2 {
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}

.promise p {
  max-width: 42ch;
  margin: 1rem auto 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.features h2,
.how h2,
.closing h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

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

.feature-index {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--sage);
  padding-top: 0.15rem;
}

.feature-list h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.feature-list p {
  color: var(--ink-soft);
  max-width: 48ch;
}

.how {
  background: linear-gradient(180deg, transparent, rgba(61, 107, 90, 0.06));
}

.how-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.steps li {
  display: grid;
  gap: 0.35rem;
  padding-left: 3rem;
  position: relative;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--sage);
  color: var(--foam);
}

.steps strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.steps span {
  color: var(--ink-soft);
  max-width: 36ch;
}

.how-aside {
  overflow: hidden;
  border-radius: 1.5rem 1.5rem 4rem 1.5rem;
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 60px rgba(28, 42, 38, 0.12);
}

.how-aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing {
  text-align: center;
}

.closing h2 {
  max-width: 16ch;
  margin-inline: auto;
}

.closing > .section-inner > p {
  max-width: 38ch;
  margin: 0.75rem auto 1.75rem;
  color: var(--ink-soft);
}

.waitlist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  max-width: 32rem;
  margin: 0 auto;
}

.waitlist input {
  flex: 1 1 14rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(61, 107, 90, 0.18);
}

.waitlist .btn {
  min-height: 3.1rem;
  background: var(--sage);
  color: var(--foam);
  border: 0;
}

.waitlist .btn:hover {
  background: var(--sage-deep);
}

.form-note {
  min-height: 1.4em;
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--sage-deep);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 2rem var(--space) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

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

  .hero-media img,
  .hero-content,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-aside {
    order: -1;
    max-height: 22rem;
    aspect-ratio: 16 / 10;
    border-radius: 1.25rem;
  }
}

@media (max-width: 720px) {
  .menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 3.6rem var(--space) auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem;
    background: rgba(247, 250, 248, 0.96);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(28, 42, 38, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav a {
    padding: 0.75rem 0.85rem;
    border-radius: 0.65rem;
  }

  .nav-cta {
    text-align: center;
  }

  .feature-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
