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

:root {
  /* Yvo Color Palette — ColorPalette.md */

  /* Core brand */
  --off-black: #091717;
  --off-white: #fbfaf4;
  --pure-white: #ffffff;
  --turquoise: #20808d;

  /* Turquoise scale */
  --turquoise-100: #def7f9;
  --turquoise-200: #92dce2;
  --turquoise-300: #35bdc8;
  --turquoise-400: #2ca0ab;
  --turquoise-600: #1a6872;
  --turquoise-700: #114f56;
  --turquoise-800: #0b363c;
  --turquoise-900: #081f22;

  /* Warm accents */
  --yellow: #9b6c22;
  --orange: #b2582d;
  --olive: #707c36;
  --warm-red: #bf505c;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
  --max-width: 1100px;
  --section-gap: clamp(5rem, 10vw, 8rem);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --card-shadow: 0 4px 24px rgba(9, 23, 23, 0.06);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-sm: 0.35s;
  --duration-md: 0.65s;
  --duration-lg: 0.85s;
}

[data-theme="light"] {
  --bg: var(--off-white);
  --surface: var(--pure-white);
  --fill: var(--turquoise-100);
  --fg: var(--off-black);
  --fg-muted: var(--turquoise-800);
  --fg-subtle: var(--turquoise-600);
  --accent: var(--turquoise);
  --accent-fg: var(--off-white);
  --separator: var(--turquoise-200);
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: var(--separator);
  --glass-shadow: var(--card-shadow);
  --nav-glass-bg: rgba(255, 255, 255, 0.55);
  --nav-glass-gradient-top: rgba(255, 255, 255, 0.72);
  --nav-glass-gradient-mid: rgba(255, 255, 255, 0.28);
  --nav-glass-gradient-bottom: rgba(255, 255, 255, 0.08);
  --nav-glass-border: rgba(255, 255, 255, 0.45);
  --nav-glass-border-top: rgba(255, 255, 255, 0.75);
  --nav-glass-shadow: 0 8px 32px rgba(9, 23, 23, 0.08), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  --nav-glass-inset-top: rgba(255, 255, 255, 0.85);
  --nav-glass-inset-bottom: rgba(255, 255, 255, 0.15);
  --bg-gradient: none;
  --hero-glow: color-mix(in srgb, var(--turquoise-100) 70%, transparent);
  --hero-glow-mid: color-mix(in srgb, var(--turquoise-200) 40%, transparent);
  --hero-pedestal-fill: color-mix(in srgb, var(--turquoise-200) 32%, transparent);
  --hero-pedestal-line: color-mix(in srgb, var(--turquoise-600) 28%, transparent);
  --hero-pedestal-wash: color-mix(in srgb, var(--turquoise-100) 65%, transparent);
  --cta-bg: var(--off-black);
  --cta-fg: var(--off-white);
}

[data-theme="dark"] {
  --bg: #000000;
  --surface: var(--turquoise-900);
  --fill: var(--turquoise-800);
  --fg: var(--off-white);
  --fg-muted: var(--turquoise-200);
  --fg-subtle: var(--turquoise-400);
  --accent: var(--turquoise-300);
  --accent-fg: var(--off-black);
  --separator: var(--turquoise-700);
  --glass-bg: rgba(8, 31, 34, 0.72);
  --glass-border: var(--separator);
  --glass-shadow: none;
  --nav-glass-bg: rgba(8, 31, 34, 0.38);
  --nav-glass-gradient-top: rgba(251, 250, 244, 0.14);
  --nav-glass-gradient-mid: rgba(251, 250, 244, 0.05);
  --nav-glass-gradient-bottom: rgba(251, 250, 244, 0.02);
  --nav-glass-border: rgba(251, 250, 244, 0.1);
  --nav-glass-border-top: rgba(251, 250, 244, 0.22);
  --nav-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  --nav-glass-inset-top: rgba(251, 250, 244, 0.16);
  --nav-glass-inset-bottom: rgba(251, 250, 244, 0.04);
  --bg-gradient: none;
  --hero-glow: color-mix(in srgb, var(--turquoise-700) 42%, transparent);
  --hero-glow-mid: color-mix(in srgb, var(--turquoise-800) 28%, transparent);
  --hero-pedestal-fill: rgba(251, 250, 244, 0.1);
  --hero-pedestal-line: rgba(251, 250, 244, 0.42);
  --hero-pedestal-wash: rgba(251, 250, 244, 0.07);
  --cta-bg: var(--off-white);
  --cta-fg: var(--off-black);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  color: var(--fg);
  line-height: 1.6;
  font-size: 17px;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.7;
}

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

