:root {
  --purple: #5a4fcf;
  --purple-dark: #4439ad;
  --rose: #f5e6e8;
  --lilac: #d5c6e0;
  --ink: #100c08;
  --ink-soft: #514b47;
  --line: rgba(16, 12, 8, 0.15);
  --surface: #eadfe7;
  --radius: 28px;
  --shell: min(1240px, calc(100vw - 48px));
  --stage-top: 42px;
  --stage-height: 62svh;
  --section-top-space: clamp(88px, 11vw, 160px);
  --roadmap-top-space: clamp(48px, 6vw, 72px);
  color-scheme: light;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background-color: #f5e6e8;
  scroll-behavior: smooth;
}

html.feature-snap-active { scroll-snap-type: y proximity; }

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background-color: #f5e6e8;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--rose);
}

.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  isolation: isolate;
  border-bottom: 1px solid rgba(16, 12, 8, 0.1);
  background-color: #f5e6e8;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.nav-wrap {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; }
.brand img, .footer-brand img { width: 112px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 40px; margin-inline: -10px; padding-inline: 10px; font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.site-nav a::after { position: absolute; right: 10px; bottom: 4px; left: 10px; width: 0; height: 2px; background: var(--purple); content: ""; transition: width 220ms ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { width: calc(100% - 20px); }
.menu-button { display: none; }

.hero {
  width: min(1400px, calc(100vw - 40px));
  padding-top: clamp(48px, 6vw, 86px);
  padding-bottom: clamp(24px, 3vw, 38px);
}

.hero-copy {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  text-align: center;
  animation: hero-in 700ms cubic-bezier(.2,.7,.2,1) both;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--purple-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3, p { text-wrap: pretty; }

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 5.2vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.068em;
  line-height: 0.93;
}

.hero h1 {
  font-size: clamp(0.8rem, 4.4vw, 4rem);
  text-align: center;
  white-space: nowrap;
}

.availability { margin: 18px 0 0; font-size: 0.9rem; font-weight: 600; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid var(--ink);
  border-radius: 18px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--purple); background: var(--purple); color: var(--rose); }
.button-primary:hover { background: var(--purple-dark); }

.product-stage {
  position: sticky;
  top: var(--stage-top);
  z-index: 3;
  display: flex;
  width: 100%;
  height: var(--stage-height);
  align-items: center;
  justify-content: center;
  margin: 0;
  background: var(--rose);
}

.device-mockup {
  position: relative;
  width: min(880px, 88vw, calc(var(--stage-height) * 1.52));
  aspect-ratio: 3540 / 2300;
}

.device-screen {
  position: absolute;
  z-index: 0;
  top: 9.4783%;
  left: 9.2938%;
  width: 81.3559%;
  height: 81.0435%;
  object-fit: cover;
}

.device-bezel {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section { padding: var(--section-top-space) 0; }
.section-intro { max-width: 900px; margin-bottom: 68px; }

h2 { margin: 0; font-size: clamp(2.65rem, 5.3vw, 5.25rem); font-weight: 500; letter-spacing: -0.055em; line-height: 0.98; }
.roadmap-copy > p { margin: 7px 0 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.65; }

.features-section {
  scroll-margin-top: calc(var(--stage-top) + var(--stage-height) + 16px - var(--section-top-space));
  padding-bottom: clamp(24px, 3vw, 40px);
  background: var(--rose);
  border-radius: 48px 48px 0 0;
}
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.feature-card {
  display: grid;
  min-height: clamp(250px, 31svh, 340px);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(28px, 2.5vw, 34px) clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--rose);
  scroll-margin-top: calc(var(--stage-top) + var(--stage-height) + 14px);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.feature-card-lead { background: var(--purple); color: var(--rose); }
.feature-card-dark { background: var(--ink); color: var(--rose); }
.feature-copy {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1fr);
  align-items: center;
  column-gap: clamp(32px, 6vw, 90px);
}
.feature-heading h3 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.55rem); font-weight: 550; letter-spacing: -0.04em; line-height: 1.03; }
.feature-tagline { max-width: 360px; margin: 16px 0 0; font-size: 1rem; font-weight: 600; line-height: 1.45; opacity: 0.78; }
.feature-body { max-width: 590px; }
.feature-body p { margin: 0; font-size: 0.88rem; line-height: 1.45; opacity: 0.76; }
.feature-body p + p { margin-top: 8px; }
.feature-body .feature-summary { font-size: 1.02rem; font-weight: 600; opacity: 1; }
.feature-body h4 { margin: 12px 0 6px; font-size: 0.82rem; font-weight: 700; letter-spacing: -0.01em; }

