/* Until Us — home page. Shared tokens and fonts come from styles.css. */

:root {
  --rose: #c4506a;
  --rose-deep: #7a2e40;
  --rose-soft: #f6dde2;
  --blush: #fbedee;
  --night: #241a2e;
  --night-2: #3a2a45;
  --gold: #e9b872;
  --glass: rgba(255, 252, 248, 0.72);
  --shadow-soft: 0 20px 60px rgba(122, 46, 64, 0.14);
  --shadow-phone: 0 40px 90px rgba(58, 22, 34, 0.28), 0 12px 30px rgba(58, 22, 34, 0.16);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body.home { overflow-x: clip; background: var(--cream); }

/* ---------- language switch (no-JS shows Vietnamese) ---------- */
html[data-lang="vi"] .l-en,
html[data-lang="en"] .l-vi { display: none !important; }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  transform-origin: 0 50%; transform: scaleX(var(--scroll, 0));
}

/* ---------- header ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251, 246, 239, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: rgba(237, 227, 218, 0.8);
  box-shadow: 0 6px 24px rgba(42, 33, 30, 0.05);
}
.nav .wrap-wide { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-links { display: none; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--ink); text-decoration: none; opacity: .75; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; color: var(--ink); }
@media (min-width: 860px) { .nav-links { display: flex; } }

.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line);
}
.lang-toggle button {
  font: inherit; font-size: 13px; font-weight: 600; border: 0; cursor: pointer;
  padding: 5px 12px; border-radius: 999px; background: transparent; color: var(--muted);
  transition: background-color .25s, color .25s;
}
html[data-lang="vi"] .lang-toggle [data-set="vi"],
html[data-lang="en"] .lang-toggle [data-set="en"] { background: var(--rose); color: #fff; }

.wrap-wide { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--header-h) + 32px) 0 72px; isolation: isolate; overflow: hidden;
}
.aurora { position: absolute; inset: -20% -10%; z-index: -2; pointer-events: none; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { width: 46vmax; height: 46vmax; left: -8%; top: 2%; background: #f3c4cf; }
.aurora span:nth-child(2) { width: 38vmax; height: 38vmax; right: -6%; top: 12%; background: #f9dcc0; animation-duration: 22s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 34vmax; height: 34vmax; left: 30%; bottom: -12%; background: #e7d3f0; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, -3%, 0) scale(1.08); }
  100% { transform: translate3d(-3%, 4%, 0) scale(0.96); }
}
.grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(122, 46, 64, 0.07) 1px, transparent 1px);
  background-size: 3px 3px;
}

.hearts { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hearts i {
  position: absolute; bottom: -40px; left: var(--x); width: var(--s); height: var(--s);
  color: var(--rose); opacity: 0; animation: rise var(--t) linear infinite; animation-delay: var(--d);
}
.hearts i::before {
  content: ""; position: absolute; inset: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.3C.4 8.4 2.4 4.5 6.2 4.5c2.3 0 3.8 1.3 4.6 2.6l1.2 1.7 1.2-1.7c.8-1.3 2.3-2.6 4.6-2.6 3.8 0 5.8 3.9 4.2 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-10-9.3C.4 8.4 2.4 4.5 6.2 4.5c2.3 0 3.8 1.3 4.6 2.6l1.2 1.7 1.2-1.7c.8-1.3 2.3-2.6 4.6-2.6 3.8 0 5.8 3.9 4.2 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center/contain no-repeat;
}
@keyframes rise {
  0% { transform: translate3d(0, 0, 0) rotate(-8deg); opacity: 0; }
  12% { opacity: .5; }
  70% { opacity: .35; }
  100% { transform: translate3d(var(--sway), -110vh, 0) rotate(12deg); opacity: 0; }
}

.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 40px; } }

.hero-copy { text-align: center; }
@media (min-width: 960px) { .hero-copy { text-align: left; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--rose-deep); box-shadow: 0 4px 18px rgba(122, 46, 64, 0.06);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(196, 80, 106, 0.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(196, 80, 106, 0); } }

.display {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(42px, 7.4vw, 84px); line-height: 1.12; margin: 22px 0 18px;
}
.display em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, var(--rose) 10%, #d9775a 55%, var(--rose-deep) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.06em;
}
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 34em; margin: 0 auto 30px; }
@media (min-width: 960px) { .hero-sub { margin-left: 0; } }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 960px) { .cta-row { justify-content: flex-start; } }
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s, background-color .3s;
}
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(42, 33, 30, 0.22); }
.btn-dark:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(42, 33, 30, 0.28); }
.btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--ink); transform: translateY(-2px); }
.btn .soon { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); }
.btn svg { width: 20px; height: 20px; }

.hero-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; color: var(--muted); font-size: 14px; }
@media (min-width: 960px) { .hero-meta { justify-content: flex-start; } }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--rose); }

/* ---------- phone mockup ---------- */
.stage { position: relative; display: grid; place-items: center; perspective: 1400px; }
.stage::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 80, 106, 0.22), transparent 65%); filter: blur(10px);
}
.phone {
  position: relative; width: min(300px, 72vw); aspect-ratio: 9 / 19.3; border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, #3b2c32, #19121a);
  box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)) rotateZ(-2deg);
  transform-style: preserve-3d; transition: transform .6s var(--ease-out);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -12px; } }
