/* ConvoNest website — shared styles.
 * Palette mirrors the app (theme/cn.ts).
 * Mobile-first; tablet ≥ 768px, desktop ≥ 1024px.
 */

:root {
  /* Palette */
  --bg0: #05070D;
  --bg1: #0E1426;
  --bg2: #18203D;
  --ink: #F2F0FF;
  --ink-dim: #B5B6D6;
  --ink-mut: #7B7E9E;
  --peri: #A7B5FF;
  --rose: #F4B5C7;
  --viol: #9C7BFF;
  --amber: #F5B36C;
  --mint: #9EE0B1;
  --silver: #C9CCEA;
  --hair: rgba(255, 255, 255, 0.06);
  --hair2: rgba(255, 255, 255, 0.1);

  /* Type */
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg0);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--peri); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

p { color: var(--ink-dim); margin-bottom: 1rem; }

/* ── Night sky background ─────────────────────────────────── */
.night-sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at top, var(--bg2) 0%, var(--bg1) 45%, var(--bg0) 100%);
  overflow: hidden;
}

.night-sky::before, .night-sky::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.night-sky::before {
  top: -10%;
  left: -10%;
  width: 480px; height: 480px;
  background: var(--peri);
  animation: drift1 22s ease-in-out infinite alternate;
}

.night-sky::after {
  bottom: -15%;
  right: -10%;
  width: 420px; height: 420px;
  background: var(--rose);
  animation: drift2 26s ease-in-out infinite alternate;
  opacity: 0.35;
}

.stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

@keyframes drift1 {
  to { transform: translate(40px, -20px) scale(1.06); }
}
@keyframes drift2 {
  to { transform: translate(-30px, 10px) scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .night-sky::before, .night-sky::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ── Nav ─────────────────────────────────────────────────── */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 24px;
  background: rgba(5, 7, 13, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair);
}

nav.site-nav .nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.3px;
}

.brand img { width: 28px; height: 28px; border-radius: 6px; }

nav .nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

nav .nav-links a {
  color: var(--ink-dim);
  font-size: 14px;
  font-weight: 500;
}

nav .nav-links a:hover { color: var(--ink); opacity: 1; }

@media (max-width: 640px) {
  nav .nav-links a:not(.btn) { display: none; }
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.1px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--peri) 0%, var(--viol) 100%);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(167, 181, 255, 0.6);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -10px rgba(167, 181, 255, 0.7);
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hair2);
}
.btn-ghost:hover { background: var(--hair); }

.btn-amber {
  background: linear-gradient(135deg, var(--amber) 0%, var(--rose) 100%);
  color: #1a1407;
  box-shadow: 0 10px 30px -10px rgba(245, 179, 108, 0.6);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 80px 24px 100px;
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--peri);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(42px, 8vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero h1 .accent { color: var(--peri); }
.hero h1 .rose { color: var(--rose); }

.hero .lede {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--ink-dim);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero .cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero .small-note {
  font-size: 12.5px;
  color: var(--ink-mut);
}

/* Floating owl in hero — replaced by .hero-art img */
.hero-art {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto 28px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.hero-art img { width: 100%; height: 100%; display: block; }
.hero-art::before {
  content: '';
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(167,181,255,0.35) 0%, transparent 60%);
  z-index: -1;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── Sections ────────────────────────────────────────────── */
.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading .eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -1px;
  line-height: 1.1;
}

.section-heading .sub {
  margin-top: 16px;
  color: var(--ink-dim);
  font-size: 16px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Glass cards ─────────────────────────────────────────── */
.glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hair2);
  border-radius: 22px;
  padding: 28px;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.4px;
  color: var(--ink);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-dim);
  margin: 0;
}

/* Icon tints */
.ic-peri  { background: rgba(167,181,255,0.18); color: var(--peri); border: 1px solid rgba(167,181,255,0.3); }
.ic-rose  { background: rgba(244,181,199,0.18); color: var(--rose); border: 1px solid rgba(244,181,199,0.3); }
.ic-viol  { background: rgba(156,123,255,0.18); color: var(--viol); border: 1px solid rgba(156,123,255,0.3); }
.ic-amber { background: rgba(245,179,108,0.18); color: var(--amber); border: 1px solid rgba(245,179,108,0.3); }
.ic-mint  { background: rgba(158,224,177,0.18); color: var(--mint); border: 1px solid rgba(158,224,177,0.3); }