.glass {
  background-color: var(--surface);
  border: 1px solid var(--separator);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius);
}

.nav-inner.glass {
  background:
    linear-gradient(
      180deg,
      var(--nav-glass-gradient-top) 0%,
      var(--nav-glass-gradient-mid) 42%,
      var(--nav-glass-gradient-bottom) 100%
    ),
    var(--nav-glass-bg);
  border: 1px solid var(--nav-glass-border);
  border-top-color: var(--nav-glass-border-top);
  border-radius: var(--radius-pill);
  box-shadow:
    var(--nav-glass-shadow),
    inset 0 1px 0 var(--nav-glass-inset-top),
    inset 0 -1px 0 var(--nav-glass-inset-bottom);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav-inner.glass {
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
  }

  [data-theme="dark"] .waitlist-form-row {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.section {
  padding: var(--section-gap) 0;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* Scroll & load animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity var(--duration-md) var(--ease-out),
    transform var(--duration-md) var(--ease-out);
}

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

.reveal-fade {
  opacity: 0;
  transition: opacity var(--duration-lg) var(--ease-out);
}

.reveal-fade.is-visible {
  opacity: 1;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--duration-md) var(--ease-out),
    transform var(--duration-md) var(--ease-out);
}

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

.reveal-stagger > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.28s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.36s; }

@media (prefers-reduced-motion: no-preference) {
  .nav-inner.glass {
    animation: nav-enter var(--duration-md) var(--ease-out) both;
  }

  .hero-glow {
    animation: hero-glow-in 1.1s ease 0.15s both;
  }

  .hero-horizon {
    animation: hero-horizon-in 1.15s var(--ease-out) 0.38s both;
  }

  .hero-badge {
    animation: fade-up var(--duration-md) var(--ease-out) 0.12s both;
  }

  .hero-quote {
    animation: fade-up var(--duration-md) var(--ease-out) 0.2s both;
  }

  .hero-tagline {
    animation: fade-up var(--duration-md) var(--ease-out) 0.28s both;
  }

  .hero-desc {
    animation: fade-up var(--duration-md) var(--ease-out) 0.36s both;
  }

  .hero-waitlist-slot:not([data-waitlist-joined]) .hero-waitlist-form {
    animation: fade-up var(--duration-md) var(--ease-out) 0.44s both;
  }

  .waitlist-confirm.waitlist-confirm--animate {
    animation: fade-up var(--duration-md) var(--ease-out) both;
  }

  .hero-waitlist-slot .waitlist-confirm.waitlist-confirm--animate {
    animation-delay: 0.44s;
  }

  .bottom-waitlist-slot .waitlist-confirm.waitlist-confirm--animate {
    animation-delay: 0.12s;
  }

  .hero-preview-shot--center {
    animation: hero-phone-center-in 1s var(--ease-out) 0.42s both;
  }

  .hero-preview-shot--left {
    animation: hero-phone-left-in 1s var(--ease-out) 0.52s both;
  }

  .hero-preview-shot--right {
    animation: hero-phone-right-in 1s var(--ease-out) 0.58s both;
  }
}

@keyframes nav-enter {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-glow-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.94);
  }

  to {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes hero-horizon-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(18px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes hero-phone-center-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(36px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes hero-phone-left-in {
  from {
    opacity: 0;
    transform: rotate(-10deg) translateY(32px) scale(0.86);
  }

  to {
    opacity: 0.88;
    transform: rotate(-10deg) translateY(8px) scale(0.94);
  }
}

@keyframes hero-phone-right-in {
  from {
    opacity: 0;
    transform: rotate(10deg) translateY(32px) scale(0.86);
  }

  to {
    opacity: 0.88;
    transform: rotate(10deg) translateY(8px) scale(0.94);
  }
}

@media (max-width: 959px) {
  @keyframes hero-phone-left-in {
    from {
      opacity: 0;
      transform: rotate(-10deg) translateY(32px) scale(0.86);
    }

    to {
      opacity: 0.75;
      transform: rotate(-10deg) translateY(8px) scale(0.94);
    }
  }

  @keyframes hero-phone-right-in {
    from {
      opacity: 0;
      transform: rotate(10deg) translateY(32px) scale(0.86);
    }

    to {
      opacity: 0.75;
      transform: rotate(10deg) translateY(8px) scale(0.94);
    }
  }
}

/* Nav */
.nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem clamp(1.25rem, 4vw, 2rem);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--fg);
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--pure-white);
  border-radius: 8px;
}

