/* ERQYN website. Tokens come from the app's ErqynTheme; see website/DESIGN.md. */
@font-face { font-family: "Fredoka"; src: url("assets/fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("assets/fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Courgette"; src: url("assets/fonts/courgette.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --plum: #1C1029;
  --night: #2B1B42;
  --sakura: #FF7EB6;
  --sakura-deep: #F2509A;
  --violet: #A85BD8;
  --lilac: #C3B0FF;
  --lantern: #FFCB7A;
  --cream: #FFF6FA;
  --ink: #3B1D4A;
  --ink-soft: #6A4A78;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --text: "Nunito", system-ui, sans-serif;
  --script: "Courgette", "Brush Script MT", cursive;
  --wrap: min(1160px, 100% - 2 * clamp(20px, 5vw, 48px));
  --space: clamp(72px, 11vw, 136px);
  --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.2C5.5 16 2.5 12.5 2.5 8.8 2.5 5.9 4.8 3.6 7.6 3.6c1.9 0 3.5 1 4.4 2.5.9-1.5 2.5-2.5 4.4-2.5 2.8 0 5.1 2.3 5.1 5.2 0 3.7-3 7.2-9.5 12.4z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--plum); color: var(--cream);
  font: 500 1.0625rem/1.65 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: 0.005em; }
h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.65rem); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lantern); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 30; padding: 10px 16px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 800; text-decoration: none; }
.skip:focus { top: 16px; }
.i { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Buttons: the app's pink-to-violet pill, and a glass one for second choices. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px;
  border-radius: 999px; text-decoration: none; color: #fff;
  font: 600 1.1rem/1 var(--display); letter-spacing: 0.01em;
  background: linear-gradient(90deg, #FF6CA9, var(--sakura-deep) 55%, var(--violet));
  box-shadow: 0 10px 28px rgba(242, 80, 154, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 250ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(242, 80, 154, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-glass { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.34); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); box-shadow: none; }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { transition: none; transform: none; } }

/* Header over the hero */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 10; width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; gap: 28px; padding: 22px 0;
}
.mark { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font: 600 1.45rem/1 var(--display); letter-spacing: 0.04em; }
.mark .i { color: var(--sakura); width: 0.9em; height: 0.9em; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 700; font-size: 0.98rem; opacity: 0.86; }
.top nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--sakura); }
@media (max-width: 860px) { .top nav { display: none; } .top .btn-small { margin-left: auto; } }