/* ── Quote / philosophy block ────────────────────────────── */
.quote-block {
  text-align: center;
  padding: 60px 24px;
  max-width: 760px;
  margin: 0 auto;
}

.quote-block blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--ink);
}

/* ── Pricing ─────────────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .pricing { grid-template-columns: 1fr 1fr; }
}

.plan {
  position: relative;
  padding: 32px;
  text-align: left;
}

.plan.featured {
  background: linear-gradient(135deg, rgba(245,179,108,0.08) 0%, rgba(244,181,199,0.05) 100%);
  border-color: rgba(245,179,108,0.35);
}

.plan .badge {
  position: absolute;
  top: 18px; right: 18px;
  padding: 4px 10px;
  background: rgba(245,179,108,0.2);
  border: 1px solid rgba(245,179,108,0.5);
  color: var(--amber);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  border-radius: 999px;
}

.plan h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.plan .price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  letter-spacing: -1px;
  margin: 14px 0 4px;
}

.plan .price .period {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-dim);
  font-style: normal;
}

.plan .save {
  color: var(--amber);
  font-size: 13px;
  margin-bottom: 18px;
}

.plan ul {
  list-style: none;
  margin: 16px 0 24px;
  padding: 0;
}

.plan ul li {
  padding: 8px 0 8px 24px;
  color: var(--ink-dim);
  font-size: 14px;
  position: relative;
}

.plan ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--peri);
  font-weight: 600;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--hair);
  padding: 50px 24px 36px;
  text-align: center;
  color: var(--ink-mut);
  font-size: 13px;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

footer .footer-links a {
  color: var(--ink-dim);
  font-size: 14px;
}

footer .brand-small {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
}

footer .copyright {
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-mut);
}

/* ── Legal pages (long-form) ─────────────────────────────── */
.legal {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 24px;
}

.legal h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: -1px;
  margin-bottom: 8px;
  text-align: center;
}

.legal .last-updated {
  text-align: center;
  color: var(--ink-mut);
  font-size: 13px;
  font-style: italic;
  margin-bottom: 50px;
}

.legal h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 44px 0 16px;
}

.legal h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 28px 0 10px;
}

.legal p, .legal li {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal ul, .legal ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal li { margin-bottom: 6px; }

.legal strong { color: var(--ink); font-weight: 600; }

.legal a {
  color: var(--peri);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal .callout {
  background: rgba(167,181,255,0.06);
  border: 1px solid rgba(167,181,255,0.2);
  border-left: 3px solid var(--peri);
  padding: 18px 20px;
  border-radius: 12px;
  margin: 24px 0;
}

.legal .callout p:last-child { margin-bottom: 0; }

/* ── Form (delete account / support) ─────────────────────── */
.form-page {
  max-width: 580px;
  margin: 60px auto;
  padding: 0 24px;
}

.form-page h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 6vw, 48px);
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 16px;
}

.form-page .intro {
  text-align: center;
  color: var(--ink-dim);
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.6;
}

.form-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-dim);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hair2);
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--peri);
  background: rgba(255, 255, 255, 0.06);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--sans);
}

.form-field .help {
  font-size: 12px;
  color: var(--ink-mut);
  margin-top: 6px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--peri);
}

.checkbox-row label {
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.5;
}

.danger-note {
  background: rgba(244,181,199,0.08);
  border: 1px solid rgba(244,181,199,0.25);
  border-left: 3px solid var(--rose);
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.6;
}

.success-message {
  text-align: center;
  padding: 32px;
}

.success-message .check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(158,224,177,0.18);
  border: 1px solid rgba(158,224,177,0.4);
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.success-message h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 10px;
}

.hidden { display: none !important; }