.nav-logo-text {
  line-height: 1;
}

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

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--separator);
  border-radius: var(--radius-pill);
  background: var(--fill);
  color: var(--fg-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.theme-toggle:hover {
  color: var(--fg);
  background: color-mix(in srgb, var(--fill) 70%, var(--accent) 30%);
}

.theme-icon {
  display: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.theme-icon.is-active {
  display: block;
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-fg);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(92vh, 960px);
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero-layout {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  text-align: center;
}

@media (min-width: 960px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) min(420px, 40%);
    gap: clamp(2.5rem, 5vw, 4rem);
    text-align: left;
    align-items: center;
  }
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, 115%);
  height: min(560px, 78%);
  background:
    radial-gradient(ellipse 72% 58% at 50% 50%, var(--hero-glow), transparent 70%),
    radial-gradient(ellipse 48% 40% at 38% 44%, var(--hero-glow-mid), transparent 72%),
    radial-gradient(ellipse 40% 36% at 68% 52%, var(--hero-glow-mid), transparent 74%);
  opacity: 0.95;
}

[data-theme="light"] .hero-stars {
  display: none;
}

.hero-stars {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(251, 250, 244, 0.55), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(251, 250, 244, 0.35), transparent),
    radial-gradient(1px 1px at 44% 34%, rgba(251, 250, 244, 0.45), transparent),
    radial-gradient(1px 1px at 58% 78%, rgba(251, 250, 244, 0.3), transparent),
    radial-gradient(1px 1px at 71% 22%, rgba(251, 250, 244, 0.5), transparent),
    radial-gradient(1px 1px at 84% 56%, rgba(251, 250, 244, 0.35), transparent),
    radial-gradient(1px 1px at 93% 14%, rgba(251, 250, 244, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 36% 88%, rgba(251, 250, 244, 0.25), transparent),
    radial-gradient(1.5px 1.5px at 66% 48%, rgba(251, 250, 244, 0.3), transparent);
}

.hero-horizon {
  position: absolute;
  bottom: -46%;
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 34% at 50% 0%, var(--hero-pedestal-fill), transparent 70%);
}

.hero-horizon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 78vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hero-pedestal-line) 18%,
    var(--hero-pedestal-line) 82%,
    transparent
  );
  box-shadow:
    0 0 24px 1px var(--hero-pedestal-wash),
    0 -18px 48px var(--hero-pedestal-wash);
}