.roadmap-section {
  padding-top: var(--roadmap-top-space);
  scroll-margin-top: calc(var(--stage-top) + var(--stage-height));
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background: var(--purple);
  color: var(--rose);
}
.roadmap-wrap { display: block; }
.roadmap-copy { max-width: 860px; }
.roadmap-copy h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); font-weight: 550; letter-spacing: -0.04em; line-height: 1.03; }
.roadmap-copy > p { color: rgba(245,230,232,0.76); }
.release-form { max-width: 620px; margin-top: 28px; }
.release-form label { display: block; margin-bottom: 10px; font-size: 0.88rem; font-weight: 650; }
.release-form-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.release-form input,
.release-form button { min-height: 52px; border: 1px solid rgba(245,230,232,0.5); border-radius: 16px; font: inherit; }
.release-form input { min-width: 0; padding: 0 17px; background: rgba(245,230,232,0.08); color: var(--rose); }
.release-form input::placeholder { color: rgba(245,230,232,0.58); }
.release-form button { padding: 0 22px; background: var(--rose); color: var(--purple-dark); font-weight: 700; cursor: pointer; }
.release-form button:hover { background: var(--lilac); }
.release-form button:disabled { cursor: wait; opacity: 0.7; }
.release-form button[data-state="success"] {
  border-color: rgba(245,230,232,0.24);
  background: rgba(245,230,232,0.18);
  color: rgba(245,230,232,0.72);
  cursor: default;
  opacity: 1;
}
.release-form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.release-form-status { min-height: 1.5em; margin: 10px 2px 0; font-size: 0.88rem; }
.release-form-status[data-state="success"] { color: var(--rose); }
.release-form-status[data-state="error"] { color: #ffd6d9; }

.site-footer {
  display: grid;
  min-height: calc(100svh - var(--stage-top) - var(--stage-height));
  align-content: space-between;
  padding: 30px 0 18px;
  scroll-margin-top: calc(var(--stage-top) + var(--stage-height));
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background: var(--ink);
  color: var(--rose);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 90px; padding-bottom: 20px; }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-brand p { max-width: 370px; margin: 12px 0 0; color: rgba(245,230,232,0.62); font-size: 0.84rem; line-height: 1.5; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.footer-links h2 { margin-bottom: 10px; color: rgba(245,230,232,0.5); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-links a { display: block; width: fit-content; margin: 6px 0; font-size: 0.82rem; text-decoration: none; }
.footer-links a:hover { color: var(--lilac); }
.footer-bottom { display: flex; justify-content: space-between; gap: 40px; padding-top: 12px; border-top: 1px solid rgba(245,230,232,0.18); }
.footer-bottom p { max-width: 760px; margin: 0; color: rgba(245,230,232,0.54); font-size: 0.68rem; line-height: 1.6; }
.footer-bottom p:last-child { white-space: nowrap; }

.legal-main { padding: clamp(70px, 9vw, 128px) 0; }
.legal-hero { max-width: 860px; margin-bottom: 74px; }
.legal-hero h1 { font-size: clamp(3.4rem, 7vw, 6.8rem); }
.legal-meta { margin: 28px 0 0; color: var(--ink-soft); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: clamp(60px, 11vw, 150px); align-items: start; }
.legal-aside { position: sticky; top: 120px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.82rem; line-height: 1.6; }
.legal-content section { padding: 0 0 38px; }
.legal-content h2 { margin: 0 0 16px; font-size: clamp(1.55rem, 3vw, 2.15rem); letter-spacing: -0.03em; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }
.legal-content ul { padding-left: 1.25rem; }
.legal-content a { color: var(--purple-dark); font-weight: 600; }

.reveal-ready [data-reveal] { transform: translateY(20px); opacity: 0; transition: opacity 600ms ease, transform 600ms ease; }
.reveal-ready [data-reveal].is-visible { transform: none; opacity: 1; }

@keyframes hero-in { from { transform: translateY(16px); opacity: 0; } }

@media (max-width: 920px) {
  :root { --shell: min(100% - 36px, 720px); }
  .menu-button { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0 10px 14px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 0.8rem; font-weight: 700; }
  .menu-lines { display: grid; gap: 5px; }
  .menu-lines i { display: block; width: 22px; height: 2px; background: currentColor; transition: transform 180ms ease; }
  .menu-button[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 80px; left: 0; right: 0; display: grid; gap: 0; padding: 12px 18px 20px; border-bottom: 1px solid var(--line); background: var(--rose); box-shadow: 0 18px 40px rgba(16,12,8,0.09); }
  .site-nav[data-open="false"] { display: none; }
  .site-nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .site-nav.legal-nav { position: static; display: flex; gap: 22px; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .site-nav.legal-nav a { padding: 8px 0; border: 0; }
  .hero {
    width: var(--shell);
    padding-top: 40px;
    padding-bottom: 28px;
  }
  h1 { font-size: clamp(3.45rem, 12vw, 6rem); }
  .hero h1 { font-size: clamp(0.8rem, 4.4vw, 4rem); white-space: nowrap; }
  .hero-copy { max-width: 720px; }
  .hero-details { max-width: none; }
  .roadmap-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-aside { position: static; }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 28px);
    --radius: 22px;
    --stage-top: 53px;
    --stage-height: 36svh;
  }
  .nav-wrap { min-height: 70px; }
  .site-nav { top: 70px; }
  .hero { width: calc(100vw - 8px); padding-top: 16px; padding-bottom: 12px; }
  .hero-copy { width: calc(100% - 20px); }
  h1 { font-size: clamp(2.85rem, 13.5vw, 4.2rem); }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 3rem); white-space: normal; }
  .product-stage { top: var(--stage-top); height: var(--stage-height); }
  .device-mockup { width: min(calc(100vw - 8px), calc(var(--stage-height) * 1.54)); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .features-section { border-radius: 30px 30px 0 0; }
  .feature-card { min-height: 300px; grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; }
  .feature-copy { display: block; }
  .feature-body { margin-top: 24px; }
  .release-form-row { grid-template-columns: 1fr; }
  .release-form button { width: 100%; }
  .site-footer { padding: 36px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer-links { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