/* ════════════════════════════════════════════════════════════════════════
   PART 2 — Animations, interactive widgets, phone mockup, scroll reveal.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Scroll-reveal: elements get .reveal initially, .in-view when visible ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.16,.84,.36,1),
              transform 0.9s cubic-bezier(.16,.84,.36,1);
  will-change: transform, opacity;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.40s; }
.reveal.delay-6 { transition-delay: 0.48s; }
.reveal.delay-7 { transition-delay: 0.56s; }
.reveal.delay-8 { transition-delay: 0.64s; }

.reveal-left { transform: translateX(-28px) translateY(0); }
.reveal-left.in-view { transform: translateX(0); }

.reveal-right { transform: translateX(28px) translateY(0); }
.reveal-right.in-view { transform: translateX(0); }

.reveal-zoom { transform: scale(0.94); }
.reveal-zoom.in-view { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-zoom { opacity: 1; transform: none; transition: none; }
}

/* ── Gradient text shimmer ───────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(120deg, var(--peri) 0%, var(--rose) 35%, var(--viol) 70%, var(--peri) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s ease infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Twinkling stars background ──────────────────────────────────────── */
.star {
  position: absolute;
  width: 2px; height: 2px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.6;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%      { opacity: 0.9; transform: scale(1.4); }
}

/* ── Hero re-architected: 2-column on desktop ────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
    padding: 80px 24px 100px;
  }
}

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

.hero-copy h1 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -1.8px;
  margin-bottom: 24px;
}
.hero-copy .lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-dim);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.6;
}
@media (max-width: 979px) { .hero-copy .lede { margin-left: auto; margin-right: auto; } }

.hero-copy .cta-row { justify-content: flex-start; }
@media (max-width: 979px) { .hero-copy .cta-row { justify-content: center; } }

/* ── Phone mockup ────────────────────────────────────────────────────── */
.phone-stage {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 9 / 18;
  perspective: 1200px;
}

.phone {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  background: linear-gradient(160deg, #1a1f3a 0%, #0d1024 100%);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px;
  box-shadow:
    0 50px 100px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 2px 0 rgba(255,255,255,0.05);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.7s cubic-bezier(.16,.84,.36,1);
  animation: phoneFloat 8s ease-in-out infinite;
}
.phone-stage:hover .phone { transform: rotateY(0deg) rotateX(0deg) scale(1.02); }

@keyframes phoneFloat {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50%      { transform: rotateY(-8deg) rotateX(4deg) translateY(-12px); }
}
.phone-stage:hover .phone { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .phone, .phone-stage:hover .phone {
    transform: none; animation: none;
  }
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: radial-gradient(ellipse at top, #18203D 0%, #0E1426 55%, #05070D 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-screen::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  width: 96px; height: 24px;
  background: #05070D;
  border-radius: 20px;
  transform: translateX(-50%);
  z-index: 5;
}

/* Phone screen content */
.phone-status {
  position: relative;
  z-index: 2;
  padding: 20px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
.phone-status .icons { display: flex; gap: 5px; opacity: 0.7; }

.phone-content {
  flex: 1;
  padding: 50px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.phone-greeting {
  text-align: center;
}
.phone-greeting .ev {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--peri);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.phone-greeting .name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.phone-lantern-row {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}

/* Interactive Lantern widget */
.lantern {
  position: relative;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s;
}
.lantern .flame {
  width: 28px; height: 36px;
  background: radial-gradient(ellipse at center, var(--ink-mut) 0%, transparent 70%);
  border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
  transition: all 0.5s;
}
.lantern.lit {
  border-color: rgba(167,181,255,0.5);
  background: linear-gradient(160deg, rgba(167,181,255,0.18), rgba(156,123,255,0.08));
  box-shadow:
    0 0 40px rgba(167,181,255,0.6),
    0 0 80px rgba(167,181,255,0.3),
    inset 0 0 30px rgba(167,181,255,0.1);
  animation: lanternPulse 2.4s ease-in-out infinite;
}
.lantern.lit .flame {
  background: radial-gradient(ellipse at center, var(--peri) 0%, var(--viol) 50%, transparent 80%);
  filter: blur(0.5px);
}
.lantern.lit .flame::before {
  content: '';
  position: absolute;
  width: 8px; height: 12px;
  background: white;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.7;
  top: 38%; left: 50%;
  transform: translate(-50%, -50%);
  animation: flameFlicker 1.5s ease-in-out infinite;
}
@keyframes lanternPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(167,181,255,0.6), 0 0 80px rgba(167,181,255,0.3), inset 0 0 30px rgba(167,181,255,0.1); }
  50%      { box-shadow: 0 0 56px rgba(167,181,255,0.8), 0 0 110px rgba(167,181,255,0.4), inset 0 0 40px rgba(167,181,255,0.15); }
}
@keyframes flameFlicker {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.phone-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px;
}

/* Connection score card */
.conn-card .label {
  font-size: 8.5px;
  letter-spacing: 1.4px;
  color: var(--ink-mut);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.conn-card .stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.conn-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.8px;
}
.conn-card .delta {
  font-size: 10px;
  color: var(--peri);
  font-weight: 600;
}
.spark {
  height: 30px;
  width: 100%;
  margin-top: 6px;
}

.phone-pill {
  background: rgba(167,181,255,0.08);
  border: 1px solid rgba(167,181,255,0.18);
  border-radius: 14px;
  padding: 14px;
}
.phone-pill .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}
.phone-pill .cta {
  margin-top: 10px;
  font-size: 11px;
  color: var(--peri);
  font-weight: 600;
}

/* Phone tab bar mock */
.phone-tabs {
  display: flex;
  justify-content: space-around;
  padding: 14px 18px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
  position: relative;
  z-index: 2;
}
.phone-tabs .tab {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 12px;
  color: var(--ink-mut);
  display: flex; align-items: center; justify-content: center;
}
.phone-tabs .tab.active { background: rgba(167,181,255,0.2); color: var(--peri); }

/* Glow behind the phone */
.phone-stage::before {
  content: '';
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle at 50% 50%, rgba(167,181,255,0.18) 0%, transparent 60%);
  z-index: -1;
  animation: ambientGlow 10s ease-in-out infinite alternate;
}
@keyframes ambientGlow {
  0%   { transform: scale(0.95) translate(-2%, 2%); opacity: 0.7; }
  100% { transform: scale(1.1) translate(2%, -2%); opacity: 1; }
}