.hero-horizon::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, 68vw);
  height: min(180px, 22vh);
  background: radial-gradient(ellipse 80% 100% at 50% 0%, var(--hero-pedestal-wash), transparent 72%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-copy {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

@media (min-width: 960px) {
  .hero-content {
    justify-content: flex-start;
  }

  .hero-copy {
    max-width: 540px;
    text-align: left;
  }
}

.hero-badge {
  display: inline-block;
  align-self: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.45rem 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--separator);
  border-radius: var(--radius-pill);
  background: var(--fill);
}

@media (min-width: 960px) {
  .hero-badge {
    align-self: flex-start;
  }
}

.hero-quote {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 600;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 0.875rem;
  text-wrap: balance;
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--fg-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-waitlist-slot {
  width: 100%;
}

.hero-waitlist-slot:not([data-waitlist-joined]) {
  margin-bottom: 1.25rem;
}

.hero-waitlist-form {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-waitlist-form .waitlist-message {
  text-align: center;
}

@media (min-width: 960px) {
  .hero-waitlist-form .waitlist-message {
    text-align: left;
  }
}

.hero-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.hero-preview-stack {
  position: relative;
  width: min(420px, 92vw);
  height: min(540px, 62vh);
  margin: 0 auto;
}

.hero-preview-shot {
  position: absolute;
  bottom: 0;
  width: min(210px, 44vw);
  height: auto;
  border-radius: 28px;
  filter: drop-shadow(0 28px 56px rgba(9, 23, 23, 0.16));
}

.hero-preview-shot--center {
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: min(250px, 52vw);
}

.hero-preview-shot--left {
  left: 0;
  transform: rotate(-10deg) translateY(8px) scale(0.94);
  z-index: 1;
  opacity: 0.88;
}

.hero-preview-shot--right {
  right: 0;
  transform: rotate(10deg) translateY(8px) scale(0.94);
  z-index: 2;
  opacity: 0.88;
}

[data-theme="dark"] .hero-preview-shot {
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.42));
}

@media (min-width: 960px) {
  .hero-preview {
    justify-content: flex-end;
  }

  .hero-preview-stack {
    width: min(460px, 100%);
    height: min(580px, 68vh);
  }

  .hero-preview-shot {
    width: min(220px, 46%);
  }

  .hero-preview-shot--center {
    width: min(270px, 56%);
  }
}

@media (max-width: 959px) {
  .hero-layout {
    gap: clamp(2.5rem, 6vw, 3.25rem);
  }

  .hero-waitlist-slot:not([data-waitlist-joined]) {
    margin-bottom: 1.25rem;
  }

  .hero-waitlist-slot[data-waitlist-joined] {
    margin-bottom: clamp(2rem, 6vw, 3rem);
  }

  .hero-preview-stack {
    height: min(480px, 58vh);
  }

  .hero-preview-shot--left,
  .hero-preview-shot--right {
    width: min(170px, 36vw);
    opacity: 0.75;
  }

  .hero-preview-shot--center {
    width: min(220px, 46vw);
  }
}

/* Waitlist */
.waitlist-slot {
  width: 100%;
}

.waitlist-slot:not([data-waitlist-joined]) .waitlist-confirm {
  display: none;
}

.waitlist-slot[data-waitlist-joined] [data-waitlist-fields] {
  display: none;
}

.waitlist-slot[data-waitlist-joined] .waitlist-form {
  display: none;
}

.waitlist-slot[data-waitlist-joined] .waitlist-confirm {
  display: flex;
  opacity: 0;
}

.waitlist-slot[data-waitlist-joined] .waitlist-confirm.waitlist-confirm--animate {
  opacity: 1;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}

.hero-waitlist-slot .waitlist-form {
  max-width: none;
  margin-inline: 0;
}

.waitlist-form-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  background-color: var(--surface);
  border: 1px solid var(--separator);
  border-radius: var(--radius-pill);
  box-shadow: var(--glass-shadow);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .waitlist-form-row {
    background: var(--surface);
  }
}

.waitlist-form-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

[data-theme="light"] .waitlist-form-row:focus-within {
  border-color: var(--accent);
}

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

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 0;
  font-family: var(--sans);
  font-size: 16px;
  padding: 0.85rem 1.1rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  outline: none;
}

.waitlist-form input[type="email"]::placeholder {
  color: var(--fg-subtle);
}

.waitlist-form button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 0.85rem 1.35rem;
  border: none;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-fg);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease;
  box-shadow: none;
}

.waitlist-form button:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-1px);
}

.waitlist-form button:active:not(:disabled) {
  transform: translateY(0);
}

.waitlist-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.waitlist-message {
  font-size: 14px;
  text-align: center;
  min-height: 1.4em;
}

.waitlist-message.error {
  color: var(--warm-red);
}

.waitlist-confirm {
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0;
  text-align: center;
}

.waitlist-confirm-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--turquoise);
  color: var(--off-white);
  flex-shrink: 0;
}

.waitlist-confirm-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
  line-height: 1.3;
}