/* Hero: the welcome film inside an arched garden door, the two of them peeking over its sill. */
.hero {
  position: relative; min-height: min(100svh, 980px); overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center;
  gap: clamp(32px, 5vw, 72px); padding: 120px max((100% - 1160px) / 2, clamp(20px, 5vw, 48px)) 96px;
}
.hero-sky {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 246, 250, 0.9), transparent 60%),
    radial-gradient(1.2px 1.2px at 28% 64%, rgba(255, 246, 250, 0.7), transparent 60%),
    radial-gradient(1.6px 1.6px at 46% 12%, rgba(255, 246, 250, 0.8), transparent 60%),
    radial-gradient(1.1px 1.1px at 8% 84%, rgba(255, 246, 250, 0.6), transparent 60%),
    radial-gradient(1.4px 1.4px at 38% 36%, rgba(255, 203, 122, 0.8), transparent 60%),
    radial-gradient(1.2px 1.2px at 58% 78%, rgba(255, 246, 250, 0.6), transparent 60%),
    radial-gradient(60% 55% at 78% 40%, rgba(242, 80, 154, 0.34), transparent 70%),
    radial-gradient(50% 50% at 18% 20%, rgba(168, 91, 216, 0.28), transparent 70%),
    linear-gradient(180deg, var(--plum) 0%, var(--night) 70%, #3A2152 100%);
}
.petals { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-copy { max-width: 36rem; }
.wordmark { display: flex; align-items: center; gap: 0.12em; font-size: clamp(4.2rem, 2.2rem + 8vw, 8.4rem); line-height: 0.95; letter-spacing: 0.035em; color: #fff; text-shadow: 0 0 40px rgba(255, 126, 182, 0.45); }
.wordmark .i { color: var(--sakura); width: 0.62em; height: 0.62em; filter: drop-shadow(0 0 18px rgba(255, 126, 182, 0.7)); }
.script { font-family: var(--script); font-weight: 400; color: #FFD3E6; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); line-height: 1.25; margin-top: 0.15em; }
.lede { margin-top: 22px; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.6; max-width: 31rem; color: rgba(255, 246, 250, 0.9); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.door { position: relative; justify-self: center; width: min(100%, 400px); }
.film {
  width: 100%; aspect-ratio: 9 / 16; max-height: 72svh; object-fit: cover;
  border-radius: 999px 999px 36px 36px; border: 6px solid rgba(255, 246, 250, 0.9);
  box-shadow: 0 0 0 1px rgba(255, 126, 182, 0.4), 0 30px 80px rgba(242, 80, 154, 0.35), 0 0 120px rgba(255, 126, 182, 0.25);
  background: var(--night);
}
.peek { position: absolute; bottom: -6px; height: auto; pointer-events: none; filter: drop-shadow(0 8px 16px rgba(28, 16, 41, 0.45)); }
.peek-boy { left: -64px; width: 150px; }
.peek-girl { right: -78px; width: 176px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; align-items: end; min-height: 100svh; padding-top: 96px; padding-bottom: 56px; text-align: left; }
  .door { position: absolute; inset: 0; z-index: -1; width: 100%; }
  .film { height: 100%; max-height: none; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
  .door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 16, 41, 0.55) 0%, rgba(28, 16, 41, 0.05) 28%, rgba(28, 16, 41, 0.6) 50%, rgba(28, 16, 41, 0.96) 78%); }
  .hero-copy { text-shadow: 0 2px 14px rgba(28, 16, 41, 0.75); }
  .peek, .petals, .hero-sky { display: none; }
}

/* Promise */
.promise { width: var(--wrap); margin: 0 auto; padding: var(--space) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.promise h2 { color: #fff; }
.promise > p { font-size: 1.2rem; color: rgba(255, 246, 250, 0.88); max-width: 34rem; }
.promise-points { grid-column: 1 / -1; list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.promise-points li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; }
.promise-points .i { width: 1.4em; height: 1.4em; color: var(--sakura); }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; } }

/* Light chapters: the app's milky blossom panels with plum ink. */
.journey, .features, .little, .faq { background: var(--cream); color: var(--ink); }
.journey { padding: var(--space) 0 calc(var(--space) * 0.6); background: linear-gradient(180deg, #F6E6F6 0%, var(--cream) 22%); }
.section-head { width: var(--wrap); margin: 0 auto clamp(40px, 6vw, 64px); display: grid; gap: 16px; max-width: 46rem; margin-left: max((100% - 1160px) / 2, clamp(20px, 5vw, 48px)); }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; }
.features { padding: calc(var(--space) * 0.4) 0 var(--space); }
/* Facts: small hearts instead of bullets */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; background: var(--sakura-deep); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; }
.privacy .facts li, .single .facts li { color: rgba(255, 246, 250, 0.86); }
.privacy .facts li::before, .single .facts li::before { background: var(--sakura); }

/* The little things: icon, title, text. No boxes, proximity does the grouping. */
.little { padding: 0 0 var(--space); }
.little h2 { width: var(--wrap); margin: 0 auto clamp(36px, 5vw, 56px); }
.little-list { list-style: none; margin: 0 auto; padding: 0; width: var(--wrap); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 56px) clamp(32px, 6vw, 96px); }
.little-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; row-gap: 8px; align-items: start; }
.little-list .i { grid-row: span 2; width: 56px; height: 56px; padding: 14px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #FF8CC2, #E9408F); box-shadow: 0 10px 24px rgba(242, 80, 154, 0.3); }
.little-list p { color: var(--ink-soft); max-width: 32rem; }
@media (max-width: 760px) { .little-list { grid-template-columns: 1fr; } }

/* Single mode: the night sakura balcony feel */
.single-copy { display: grid; gap: 20px; max-width: 36rem; }
.single-copy > p { font-size: 1.15rem; color: rgba(255, 246, 250, 0.9); }
/* Privacy */
.privacy { width: var(--wrap); margin: 0 auto; padding: var(--space) 0; display: grid; gap: 28px; }
.privacy-lede { font-size: 1.2rem; color: rgba(255, 246, 250, 0.88); max-width: 40rem; }
.privacy-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); margin-top: 16px; }
.privacy-cols h3 { margin-bottom: 18px; color: #fff; }
.key-note {
  margin-top: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 24px 28px; border-radius: 28px; background: rgba(255, 203, 122, 0.1); border: 1px solid rgba(255, 203, 122, 0.38);
}
.key-note .i { width: 34px; height: 34px; color: var(--lantern); }
.key-note p { color: rgba(255, 246, 250, 0.92); max-width: 52rem; }
.key-note strong { color: var(--lantern); }
@media (max-width: 760px) { .privacy-cols { grid-template-columns: 1fr; } .key-note { padding: 20px; } }

/* Questions */
.faq { padding: var(--space) max((100% - 860px) / 2, clamp(20px, 5vw, 48px)); }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid rgba(59, 29, 74, 0.16); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font: 600 1.25rem/1.3 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(242, 80, 154, 0.12) center / 14px 14px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23F2509A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 44rem; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Get the app */
.get { position: relative; overflow: hidden; text-align: center; padding: var(--space) clamp(20px, 5vw, 48px) calc(var(--space) * 0.8); display: grid; justify-items: center; gap: 18px; background: radial-gradient(60% 70% at 50% 0%, rgba(242, 80, 154, 0.3), transparent 70%), var(--plum); }
.get-art { width: 170px; height: auto; filter: drop-shadow(0 14px 30px rgba(242, 80, 154, 0.35)); }
.get > p { max-width: 34rem; font-size: 1.15rem; color: rgba(255, 246, 250, 0.88); }
.platforms { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.platforms li { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); text-align: left; }
.platforms .i { width: 26px; height: 26px; color: var(--sakura); }
.platforms span { display: grid; line-height: 1.25; font-size: 0.95rem; color: rgba(255, 246, 250, 0.8); }
.platforms strong { font: 600 1.1rem/1.2 var(--display); color: #fff; }

.foot { padding: 48px clamp(20px, 5vw, 48px) 56px; display: grid; justify-items: center; gap: 6px; background: var(--plum); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot-script { font-size: 1.5rem; margin: 0; }
.foot-small { font-size: 0.9rem; color: rgba(255, 246, 250, 0.6); }

/* ERQYN website: the journey, the feature scenes drawn in code, the match score and the
   privacy flow. Appended to styles.css by scripts/website_build.py. */

/* ---- Journey: a real sequence, so it is numbered. A dashed path joins the steps. ---------- */
.steps { list-style: none; counter-reset: step; margin: 0 auto; padding: 0; width: var(--wrap); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: step; position: relative; display: grid; gap: 10px; align-content: start; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: 78px; right: -22px; border-top: 2px dashed rgba(242, 80, 154, 0.4); }
.steps .dot { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #FF8CC2, #E9408F); box-shadow: 0 12px 26px rgba(242, 80, 154, 0.32); }
.steps .dot .i { width: 28px; height: 28px; }
.steps .dot::after { content: counter(step); position: absolute; top: -4px; right: -6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--sakura-deep); font: 600 0.85rem/1 var(--display); box-shadow: 0 2px 6px rgba(91, 33, 92, 0.2); }
.steps h3 { margin-top: 8px; font-size: 1.2rem; }
.steps p { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 1040px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 40rem; }
  .steps li { grid-template-columns: 64px minmax(0, 1fr); column-gap: 22px; row-gap: 4px; padding-bottom: 28px; }
  .steps .dot { grid-row: span 2; }
  .steps h3 { margin-top: 14px; }
  .steps li:not(:last-child)::after { top: 72px; bottom: 4px; left: 31px; right: auto; border-top: 0; border-left: 2px dashed rgba(242, 80, 154, 0.4); }
}

/* ---- Feature chapters: copy beside a small scene drawn in code -------------------------- */
.chapter { width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: clamp(32px, 7vw, 110px); align-items: center; padding: clamp(44px, 6vw, 76px) 0; }
.chapter-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 430px); }
.chapter-flip > .scene { order: 2; }
.chapter-copy { display: grid; gap: 18px; max-width: 36rem; }
.chapter-copy > p { font-size: 1.15rem; }
@media (max-width: 900px) { .chapter, .chapter-flip { grid-template-columns: 1fr; } .chapter-flip > .scene { order: 0; } }