.screen {
  position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden;
  background: var(--night) center/cover no-repeat;
  display: flex; flex-direction: column; align-items: center; color: #fff; text-align: center;
}
.screen > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 28, 0.15), rgba(20, 12, 28, 0.05) 40%, rgba(20, 12, 28, 0.55)); }
.screen > * { position: relative; z-index: 1; }
.notch { width: 92px; height: 26px; border-radius: 20px; background: #0d090e; margin-top: 10px; }
.s-label { margin-top: 26px; font-size: 12px; letter-spacing: .04em; opacity: .9; }
.s-days { font-family: var(--serif); font-weight: 600; font-size: 72px; line-height: 1; margin-top: 6px; text-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.s-unit { font-size: 13px; opacity: .9; }
.s-clock { display: flex; gap: 6px; margin-top: 12px; font-variant-numeric: tabular-nums; }
.s-clock b {
  display: grid; place-items: center; min-width: 44px; padding: 6px 4px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 17px; font-weight: 600;
}
.s-clock small { display: block; font-size: 9px; font-weight: 400; opacity: .8; }
.s-glass { margin-top: auto; margin-bottom: 18px; width: 64px; }
.s-note {
  margin: 0 16px 22px; padding: 12px 14px; border-radius: 18px; font-size: 13px; line-height: 1.45;
  background: rgba(255, 252, 248, 0.92); color: var(--ink); min-height: 64px; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.s-note span { transition: opacity .45s ease, transform .45s var(--ease-out); }
.s-note span.out { opacity: 0; transform: translateY(6px); }

.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 18px; font-size: 13px; font-weight: 600;
  background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: var(--shadow-soft);
  animation: bob 6s ease-in-out infinite;
}
.float-chip .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose-deep); }
.float-chip .ic svg { width: 18px; height: 18px; }
.float-chip small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.chip-a { left: max(0px, calc(50% - 250px)); top: 16%; animation-delay: -2s; }
.chip-b { right: max(0px, calc(50% - 250px)); bottom: 18%; animation-delay: -4s; }
@media (max-width: 520px) { .chip-a { left: 0; top: 6%; } .chip-b { display: none; } .float-chip { font-size: 12px; padding: 8px 10px; } }

