:root {
  --night: #0b0820;
  --dusk: #1b1446;
  --violet: #7b4dd8;
  --teal: #3fd6c6;
  --magenta: #e05bc8;
  --gold: #f2c46d;
  --sage: #8fae8b;
  --cream: #f6ebd9;
  --mist: #c9c0e0;
  --line: rgba(246, 235, 217, 0.14);
  --display: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --body: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 24px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 17px/1.6 var(--body);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
.hero > *, .split > * { min-width: 0; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Sky: soft aurora + drifting spores. Slow opacity only, never flashes. */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky::before {
  content: "";
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at 20% 15%, rgba(123, 77, 216, 0.35), transparent 70%),
    radial-gradient(35% 30% at 85% 30%, rgba(63, 214, 198, 0.16), transparent 70%),
    radial-gradient(45% 40% at 60% 95%, rgba(224, 91, 200, 0.16), transparent 70%);
  animation: aurora 28s ease-in-out infinite alternate;
}
.spore {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px 2px rgba(242, 196, 109, 0.6);
  opacity: 0; animation: spore 18s linear infinite;
}
@keyframes aurora { to { transform: translate3d(4%, -3%, 0) rotate(6deg); } }
@keyframes spore {
  0% { transform: translateY(10vh); opacity: 0; }
  20%, 70% { opacity: 0.8; }
  100% { transform: translateY(-110vh) translateX(6vw); opacity: 0; }
}

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

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: italic 600 22px var(--display); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--mist); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover { color: var(--cream); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding: 40px 0 96px; }
.kicker { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(52px, 8vw, 88px); }
h1 em { color: var(--gold); }
h2 { font-size: clamp(34px, 5vw, 48px); }
h3 { font-size: 24px; }
.lede { font-size: 20px; color: var(--mist); max-width: 34ch; margin: 22px 0 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(27, 20, 70, 0.6);
  font-size: 15px; color: var(--mist);
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 8px var(--sage); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
  border-radius: 999px; text-decoration: none; font-weight: 600;
  background: linear-gradient(135deg, var(--gold), #f5a8c8);
  color: var(--night); box-shadow: 0 8px 30px rgba(242, 196, 109, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { color: var(--night); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(242, 196, 109, 0.35); }
.button:active { transform: translateY(0) scale(0.98); }
button.button { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
button.button:disabled { opacity: 0.6; cursor: default; transform: none; }
[hidden] { display: none !important; }

.phone {
  position: relative; justify-self: center; width: min(340px, 100%);
  aspect-ratio: 9 / 16; border-radius: 44px; padding: 10px;
  background: linear-gradient(160deg, rgba(246, 235, 217, 0.25), rgba(123, 77, 216, 0.25));
  box-shadow: 0 30px 80px rgba(123, 77, 216, 0.35), 0 0 0 1px var(--line);
  animation: float 7s ease-in-out infinite;
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Sections */
section { padding: 88px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.copy p { color: var(--mist); font-size: 18px; max-width: 42ch; }
.copy .kicker { margin-bottom: 12px; }

.card {
  justify-self: center; width: min(300px, 80%);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(242, 196, 109, 0.4), 0 24px 70px rgba(242, 196, 109, 0.18);
  transform: rotate(-4deg); animation: sway 9s ease-in-out infinite;
}
@keyframes sway { 50% { transform: rotate(-1deg) translateY(-8px); } }

.frame {
  justify-self: center; width: min(360px, 100%); aspect-ratio: 9 / 14;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 24px 70px rgba(63, 214, 198, 0.15);
}
.frame video, .frame img { width: 100%; height: 100%; object-fit: cover; }

.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 40px; }
.place {
  padding: 22px; border-radius: var(--radius);
  background: rgba(27, 20, 70, 0.55); border: 1px solid var(--line);
}
.place h3 { font-size: 21px; }
.place .where { font: italic 15px var(--display); color: var(--gold); margin: 2px 0 10px; }
.place p { margin: 0; color: var(--mist); font-size: 15px; line-height: 1.5; }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 24px; }
.promise { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.promise h3 { font-size: 21px; color: var(--teal); margin-bottom: 8px; }
.promise p { margin: 0; color: var(--mist); font-size: 15px; }

.drift {
  position: relative; border-radius: 32px; overflow: hidden; min-height: 520px;
  display: grid; place-items: end start; padding: 48px;
  background: url("img/drift-pond.jpg") center 60% / cover;
}
.drift::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(11, 8, 32, 0.9)); }
.drift > div { position: relative; z-index: 1; }
.drift p { color: var(--mist); max-width: 38ch; font-size: 18px; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--mist); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 24px; }

/* Long-form (privacy) */
.doc { width: min(720px, 100% - 40px); margin: 24px auto 96px; }
.doc h1 { font-size: clamp(44px, 7vw, 64px); }
.doc .updated { color: var(--mist); margin: 12px 0 32px; }
.doc .summary { padding: 24px 28px; border-radius: var(--radius); background: rgba(27, 20, 70, 0.6); border: 1px solid var(--line); }
.doc .summary ul { margin: 8px 0 0; padding-left: 20px; }
.doc h2 { font-size: 30px; margin: 48px 0 12px; }
.doc p, .doc li { color: #e9def0; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--gold); font-weight: 600; }

@media (max-width: 820px) {
  .hero, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
  .hero { padding-top: 16px; }
  .promises { grid-template-columns: 1fr; }
  .drift { padding: 28px; min-height: 440px; }
  section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .spore { display: none; }
}

/* FAQ */
.faq { max-width: 760px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; min-height: 56px; padding: 16px 36px 16px 0;
  position: relative; font: 600 20px var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 26px var(--body); color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--mist); }