.scene {
  position: relative; overflow: hidden; width: 100%; min-height: 360px; border-radius: 36px; color: var(--cream);
  background:
    radial-gradient(1.4px 1.4px at 14% 22%, rgba(255, 246, 250, 0.8), transparent 60%),
    radial-gradient(1.2px 1.2px at 82% 14%, rgba(255, 246, 250, 0.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 64% 76%, rgba(255, 203, 122, 0.7), transparent 60%),
    radial-gradient(70% 60% at 80% 10%, rgba(242, 80, 154, 0.3), transparent 70%),
    linear-gradient(160deg, #2B1B42, var(--plum));
  box-shadow: 0 30px 70px rgba(91, 33, 92, 0.3);
}
.scene .i { width: 1em; height: 1em; }

/* Chat */
.scene-chat { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 18px; }
.sealed { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); }
.sealed .i { color: #FFC9E0; }
.bubble { max-width: 78%; padding: 10px 16px 8px; font-size: 0.98rem; line-height: 1.35; border-radius: 22px 22px 22px 8px; background: rgba(255, 255, 255, 0.13); border: 1px solid rgba(255, 255, 255, 0.2); }
.bubble small { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 3px; font-size: 0.7rem; font-weight: 700; opacity: 0.78; }
.bubble.out { align-self: flex-end; color: #fff; border: 0; border-radius: 22px 22px 8px 22px; background: linear-gradient(135deg, #FF8CC2, var(--sakura-deep)); box-shadow: 0 8px 22px rgba(242, 80, 154, 0.4); }
.composer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 246, 250, 0.6); font-size: 0.95rem; }
.composer b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #FF8CC2, var(--sakura-deep)); }
.rise { position: absolute; right: 52px; bottom: 92px; width: 16px; height: 16px; background: #FF9FCB; -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; opacity: 0; animation: rise 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.rise.r2 { right: 84px; width: 12px; height: 12px; animation-delay: 0.5s; background: #fff; }
.rise.r3 { right: 30px; width: 20px; height: 20px; animation-delay: 1s; }
.rise.r4 { right: 66px; width: 14px; height: 14px; animation-delay: 1.6s; background: #FFC9E0; }
.rise.r5 { right: 104px; width: 10px; height: 10px; animation-delay: 2.2s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(0) scale(0.7); } 15% { opacity: 0.95; } 100% { opacity: 0; transform: translateY(-170px) scale(1.15); } }

/* Call */
.scene-call { display: grid; justify-items: center; align-content: center; gap: 8px; padding: 34px 24px;
  background: radial-gradient(28% 22% at 78% 14%, rgba(255, 214, 236, 0.85), rgba(255, 126, 182, 0.35) 55%, transparent 75%), radial-gradient(70% 60% at 50% 110%, rgba(242, 80, 154, 0.35), transparent 70%), linear-gradient(170deg, #3A2152, var(--plum)); }
.caller { position: relative; display: grid; place-items: center; width: 190px; height: 190px; }
.ring { position: absolute; inset: 40px; border-radius: 50%; border: 2px solid rgba(255, 159, 203, 0.7); animation: ring 2.4s linear infinite; }
.ring:nth-child(2) { animation-delay: 0.8s; }
.ring:nth-child(3) { animation-delay: 1.6s; }
@keyframes ring { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.8); opacity: 0; } }
.avatar { position: relative; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%; border: 4px solid #fff; background: linear-gradient(135deg, var(--sakura), var(--lilac)); font: 600 2.8rem/1 var(--display); color: #fff; box-shadow: 0 12px 30px rgba(242, 80, 154, 0.45); }
.avatar .i { position: absolute; right: -4px; bottom: 2px; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #fff; color: var(--sakura-deep); }
.caller-name { margin-top: 6px; font: 600 1.9rem/1.1 var(--display); color: #fff; }
.caller-state { color: #7FE3B8; font-weight: 800; }
.call-buttons { display: flex; gap: 64px; margin-top: 22px; }
.call-btn { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #fff; border: 2px solid rgba(255, 255, 255, 0.35); font-size: 28px; }
.call-btn.decline { background: #D7356F; }
.call-btn.accept { background: #2FAF7A; }

/* Planner */
.scene-plan { display: grid; gap: 12px; padding: 22px; }
.month, .todo { border-radius: 24px; background: rgba(255, 249, 252, 0.94); color: var(--ink); box-shadow: inset 0 1px 0 #fff; }
.month { padding: 14px 16px 12px; }
.month-name { text-align: center; font: 600 1.15rem/1.2 var(--display); margin-bottom: 8px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.days b { font-size: 0.7rem; font-weight: 800; color: var(--ink-soft); padding-bottom: 4px; }
.days i { position: relative; font-style: normal; font-weight: 700; font-size: 0.82rem; line-height: 30px; border-radius: 10px; }
.days i.e::after, .days i.r::before, .days i.s::after { content: ""; position: absolute; bottom: 3px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--sakura-deep); }
.days i.r::before { background: var(--violet); }
.days i.e.r::after { margin-left: 1px; }
.days i.e.r::before { margin-left: -6px; }
.days i.s::after { background: #E0A33A; }
.days i.today { color: #fff; background: linear-gradient(135deg, #FF6CA9, var(--sakura-deep) 55%, var(--violet)); }
.days i.today::after, .days i.today::before { background: #fff; }
.todo { display: grid; gap: 4px; padding: 10px 14px; }
.task { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-weight: 800; font-size: 0.92rem; }
.task small { display: block; font-weight: 600; font-size: 0.75rem; color: var(--ink-soft); }
.box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--violet); }
.box.done { border: 0; color: #fff; background: var(--sakura-deep); }

/* Map */
.scene-map { padding: 0; }
.scene-map .map { position: absolute; inset: 0; width: 100%; height: 100%; }
.route { animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.me-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(0.6); opacity: 0.6; } to { transform: scale(1.6); opacity: 0; } }
.turn { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 22px; color: #fff; background: linear-gradient(90deg, #FF6CA9, var(--sakura-deep) 55%, var(--violet)); box-shadow: 0 10px 24px rgba(242, 80, 154, 0.4); }
.turn .i { width: 40px; height: 40px; padding: 7px; border-radius: 14px; background: rgba(255, 255, 255, 0.2); }
.turn span { display: grid; font-weight: 800; font-size: 0.92rem; line-height: 1.2; }
.turn b { font: 600 1.5rem/1.1 var(--display); }
.apart { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-weight: 800; font-size: 0.85rem; background: rgba(43, 27, 66, 0.85); border: 1px solid rgba(255, 255, 255, 0.2); }
.apart .i { color: var(--sakura); }

/* Journey */
.scene-journey { display: grid; justify-items: center; align-content: center; gap: 18px; padding: 28px 24px; }
.pair { display: flex; align-items: center; gap: 12px; }
.pair .avatar { width: 64px; height: 64px; font-size: 1.6rem; border-width: 3px; }
.pair .heart { width: 30px; height: 30px; color: var(--sakura); }
.levels { list-style: none; margin: 0; padding: 0; display: grid; }
.levels li { position: relative; padding: 4px 0 4px 30px; font-weight: 800; font-size: 0.92rem; color: rgba(255, 246, 250, 0.55); }
.levels li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px solid rgba(195, 176, 255, 0.6); }
.levels li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: calc(50% + 7px); height: calc(100% - 14px); border-left: 2px solid rgba(195, 176, 255, 0.3); }
.levels li.reached { color: #FFC9E0; }
.levels li.reached::before { border: 0; background: var(--sakura); }
.levels li.current { color: #fff; font-size: 1.05rem; }
.levels li.current::before { border: 0; width: 16px; height: 16px; margin-top: -8px; left: 2px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 126, 182, 0.5); }
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.badges li { padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; color: #fff; background: rgba(255, 126, 182, 0.22); border: 1px solid rgba(255, 126, 182, 0.5); }

/* Single: how the match score is weighed */
.single { padding: var(--space) max((100% - 1160px) / 2, clamp(20px, 5vw, 48px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(36px, 6vw, 96px); align-items: center;
  background: radial-gradient(70% 60% at 85% 30%, rgba(242, 80, 154, 0.28), transparent 70%), linear-gradient(180deg, #3A2152, var(--night) 60%, var(--plum)); }
.score { margin: 0; padding: 26px; border-radius: 32px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); display: grid; gap: 18px; }
.score figcaption { font: 600 1.25rem/1.2 var(--display); color: #fff; }
.score ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.score li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; font-weight: 700; }
.score li b { font-family: var(--display); font-weight: 600; color: #FFC9E0; }
.score li.w40 { --w: 40%; }
.score li.w30 { --w: 30%; }
.score li.w15 { --w: 15%; }
.score li::after { content: ""; grid-column: 1 / -1; height: 10px; width: calc(var(--w) * 2.3); border-radius: 999px; background: linear-gradient(90deg, #FF8CC2, var(--sakura-deep), var(--violet)); }
.score p { font-size: 0.92rem; color: rgba(255, 246, 250, 0.72); }
@media (max-width: 960px) { .single { grid-template-columns: 1fr; } }

/* Privacy: where a sealed message goes */
.flow { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto minmax(40px, 1fr) auto; align-items: center; gap: 14px; margin: 18px 0 8px; }
.node { display: grid; justify-items: center; gap: 6px; text-align: center; max-width: 11rem; }
.node-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #FF8CC2, #E9408F); box-shadow: 0 12px 28px rgba(242, 80, 154, 0.35); }
.node-mid .node-icon { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: none; }
.node .i { width: 30px; height: 30px; }
.node b { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: #fff; }
.node small { font-size: 0.85rem; color: rgba(255, 246, 250, 0.7); }
.wire { position: relative; height: 2px; margin-bottom: 52px; background: repeating-linear-gradient(90deg, rgba(255, 126, 182, 0.7) 0 8px, transparent 8px 16px); }
.parcel { position: absolute; top: -6px; left: 0; width: 14px; height: 14px; background: var(--lantern); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; animation: travel 2.8s cubic-bezier(0.62, 0.05, 0.36, 1) infinite; }
@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 14px); opacity: 0; } }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
  .wire { width: 2px; height: 36px; margin: 0; background: repeating-linear-gradient(180deg, rgba(255, 126, 182, 0.7) 0 8px, transparent 8px 16px); }
  .parcel { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rise, .ring, .route, .me-pulse, .parcel { animation: none; }
  .rise { display: none; }
  .ring:not(:first-child) { display: none; }
  .ring:first-child { transform: scale(1.35); opacity: 0.4; }
  .parcel { left: calc(50% - 7px); }
}