/* ---------- hourglass (shared) ---------- */
.hg .sand-top, .hg .sand-bot { transform-box: fill-box; transform-origin: 50% 100%; }
.hg .stream { stroke-dasharray: 3 5; }
.hg-loop .sand-top { animation: drainTop 6s linear infinite; }
.hg-loop .sand-bot { animation: fillBot 6s linear infinite; }
.hg-loop .stream { animation: flow .5s linear infinite; }
.hg-loop { animation: flip 6s var(--ease-out) infinite; transform-origin: 50% 50%; }
@keyframes drainTop { 0% { transform: scaleY(1); } 88%, 100% { transform: scaleY(0.04); } }
@keyframes fillBot { 0% { transform: scaleY(0.04); } 88%, 100% { transform: scaleY(1); } }
@keyframes flow { to { stroke-dashoffset: -8; } }
@keyframes flip { 0%, 90% { transform: rotate(0); } 100% { transform: rotate(180deg); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 140px) 0; }
.kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); margin-bottom: 14px; }
.h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; margin: 0 0 16px; }
.h2 em { font-style: italic; font-weight: 500; color: var(--rose); }
.lede { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 36em; margin: 0; }
.center { text-align: center; }
.center .lede { margin: 0 auto; }

/* love-note marquee */
.marquee { padding: 34px 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, #fff9f4, var(--cream)); overflow: hidden; }
.marquee-row { display: flex; gap: 18px; width: max-content; animation: slide 60s linear infinite; }
.marquee-row + .marquee-row { margin-top: 16px; animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.note-pill {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 12px 20px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 18px; color: var(--rose-deep);
}
.note-pill::before { content: "♥"; font-style: normal; color: var(--rose); font-size: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* hourglass story (sticky) */
.story { padding-bottom: 40px; }
.story-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.story-visual { position: sticky; top: calc(var(--header-h) + 20px); height: min(70vh, 560px); display: grid; place-items: center; z-index: 1; }
@media (max-width: 899px) { .story-visual { height: 280px; top: calc(var(--header-h) + 8px); background: linear-gradient(180deg, var(--cream) 82%, transparent); } .story-visual .big-glass { width: 120px; margin-bottom: 48px; } .story-visual .days-left { bottom: 6px; font-size: 17px; } }
.big-glass { width: min(240px, 46vw); filter: drop-shadow(0 30px 40px rgba(122, 46, 64, 0.18)); }
.big-glass .sand-top { transform: scaleY(calc(1 - var(--p, 0) * 0.96)); }
.big-glass .sand-bot { transform: scaleY(calc(0.04 + var(--p, 0) * 0.96)); }
.days-left {
  position: absolute; bottom: 4%; left: 50%; translate: -50% 0; white-space: nowrap;
  font-family: var(--serif); font-size: 20px; color: var(--rose-deep);
  padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line);
}
.days-left b { font-variant-numeric: tabular-nums; }
.days-left .done-msg { display: none; }
.days-left.done .count-msg { display: none; }
.days-left.done .done-msg { display: inline; }
.steps-list { display: grid; gap: 22vh; padding: 6vh 0 34vh; }
@media (max-width: 899px) { .steps-list { gap: 40vh; padding-top: 0; } }
.step { opacity: .28; transform: translateY(12px); transition: opacity .6s ease, transform .6s var(--ease-out); }
.step.active { opacity: 1; transform: none; }
.step .num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--rose); }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 36px); margin: 6px 0 10px; line-height: 1.15; }
.step p { color: var(--muted); margin: 0; max-width: 28em; }
html:not(.js) .step { opacity: 1; transform: none; }