.waitlist-confirm-email {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.waitlist-confirm-email:empty {
  display: none;
}

.hero-waitlist-form .waitlist-confirm,
.hero-waitlist-slot .waitlist-confirm {
  align-items: center;
}

.hero-waitlist-slot[data-waitlist-joined] {
  margin-bottom: clamp(1.75rem, 5vw, 2.5rem);
}

@media (min-width: 960px) {
  .hero-waitlist-form .waitlist-confirm,
  .hero-waitlist-slot .waitlist-confirm {
    align-items: flex-start;
    text-align: left;
  }

  .hero-waitlist-slot:not([data-waitlist-joined]),
  .hero-waitlist-slot[data-waitlist-joined] {
    margin-bottom: 0;
  }
}

.bottom-cta-panel:has([data-waitlist-joined]) > p {
  margin-bottom: 1.25rem;
}

.bottom-cta-panel:has([data-waitlist-joined]) {
  padding-block: clamp(2rem, 4vw, 2.75rem);
}

.bottom-cta-panel .waitlist-confirm {
  margin: 0;
}

/* Prominent bottom CTA form */
.waitlist-form--prominent {
  max-width: 100%;
}

.waitlist-form--prominent .waitlist-form-row {
  flex-wrap: wrap;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  gap: 0.5rem;
}

.waitlist-form--prominent input[type="email"] {
  font-size: 17px;
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.waitlist-form--prominent button {
  font-size: 16px;
  padding: 0.65rem 1.25rem;
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-pill);
}

.bottom-cta-panel .waitlist-form {
  gap: 0.5rem;
  margin: 0;
}

@media (min-width: 540px) {
  .waitlist-form--prominent .waitlist-form-row {
    flex-wrap: nowrap;
    border-radius: var(--radius-sm);
  }

  .waitlist-form--prominent button {
    width: auto;
  }
}

@media (max-width: 639px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding: 0.5rem 0.75rem;
  }

  main {
    padding-top: calc(0.5rem + 0.625rem + 34px + 0.625rem + 0.5rem);
  }

  .nav-inner {
    flex: 1;
    padding: 0.625rem 0.9rem;
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .nav-logo {
    font-size: 1.25rem;
    gap: 0.5rem;
    min-width: 0;
  }

  .nav-logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .nav-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .nav-cta {
    font-size: 13px;
    padding: 0.45rem 0.8rem;
  }

  .hero {
    min-height: auto;
    padding: 1.75rem 0 2.5rem;
  }

  .hero-layout {
    gap: 2rem;
    padding: 0 1rem;
  }

  .hero-waitlist-form .waitlist-form-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    border-radius: var(--radius-pill);
    padding: 0.4rem;
    gap: 0.35rem;
  }

  .hero-waitlist-form input[type="email"] {
    width: auto;
    flex: 1;
    min-width: 0;
    text-align: left;
    padding: 0.65rem 0.75rem;
    font-size: 15px;
    line-height: 1.25;
  }

  .hero-waitlist-form button {
    width: auto;
    flex-shrink: 0;
    padding: 0.65rem 0.9rem;
    font-size: 14px;
    line-height: 1.25;
  }

  .hero-badge {
    margin-bottom: 1rem;
    font-size: 11px;
    padding: 0.4rem 0.75rem;
  }

  .hero-quote {
    font-size: clamp(1.85rem, 8.5vw, 2.35rem);
    margin-bottom: 0.65rem;
  }

  .hero-tagline {
    margin-bottom: 1rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .section {
    padding: clamp(3rem, 8vw, 4.5rem) 0;
  }

  .container {
    padding: 0 1rem;
  }

  .feature-showcase {
    padding-top: 2.5rem;
  }

  .feature-highlights {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    gap: 0.75rem;
  }

  .feature-highlight {
    padding: 1rem 1.15rem;
  }

  .bottom-cta {
    padding: 2rem 0 2.75rem;
    scroll-margin-top: 4.5rem;
  }

  .bottom-cta .container {
    padding: 0 0.75rem;
  }

  .bottom-cta-panel {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius);
  }

  .bottom-cta-panel:has([data-waitlist-joined]) {
    padding: 1.75rem 1.25rem;
  }

  .bottom-cta-panel:has([data-waitlist-joined]) > p {
    margin-bottom: 1rem;
  }

  .bottom-cta-panel h2 {
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
  }

  .bottom-cta-panel p {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    line-height: 1.55;
  }

  .hero-waitlist-slot:not([data-waitlist-joined]) {
    margin-bottom: 1rem;
  }

  .hero-waitlist-slot[data-waitlist-joined] {
    margin-bottom: 2rem;
  }

  .bottom-cta-panel .waitlist-form--prominent .waitlist-form-row {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    gap: 0.5rem;
    border-radius: var(--radius-sm);
  }

  .bottom-cta-panel .waitlist-form--prominent input[type="email"] {
    width: 100%;
    padding: 0.55rem 0.75rem;
    font-size: 16px;
    text-align: left;
  }

  .bottom-cta-panel .waitlist-form--prominent button {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .nav-cta {
    font-size: 12px;
    padding: 0.4rem 0.65rem;
  }

  .hero-waitlist-form input[type="email"] {
    padding: 0.6rem 0.65rem;
    font-size: 14px;
  }

  .hero-waitlist-form button {
    padding: 0.6rem 0.75rem;
    font-size: 13px;
  }
}

/* Concept */
.concept-layout {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .concept-layout {
    grid-template-columns: 1fr min(300px, 38%);
  }
}

.concept-screenshot {
  margin: 0;
  display: flex;
  justify-content: center;
}

.concept-screenshot img,
.app-screenshot {
  height: auto;
  border-radius: 28px;
  box-shadow: var(--card-shadow);
}

.concept-screenshot img {
  width: min(280px, 72vw);
}

[data-theme="dark"] .concept-screenshot img,
[data-theme="dark"] .app-screenshot {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.concept-content {
  max-width: 720px;
}

.concept-content p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.concept-content p:last-child {
  margin-bottom: 0;
}

.concept-content strong {
  color: var(--fg);
  font-weight: 600;
}

/* App screenshots */
.screenshots-grid {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  margin-inline: calc(-1 * clamp(1.25rem, 4vw, 2rem));
  padding-bottom: 0.25rem;
}

.screenshots-grid::-webkit-scrollbar {
  display: none;
}

.screenshot-card {
  flex: 0 0 min(220px, 72vw);
  scroll-snap-align: center;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.screenshot-card img,
.screenshot-card .app-screenshot {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
}

[data-theme="dark"] .screenshot-card img,
[data-theme="dark"] .screenshot-card .app-screenshot {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
}

.screenshot-card figcaption h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.screenshot-card figcaption p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
}

@media (min-width: 900px) {
  .screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    scroll-snap-type: none;
    padding-inline: 0;
    margin-inline: 0;
  }

  .screenshot-card {
    flex: unset;
  }

  .screenshot-card figcaption h3 {
    font-size: 1.1rem;
  }

  .screenshot-card figcaption p {
    font-size: 15px;
  }
}

/* Markdown spotlight — featured Obsidian-compatible vault */
.markdown-spotlight {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.markdown-spotlight-inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--separator);
  background: var(--surface);
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.markdown-spotlight-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 85% 50%,
    color-mix(in srgb, var(--accent) 14%, transparent),
    transparent 70%
  );
  pointer-events: none;
}