/* ── Feature cards — interactive hover ───────────────────────────────── */
.feature-card {
  transition: transform 0.4s cubic-bezier(.16,.84,.36,1),
              border-color 0.3s,
              background 0.3s;
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167,181,255,0.3);
}
.feature-card .ic {
  transition: transform 0.4s cubic-bezier(.16,.84,.36,1), box-shadow 0.4s;
}
.feature-card:hover .ic {
  transform: scale(1.08) rotate(-3deg);
}
.feature-card:hover.feature-card .ic.ic-peri { box-shadow: 0 0 30px rgba(167,181,255,0.4); }
.feature-card:hover.feature-card .ic.ic-rose { box-shadow: 0 0 30px rgba(244,181,199,0.4); }
.feature-card:hover.feature-card .ic.ic-viol { box-shadow: 0 0 30px rgba(156,123,255,0.4); }
.feature-card:hover.feature-card .ic.ic-amber { box-shadow: 0 0 30px rgba(245,179,108,0.4); }
.feature-card:hover.feature-card .ic.ic-mint { box-shadow: 0 0 30px rgba(158,224,177,0.4); }

/* ── Try-the-app interactive section ─────────────────────────────────── */
.try-section {
  padding: 100px 0;
  position: relative;
}
.try-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 900px) {
  .try-grid { grid-template-columns: 1fr 1.2fr; gap: 60px; }
}

.try-demo {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lantern-big {
  width: 130px; height: 130px;
}
.lantern-big .flame { width: 50px; height: 64px; }

.lantern-status {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-dim);
  transition: color 0.4s, opacity 0.4s;
}
.lantern-status.lit { color: var(--peri); }

/* ── Animated chat bubble (Nestor demo) ──────────────────────────────── */
.chat-demo {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
}
.chat-bubble {
  max-width: 88%;
  padding: 14px 18px;
  border-radius: 22px;
  font-size: 14.5px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s;
}
.chat-bubble.show { opacity: 1; transform: translateY(0); }
.chat-bubble.user {
  align-self: flex-end;
  background: rgba(167,181,255,0.15);
  border: 1px solid rgba(167,181,255,0.25);
  color: var(--ink);
  border-bottom-right-radius: 6px;
}
.chat-bubble.nestor {
  align-self: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hair2);
  color: var(--ink-dim);
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  border-bottom-left-radius: 6px;
}

.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.typing span {
  width: 6px; height: 6px;
  background: var(--ink-mut);
  border-radius: 50%;
  animation: typingBlink 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.18s; }
.typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typingBlink {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%           { opacity: 1;   transform: translateY(-3px); }
}

.chat-replay {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hair2);
  color: var(--ink-dim);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  align-self: center;
  margin-top: auto;
  transition: background 0.2s;
}
.chat-replay:hover { background: rgba(255,255,255,0.1); color: var(--ink); }

