:root {
  --night: #0e0e13;
  --night-2: #15151c;
  --raised: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.11);
  --text: #ffffff;
  --soft: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.42);
  --coral: #f2615c;
  --peach: #fc9e73;
  --verified: #35c08f;
  --grad: linear-gradient(135deg, #f2615c, #fc9e73);
  --radius: 28px;
  --display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--night); overflow-x: clip; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Glow backdrop */
.glow { position: relative; isolation: isolate; }
.glow::before, .glow::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(110px); pointer-events: none;
}
.glow::before { width: 620px; height: 620px; background: rgba(242, 97, 92, 0.32); top: -180px; left: -160px; }
.glow::after { width: 520px; height: 520px; background: rgba(252, 158, 115, 0.18); top: 120px; right: -180px; }
.glow.flip::before { left: auto; right: -160px; }
.glow.flip::after { right: auto; left: -180px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.solid {
  background: rgba(14, 14, 19, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-color: var(--stroke);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--display); letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 26px; align-items: center; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; color: var(--soft); transition: color .2s; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 30px rgba(242, 97, 92, 0.35);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(242, 97, 92, 0.45); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: default; }
.btn.small { height: 42px; padding: 0 20px; font-size: 14px; box-shadow: none; }
.btn.white { background: #fff; color: #111; box-shadow: none; }
.btn.ghost { background: var(--raised); border: 1px solid var(--stroke); box-shadow: none; }

/* Type */
.eyebrow { font: 800 12px/1 var(--body); letter-spacing: .26em; color: var(--peach); text-transform: uppercase; margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(48px, 8.4vw, 104px); line-height: .98; }
h2 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.02; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 2vw, 22px); color: var(--soft); max-width: 36ch; margin: 22px 0 0; }
.fine { font-size: 13px; color: var(--faint); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 120px 0 clamp(48px, 8vh, 96px); overflow: hidden; isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0; z-index: -2;
  background: #000 url("/hero-couple.jpg") center 25% / cover no-repeat;
  background-image: image-set(url("/hero-couple.webp") type("image/webp"), url("/hero-couple.jpg") type("image/jpeg"));
  animation: slowzoom 22s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.05) 25%, rgba(0,0,0,.2) 50%, rgba(14,14,19,.88) 80%, var(--night) 100%);
}
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero h1 { text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.hero .lede { color: rgba(255,255,255,.88); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); font-weight: 600; font-size: 15px; color: rgba(255,255,255,.9);
}
.store-badge svg { width: 20px; height: 20px; }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255,255,255,.35); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Sections */
section { overflow-x: clip; padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--soft); font-size: 19px; margin: 18px 0 0; }

/* Story steps */
.story { display: grid; gap: clamp(64px, 9vw, 120px); }
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.chapter:nth-child(even) .art { order: 2; }
.chapter .num { font: 800 13px/1 var(--body); letter-spacing: .2em; color: var(--faint); margin-bottom: 16px; }
.chapter p:not(.eyebrow) { color: var(--soft); font-size: 19px; margin: 18px 0 0; max-width: 40ch; }
.art {
  position: relative; aspect-ratio: 1; width: min(460px, 100%); margin-inline: auto;
  display: grid; place-items: center;
}
.art .halo { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.07) 0 48%, rgba(255,255,255,.035) 48% 100%); }
.art svg { position: relative; width: 100%; height: 100%; overflow: visible; }