/* features bento */
.bento { display: grid; gap: 16px; margin-top: 48px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .bento { grid-template-columns: repeat(6, 1fr); } .b-1, .b-2 { grid-column: span 3; } .b-3, .b-4, .b-5 { grid-column: span 2; } .b-6 { grid-column: span 6; } }
.tile {
  position: relative; overflow: hidden; border-radius: 28px; padding: 28px; min-height: 220px;
  background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  display: flex; flex-direction: column; gap: 10px;
}
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(196, 80, 106, 0.12), transparent 60%);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.tile:hover::before { opacity: 1; }
.tile .ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose-deep); }
.tile .ic svg { width: 24px; height: 24px; }
.tile h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 10px 0 0; line-height: 1.2; }
.tile p { color: var(--muted); margin: 0; font-size: 16px; }
.tile.dark { background: linear-gradient(150deg, var(--night-2), var(--night)); color: #fff; border-color: transparent; }
.tile.dark p { color: rgba(255, 255, 255, 0.75); }
.tile.dark .ic { background: rgba(255, 255, 255, 0.12); color: var(--gold); }
.tile.blush { background: linear-gradient(150deg, #fff5f2, var(--blush)); }
.tile .art { position: absolute; right: -30px; bottom: -40px; width: 200px; opacity: .9; pointer-events: none; }
.tile-wide { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .tile-wide { grid-template-columns: 1.2fr 1fr; } }
.widget-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.w { border-radius: 22px; overflow: hidden; position: relative; color: #fff; box-shadow: 0 14px 30px rgba(42, 33, 30, 0.18); }
.w img { width: 100%; height: 100%; object-fit: cover; display: block; }
.w .w-in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; background: linear-gradient(180deg, transparent 35%, rgba(20, 12, 28, 0.65)); }
.w-small { width: 130px; height: 130px; }
.w-medium { width: 270px; height: 130px; }
.w .n { font-family: var(--serif); font-size: 34px; line-height: 1; font-weight: 600; }
.w .t { font-size: 11px; opacity: .9; }

/* letter envelope */
.envelope { position: relative; width: 120px; height: 80px; margin: 8px 0 0 auto; }
.envelope .body { position: absolute; inset: 0; border-radius: 10px; background: var(--rose-soft); border: 1.5px solid rgba(122, 46, 64, 0.25); }
.envelope .flap { position: absolute; left: 0; right: 0; top: 0; height: 52px; transform-origin: 50% 0; background: linear-gradient(180deg, #f0c9d1, #f6dde2); clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 10px 10px 0 0; transition: transform .7s var(--ease-out); }
.envelope .seal { position: absolute; left: 50%; top: 38px; width: 26px; height: 26px; translate: -50% 0; border-radius: 50%; background: var(--rose); display: grid; place-items: center; color: #fff; font-size: 12px; box-shadow: 0 4px 10px rgba(122, 46, 64, 0.3); }
.tile:hover .envelope .flap { transform: rotateX(160deg); }

/* gallery / parallax */
.gallery { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cream), #f5e8e2 40%, var(--cream)); }
.gallery-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; align-items: start; margin-top: 52px; }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr 1fr; } }
.frame { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-soft); background: #eee; }
.frame img { display: block; width: 100%; height: auto; }
.gallery-grid > .offset { margin-top: 70px; }
[data-speed] { will-change: transform; }
.gallery-copy { grid-column: 1 / -1; }
@media (min-width: 900px) { .gallery-copy { grid-column: auto; align-self: center; padding-left: 12px; } }
.badge-soft { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--rose-deep); font-weight: 600; }

/* pair */
.pair { background: linear-gradient(160deg, var(--night-2), var(--night) 70%); color: #fff; overflow: hidden; }
.pair .lede { color: rgba(255, 255, 255, 0.72); }
.pair .kicker { color: var(--gold); }
.pair .h2 em { color: #f2a3b4; }
.stars { position: absolute; inset: 0; pointer-events: none; background-image:
  radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 55% 30%, #fff, transparent), radial-gradient(1px 1px at 75% 60%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 88% 18%, #fff, transparent), radial-gradient(1px 1px at 45% 85%, #fff, transparent),
  radial-gradient(1px 1px at 20% 45%, #fff, transparent), radial-gradient(1.5px 1.5px at 65% 90%, #fff, transparent);
  opacity: .55; animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .25; } }
.pair-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .pair-grid { grid-template-columns: 1fr 1fr; } }
.pair-visual { position: relative; display: flex; justify-content: center; align-items: center; gap: min(22vw, 120px); padding: 20px 0; }
.mini {
  width: 130px; aspect-ratio: 9 / 18; border-radius: 26px; padding: 6px; background: #120c14;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.mini .scr { position: relative; width: 100%; height: 100%; border-radius: 21px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 22px; text-align: center; }
.mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mini .scr::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 28, 0.45), transparent 45%); }
.mini .scr > span { position: relative; z-index: 1; }
.mini .d { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; }
.mini .u { font-size: 10px; opacity: .85; }
@media (max-width: 520px) { .mini { width: 104px; border-radius: 22px; } .mini .scr { border-radius: 17px; } .mini .d { font-size: 32px; } .pair-visual { gap: 64px; } .link-line { width: 64px; } }
.mini.left { transform: rotate(-6deg); }
.mini.right { transform: rotate(6deg); }
.link-line { position: absolute; left: 50%; top: 50%; width: min(22vw, 120px); height: 2px; translate: -50% -50%; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0 6px, transparent 6px 12px); }
.link-line .beat { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; translate: -50% -50%; color: #f2a3b4; animation: travel 2.6s ease-in-out infinite; }
.link-line .beat svg { width: 100%; height: 100%; }
@keyframes travel { 0% { left: 0; scale: .6; } 50% { scale: 1.15; } 100% { left: 100%; scale: .6; } }
.id-chip { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; letter-spacing: .06em; }
.id-chip .cur { width: 2px; height: 18px; background: var(--gold); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }

/* plans */
.plans { display: grid; gap: 18px; margin-top: 52px; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; max-width: 900px; margin-inline: auto; } }
.plan { border-radius: 30px; padding: 32px 28px; background: #fff; border: 1px solid var(--line); }
.plan h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 0 0 4px; }
.plan .sub { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; margin: 0; }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--rose); }
.plan-plus {
  position: relative; color: #fff; border: 0; overflow: hidden;
  background: linear-gradient(145deg, #c4506a, #8e3550 55%, #5a2236);
  box-shadow: 0 30px 70px rgba(122, 46, 64, 0.35);
}
.plan-plus .sub { color: rgba(255, 255, 255, 0.78); }
.plan-plus li svg { color: var(--gold); }
.plan-plus::after { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 255, 255, 0.18) 80%, transparent 90%); animation: spin 9s linear infinite; pointer-events: none; }
.plan-plus > * { position: relative; z-index: 1; }
@keyframes spin { to { transform: rotate(1turn); } }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); margin-bottom: 14px; }
.plan:not(.plan-plus) .tag { background: var(--rose-soft); color: var(--rose-deep); }