/* ── Pricing toggle ──────────────────────────────────────────────────── */
.pricing-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hair2);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 36px;
  gap: 0;
}
.pricing-toggle button {
  padding: 10px 22px;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--ink-dim);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  position: relative;
}
.pricing-toggle button.active {
  background: linear-gradient(135deg, var(--peri), var(--viol));
  color: #fff;
  box-shadow: 0 6px 20px -6px rgba(167,181,255,0.5);
}
.pricing-toggle .save-pill {
  position: absolute;
  top: -22px; right: -8px;
  background: var(--amber);
  color: #1a1407;
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.plan .price {
  transition: opacity 0.3s;
}
.plan .price.swapping { opacity: 0; }

/* ── Animated counter ────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 880px;
  margin: 60px auto 0;
}
@media (min-width: 720px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}
.stat-box {
  text-align: center;
  padding: 28px 12px;
}
.stat-box .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  letter-spacing: -1px;
  color: var(--peri);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-box .num.rose { color: var(--rose); }
.stat-box .num.amber { color: var(--amber); }
.stat-box .num.mint { color: var(--mint); }
.stat-box .lbl {
  font-size: 12px;
  color: var(--ink-mut);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── Sticky CTA bar (appears after scroll) ──────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translate(-50%, 120px);
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(14, 20, 38, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--hair2);
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  z-index: 30;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(.16,.84,.36,1), opacity 0.4s;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.5);
}
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; }
.sticky-cta span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink);
}
@media (max-width: 640px) { .sticky-cta span { display: none; } }

/* ── Magnetic CTA hover ──────────────────────────────────────────────── */
.btn-primary, .btn-amber {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .btn-amber::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}
.btn-primary:hover::after, .btn-amber:hover::after {
  width: 300px; height: 300px;
}

/* ── Section connector lines (subtle vertical gradient between sections) */
.section-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(167,181,255,0.3), transparent);
  margin: 0 auto;
  max-width: 600px;
}

/* ── Tilt cards (for pricing) ────────────────────────────────────────── */
.plan {
  transition: transform 0.4s cubic-bezier(.16,.84,.36,1), border-color 0.3s, box-shadow 0.4s;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
}
.plan.featured:hover { box-shadow: 0 30px 60px -20px rgba(245,179,108,0.35); }

/* ════════════════════════════════════════════════════════════════════════
   PART 3 — Screen carousel, aspirational "for the kind of couple who…",
   owl-flight intro.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Screen carousel ─────────────────────────────────────────────────── */
.carousel-section {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}

.carousel-stage {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 60px auto 0;
  height: 660px;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-phone {
  position: absolute;
  width: 300px;
  aspect-ratio: 9 / 18;
  border-radius: 40px;
  background: linear-gradient(160deg, #1a1f3a 0%, #0d1024 100%);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px;
  box-shadow:
    0 50px 100px -20px rgba(0,0,0,0.6),
    inset 0 2px 0 rgba(255,255,255,0.05);
  transition:
    transform 0.9s cubic-bezier(.16,.84,.36,1),
    opacity 0.7s,
    filter 0.7s;
  will-change: transform, opacity;
}
.carousel-phone .phone-screen { border-radius: 30px; }
.carousel-phone .phone-screen::before { top: 12px; width: 80px; height: 20px; }

/* Three-card stack: center (active), left, right */
.carousel-phone[data-pos="0"] {
  transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
  z-index: 5;
  opacity: 1;
  filter: none;
}
.carousel-phone[data-pos="-1"] {
  transform: translateX(-280px) translateZ(-80px) rotateY(28deg) scale(0.85);
  z-index: 3;
  opacity: 0.65;
  filter: blur(1px);
}
.carousel-phone[data-pos="1"] {
  transform: translateX(280px) translateZ(-80px) rotateY(-28deg) scale(0.85);
  z-index: 3;
  opacity: 0.65;
  filter: blur(1px);
}
.carousel-phone[data-pos="-2"] {
  transform: translateX(-520px) translateZ(-220px) rotateY(40deg) scale(0.7);
  opacity: 0;
  pointer-events: none;
}
.carousel-phone[data-pos="2"] {
  transform: translateX(520px) translateZ(-220px) rotateY(-40deg) scale(0.7);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 760px) {
  .carousel-stage { height: 580px; }
  .carousel-phone { width: 240px; }
  .carousel-phone[data-pos="-1"] { transform: translateX(-200px) translateZ(-80px) rotateY(28deg) scale(0.8); }
  .carousel-phone[data-pos="1"]  { transform: translateX(200px) translateZ(-80px) rotateY(-28deg) scale(0.8); }
}

.carousel-controls {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--peri);
  width: 28px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(167,181,255,0.6);
}
.carousel-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hair2);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s;
}
.carousel-arrow:hover {
  background: rgba(167,181,255,0.15);
  border-color: rgba(167,181,255,0.4);
}
.carousel-caption {
  text-align: center;
  margin-top: 18px;
  min-height: 50px;
}
.carousel-caption h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin-bottom: 4px;
  transition: opacity 0.3s;
}
.carousel-caption p {
  color: var(--ink-mut);
  font-size: 13.5px;
  margin: 0;
  transition: opacity 0.3s;
}
.carousel-caption.swap h3, .carousel-caption.swap p { opacity: 0; }