/* Art 1: crossing paths */
.cross .p { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.cross .guide { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 14; }
.cross .heart { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.cross .ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
.in .cross .p { animation: draw 1.8s cubic-bezier(.6,.1,.2,1) forwards; }
.in .cross .p2 { animation-delay: .15s; }
.in .cross .heart { animation: pop .55s cubic-bezier(.3,1.7,.5,1) 1.15s forwards; }
.in .cross .ring { animation: ring 2.6s ease-out 1.2s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes ring { 0% { opacity: .8; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.2); } }

/* Art 2: cards */
.cards-art { position: relative; width: 62%; aspect-ratio: 3 / 4; }
.pcard { position: absolute; inset: 0; border-radius: 26px; border: 1px solid rgba(255,255,255,.22); overflow: hidden;
  transition: transform 1s cubic-bezier(.2,.8,.2,1); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.pcard.a { background: radial-gradient(circle at 30% 25%, #a58bd8, #6c5aa0 60%, #3f3566); }
.pcard.b { background: radial-gradient(circle at 70% 25%, #ffd39a, #f39a5b 60%, #b65a32); }
.pcard.c { background: radial-gradient(circle at 30% 20%, #ffc3b0, #f26f63 55%, #a8394a); }
.in .pcard.a { transform: translateX(-34%) rotate(-12deg) scale(.92); }
.in .pcard.b { transform: translateX(34%) rotate(11deg) scale(.92); }
.in .pcard.c { animation: float 4s ease-in-out 1s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.pcard img, .av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av { overflow: hidden; }
.pcard.c::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.7)); }
.pcard .meta { z-index: 1; position: absolute; left: 18px; right: 18px; bottom: 18px; }
.pcard .meta strong { display: block; font: 800 26px/1.1 var(--display); }
.pill { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; padding: 7px 11px; border-radius: 999px;
  background: rgba(0,0,0,.35); font-size: 13px; font-weight: 600; }
.pill svg { width: 14px; height: 14px; }
.pcard .glyph { position: absolute; top: 34%; left: 50%; width: 30%; transform: translate(-50%, -50%); opacity: .85; }

/* Art 3: mutual */
.mutual { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.mutual .avatars { position: relative; width: 70%; height: 40%; }
.av { position: absolute; top: 0; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 3px solid #fff;
  transition: transform 1s cubic-bezier(.2,.8,.2,1); box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.av.l { left: 0; background: radial-gradient(circle at 35% 30%, #a9cfe6, #5d84ad 60%, #33506f); transform: translateX(-30%); }
.av.r { right: 0; background: radial-gradient(circle at 35% 30%, #bfe3c7, #5e9c74 60%, #355f45); transform: translateX(30%); }
.in .av.l { transform: translateX(18%); }
.in .av.r { transform: translateX(-18%); }
.mheart { position: absolute; left: 50%; top: 23%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(0);
  border-radius: 50%; background: var(--grad); border: 4px solid var(--night); display: grid; place-items: center; z-index: 2; }
.mheart svg { width: 48%; height: 48%; }
.in .mheart { animation: popc .5s cubic-bezier(.3,1.7,.5,1) 1.6s forwards; }
@keyframes popc { to { transform: translate(-50%, -50%) scale(1); } }
.yes { position: absolute; bottom: 14%; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.yes span { display: inline-flex; gap: 7px; align-items: center; padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--raised); border: 1px solid var(--stroke); color: var(--faint); transition: color .3s, transform .3s; }
.yes span i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; display: inline-block; transition: background .3s, border-color .3s; }
.in .yes span { color: #fff; }
.in .yes span i { background: var(--verified); border-color: var(--verified); }
.yes span:nth-child(1), .yes span:nth-child(1) i { transition-delay: .7s; }
.yes span:nth-child(2), .yes span:nth-child(2) i { transition-delay: 1.15s; }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { background: var(--raised); border: 1px solid var(--stroke); border-radius: 24px; padding: 26px; }
.promise .ic { width: 50px; height: 50px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin-bottom: 20px;
  box-shadow: 0 10px 26px rgba(242,97,92,.35); }
.promise .ic svg { width: 24px; height: 24px; color: #fff; }
.promise p { color: var(--soft); margin: 10px 0 0; font-size: 16px; }

/* Rewind band */
.rewind { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); border: 1px solid var(--stroke);
  display: grid; grid-template-columns: 1.1fr .9fr; min-height: 460px; }
.rewind .copy { padding: clamp(32px, 5vw, 64px); align-self: center; }
.rewind .copy p:not(.eyebrow) { color: var(--soft); font-size: 19px; margin: 18px 0 0; max-width: 36ch; }
.rewind .photo { background: url("/hands.jpg") center 60% / cover; background-image: image-set(url("/hands.webp") type("image/webp"), url("/hands.jpg") type("image/jpeg")); position: relative; }
.rewind .photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night-2) 0%, rgba(21,21,28,0) 45%); }
.rewind { background: var(--night-2); }
.note { margin-top: 28px; display: inline-flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 18px;
  background: var(--raised); border: 1px solid var(--stroke); max-width: 360px; }
.note small { color: var(--faint); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.note span { font-size: 16px; }

/* Waitlist */
.join { position: relative; text-align: center; }
.join h2 { max-width: 14ch; margin-inline: auto; }
.join .lede { margin-inline: auto; }
.join form { margin: 36px auto 0; width: min(520px, 100%); display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.join input {
  height: 56px; border-radius: 999px; border: 1px solid var(--stroke); background: var(--raised);
  color: #fff; padding: 0 22px; font: 500 16px var(--body); outline: none; min-width: 0;
}
.join input::placeholder { color: var(--faint); }
.join input:focus { border-color: var(--peach); background: rgba(255,255,255,.1); }
.join .city { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; min-height: 22px; font-size: 14px; color: var(--soft); margin: 4px 0 0; }
.form-note.ok { color: #8fe3c4; }
.form-note.err { color: #ffb3ae; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--raised); border: 1px solid var(--stroke); border-radius: 20px; padding: 20px 24px; transition: background .2s; }
.faq details[open] { background: rgba(255,255,255,.08); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 800; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--soft); margin: 14px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--stroke); padding: 40px 0 52px; color: var(--faint); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* Legal / text pages */
.doc { padding: 140px 0 90px; }
.doc h1 { font-size: clamp(40px, 6vw, 60px); }
.doc .updated { color: var(--faint); margin: 14px 0 38px; }
.doc h2 { font-size: 24px; margin: 44px 0 10px; letter-spacing: -0.01em; }
.doc h2.q { font-size: 19px; margin-top: 28px; }
.doc p, .doc li { color: var(--soft); }
.doc ul { padding-left: 22px; }
.doc a:not(.btn) { color: var(--peach); }
.doc .callout { background: var(--raised); border: 1px solid var(--stroke); border-radius: 18px; padding: 18px 22px; }
.doc .callout p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive: every phone, tablet, foldable */
@media (max-width: 960px) {
  .promises { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .chapter, .rewind { grid-template-columns: 1fr; }
  .chapter .art, .chapter:nth-child(even) .art { order: -1; width: min(360px, 88%); }
  .rewind .photo { min-height: 280px; order: -1; }
  .rewind .photo::before { background: linear-gradient(0deg, var(--night-2) 0%, rgba(21,21,28,0) 55%); }
}
@media (max-width: 560px) {
  .nav a:not(.btn) { display: none; }
  .promises { grid-template-columns: 1fr; }
  .join form { grid-template-columns: 1fr; }
  .hero { align-items: flex-end; }
  .hero-photo { bottom: 34%; background-position: 60% 18%; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 18%, rgba(14,14,19,.35) 44%, rgba(14,14,19,.94) 62%, var(--night) 70%); }
  .hero-cta .btn, .hero-cta .store-badge { width: 100%; justify-content: center; }
  .scroll-cue { display: none; }
}