/* privacy band */
.promise { display: grid; gap: 14px; margin-top: 44px; }
@media (min-width: 760px) { .promise { grid-template-columns: repeat(3, 1fr); } }
.promise div { padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.promise svg { width: 28px; height: 28px; color: var(--rose); }
.promise h3 { font-size: 18px; margin: 12px 0 6px; }
.promise p { margin: 0; color: var(--muted); font-size: 15px; }

/* final */
.final { text-align: center; overflow: hidden; }
.final .glass-wrap { width: 92px; margin: 0 auto 26px; }
.final .h2 { font-size: clamp(36px, 5.6vw, 66px); }
.final .lede { margin: 0 auto; }

/* footer */
.home-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
.home-footer .wrap-wide { display: grid; gap: 18px; }
@media (min-width: 760px) { .home-footer .wrap-wide { grid-template-columns: 1fr auto; align-items: center; } }
.home-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.home-footer a { color: var(--ink); text-decoration: none; }
.home-footer a:hover { color: var(--rose); text-decoration: underline; }

/* ---------- reveal on scroll (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* split headline words */
.js .split .w-word { display: inline-block; opacity: 0; transform: translateY(0.5em); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i) * 70ms + .1s); }
.js .split.in .w-word { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .split .w-word { opacity: 1 !important; transform: none !important; filter: none !important; }
  .step { opacity: 1; transform: none; }
  .hearts { display: none; }
  .phone { transform: none; }
}