[data-theme="dark"] .markdown-spotlight-inner {
  background: var(--pure-white);
  border-color: rgba(9, 23, 23, 0.08);
  box-shadow:
    0 0 0 1px rgba(32, 128, 141, 0.12),
    0 24px 56px rgba(0, 0, 0, 0.45),
    0 0 80px color-mix(in srgb, var(--turquoise-300) 18%, transparent);
}

[data-theme="dark"] .markdown-spotlight-inner::before {
  background: radial-gradient(
    ellipse 70% 55% at 88% 45%,
    color-mix(in srgb, var(--turquoise-300) 22%, transparent),
    transparent 65%
  );
}

@media (min-width: 900px) {
  .markdown-spotlight-inner {
    grid-template-columns: 1fr min(300px, 38%);
    gap: clamp(2.5rem, 5vw, 4rem);
    padding: clamp(2.25rem, 4vw, 3.25rem);
  }
}

.markdown-spotlight-copy {
  position: relative;
  z-index: 1;
}

.markdown-spotlight-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .markdown-spotlight-badge {
  color: var(--turquoise);
  background: color-mix(in srgb, var(--turquoise) 10%, transparent);
  border-color: color-mix(in srgb, var(--turquoise) 25%, transparent);
}

.markdown-spotlight-title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1rem;
  max-width: 22ch;
}

[data-theme="dark"] .markdown-spotlight-title {
  color: var(--off-black);
}

.markdown-spotlight-lead {
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 42ch;
}

[data-theme="dark"] .markdown-spotlight-lead {
  color: var(--turquoise-800);
}

.markdown-spotlight-visual {
  margin: 0;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.markdown-spotlight-visual img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 28px;
  box-shadow:
    0 20px 48px rgba(9, 23, 23, 0.12),
    0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent);
}

[data-theme="dark"] .markdown-spotlight-visual img {
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.4),
    0 0 0 2px color-mix(in srgb, var(--turquoise-300) 35%, transparent),
    0 0 48px color-mix(in srgb, var(--turquoise-300) 20%, transparent);
}

@media (min-width: 900px) {
  .markdown-spotlight-visual img {
    max-width: 100%;
  }
}

/* Assistant spotlight */
.assistant-layout {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .assistant-layout {
    grid-template-columns: min(440px, 46%) 1fr;
    gap: clamp(3rem, 6vw, 5rem);
  }

  .assistant-visual {
    justify-content: flex-start;
  }
}

