/* Landing page — glass over aurora */

body.landing { background: transparent; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: var(--s-4);
  padding: calc(8px + var(--safe-t)) calc(var(--gutter) + var(--safe-r)) 8px calc(var(--gutter) + var(--safe-l));
  border-bottom: 1px solid transparent;
  transition: background-color 300ms var(--ease), border-color 300ms, box-shadow 300ms;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.6);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav.is-scrolled { background: color-mix(in srgb, var(--bg) 94%, transparent); }
}
.nav .brand span { white-space: nowrap; }
@media (max-width: 380px) { .nav .brand { font-size: 1.18rem; } .nav .brand__mark { width: 30px; height: 30px; } }
.nav__links { display: none; gap: var(--s-2); margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: var(--r-pill);
  color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: color var(--dur), background-color var(--dur);
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
:root[data-theme="light"] .nav__links a:hover { background: rgba(255, 255, 255, 0.7); }
.nav__tools { display: flex; gap: 2px; margin-left: auto; }
.th-sun { display: none; }
:root[data-theme="light"] .th-sun { display: block; }
:root[data-theme="light"] .th-moon { display: none; }
@media (min-width: 820px) {
  .nav__links { display: flex; }
  .nav__tools { margin-left: var(--s-3); }
}

main { overflow-x: clip; }

/* ---------- hero ---------- */
.hero {
  display: grid; gap: var(--s-6);
  max-width: 1200px; margin: 0 auto;
  padding: var(--s-5) calc(var(--gutter) + var(--safe-r)) var(--s-6) calc(var(--gutter) + var(--safe-l));
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 1fr 1.05fr; align-items: center; gap: var(--s-7); padding-top: var(--s-8); padding-bottom: var(--s-8); }
}
.hero__copy { display: flex; flex-direction: column; gap: var(--s-4); animation: fade-up 700ms var(--ease) both; min-width: 0; }
.eyebrow {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: var(--r-pill);
  background: rgba(255, 173, 114, 0.1); color: var(--accent);
  border: 1px solid rgba(255, 173, 114, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 24px -8px rgba(255, 150, 110, 0.5);
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.02em;
}
:root[data-theme="light"] .eyebrow { background: rgba(255, 255, 255, 0.6); border-color: rgba(233, 120, 58, 0.25); box-shadow: inset 0 1px 0 #fff; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); animation: breathe 2.4s ease-in-out infinite; }
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.7rem, 11.5vw, 5.3rem); line-height: 1; letter-spacing: -0.04em;
  text-shadow: var(--text-glow);
}
.hero__title span, .hero__title em { display: block; }
.hero__title em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, #ffd0a1 0%, var(--accent) 30%, var(--accent-2) 65%, #c48bff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 0.06em 0.1em 0; margin-right: -0.06em;
  text-shadow: none;
  filter: drop-shadow(0 6px 26px rgba(255, 122, 144, 0.35));
  animation: title-shine 9s ease-in-out infinite alternate;
}
:root[data-theme="light"] .hero__title em { background-image: linear-gradient(100deg, #b9521a 0%, #b8304f 55%, #6b4fe0 100%); filter: none; }
@keyframes title-shine { to { background-position: 100% 0; } }
.hero__lead { color: var(--text-2); font-size: clamp(1.05rem, 3.6vw, 1.2rem); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
@media (max-width: 480px) { .hero__cta .btn { flex: 1 1 100%; } }
.hero__fine { color: var(--muted); font-size: 0.9rem; }
.hero__guide {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap);
  margin-top: calc(-1 * var(--s-2)); color: var(--text-2); font-weight: 700; font-size: 0.95rem; text-decoration: none;
}
.hero__guide-k { color: var(--accent); }
.hero__guide:hover { color: var(--text); }
.hero__guide:hover span[aria-hidden] { transform: translateX(3px); }
.hero__guide span[aria-hidden] { display: inline-block; transition: transform 300ms var(--ease-spring); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading svg { animation: spin 900ms linear infinite; }

/* big CTA gets a breathing halo */
.btn--glow { animation: cta-glow 3.6s ease-in-out infinite; }
.btn--glow:hover { animation: none; }
@keyframes cta-glow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(120, 20, 40, 0.18), var(--glow-accent); }
  50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(120, 20, 40, 0.18), var(--glow-accent-hi); }
}

.join {
  margin-top: var(--s-3);
  padding: var(--s-4); border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 10px;
  max-width: 480px;
}
.join > * { position: relative; z-index: 1; }
.join__label { font-weight: 700; font-size: 0.95rem; }