/* Repair screen content */
.screen-repair {
  padding: 50px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
  position: relative;
  height: 100%;
}
.screen-repair .header-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: 1.5px; color: var(--peri); text-transform: uppercase; font-weight: 600;
}
.screen-repair .step-dots { display: flex; gap: 5px; }
.screen-repair .step-dots i {
  width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.15);
}
.screen-repair .step-dots i.done { background: var(--peri); }
.screen-repair h4 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 22px; color: var(--ink); line-height: 1.15; letter-spacing: -0.4px;
  margin: 8px 0 4px;
}
.screen-repair .step-body {
  font-size: 12px; color: var(--ink-dim); line-height: 1.5;
}
.screen-repair .perspective-card {
  background: rgba(167,181,255,0.08); border: 1px solid rgba(167,181,255,0.18);
  border-radius: 14px; padding: 12px;
  font-size: 11.5px; line-height: 1.5; color: var(--ink-dim);
  font-family: var(--serif); font-style: italic;
}
.screen-repair .perspective-card .by {
  font-family: var(--sans); font-style: normal;
  font-size: 9px; color: var(--peri); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 6px; font-weight: 600;
}
.screen-repair .repair-actions {
  display: flex; gap: 8px; margin-top: auto; padding-top: 12px;
}
.screen-repair .repair-pill {
  flex: 1;
  padding: 11px 0;
  border-radius: 999px;
  font-size: 11px; font-weight: 600; text-align: center;
}
.screen-repair .repair-pill.ghost { background: rgba(255,255,255,0.05); color: var(--ink-mut); }
.screen-repair .repair-pill.primary {
  background: linear-gradient(135deg, var(--peri), var(--viol));
  color: #fff; flex: 1.6;
  box-shadow: 0 6px 20px -6px rgba(167,181,255,0.5);
}

/* Insights screen content */
.screen-insights {
  padding: 50px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
  position: relative;
  height: 100%;
}
.screen-insights .head {
  text-align: center;
}
.screen-insights .head .ev {
  font-size: 9px; letter-spacing: 1.4px; color: var(--silver); text-transform: uppercase; font-weight: 600;
}
.screen-insights .head h4 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 22px; color: var(--ink); line-height: 1.1; letter-spacing: -0.4px;
  margin-top: 4px;
}
.screen-insights .chart-card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--hair2);
  border-radius: 14px; padding: 12px;
}
.screen-insights .chart-card .label {
  font-size: 8.5px; letter-spacing: 1.2px; color: var(--ink-mut); text-transform: uppercase; font-weight: 600;
}
.screen-insights .chart-card .num {
  font-family: var(--serif); font-style: italic;
  font-size: 26px; color: var(--ink); letter-spacing: -0.8px; margin-top: 2px;
}
.screen-insights .chart-card svg { width: 100%; height: 50px; margin-top: 4px; }
.screen-insights .pattern {
  background: rgba(255,255,255,0.04); border: 1px solid var(--hair2);
  border-radius: 12px; padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
}
.screen-insights .pattern .ic {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.screen-insights .pattern .txt { flex: 1; }
.screen-insights .pattern .ttl { font-size: 11.5px; color: var(--ink); font-weight: 600; }
.screen-insights .pattern .sub { font-size: 10px; color: var(--ink-mut); margin-top: 1px; }
.screen-insights .pattern .val {
  font-family: var(--serif); font-style: italic;
  font-size: 16px;
}
.pat-mint .ic { background: rgba(158,224,177,0.18); color: var(--mint); }
.pat-mint .val { color: var(--mint); }
.pat-amber .ic { background: rgba(245,179,108,0.18); color: var(--amber); }
.pat-amber .val { color: var(--amber); }
.pat-peri .ic { background: rgba(167,181,255,0.18); color: var(--peri); }
.pat-peri .val { color: var(--peri); }

/* ── For-the-kind-of-couple-who section ─────────────────────────────── */
.couple-section { padding: 100px 0; }

.couple-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .couple-grid { grid-template-columns: repeat(2, 1fr); }
}