.assistant-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 540px;
}

.assistant-visual {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.assistant-visual img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: calc(var(--radius-sm) + 2px);
  box-shadow: var(--card-shadow);
}

[data-theme="dark"] .assistant-visual img {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

#assistant {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Journey road — core pillars */
.journey-section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 0;
}

.journey-header {
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
}

.journey-lead {
  margin-bottom: 0;
}

.journey-road {
  --journey-progress: 0;
  position: relative;
  margin-top: clamp(2rem, 4vw, 3rem);
  width: 100%;
  min-height: 620px;
}

.journey-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.journey-path-track,
.journey-path-fill {
  fill: none;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.journey-path-track {
  stroke: var(--separator);
}

.journey-path-fill {
  stroke: var(--accent);
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--journey-progress));
}

.journey-stops {
  list-style: none;
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  margin: 0;
  padding: 0;
}

.journey-stop {
  position: absolute;
  left: 0;
  right: 0;
  height: 22%;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-stop:nth-child(1) {
  top: 0;
}

.journey-stop:nth-child(2) {
  top: 21%;
}

.journey-stop:nth-child(3) {
  top: 42%;
}

.journey-stop:nth-child(4) {
  top: 63%;
}

.journey-stop.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.journey-node {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 2px solid var(--separator);
  color: var(--accent);
  box-shadow: 0 0 0 5px var(--bg);
  transform: translate(-50%, -50%);
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.journey-stop:nth-child(odd) .journey-node {
  left: 30%;
}

.journey-stop:nth-child(even) .journey-node {
  left: 70%;
}

.journey-stop.is-visible .journey-node {
  border-color: var(--accent);
  box-shadow:
    0 0 0 5px var(--bg),
    0 0 16px color-mix(in srgb, var(--accent) 26%, transparent);
}

.journey-stop-body {
  position: absolute;
  top: 50%;
  width: min(220px, 32vw);
  transform: translateY(-50%);
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--separator);
  border-radius: calc(var(--radius-sm) + 2px);
  box-shadow: var(--glass-shadow);
}

.journey-stop:nth-child(odd) .journey-stop-body {
  left: 6%;
  right: auto;
  text-align: left;
}

.journey-stop:nth-child(even) .journey-stop-body {
  right: 6%;
  left: auto;
  text-align: right;
}

.journey-step-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.journey-stop-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.journey-stop-body p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

[data-theme="dark"] .journey-stop-body {
  background: var(--pure-white);
  border-color: rgba(9, 23, 23, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .journey-stop-body h3 {
  color: var(--off-black);
}

[data-theme="dark"] .journey-stop-body p {
  color: var(--turquoise-800);
}

[data-theme="dark"] .journey-stop-body .journey-step-label {
  color: var(--turquoise);
}

@media (max-width: 767px) {
  .journey-section {
    margin-top: 0;
  }

  .journey-road {
    min-height: auto;
    padding-left: 0.5rem;
  }

  .journey-path {
    display: none;
  }

  .journey-stops {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .journey-stop {
    position: relative;
    top: auto !important;
    left: auto;
    right: auto;
    height: auto;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0.85rem;
    padding-bottom: 1.75rem;
  }

  .journey-stop:last-child {
    padding-bottom: 0;
  }

  .journey-stop::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: -0.25rem;
    width: 2px;
    background: var(--separator);
  }

  .journey-stop:last-child::before {
    display: none;
  }

  .journey-node {
    position: relative;
    top: auto;
    left: auto !important;
    transform: none;
    width: 40px;
    height: 40px;
    grid-column: 1;
    grid-row: 1;
  }

  .journey-stop-body {
    position: relative;
    top: auto;
    left: auto !important;
    right: auto !important;
    width: auto;
    max-width: none;
    transform: none;
    grid-column: 2;
    grid-row: 1;
    text-align: left !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .journey-stop-body {
    width: min(180px, 28vw);
  }
}

.feature-showcase {
  padding-top: clamp(3rem, 6vw, var(--section-gap));
}

.feature-lead {
  margin-bottom: 0.25rem;
}

.feature-marquee {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2.5rem;
  margin-inline: calc(-1 * clamp(1.25rem, 4vw, 2rem));
  padding: 1.5rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.feature-marquee::before,
.feature-marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--separator), transparent);
  pointer-events: none;
}

.feature-marquee::before {
  top: 0;
}

.feature-marquee::after {
  bottom: 0;
}

.feature-marquee-row {
  display: flex;
  width: max-content;
  gap: 0.65rem;
  animation: feature-marquee 42s linear infinite;
}

.feature-marquee-row--reverse {
  animation-direction: reverse;
  animation-duration: 36s;
}

.feature-marquee:hover .feature-marquee-row,
.feature-marquee:focus-within .feature-marquee-row {
  animation-play-state: paused;
}

.feature-chip {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--separator);
  color: var(--fg);
  white-space: nowrap;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.feature-chip:hover {
  border-color: var(--accent);
  background: var(--fill);
  transform: translateY(-2px);
}

[data-theme="dark"] .feature-chip {
  background: color-mix(in srgb, var(--fill) 32%, transparent);
  border-color: color-mix(in srgb, var(--separator) 75%, transparent);
}

[data-theme="dark"] .feature-marquee-row--reverse .feature-chip {
  background: transparent;
  border-color: color-mix(in srgb, var(--accent) 28%, var(--separator));
  color: var(--fg-muted);
}

[data-theme="dark"] .feature-chip:hover {
  background: color-mix(in srgb, var(--fill) 65%, transparent);
  color: var(--fg);
}

.feature-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
}

.feature-highlight {
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--separator);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease;
}