/* ---------- hero illustration ---------- */
.hero__art {
  --dark: #0b0a18;
  position: relative; width: 100%; max-width: 600px; margin: 0 auto;
  aspect-ratio: 1 / 0.98;
  animation: fade-up 900ms 150ms var(--ease) both;
}
@media (min-width: 960px) { .hero__art { aspect-ratio: 1 / 0.92; } }
.art-halo {
  position: absolute; inset: 6% 4% 18%; border-radius: 50%;
  background:
    radial-gradient(closest-side at 35% 45%, rgba(139, 108, 255, 0.45), transparent),
    radial-gradient(closest-side at 75% 60%, rgba(255, 122, 144, 0.38), transparent);
  animation: breathe 7s ease-in-out infinite;
}
:root[data-theme="light"] .art-halo { opacity: 0.6; }
.device { position: absolute; }
.device__frame { border-radius: 16px; padding: 7px; background: rgba(255, 255, 255, 0.07); }
:root[data-theme="light"] .device__frame { background: rgba(255, 255, 255, 0.5); }
.device__frame--phone { border-radius: 30px; padding: 6px; }
.device__screen { position: relative; overflow: hidden; background: var(--dark); z-index: 1; }

.device--laptop { left: 0; top: 2%; width: 76%; }
.device--laptop .device__screen { aspect-ratio: 16 / 10; border-radius: 10px; }
.device__base {
  position: relative; height: 13px; margin: 0 -6%;
  border-radius: 2px 2px 16px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 18px 30px -12px rgba(0, 0, 0, 0.6);
}
.device__base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 4px; border-radius: 0 0 6px 6px; background: rgba(0, 0, 0, 0.25); }
:root[data-theme="light"] .device__base { background: linear-gradient(180deg, #fff, #ece3da); box-shadow: inset 0 1px 0 #fff, 0 18px 30px -12px rgba(80, 40, 60, 0.3); }

.device--phone { right: 0; top: 9%; width: 30%; min-width: 112px; z-index: 2; animation: bob 7s ease-in-out infinite; }
.device--phone .device__screen { aspect-ratio: 9 / 19; border-radius: 24px; }
.device--phone .device__frame { box-shadow: var(--glass-hl), 0 30px 60px -20px rgba(4, 2, 18, 0.8), 0 0 50px -12px rgba(255, 122, 144, 0.45); }
@keyframes bob { 50% { transform: translateY(-9px); } }

.scene { position: absolute; inset: 0; background: linear-gradient(180deg, #1e1650 0%, #6b3f8f 52%, #ff9a72 100%); }
.scene--small { bottom: auto; height: 36%; }
.scene__stars {
  position: absolute; inset: 0 0 50% 0; opacity: 0.7;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 32% 12%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 58% 28%, #fff, transparent), radial-gradient(1px 1px at 78% 14%, #fff, transparent),
    radial-gradient(1px 1px at 90% 34%, #fff, transparent), radial-gradient(1.2px 1.2px at 44% 40%, #fff, transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { to { opacity: 0.35; } }
.scene__sun { position: absolute; left: 50%; top: 38%; width: 24%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, #ffe7b8, #ffad72 70%); box-shadow: 0 0 40px #ffad72, 0 0 90px rgba(255, 122, 144, 0.6); }
.scene__hill { position: absolute; left: -10%; right: -10%; border-radius: 50% 50% 0 0; }
.scene__hill--1 { bottom: -30%; height: 60%; background: #34215f; }
.scene__hill--2 { bottom: -45%; height: 62%; left: 30%; background: #1f1543; }

.demo-orbs { position: absolute; top: 8px; right: 10px; display: flex; align-items: center; z-index: 2; }
.demo-orb {
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  font-style: normal; font-size: 0.56rem; font-weight: 800; color: #1b1230;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.6), transparent 45%), linear-gradient(140deg, #ffc58a, #ff8a7a);
  box-shadow: 0 0 10px rgba(255, 150, 110, 0.7), 0 0 0 1.5px rgba(10, 8, 24, 0.6);
}
.demo-orb--b { background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.6), transparent 45%), linear-gradient(140deg, #c3a6ff, #8b6cff); box-shadow: 0 0 10px rgba(139, 108, 255, 0.8), 0 0 0 1.5px rgba(10, 8, 24, 0.6); color: #fff; }
.demo-orb__link { width: 18px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, #ffad72, #ff7a90, #8b6cff); background-size: 200% 100%; animation: flow 2s linear infinite; box-shadow: 0 0 6px rgba(255, 122, 144, 0.8); }
@keyframes flow { to { background-position: -200% 0; } }

.demo-bar {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 10px;
  background: rgba(10, 8, 24, 0.5);
  -webkit-backdrop-filter: blur(8px) saturate(160%); backdrop-filter: blur(8px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff; font-size: 0.7rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.demo-play { width: 0; height: 0; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.demo-track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.22); overflow: hidden; }
.demo-track i { display: block; height: 100%; width: 52%; background: var(--grad); box-shadow: 0 0 8px #ff7a90; animation: track 30s linear infinite; }
@keyframes track { from { width: 52%; } to { width: 60%; } }
.demo-time { font-variant-numeric: tabular-nums; }
.demo-time--mini {
  position: absolute; right: 6px; bottom: 6px; z-index: 2;
  padding: 2px 6px; border-radius: 6px;
  background: rgba(10, 8, 24, 0.55); color: #fff;
  font-size: 0.56rem; font-weight: 800;
}
.demo-chat { position: absolute; left: 7px; right: 7px; top: 41%; display: flex; flex-direction: column; gap: 6px; }
.demo-msg {
  align-self: flex-start; max-width: 94%;
  display: flex; flex-direction: column;
  padding: 6px 9px; border-radius: 12px 12px 12px 4px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff; font-size: 0.6rem; line-height: 1.3;
  animation: fade-up 600ms 900ms var(--ease) both;
}
.demo-msg b { color: var(--accent); font-size: 0.56rem; }
:root[data-theme="light"] .demo-msg b { color: #ffad72; }
.demo-msg--me { align-self: flex-end; background: linear-gradient(135deg, #ffad72, #ff7a90); border-color: transparent; color: #2b1306; border-radius: 12px 12px 4px 12px; animation-delay: 1.8s; box-shadow: 0 4px 14px -4px rgba(255, 122, 144, 0.7); }
.demo-react { position: absolute; left: 0; right: 0; bottom: 8%; height: 40%; pointer-events: none; z-index: 1; }
.demo-react--wide { bottom: 18%; height: 70%; }
.demo-react span { position: absolute; bottom: 0; font-size: 1.1rem; animation: demo-float 4.5s ease-in infinite; opacity: 0; }
.demo-react--wide span { font-size: 1.3rem; animation-duration: 5s; }
.demo-react span:nth-child(1) { left: 20%; animation-delay: 1s; }
.demo-react span:nth-child(2) { left: 52%; animation-delay: 2.6s; }
.demo-react span:nth-child(3) { left: 72%; animation-delay: 3.8s; }
.demo-react--wide span:nth-child(1) { left: 14%; animation-delay: 0.4s; }
.demo-react--wide span:nth-child(2) { left: 40%; animation-delay: 3.2s; }
.demo-react--wide span:nth-child(3) { left: 62%; animation-delay: 1.9s; }
@keyframes demo-float { 0% { transform: translateY(0) scale(0.5); opacity: 0; } 15% { opacity: 1; transform: translateY(-10px) scale(1.1); } 100% { transform: translateY(-140px) scale(0.9); opacity: 0; } }
.demo-input { position: absolute; left: 7px; right: 7px; bottom: 9px; display: flex; gap: 6px; align-items: center; }
.demo-input span { flex: 1; height: 22px; border-radius: 11px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255,255,255,.1); }
.demo-input i { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(255, 122, 144, 0.6); }

/* heartbeat line between the two places */
.pulse {
  position: absolute; left: 2%; right: 2%; bottom: 10%;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
}
.pulse__end { display: flex; flex-direction: column; align-items: center; gap: 5px; z-index: 1; }
.pulse__end b { font-size: 0.72rem; font-weight: 700; color: var(--text-2); letter-spacing: 0.02em; }
.pulse__orb {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #ffad72 45%, #ff7a90);
  box-shadow: 0 0 0 4px rgba(255, 173, 114, 0.15), 0 0 18px rgba(255, 150, 110, 0.9);
  animation: breathe 2.4s ease-in-out infinite;
}
.pulse__orb--b { background: radial-gradient(circle at 35% 30%, #fff, #b49bff 45%, #8b6cff); box-shadow: 0 0 0 4px rgba(139, 108, 255, 0.18), 0 0 18px rgba(139, 108, 255, 0.9); animation-delay: -1.2s; }
.pulse__line { width: 100%; height: auto; overflow: visible; margin-bottom: 20px; }
.pulse__line path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pulse__base { stroke: color-mix(in srgb, var(--text) 18%, transparent); stroke-width: 1.5; }
.pulse__glow {
  stroke: #ff8f8a; stroke-width: 2.5;
  stroke-dasharray: 22 78;
  filter: drop-shadow(0 0 4px #ff7a90) drop-shadow(0 0 10px rgba(255, 122, 144, 0.7));
  animation: pulse-run 2.4s cubic-bezier(0.5, 0, 0.3, 1) infinite;
}
@keyframes pulse-run { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.pulse__heart {
  position: absolute; left: 50%; top: -8px; transform: translateX(-50%);
  width: 26px; height: 26px; display: grid; place-items: center;
}
.pulse__heart svg { width: 22px; height: 22px; fill: #ff7a90; filter: drop-shadow(0 0 8px rgba(255, 122, 144, 0.9)); animation: beat 2.4s ease-in-out infinite; }
.pulse__km {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  white-space: nowrap; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}

.sync-pill {
  position: absolute; left: 6%; top: 52%; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.8rem; white-space: nowrap;
}
.sync-pill > * { position: relative; z-index: 1; }
.sync-pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(111,224,178,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(111,224,178,.6); } 100% { box-shadow: 0 0 0 12px rgba(111,224,178,0); } }

/* ---------- founders' letter ---------- */
.section--note { padding-top: var(--s-5); }
.letter {
  position: relative; margin: 0 auto; max-width: 640px;
  padding: var(--s-6) var(--s-5) var(--s-5);
  border-radius: 26px;
  background:
    repeating-linear-gradient(180deg, transparent 0 41px, rgba(255, 220, 200, 0.07) 41px 42px),
    radial-gradient(120% 80% at 0% 0%, rgba(255, 173, 114, 0.16), transparent 60%),
    radial-gradient(100% 90% at 100% 100%, rgba(155, 128, 255, 0.18), transparent 60%),
    rgba(40, 28, 70, 0.42);
  border: 1px solid rgba(255, 210, 190, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 30px 70px -30px rgba(4, 2, 18, 0.8),
    0 0 80px -20px rgba(255, 122, 144, 0.35);
  rotate: -0.8deg;
  color: #ffe9dc;
}
:root[data-theme="light"] .letter {
  background:
    repeating-linear-gradient(180deg, transparent 0 41px, rgba(200, 120, 110, 0.12) 41px 42px),
    radial-gradient(120% 80% at 0% 0%, rgba(255, 190, 140, 0.35), transparent 60%),
    radial-gradient(100% 90% at 100% 100%, rgba(190, 160, 255, 0.25), transparent 60%),
    rgba(255, 253, 249, 0.78);
  border-color: rgba(233, 120, 58, 0.22);
  box-shadow: inset 0 1px 0 #fff, 0 30px 60px -30px rgba(90, 40, 60, 0.35), 0 0 60px -20px rgba(233, 120, 58, 0.3);
  color: #4a2134;
}
@media (hover: hover) and (min-width: 960px) {
  .letter { -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
}
.letter__seal {
  position: absolute; right: 22px; top: -20px;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffb7a0, #ff7a90 50%, #c2456a);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.45), inset 0 -3px 6px rgba(90, 10, 40, 0.4), 0 6px 18px -4px rgba(200, 50, 90, 0.7), 0 0 34px rgba(255, 122, 144, 0.55);
  rotate: 10deg;
}
.letter__seal svg { width: 22px; height: 22px; fill: #fff4ef; filter: drop-shadow(0 1px 1px rgba(120, 20, 50, 0.5)); animation: beat 2.4s ease-in-out infinite; }
.letter__kicker {
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: color-mix(in srgb, currentColor 60%, transparent);
  margin-bottom: var(--s-3);
}
.letter__text { margin: 0; }
.letter__text p {
  font-family: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  font-size: clamp(1.9rem, 7.6vw, 2.6rem); font-weight: 500; line-height: 42px;
  text-shadow: 0 0 24px rgba(255, 150, 130, 0.35);
}
:root[data-theme="light"] .letter__text p { text-shadow: none; }
.letter__line { display: inline-block; }
.letter__line--strong {
  font-weight: 700;
  background: linear-gradient(100deg, #ffc58a, #ff7a90 60%, #c79bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.1em;
}
:root[data-theme="light"] .letter__line--strong { background-image: linear-gradient(100deg, #b9521a, #b8304f 60%, #6b4fe0); }
.letter__sign {
  margin-top: var(--s-3); text-align: right;
  font-family: "Caveat", "Segoe Script", cursive; font-size: 1.7rem; font-weight: 700;
  color: color-mix(in srgb, currentColor 80%, transparent);
}
/* the note writes itself in, line by line */
@media (prefers-reduced-motion: no-preference) {
  .letter.reveal .letter__line, .letter.reveal .letter__sign { clip-path: inset(0 100% 0 0); }
  .letter.is-visible .letter__line, .letter.is-visible .letter__sign { animation: write 1.1s var(--ease) forwards; }
  .letter.is-visible .letter__line:nth-of-type(2) { animation-delay: 0.9s; }
  .letter.is-visible .letter__line:nth-of-type(3) { animation-delay: 1.8s; }
  .letter.is-visible .letter__sign { animation-delay: 2.7s; }
}
@keyframes write { to { clip-path: inset(0 -10% 0 0); } }

/* ---------- sections ---------- */
.section {
  max-width: 1200px; margin: 0 auto;
  padding: var(--s-7) calc(var(--gutter) + var(--safe-r)) var(--s-5) calc(var(--gutter) + var(--safe-l));
}
.section__title { font-family: var(--font-display); font-size: clamp(1.9rem, 6vw, 2.8rem); font-weight: 700; letter-spacing: -0.025em; text-shadow: var(--text-glow); }
.section__lead { color: var(--text-2); margin-top: var(--s-2); font-size: 1.05rem; }

.glass > * { position: relative; z-index: 1; }

.steps { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-3); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
.step {
  padding: var(--s-5); border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 500ms var(--ease-spring), box-shadow 400ms var(--ease), opacity 700ms var(--ease);
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--text-2); }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 15px;
  background: var(--grad); color: var(--accent-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  margin-bottom: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), var(--glow-accent);
}
@media (hover: hover) {
  .step:hover, .mode:hover { transform: translateY(-4px); box-shadow: var(--glass-hl), var(--glass-shadow), 0 0 50px -14px rgba(255, 122, 144, 0.45); }
}

.modes { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
@media (min-width: 820px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode {
  padding: var(--s-5); border-radius: var(--r-xl);
  display: flex; flex-direction: column; gap: 10px;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(155, 128, 255, 0.16), transparent 60%),
    var(--glass-fill);
  overflow: hidden;
  transition: transform 500ms var(--ease-spring), box-shadow 400ms var(--ease), opacity 700ms var(--ease);
}
.mode--warm { background: radial-gradient(90% 70% at 0% 0%, rgba(255, 173, 114, 0.2), transparent 60%), var(--glass-fill); }
.mode__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px;
  background: linear-gradient(160deg, rgba(155, 128, 255, 0.3), rgba(155, 128, 255, 0.08));
  border: 1px solid rgba(155, 128, 255, 0.35);
  color: var(--plum); font-size: 1.6rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 28px -6px rgba(139, 108, 255, 0.6);
}
.mode--warm .mode__icon { background: linear-gradient(160deg, rgba(255, 173, 114, 0.3), rgba(255, 173, 114, 0.08)); border-color: rgba(255, 173, 114, 0.38); color: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 28px -6px rgba(255, 150, 110, 0.6); }
.mode h3 { font-family: var(--font-display); font-size: 1.5rem; }
.mode p { color: var(--text-2); }
.ticks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 0.95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fe0b2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: 0 0 10px -2px rgba(111, 224, 178, 0.5);
}
:root[data-theme="light"] .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23138a5f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E"); box-shadow: none; }

.honest {
  display: grid; gap: var(--s-4);
  padding: var(--s-5); border-radius: var(--r-xl);
}
@media (min-width: 760px) { .honest { grid-template-columns: auto 1fr; padding: var(--s-6); } }
.honest__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 210, 122, 0.26), rgba(255, 210, 122, 0.06));
  border: 1px solid rgba(255, 210, 122, 0.3);
  color: var(--warn); font-size: 1.7rem;
  box-shadow: 0 0 28px -8px rgba(255, 210, 122, 0.55);
}
.honest__body { display: flex; flex-direction: column; gap: var(--s-3); }
.honest h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 4.6vw, 1.9rem); }
.honest p { color: var(--text-2); }
.honest__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.honest__list li {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--text-2);
}
:root[data-theme="light"] .honest__list li { background: rgba(255, 255, 255, 0.55); }
.honest__list svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }

.faq { display: grid; gap: 10px; margin-top: var(--s-5); max-width: 760px; }
.faq details { border-radius: var(--r-md); transition: box-shadow 300ms var(--ease), opacity 700ms var(--ease), transform 700ms var(--ease); }
.faq details[open] { box-shadow: var(--glass-hl), var(--glass-shadow), 0 0 40px -16px rgba(255, 122, 144, 0.5); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; position: relative;
  font-weight: 700; min-height: var(--tap);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); line-height: 1;
  font-size: 1.25rem; color: var(--accent); transition: transform 420ms var(--ease-spring), background-color var(--dur);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: rgba(255, 122, 144, 0.2); }
.faq details p { padding: 0 18px 16px; color: var(--text-2); }
.faq details[open] p { animation: fade-up 320ms var(--ease); }

.cta {
  display: flex; flex-direction: column; align-items: center; gap: var(--s-3); text-align: center;
  padding: var(--s-7) var(--s-5); border-radius: var(--r-xl);
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(255, 122, 144, 0.3), transparent 70%),
    radial-gradient(50% 60% at 50% 110%, rgba(139, 108, 255, 0.3), transparent 70%),
    var(--glass-fill);
  overflow: hidden;
}
.cta__mark { margin-bottom: var(--s-2); }
.cta h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 6vw, 2.6rem); letter-spacing: -0.02em; text-shadow: var(--text-glow); }
.cta p { color: var(--text-2); margin-bottom: var(--s-3); }

.footer {
  max-width: 1200px; margin: var(--s-6) auto 0;
  padding: var(--s-6) calc(var(--gutter) + var(--safe-r)) calc(var(--s-6) + var(--safe-b)) calc(var(--gutter) + var(--safe-l));
  border-top: 1px solid var(--line);
  display: grid; gap: var(--s-3);
}
.footer__brand { display: flex; gap: 12px; align-items: center; }
.footer__brand strong { font-family: var(--font-display); font-size: 1.1rem; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; }
.footer__fine { color: var(--muted); font-size: 0.85rem; }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; margin: 0; padding: 0; list-style: none; }
.footer__links li { display: flex; align-items: center; }
.footer__links li + li::before { content: "·"; color: var(--muted); margin: 0 4px; }
.footer__links a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 6px; color: var(--text-2); font-weight: 700; text-decoration: none; border-radius: var(--r-xs); }
.footer__links a:hover, .footer__links a[aria-current="page"] { color: var(--accent); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px) scale(0.985); transition: opacity 800ms var(--ease), transform 900ms var(--ease-soft-spring), box-shadow 400ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.steps .reveal:nth-child(2) { transition-delay: 90ms; }
.steps .reveal:nth-child(3) { transition-delay: 180ms; }
.reveal.is-visible:hover { transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .device--phone, .art-halo, .pulse__glow, .hero__title em { animation: none; }
}

/* ---------- "Bizim oda" (couple home room, C3) ---------- */
.couple-home[hidden], .couple-create[hidden] { display: none; }
.couple-home {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-4) var(--s-4) var(--s-3);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 122, 144, 0.26), transparent 55%),
    radial-gradient(100% 120% at 0% 100%, rgba(139, 108, 255, 0.24), transparent 60%),
    var(--glass-fill);
  max-width: 560px;
  animation: fade-up 600ms var(--ease) both;
}
.couple-home > * { position: relative; z-index: 1; }
.couple-home__row { display: flex; align-items: center; gap: var(--s-3); }
.couple-home__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.couple-home__kicker { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--accent-2); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; }
.couple-home__kicker .ico { width: 14px; height: 14px; display: inline-grid; }
.couple-home__kicker .ico svg { width: 100%; height: 100%; }
.couple-home__pill { padding: 1px 8px; border-radius: var(--r-pill); border: 1px solid rgba(255, 122, 144, 0.4); font-size: 0.66rem; color: var(--text-2); }
.couple-home__title { font-family: var(--font-display); font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.1; letter-spacing: -0.015em; overflow-wrap: anywhere; text-shadow: var(--text-glow); }
.couple-home__stats { color: var(--text-2); font-weight: 600; font-size: 0.92rem; }
.couple-home__heart {
  position: relative; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 104px; height: 104px; border-radius: 50%;
  text-decoration: none; color: #fff;
  background: radial-gradient(circle at 35% 30%, #ffb38a, #ff7a90 55%, #b45cff 120%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), 0 12px 34px -8px rgba(255, 90, 130, 0.75), 0 0 50px -6px rgba(255, 122, 144, 0.6);
  transition: transform 320ms var(--ease-spring);
  touch-action: manipulation;
}
.couple-home__heart:hover { transform: scale(1.05); }
.couple-home__heart:active { transform: scale(0.94); }
.couple-home__heart:focus-visible { box-shadow: var(--ring); }
.couple-home__heart-ico { width: 42px; height: 42px; display: grid; filter: drop-shadow(0 2px 6px rgba(120, 20, 60, 0.45)); animation: heart-beat 2.4s ease-in-out infinite; }
.couple-home__heart-ico svg { width: 100%; height: 100%; }
.couple-home__heart-t { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.01em; text-shadow: 0 1px 4px rgba(120, 20, 60, 0.5); }
.couple-home__ring { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 140, 160, 0.6); animation: home-ring 2.4s ease-out infinite; pointer-events: none; }
@keyframes home-ring { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.35); opacity: 0; } }
.couple-home__recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.couple-home__entry { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
:root[data-theme="light"] .couple-home__entry { background: rgba(255, 255, 255, 0.6); }
.couple-home__entry-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.couple-home__entry-main b { font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.couple-home__entry-main small { color: var(--muted); font-size: 0.76rem; font-weight: 600; }
.couple-home__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.couple-home__forget { margin-left: auto; color: var(--muted); font-size: 0.8rem; font-weight: 600; }
@media (max-width: 480px) {
  .couple-home__actions .btn { flex: 1 1 auto; }
  .couple-home__forget { margin: 0 auto; }
  .couple-home__heart { width: 92px; height: 92px; }
}

.couple-create {
  display: flex; flex-direction: column; gap: 8px;
  padding: var(--s-4); border-radius: var(--r-lg); max-width: 480px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(255, 122, 144, 0.16), transparent 60%), var(--glass-fill);
}
.couple-create > * { position: relative; z-index: 1; }
.couple-create__head { display: flex; align-items: center; gap: 8px; }
.couple-create__ico { width: 20px; height: 20px; display: grid; color: var(--accent-2); filter: drop-shadow(0 0 6px rgba(255, 122, 144, 0.7)); }
.couple-create__ico svg { width: 100%; height: 100%; }
.couple-create__t { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.couple-create__d { color: var(--muted); font-size: 0.9rem; }

/* shared with the room diary (couple.css) */
.pmark {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 11px;
  background: color-mix(in srgb, var(--pc, var(--plum)) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc, var(--plum)) 55%, transparent);
  color: #fff; font-weight: 900; font-size: 0.8rem;
}
:root[data-theme="light"] .pmark { color: var(--pc, var(--plum)); }
.pmark--ico { color: var(--plum); }
.pmark--ico svg { width: 17px; height: 17px; }
.hrow { display: inline-flex; gap: 2px; flex: none; }
.hrow > span { width: 13px; height: 13px; color: var(--line-2); display: inline-grid; }
.hrow svg { width: 100%; height: 100%; }
.hrow .is-on { color: var(--accent-2); }
@media (prefers-reduced-motion: reduce) { .couple-home__ring { display: none; } }

/* C6: next meeting countdown + "Birlikte X gün" on the "Bizim oda" card */
.couple-home__meet {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: var(--r-md);
  background: linear-gradient(110deg, rgba(255, 173, 114, 0.12), rgba(255, 122, 144, 0.1) 55%, rgba(155, 128, 255, 0.12));
  border: 1px solid var(--line-2);
}
.couple-home__meet.is-now { border-color: color-mix(in srgb, var(--accent-2) 60%, transparent); box-shadow: 0 0 26px -10px rgba(255, 122, 144, 0.8); }
.couple-home__meetline { display: flex; align-items: center; gap: 8px; }
.couple-home__cal { width: 18px; height: 18px; flex: none; display: grid; color: var(--accent-2); filter: drop-shadow(0 0 6px rgba(255, 122, 144, 0.6)); }
.couple-home__cal svg, .couple-home__th svg { width: 100%; height: 100%; }
.couple-home__left { font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.couple-home__when { color: var(--muted); font-size: 0.8rem; font-weight: 600; padding-left: 26px; overflow-wrap: anywhere; }
.couple-home__when::first-letter { text-transform: uppercase; }
.couple-home__together { display: flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 700; font-size: 0.86rem; margin-top: 2px; }
.couple-home__th { width: 14px; height: 14px; display: grid; color: var(--accent-2); }

/* ================================================================ landing v2: scroll story */
.couple-create:not(.is-open) { display: none; }
.hero__minor { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--muted); font-size: 0.95rem; }
.hero__quick, .hero__code { min-height: var(--tap); display: inline-flex; align-items: center; color: var(--text-2); font-weight: 700; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; }
.hero__quick:hover, .hero__code:hover { color: var(--accent); }
.hero__code[hidden] { display: none; }

/* split hero: two dark rooms, the same film glow */
.split {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  width: 100%; max-width: 600px; margin: 0 auto; aspect-ratio: 1 / 0.9;
  border-radius: var(--r-xl, 28px); overflow: hidden;
  box-shadow: var(--glass-shadow); border: 1px solid var(--line-2);
  animation: fade-up 900ms 150ms var(--ease) both;
}
.split__room { position: relative; background: radial-gradient(120% 70% at 50% 30%, #1b1640 0%, #07060f 70%); overflow: hidden; }
.split__room--b { background: radial-gradient(120% 70% at 50% 30%, #241433 0%, #07060f 70%); }
.split__city {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1); color: #f7f1ec; border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: clamp(0.68rem, 2.6vw, 0.85rem); font-weight: 700; white-space: nowrap;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.split__tv {
  position: absolute; left: 14%; right: 14%; top: 26%; aspect-ratio: 16 / 9; border-radius: 6px;
  background: linear-gradient(135deg, #ffbd7f, #ff7a90 55%, #8b6cff);
  box-shadow: 0 0 40px 10px rgba(255, 140, 120, 0.35), 0 0 120px 40px rgba(139, 108, 255, 0.22);
  animation: tv-flicker 5s ease-in-out infinite;
}
.split__glow { position: absolute; inset: 100% -40% auto; height: 160%; background: radial-gradient(closest-side, rgba(255, 150, 120, 0.28), transparent); }
.split__tc { position: absolute; right: 6px; bottom: 4px; font: 700 0.62rem/1 var(--font-mono); color: rgba(20, 8, 20, 0.75); }
.split__couch { position: absolute; left: 10%; right: 10%; bottom: 12%; height: 15%; border-radius: 18px 18px 8px 8px; background: #120f26; box-shadow: 0 -8px 30px -6px rgba(255, 140, 120, 0.25); }
.split__room--b .split__couch { background: #1a1028; }
.split__heart {
  position: absolute; left: 50%; top: 52%; z-index: 3; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(12, 10, 29, 0.6); border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(255, 122, 144, 0.5);
}
.split__heart svg { width: 34px; height: 34px; fill: #ff7a90; animation: heartbeat 1.3s ease-in-out infinite; }
.split__note {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 3;
  padding: 5px 12px; border-radius: var(--r-pill); white-space: nowrap;
  background: rgba(12, 10, 29, 0.55); color: #f7f1ec; font-size: 0.78rem; font-weight: 700;
}
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(0.96); } 45% { transform: scale(1.1); } }
@keyframes tv-flicker { 0%, 100% { filter: brightness(1); } 40% { filter: brightness(1.12) hue-rotate(-8deg); } 70% { filter: brightness(0.92) hue-rotate(10deg); } }

/* story beats */
.beats { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: var(--s-7, 56px); }
.beat { display: grid; gap: var(--s-4); align-items: center; justify-items: center; min-width: 0; }
@media (min-width: 820px) {
  .beat { grid-template-columns: 300px 1fr; gap: var(--s-7, 56px); justify-items: start; }
  .beat:nth-child(even) { grid-template-columns: 1fr 300px; }
  .beat:nth-child(even) .phone { order: 2; }
}
.phone {
  margin: 0; width: min(260px, 72vw); aspect-ratio: 390 / 844; border-radius: 34px; overflow: hidden;
  border: 8px solid #15122b; background: #07060f;
  box-shadow: var(--glass-shadow), 0 0 0 1px var(--line-2), 0 30px 80px -30px rgba(255, 122, 144, 0.35);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mock {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center;
  background: radial-gradient(110% 60% at 50% 20%, rgba(139, 108, 255, 0.35), transparent 70%), linear-gradient(180deg, #171236, #0b0a18);
  color: #f7f1ec;
}
.mock b { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; }
.mock small { color: #d3cae8; font-size: 0.85rem; }
.mock__chip { padding: 5px 12px; border-radius: var(--r-pill); background: rgba(255, 173, 114, 0.16); color: #ffad72; font-weight: 700; font-size: 0.78rem; }
.mock__bar { width: 70%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #ffad72 45%, rgba(255, 255, 255, 0.12) 45%); }
.mock__pulse { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 122, 144, 0.14); box-shadow: 0 0 0 14px rgba(255, 122, 144, 0.07); }
.mock__pulse svg { width: 54px; height: 54px; fill: #ff7a90; animation: heartbeat 1.3s ease-in-out infinite; }
.mock__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.mock__cards span { display: grid; gap: 6px; padding: 14px 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); }
.mock__cards em { font-style: normal; font-size: 0.8rem; color: #d3cae8; }
.mock__cards b { font-family: inherit; font-size: 0.95rem; color: #ff7a90; letter-spacing: 1px; }
.beat__copy { max-width: 30em; text-align: center; }
@media (min-width: 820px) { .beat__copy { text-align: left; } }
.beat__time { display: inline-block; font: 700 0.85rem/1 var(--font-mono); color: var(--accent); margin-bottom: 8px; }
.beat__copy h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 5vw, 2.1rem); margin-bottom: 8px; }
.beat__copy p { color: var(--text-2); }
.cta__links { margin-top: var(--s-4); color: var(--muted); }
.cta__links a { color: var(--text-2); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .split, .split__tv, .split__heart svg, .mock__pulse svg { animation: none; }
}
@media (max-width: 959px) {
  .hero--split .split { order: -1; aspect-ratio: 1 / 0.56; }
  .hero--split .split__tv { top: 22%; }
  .hero--split .split__couch { display: none; }
}

/* ---- One-time dedication note (inline, top of landing) ---- */
.dedication { padding: 18px max(16px, env(safe-area-inset-left, 0px)) 0 max(16px, env(safe-area-inset-right, 0px)); }
.dedication__card {
  position: relative; max-width: 760px; margin: 0 auto; padding: 18px 48px 18px 56px;
  border-radius: 20px; background: var(--glass, rgba(255,255,255,.06));
  border: 1px solid var(--glass-edge, rgba(255,255,255,.14));
  box-shadow: 0 10px 40px -18px var(--glow, rgba(255,122,144,.45));
  animation: dedication-in .7s ease-out both;
}
.dedication__heart {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--heart, #ff7a90); animation: dedication-beat 1.6s ease-in-out infinite;
}
.dedication__text {
  margin: 0; font-family: "Caveat", "Segoe Script", cursive; font-weight: 600;
  font-size: clamp(21px, 4.6vw, 27px); line-height: 1.3; color: var(--text, #f3eef9); text-wrap: balance;
}
.dedication__close {
  position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: transparent; color: var(--muted, #b9b1cf); font-size: 22px; line-height: 1; cursor: pointer;
}
.dedication__close:hover { background: var(--glass, rgba(255,255,255,.08)); color: var(--text, #fff); }
.dedication.is-leaving { opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
@keyframes dedication-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes dedication-beat { 0%, 100% { transform: translateY(-50%) scale(1); } 15% { transform: translateY(-50%) scale(1.18); } 30% { transform: translateY(-50%) scale(1); } }
@media (prefers-reduced-motion: reduce) { .dedication__card, .dedication__heart { animation: none; } }