.couple-card {
  position: relative;
  padding: 36px 32px;
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--hair2);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(.16,.84,.36,1), border-color 0.3s;
}
.couple-card::before {
  content: '"';
  position: absolute;
  top: -40px; left: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 200px;
  color: rgba(167,181,255,0.08);
  line-height: 1;
}
.couple-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167,181,255,0.3);
}
.couple-card .intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--peri);
  letter-spacing: 0.3px;
  margin-bottom: 10px;
  display: block;
}
.couple-card .body {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.3vw, 24px);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.4px;
  position: relative;
  z-index: 1;
}
.couple-card .accent-bar {
  height: 2px;
  width: 40px;
  background: linear-gradient(to right, var(--peri), transparent);
  margin-top: 22px;
}
.couple-card.amber-tint::before { color: rgba(245,179,108,0.1); }
.couple-card.amber-tint .intro { color: var(--amber); }
.couple-card.amber-tint .accent-bar { background: linear-gradient(to right, var(--amber), transparent); }
.couple-card.rose-tint::before { color: rgba(244,181,199,0.1); }
.couple-card.rose-tint .intro { color: var(--rose); }
.couple-card.rose-tint .accent-bar { background: linear-gradient(to right, var(--rose), transparent); }
.couple-card.mint-tint::before { color: rgba(158,224,177,0.1); }
.couple-card.mint-tint .intro { color: var(--mint); }
.couple-card.mint-tint .accent-bar { background: linear-gradient(to right, var(--mint), transparent); }
.couple-card.viol-tint::before { color: rgba(156,123,255,0.1); }
.couple-card.viol-tint .intro { color: var(--viol); }
.couple-card.viol-tint .accent-bar { background: linear-gradient(to right, var(--viol), transparent); }

/* ── Owl-flight intro overlay ────────────────────────────────────────── */
.owl-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg0);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: opacity 0.8s, visibility 0.8s;
}
.owl-intro.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.owl-intro .glow {
  position: absolute;
  inset: 30% 30%;
  background: radial-gradient(circle, rgba(167,181,255,0.4) 0%, transparent 70%);
  filter: blur(40px);
  animation: introGlow 2.6s ease-in-out infinite;
}
@keyframes introGlow {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50%      { opacity: 0.7; transform: scale(1.05); }
}
.owl-intro .owl-wrap {
  width: 160px;
  height: 160px;
  position: relative;
  animation: owlEntry 1.4s cubic-bezier(.16,.84,.36,1) both;
}
.owl-intro .owl-wrap img {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 30px rgba(167,181,255,0.5));
  animation: owlPulse 2s ease-in-out infinite;
}
.owl-intro .wordmark {
  position: absolute;
  bottom: 32%;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.4px;
  opacity: 0;
  animation: wordmarkIn 1.2s ease-out 0.6s forwards;
}
.owl-intro .tag {
  position: absolute;
  bottom: 28%;
  left: 0; right: 0;
  text-align: center;
  font-size: 12px;
  color: var(--ink-mut);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: wordmarkIn 1.2s ease-out 1s forwards;
}
@keyframes owlEntry {
  0%   { opacity: 0; transform: scale(0.5) translateY(40px); }
  60%  { opacity: 1; transform: scale(1.08) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes owlPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}
@keyframes wordmarkIn {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.owl-intro.fly-up .owl-wrap {
  animation: owlFlyUp 0.8s cubic-bezier(.5, 0, .8, .2) forwards;
}
@keyframes owlFlyUp {
  to { transform: translateY(-120vh) scale(0.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .owl-intro { display: none !important; }
}