.feature-highlight.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-highlight strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.feature-highlight span {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
}

@keyframes feature-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-stop,
  .feature-highlight {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .journey-line-fill {
    height: 100% !important;
  }

  .journey-road {
    --journey-progress: 1;
  }

  .feature-marquee-row {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
  }

  .feature-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .feature-marquee-row .feature-chip:nth-child(n + 10) {
    display: none;
  }

  .feature-marquee-row--reverse .feature-chip:nth-child(n + 10) {
    display: none;
  }
}

[data-theme="dark"] .waitlist-form button {
  box-shadow: none;
}

[data-theme="dark"] .waitlist-form-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* Bottom CTA */
.bottom-cta {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
  scroll-margin-top: 5rem;
}

.bottom-cta-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.bottom-cta-panel.glass {
  background: var(--pure-white);
  border-color: color-mix(in srgb, var(--turquoise-200) 65%, transparent);
  box-shadow: 0 20px 48px color-mix(in srgb, var(--off-black) 10%, transparent);
}

[data-theme="dark"] .bottom-cta-panel.glass {
  border-color: rgba(9, 23, 23, 0.08);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .bottom-cta-panel h2 {
  color: var(--off-black);
}

[data-theme="dark"] .bottom-cta-panel p {
  color: var(--turquoise-800);
}

[data-theme="dark"] .bottom-cta-panel .waitlist-form-row {
  background: var(--off-white);
  border-color: var(--turquoise-200);
}

[data-theme="dark"] .bottom-cta-panel .waitlist-form-row:focus-within {
  border-color: var(--turquoise);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--turquoise) 18%, transparent);
}

[data-theme="dark"] .bottom-cta-panel .waitlist-form input[type="email"] {
  color: var(--off-black);
}

[data-theme="dark"] .bottom-cta-panel .waitlist-form input[type="email"]::placeholder {
  color: var(--turquoise-600);
}

[data-theme="dark"] .bottom-cta-panel .waitlist-form button {
  background: var(--off-black);
  color: var(--off-white);
}

[data-theme="dark"] .bottom-cta-panel .waitlist-message.error {
  color: var(--warm-red);
}

.bottom-cta-panel h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.bottom-cta-panel p {
  color: var(--fg-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--glass-border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-privacy {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 13px;
  color: var(--fg-subtle);
}

[data-theme="dark"] .footer-privacy {
  color: var(--turquoise-200);
}

[data-theme="dark"] .footer-copy {
  color: var(--turquoise-400);
}

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

  .nav-inner.glass,
  .hero-glow,
  .hero-horizon,
  .hero-badge,
  .hero-quote,
  .hero-tagline,
  .hero-desc,
  .hero-waitlist-slot:not([data-waitlist-joined]) .hero-waitlist-form,
  .waitlist-confirm.waitlist-confirm--animate,
  .hero-preview-shot {
    animation: none !important;
  }

  .reveal,
  .reveal-fade,
  .reveal-stagger > *,
  .journey-stop,
  .feature-highlight,
  .waitlist-slot[data-waitlist-joined] .waitlist-confirm {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
