/* The Moments page (/moments/). Loaded after site.css, so it uses the same
   tokens, fonts and header/footer. Every illustration here is drawn in HTML,
   CSS and SVG from the app's own designs (the splash, Today's halo, the
   emotion tiles, Mood by Month, the Mood Map, the recap goal halo, Recall's
   pile and the "Record your day" arc), never from App Store screenshots.

   Motion rules, as in the app: each scene plays once when it scrolls into
   view (moments.js adds .is-on); the hero's ripple and the floating chips
   are the only loops. With Reduce Motion nothing loops and every scene
   shows its finished state. */

:root {
  /* EmotionCatalog's core colors. */
  --e-happy: #ffb627;
  --e-calm: #4fc1a6;
  --e-neutral: #a3a7b8;
  --e-anxious: #8b7cf6;
  --e-sad: #4a8fe7;
  --e-angry: #e5484d;
  --mark-1: #dce8ff;   /* the glass mark's light edge */
  --mark-2: #5b8def;   /* and its deep blue */
  --card: rgba(255, 255, 255, 0.72);
  --card-edge: rgba(29, 25, 50, 0.08);
  --card-shadow: 0 1px 2px rgba(29, 25, 50, 0.04), 0 18px 48px -24px rgba(45, 40, 110, 0.28);
}

.mp section { position: relative; }

/* ---------- Shared pieces ---------- */

.night {
  color: var(--night-ink);
  background:
    radial-gradient(60% 80% at 15% 20%, rgba(120, 90, 200, 0.38), transparent 70%),
    radial-gradient(50% 70% at 90% 80%, rgba(60, 120, 200, 0.28), transparent 70%),
    linear-gradient(110deg, var(--night-1), var(--night-2));
  overflow: hidden;
}
.night::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 46% 12%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 63% 58%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.6px 1.6px at 78% 22%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 88% 64%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.2px 1.2px at 6% 86%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 54% 90%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.3px 1.3px at 95% 8%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 36% 40%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.2px 1.2px at 71% 84%, rgba(255,255,255,.5), transparent);
}
.night .wrap { position: relative; }

/* The app's iridescent background, held still: soft emotion-colored light
   behind the frosted cards. */
.iridescent::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 12% 30%, rgba(255, 182, 39, 0.16), transparent 70%),
    radial-gradient(40% 50% at 88% 20%, rgba(139, 124, 246, 0.16), transparent 70%),
    radial-gradient(45% 55% at 70% 90%, rgba(79, 193, 166, 0.16), transparent 70%),
    radial-gradient(35% 45% at 30% 85%, rgba(74, 143, 231, 0.12), transparent 70%);
}
.iridescent { isolation: isolate; }

.band { padding-block: clamp(72px, 10vw, 136px); }

.chapter-head { display: grid; gap: 18px; max-width: 760px; }
.chapter-head .kicker {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--ink-soft); margin: 0;
}
.night .chapter-head .kicker { color: var(--night-soft); }
.chapter-head h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.8rem); line-height: 1.04; letter-spacing: -0.03em; margin: 0;
}
.chapter-head p { margin: 0; color: var(--ink-soft); max-width: 52ch; font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem); }
.night .chapter-head p { color: var(--night-soft); }

.frost {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 28px;
  box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
}
@media (prefers-reduced-transparency: reduce) { .frost { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-contrast: more) { .frost { background: var(--surface); border-color: var(--ink-soft); } }

.card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin: 0; }
.card-note { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* The glass mark (HaloMark as liquid glass). */
.glass-mark .big, .glass-mark .small { fill: url(#glass-fill); }
.glass-mark .rim { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 5; }

/* ---------- 1. Hero: the splash, held open ---------- */

.mp-hero {
  min-height: min(100svh - 80px, 920px);
  display: grid; align-content: center;
  padding-block: clamp(36px, 5vw, 64px) clamp(48px, 6vw, 80px);
  text-align: center;
}
.splash {
  position: relative;
  width: min(360px, 78vw, 44svh); aspect-ratio: 1;
  margin: 0 auto;
  display: grid; place-items: center;
}
.splash .ring {
  position: absolute; inset: 0; margin: auto;
  border-radius: 50%;
  border: 1.5px solid rgba(150, 180, 255, 0.55);
  box-shadow: 0 0 24px rgba(120, 160, 255, 0.18) inset;
}
.splash .ring:nth-child(1) { width: 52%; height: 52%; }
.splash .ring:nth-child(2) { width: 74%; height: 74%; opacity: 0.7; }
.splash .ring:nth-child(3) { width: 96%; height: 96%; opacity: 0.45; }
.splash .orb {
  position: absolute; inset: 0; margin: auto; width: 40%; height: 40%; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(130, 165, 255, 0.45), rgba(80, 110, 220, 0.12) 60%, transparent 72%);
}
.splash .glass-mark { position: relative; width: 44%; height: auto; overflow: visible; filter: drop-shadow(0 10px 30px rgba(70, 120, 255, 0.45)); }

@media (prefers-reduced-motion: no-preference) {
  /* The splash's 0.4 s: a streak crosses the glass, the small star glints,
     three rings ripple out, each fainter. Here it repeats, slowly: one 9 s
     cycle shared by every part so they stay in step (6 s until 2026-11-11,
     when the user found the glare too quick and the sparkle flat between). */
  /* backwards: the delayed rings wait at the first frame (hidden), rather than
     showing full size for a beat before their first ripple. */
  .splash { --cycle: 9s; }
  .splash .ring { animation: ripple var(--cycle) cubic-bezier(.2,.6,.2,1) infinite backwards; }
  .splash .ring:nth-child(2) { animation-delay: 0.18s; }
  .splash .ring:nth-child(3) { animation-delay: 0.36s; }
  .splash .streak { animation: streak var(--cycle) ease-in-out infinite; }
  .splash .glint { transform-box: fill-box; transform-origin: center; animation: glint var(--cycle) ease-in-out infinite; }
  .splash .glass-mark { animation: breathe var(--cycle) ease-in-out infinite; }
}
/* Each ring ends where the next cycle starts (invisible), so the loop has no
   seam: it ripples out, rests, then drifts a little further while it fades
   (the user, 2026-11-11: the rings used to vanish in one jump at 0.85). */
@keyframes ripple {
  /* Gone for well under a second (the user, 2026-11-11: the empty spell
     between ripples was too long): visible from 5% to the fade at 82–98%. */
  0% { transform: scale(0.55); opacity: 0; }
  5% { opacity: 1; }
  40% { transform: scale(1); }
  /* The ring's quick-out curve would drop the fade to nothing at once, so the
     fade gets its own even curve. */
  82% { transform: scale(1); opacity: 1; animation-timing-function: ease-in-out; }
  98%, 100% { transform: scale(1.08); opacity: 0; }
}
/* The streak must leave the glass entirely before the loop restarts: at 120%
   the skewed band still lay over the big star's right half and snapped away
   when the cycle began again (the user, 2026-11-11). 260% clears the star's
   right point. The sweep takes about 3.5 s of the 9 s cycle, slow enough to
   watch the light travel across both stars. */
@keyframes streak {
  0%, 4% { transform: translateX(-120%); }
  43%, 100% { transform: translateX(260%); }
}
/* The small star glints as the streak passes over it. */
@keyframes glint {
  0%, 9% { transform: scale(1); }
  17% { transform: scale(1.18); }
  28%, 100% { transform: scale(1); }
}
/* Starts and ends at 1 so the loop has no seam; it eases down to 0.97 first. */
@keyframes breathe {
  0% { transform: scale(1); }
  8% { transform: scale(0.97); }
  26% { transform: scale(1.02); }
  55%, 100% { transform: scale(1); }
}

/* Emotion chips floating around the halo, as on Today. */
.chips { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 16%, rgba(20, 16, 40, 0.72));
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: 0 0 28px color-mix(in srgb, var(--c) 30%, transparent);
  white-space: nowrap;
}
.chip .em { font-size: 1.1rem; line-height: 1; }
.chip:nth-child(1) { --c: var(--e-happy);   left: -8%;  top: 18%; }
.chip:nth-child(2) { --c: var(--e-calm);    right: -10%; top: 10%; }
.chip:nth-child(3) { --c: var(--e-anxious); left: -14%; top: 64%; }
.chip:nth-child(4) { --c: var(--e-sad);     right: -8%;  top: 60%; }
.chip:nth-child(5) { --c: var(--e-angry);   left: 0; right: 0; margin-inline: auto; width: max-content; bottom: -4%; }
/* Five feelings, not six: Neutral was cut (the user, 2026-11-11) because six
   crowded the halo on phones. Angry sits alone, centered, under it. */
@media (max-width: 640px) {
  .chip { font-size: 0.85rem; padding: 6px 11px 6px 8px; }
  .chip:nth-child(1) { left: -2%; } .chip:nth-child(2) { right: -2%; }
  .chip:nth-child(3) { left: -4%; } .chip:nth-child(4) { right: -3%; }
}
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: chip-in 0.9s cubic-bezier(.2,.7,.2,1) both, float 7s ease-in-out infinite; }
  .chip:nth-child(1) { animation-delay: 0.3s, 1.2s; }
  .chip:nth-child(2) { animation-delay: 0.42s, 2.4s; }
  .chip:nth-child(3) { animation-delay: 0.54s, 0.6s; }
  .chip:nth-child(4) { animation-delay: 0.66s, 3s; }
  .chip:nth-child(5) { animation-delay: 0.78s, 1.8s; }
}
@keyframes chip-in { from { opacity: 0; transform: scale(0.6) translateY(10px); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.mp-hero .wordmark { width: clamp(180px, 24vw, 260px); margin: clamp(24px, 3vw, 36px) auto 0; }
.mp-hero .hero-kicker {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  color: var(--night-soft); margin: 24px 0 0;
}
.mp-hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 1.2rem + 3.8vw, 4.2rem); line-height: 1.02; letter-spacing: -0.035em;
  margin: 14px auto 0; max-width: 18ch;
}
.mp-hero .sub { color: var(--night-soft); max-width: 46ch; margin: 22px auto 0; font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 32px; }
.pill {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none;
}
.pill.solid { background: var(--night-ink); color: var(--night-1); }
.pill.ghost { border: 1px solid rgba(255,255,255,.3); color: var(--night-ink); background: rgba(255,255,255,.06); }
.pill:hover { text-decoration: underline; }
.pill.static { cursor: default; }
.pill.static:hover { text-decoration: none; }
/* Apple's official App Store badge (pre-order now, download at launch),
   unmodified. Apple's rules: at least 40 px tall, clear space of a quarter
   of its height all round (the row's gap gives it), no effects. */
.store-badge { display: inline-flex; border-radius: 9px; }
.store-badge img { display: block; height: 48px; width: auto; }
/* The three facts people ask first, right under the buttons. */
.mp-hero .hero-trust { margin: 18px 0 0; color: var(--night-soft); font-size: 0.95rem; }
.mp-hero .hero-trust span { margin-inline: 4px; opacity: 0.6; }

/* Phones: the buttons belong on the first screen (2026-11-11: they started
   909 px down a 375 × 812 phone), so the splash and the gaps shrink. */
@media (max-width: 640px) {
  .mp-hero { padding-block: 20px 40px; align-content: start; }
  .splash { width: min(190px, 50vw, 28svh); }
  .chip { font-size: 0.8rem; padding: 5px 10px 5px 7px; gap: 6px; }
  .chip:nth-child(1) { left: -42%; top: 8%; } .chip:nth-child(2) { right: -40%; top: 2%; }
  .chip:nth-child(3) { left: -46%; top: 62%; } .chip:nth-child(4) { right: -34%; top: 58%; }
  .chip:nth-child(5) { bottom: -9%; }
  .mp-hero .wordmark { width: 150px; margin-top: 26px; }
  .mp-hero .hero-kicker { margin-top: 12px; font-size: 1rem; }
  .mp-hero h1 { margin-top: 10px; font-size: 2rem; }
  .mp-hero .sub { margin-top: 14px; font-size: 1.02rem; }
  .mp-hero .cta-row { margin-top: 20px; gap: 10px; }
  .mp-hero .pill { padding: 10px 18px; font-size: 0.95rem; }
  .mp-hero .store-badge img { height: 40px; }
  .mp-hero .hero-trust { margin-top: 14px; font-size: 0.88rem; }
}

/* Wide screens: the words on the left, the splash on the right, so the
   headline and buttons sit on the first screen of a laptop too. */
@media (min-width: 980px) {
  .mp-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: clamp(72px, 9vw, 130px); text-align: left; }
  .mp-hero .hero-copy { grid-column: 1; grid-row: 1; }
  .mp-hero .splash { grid-column: 2; grid-row: 1; width: min(340px, 30vw, 52svh); margin-right: clamp(40px, 5vw, 70px); }
  .mp-hero .wordmark { margin: 0; width: clamp(170px, 16vw, 220px); }
  .mp-hero h1 { margin-inline: 0; max-width: 15ch; font-size: clamp(2.6rem, 1rem + 3vw, 4rem); }
  .mp-hero .sub { margin-inline: 0; max-width: 40ch; }
  .mp-hero .cta-row { justify-content: flex-start; }
}

@media (prefers-reduced-motion: no-preference) {
  .mp-hero .wordmark, .mp-hero .hero-kicker, .mp-hero h1, .mp-hero .sub, .mp-hero .cta-row, .mp-hero .hero-trust { animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
  .mp-hero .hero-trust { animation-delay: 0.98s; }
  .mp-hero .wordmark { animation-delay: 0.5s; }
  .mp-hero .hero-kicker { animation-delay: 0.56s; }
  .mp-hero h1 { animation-delay: 0.62s; }
  .mp-hero .sub { animation-delay: 0.74s; }
  .mp-hero .cta-row { animation-delay: 0.86s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- The problem ---------- */

.pains { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .pains { grid-template-columns: repeat(2, 1fr); } }
.pains li { position: relative; padding: 26px 24px 24px; overflow: hidden; }
.pains li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--c); }
.pains h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.25; margin: 0 0 10px; letter-spacing: -0.01em; }
.pains p { margin: 0; color: var(--ink-soft); }

/* ---------- Questions ---------- */

.faq { margin-top: clamp(32px, 4vw, 48px); max-width: 820px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 64ch; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- 2. Look in: the five taps ---------- */

.split { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.split.flip > :first-child { order: 0; }
@media (min-width: 960px) { .split.flip > :first-child { order: 2; } }

.points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 12px 1fr; gap: 14px; align-items: baseline; color: var(--ink-soft); }
.points li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--e-sad)); transform: translateY(-1px); }
.points li:nth-child(2) { --dot: var(--e-calm); }
.points li:nth-child(3) { --dot: var(--e-happy); }
.points li:nth-child(4) { --dot: var(--e-anxious); }
.night .points li { color: var(--night-soft); }

/* Five small pictures of the logging flow, drawn after the app's screens
   (the halo, the feeling tiles, the 1–10 grid, the starter tags, the saved
   halo). When the row scrolls into view each step's choice lights up in turn,
   about half a second apart; with Reduce Motion they're all shown chosen.
   The example moment is Calm, 7, Friends. */
.taps { list-style: none; margin: clamp(32px, 5vw, 52px) auto 0; padding: 0; display: grid; gap: 14px; max-width: 560px; }
.taps > li { display: grid; grid-template-columns: 128px 1fr; gap: 18px; align-items: center; padding: 14px 18px 14px 14px; }
@media (min-width: 960px) {
  .taps { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: none; }
  .taps > li { grid-template-columns: none; align-content: start; padding: 16px 16px 18px; }
}
.taps > li > p { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.2; }
.taps .n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem; background: var(--ink); color: #fff; }
.taps-more { margin: 22px 0 0; color: var(--ink-soft); text-align: center; }

/* Everything inside a picture is sized in cqw (1% of the picture's width),
   so each one is the same drawing scaled to its box, from a phone's 128 px
   to a fifth of the desktop row. The picture's own padding and gaps are in %,
   since a container can't be measured in its own cqw. */
.pic {
  container-type: inline-size;
  position: relative; aspect-ratio: 1; width: 100%;
  display: grid; place-items: center; align-content: center;
  border-radius: 18px; background: color-mix(in srgb, var(--surface) 60%, transparent);
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
}
.pic i { font-style: normal; }
.pic b { font-weight: 400; }

/* 1 and 5: the halo, as on Today. */
.pic svg { width: 78%; height: auto; overflow: visible; }
.pic .dashed { fill: none; stroke: var(--rule); stroke-width: 3; stroke-dasharray: 3 8; stroke-linecap: round; }
.pic .disc { fill: #fff; filter: drop-shadow(0 6px 18px rgba(60, 90, 200, 0.22)); }
.pic .ring { fill: none; stroke: var(--e-calm); stroke-width: 9; stroke-linecap: round; }
.saved::before {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--e-calm) 55%, transparent), transparent 70%);
}
.finger {
  position: absolute; left: 58%; top: 58%; width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 18%, transparent); border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(29, 25, 50, 0.2);
}
.check {
  position: absolute; right: 8%; bottom: 8%; width: 26%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; font-size: 13cqw;
  background: var(--e-calm); color: #fff; box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--e-calm) 80%, transparent);
}

/* 2, 3 and 4: the choices. Each item rests in a light tint; the chosen one
   (.pick) takes its color. --rest and --on let the light-up animate. */
.feel-grid, .num-grid { grid-template-columns: repeat(3, 1fr); justify-items: stretch; gap: 3.5%; padding: 7%; }
.num-grid { grid-template-columns: repeat(5, 1fr); }
.feel-grid i, .num-grid i, .tag-list i {
  --c: var(--e-calm);
  --rest: color-mix(in srgb, var(--c) 13%, #fff);
  --on: color-mix(in srgb, var(--c) 34%, #fff);
  background: var(--rest);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
}
.feel-grid i { display: grid; justify-items: center; gap: 0.5cqw; padding: 4cqw 1cqw 3.5cqw; border-radius: 7cqw; font-size: 6.2cqw; }
.feel-grid b { font-size: 12cqw; line-height: 1.1; }
.num-grid i { aspect-ratio: 1; display: grid; place-items: center; border-radius: 5cqw; font-size: 7.5cqw; }
.num-grid i.pick { --on: var(--e-calm); color: #fff; }
.tag-list { gap: 4.5%; justify-items: stretch; padding: 0 10%; }
.tag-list i { --c: var(--e-neutral); display: flex; align-items: center; gap: 5cqw; padding: 4.5cqw 8cqw; border-radius: 999px; font-size: 8.5cqw; background: #fff; --rest: #fff; }
.tag-list i.pick { --c: var(--e-calm); }
.pic .pick { background: var(--on); box-shadow: 0 0 0 2px var(--c), 0 8px 18px -8px var(--c); transform: scale(1.06); position: relative; z-index: 1; }
/* The small grids are too tight for the large-type fallback; their words
   are decorative (the captions carry the meaning), so they just stay small. */

@media (prefers-reduced-motion: no-preference) {
  .taps.scene:not(.is-on) > li { opacity: 0; transform: translateY(14px); }
  .taps.scene.is-on > li { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 0.1s); }
  /* Each step's choice lands in order: 1 s in, then every 0.55 s. */
  .taps.scene.is-on .pick { animation: pick 0.45s cubic-bezier(.3,1.4,.5,1) both; animation-delay: calc(1s + var(--i) * 0.55s); }
  .taps.scene.is-on .finger { animation: tap 0.6s ease-out both; animation-delay: 0.8s; }
  .taps.scene.is-on .saved .ring { stroke-dasharray: 480; animation: draw-ring 0.9s cubic-bezier(.3,.7,.2,1) both; animation-delay: calc(1s + 4 * 0.55s); }
  .taps.scene.is-on .saved::before { animation: fade-in 0.9s ease both; animation-delay: calc(1.2s + 4 * 0.55s); }
  .taps.scene.is-on .check { animation: pick 0.45s cubic-bezier(.3,1.4,.5,1) both; animation-delay: calc(0.8s + 4 * 0.55s); }
}
@keyframes pick { from { background: var(--rest); box-shadow: 0 0 0 0 transparent; transform: scale(1); } }
@keyframes tap { from { transform: scale(1.6); opacity: 0; } 60% { opacity: 1; } }
@keyframes draw-ring { from { stroke-dashoffset: 480; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- 3. Look back: Year ---------- */

.year { margin-top: clamp(40px, 6vw, 64px); padding: clamp(22px, 3.4vw, 40px); }
.year-head { text-align: center; }
.year-head .over { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.year-head .yr { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); margin: 2px 0 0; letter-spacing: -0.02em; }

.columns { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(6px, 1.2vw, 14px); align-items: end; height: clamp(180px, 22vw, 260px); margin-top: 26px; }
.col { display: flex; flex-direction: column-reverse; height: var(--h); border-radius: 10px; overflow: hidden; transform-origin: bottom; }
.col i { display: block; flex: var(--f) 1 0; }
.col i.happy { background: var(--e-happy); } .col i.calm { background: var(--e-calm); }
.col i.neutral { background: var(--e-neutral); } .col i.anxious { background: var(--e-anxious); }
.col i.sad { background: var(--e-sad); } .col i.angry { background: var(--e-angry); }
.col.future { height: 6px; background: var(--rule); }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(6px, 1.2vw, 14px); margin-top: 8px; text-align: center; color: var(--ink-soft); font-size: 0.85rem; }

.lanes { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px clamp(6px, 1.2vw, 14px); margin-top: 18px; }
.lane { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #7d8cff, #a98bfa); transform-origin: left; }
.lane.two { background: linear-gradient(90deg, #4fc1a6, #5cc8c2); }
.lane.going { -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
.lane-name { font-size: 0.85rem; color: var(--ink-soft); margin-top: -4px; }

.year-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 24px; font-size: 0.9rem; color: var(--ink-soft); }
.year-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: var(--c); }

@media (prefers-reduced-motion: no-preference) {
  .scene:not(.is-on) .col { transform: scaleY(0); }
  .scene.is-on .col { animation: grow 0.9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 60ms); }
  .scene:not(.is-on) .lane { transform: scaleX(0); }
  .scene.is-on .lane { animation: grow-x 0.9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(0.8s + var(--i, 0) * 0.15s); }
}
@keyframes grow { from { transform: scaleY(0); } }
@keyframes grow-x { from { transform: scaleX(0); } }

/* The archive month and the ribbon, beside the year. */
.back-grid { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 900px) { .back-grid { grid-template-columns: 1fr 1fr; } }
.back-grid .frost { padding: clamp(20px, 3vw, 28px); display: grid; gap: 14px; align-content: start; }

.ribbon { display: grid; grid-template-columns: repeat(31, 1fr); gap: 3px; height: 54px; }
.ribbon i { border-radius: 4px; background: var(--c, var(--rule)); }
@media (prefers-reduced-motion: no-preference) {
  .scene:not(.is-on) .ribbon i { transform: scaleY(0.1); opacity: 0; }
  .scene.is-on .ribbon i { animation: rib 0.5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 12ms); }
}
@keyframes rib { from { transform: scaleY(0.1); opacity: 0; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.stats b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.02em; }
.stats span { color: var(--ink-soft); font-size: 0.9rem; }

.feed { display: grid; gap: 12px; }
.feed .entry { border-radius: 18px; padding: 14px 16px; background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.feed .entry .who { font-family: var(--font-display); font-weight: 600; color: color-mix(in srgb, var(--c) 70%, var(--ink)); }
.feed .entry p { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.98rem; }
.feed .entry .reflect { margin-top: 8px; padding-left: 12px; border-left: 3px solid color-mix(in srgb, var(--c) 60%, transparent); font-style: italic; }
@media (prefers-reduced-motion: no-preference) {
  .scene:not(.is-on) .feed .entry { opacity: 0; transform: translateY(12px); }
  .scene.is-on .feed .entry { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(0.2s + var(--i) * 0.18s); }
}

/* ---------- 4. Look ahead: insights ---------- */

.ahead-grid { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 760px) { .ahead-grid { grid-template-columns: 1fr 1fr; } }
.ahead-grid .frost { padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; align-content: start; }
.ahead-grid .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tag-pill { padding: 4px 12px; border-radius: 999px; font-size: 0.9rem; font-weight: 700; background: color-mix(in srgb, var(--e-sad) 14%, #fff); color: var(--ink); }

.trend svg { width: 100%; height: auto; overflow: visible; }
.trend .base { stroke: var(--rule); stroke-dasharray: 4 6; }
.trend .area { fill: url(#trend-fill); }
.trend .line { fill: none; stroke: var(--e-sad); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.trend .pt { fill: #fff; stroke: var(--e-sad); stroke-width: 2.5; }
@media (prefers-reduced-motion: no-preference) {
  .trend.scene:not(.is-on) .line { stroke-dasharray: 900; stroke-dashoffset: 900; }
  .trend.scene.is-on .line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: dash 1.6s cubic-bezier(.4,.2,.2,1) forwards; }
  .trend.scene:not(.is-on) .area, .trend.scene:not(.is-on) .pt { opacity: 0; }
  .trend.scene.is-on .area { animation: fade 0.8s 1.1s both; }
  .trend.scene.is-on .pt { animation: pop 0.4s both; animation-delay: calc(0.2s + var(--i) * 0.11s); transform-box: fill-box; transform-origin: center; }
}
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } }

.patterns { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.patterns li {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--c) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
}
.patterns .em { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; background: color-mix(in srgb, var(--c) 22%, #fff); }
.patterns b { font-family: var(--font-display); font-weight: 600; display: block; }
.patterns span { color: var(--ink-soft); font-size: 0.92rem; }
@media (prefers-reduced-motion: no-preference) {
  .scene:not(.is-on) .patterns li { opacity: 0; transform: translateX(-12px); }
  .scene.is-on .patterns li { animation: slide-in 0.6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(0.2s + var(--i) * 0.35s); }
}
@keyframes slide-in { from { opacity: 0; transform: translateX(-12px); } }

.moodmap { position: relative; aspect-ratio: 1; max-width: 340px; width: 100%; justify-self: center; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(60% 60% at 0% 0%, color-mix(in srgb, var(--e-angry) 20%, transparent), transparent 70%),
    radial-gradient(60% 60% at 100% 0%, color-mix(in srgb, var(--e-happy) 24%, transparent), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, color-mix(in srgb, var(--e-sad) 20%, transparent), transparent 70%),
    radial-gradient(60% 60% at 100% 100%, color-mix(in srgb, var(--e-calm) 24%, transparent), transparent 70%),
    #fff;
  border: 1px solid var(--card-edge);
}
.moodmap::before, .moodmap::after { content: ""; position: absolute; background: var(--rule); }
.moodmap::before { left: 50%; top: 8%; bottom: 8%; width: 1px; }
.moodmap::after { top: 50%; left: 8%; right: 8%; height: 1px; }
.moodmap .axis { position: absolute; font-size: 0.78rem; color: var(--ink-soft); }
.moodmap .axis.t { top: 6px; left: 50%; translate: -50% 0; }
.moodmap .axis.b { bottom: 6px; left: 50%; translate: -50% 0; }
.moodmap .axis.l { left: 8px; top: 50%; translate: 0 -50%; writing-mode: vertical-rl; rotate: 180deg; }
.moodmap .axis.r { right: 8px; top: 50%; translate: 0 -50%; writing-mode: vertical-rl; }
.moodmap .dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff; left: var(--x); top: var(--y); }
@media (prefers-reduced-motion: no-preference) {
  .scene:not(.is-on) .moodmap .dot { left: 50%; top: 50%; opacity: 0; }
  .scene.is-on .moodmap .dot { animation: to-spot 1s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 45ms); }
}
@keyframes to-spot { from { left: 50%; top: 50%; opacity: 0; } 30% { opacity: 1; } }

.goal { display: grid; justify-items: center; gap: 8px; text-align: center; }
.goal svg { width: min(200px, 60%); height: auto; overflow: visible; }
.goal .seg { fill: none; stroke-width: 12; stroke-linecap: round; }
.goal .seg.off { stroke: var(--rule); stroke-dasharray: 1 9; stroke-width: 6; }
.goal .count { font-family: var(--font-display); font-weight: 600; font-size: 34px; fill: var(--ink); }
.goal .of { font-size: 13px; fill: var(--ink-soft); }
.goal .more { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .goal.scene:not(.is-on) .seg.lit { stroke-dashoffset: var(--len); }
  .goal.scene.is-on .seg.lit { animation: seg 0.55s cubic-bezier(.3,.7,.2,1) both; animation-delay: calc(0.2s + var(--i) * 0.38s); }
}
@keyframes seg { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }

/* ---------- 5. Recall: the gather ---------- */

/* Recall's night (the user's ask, 2026-11-13): the paywall's Moments+ sky,
   from its NightPalette (#211C45 at the top through #17142D to #0D0B1A),
   faint stars, and a constellation of moments in the feelings' colors whose
   lines run in behind the example report, as the paywall's feature header
   runs them behind its phone. The report stays a light card, like that
   phone; everything else turns to dark glass. Fixed colors, like the
   paywall, whatever the page's look. */
.sky {
  --sky-text: #f4f2ff;
  --sky-soft: #b9b4e4;
  --starlight: #dcd9ff;
  --periwinkle: #9aa6f5;
  color: var(--sky-text);
  background: linear-gradient(180deg, #211c45 0%, #17142d 45%, #0d0b1a 100%);
  overflow: hidden;
  isolation: isolate;
}
.sky::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 8% 6%, rgba(255,255,255,.75), transparent),
    radial-gradient(1px 1px at 22% 18%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.4px 1.4px at 37% 9%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 61% 4%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.3px 1.3px at 79% 13%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 93% 7%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.2px 1.2px at 4% 34%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 48% 41%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 96% 38%, rgba(255,255,255,.65), transparent),
    radial-gradient(1px 1px at 14% 57%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.2px 1.2px at 71% 55%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 33% 68%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.4px 1.4px at 88% 72%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 6% 84%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.2px 1.2px at 53% 88%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 77% 95%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.3px 1.3px at 26% 93%, rgba(255,255,255,.55), transparent);
}
.sky .chapter-head p { color: var(--sky-soft); }

.constellation { position: absolute; z-index: 0; left: 50%; top: 50%; width: 820px; max-width: none; height: auto; translate: -50% -50%; overflow: visible; pointer-events: none; }
.constellation .hub-glow { fill: var(--periwinkle); opacity: 0.22; filter: blur(50px); }
.constellation .links line { stroke: var(--starlight); stroke-opacity: 0.38; stroke-width: 1.1; stroke-linecap: round; }
.constellation .stars circle { fill: var(--c); filter: drop-shadow(0 0 6px var(--c)) drop-shadow(0 0 2px var(--c)); }
@media (prefers-reduced-motion: no-preference) {
  .constellation.scene:not(.is-on) .links line { stroke-dasharray: 600; stroke-dashoffset: 600; }
  .constellation.scene:not(.is-on) .stars circle { opacity: 0; }
  .constellation.scene.is-on .links line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: dash 1.4s cubic-bezier(.4,.2,.2,1) forwards; animation-delay: calc(var(--i) * 70ms); }
  .constellation.scene.is-on .stars circle { animation: pop 0.5s both; animation-delay: calc(0.5s + var(--i) * 90ms); transform-box: fill-box; transform-origin: center; }
}

/* Dark glass for the cards on the night. */
.sky .frost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
@media (prefers-reduced-transparency: reduce) { .sky .frost { background: #1d1938; } }
@media (prefers-contrast: more) { .sky .frost { background: #1d1938; border-color: var(--sky-soft); } }
.sky .recall-problem-copy p, .sky .recall-uses span, .sky .recall-share p, .sky .recall-fine { color: var(--sky-soft); }
.sky .memory { background: rgba(10, 8, 24, 0.55); border-color: rgba(255, 255, 255, 0.1); }
.sky .mem-caption { color: var(--sky-soft); }
.sky .mem-grid i.gone { border-color: color-mix(in srgb, var(--starlight) 28%, transparent); }
.sky .recall-uses q { color: var(--sky-text); background: color-mix(in srgb, var(--c) 16%, transparent); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.sky .recall-uses q::before { color: color-mix(in srgb, var(--c) 75%, #fff); }

/* Recall (redesigned 2026-11-13 at the user's ask: the site sells, it never
   documents the app): what Recall is, beside one example report; the
   problem, as half-remembered thoughts that blur away while the stretch
   settles into a ribbon; then situations where it helps, each with the kind
   of talking point Recall might raise. */
/* What's in a Recall: its three chapters as separate pictures, each under
   a medium subtitle (the user, 2026-11-14), framed by the constellation. */
.recall-head { max-width: 1000px; }
.recall-parts { position: relative; margin-top: clamp(28px, 4vw, 44px); padding-block: clamp(40px, 6vw, 72px); display: grid; gap: clamp(28px, 3vw, 24px); align-items: start; }
@media (min-width: 980px) { .recall-parts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 979px) { .recall-parts { max-width: 560px; } }
.recall-parts .constellation { left: 0; top: 0; width: 100%; height: 100%; translate: none; }
/* Stacked, the figure would stretch to the column's height and land a star on
   a subtitle; the section's faint star field carries the night there. */
@media (max-width: 979px) { .recall-parts .constellation { display: none; } .recall-parts { padding-block: 8px 0; } }
.part { position: relative; z-index: 1; margin: 0; display: grid; gap: 6px; align-content: start; }
.part-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem); letter-spacing: -0.015em; }
.part-note { margin: 0 0 8px; color: var(--sky-soft); font-size: 0.98rem; }
.part-card { display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: #fff; color: var(--ink); border: 1px solid var(--card-edge); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.6); }
.part-card .rp-points li { font-size: 0.95rem; }
.part-card .rp-bar { height: 18px; border-radius: 9px; }
.part-legend { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 0.9rem; }
.part-legend li { display: flex; justify-content: space-between; gap: 8px; }
.part-legend b { font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.rp-card.second { background: color-mix(in srgb, var(--e-happy) 12%, #fff); border-color: color-mix(in srgb, var(--e-happy) 35%, transparent); }
.rp-card.second .who { color: color-mix(in srgb, var(--e-happy) 55%, var(--ink)); }
.rp-card.second .lvl { background: color-mix(in srgb, var(--e-happy) 26%, #fff); }
@media (prefers-reduced-motion: no-preference) {
  .part.scene:not(.is-on) .part-card { opacity: 0; transform: translateY(16px); }
  .part.scene.is-on .part-card { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) both; }
  .part.scene:not(.is-on) .rp-points li, .part.scene:not(.is-on) .rp-card { opacity: 0; }
  .part.scene.is-on .rp-points li { animation: slide-in 0.6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(0.4s + var(--i) * 0.25s); }
  .part.scene:not(.is-on) .rp-bar i { flex-grow: 0; }
  .part.scene.is-on .rp-bar i { animation: bar-grow 0.9s 0.4s cubic-bezier(.2,.7,.2,1) both; }
  .part.scene.is-on .rp-card { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; animation-delay: 0.4s; }
  .part.scene.is-on .rp-card.second { animation-delay: 0.65s; }
}

.recall-problem { margin-top: clamp(48px, 7vw, 80px); padding: clamp(20px, 3vw, 32px); display: grid; gap: clamp(20px, 3vw, 40px); align-items: center; }
@media (min-width: 900px) { .recall-problem { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.recall-problem-copy h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.12; letter-spacing: -0.02em; }
.recall-problem-copy p { margin: 0; color: var(--ink-soft); max-width: 52ch; }
/* The problem as one month twice: what memory keeps (two days lit, the
   worst and the best) beside what Recall keeps (every day). Replaced a haze
   of faint thoughts over a ribbon, which the user found confusing
   (2026-11-13). */
.memory { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 24px); padding: clamp(14px, 2vw, 20px); border-radius: 18px; background: #fff; border: 1px solid var(--card-edge); }
.mem-label { margin: 0 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
.mem-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mem-grid i { aspect-ratio: 1; border-radius: 5px; background: var(--c); }
.mem-grid i.gone { background: none; border: 1.5px dashed color-mix(in srgb, var(--ink) 18%, transparent); }
.mem-caption { margin: 10px 0 0; font-size: 0.85rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .memory.scene:not(.is-on) .mem-grid i:not(.gone) { opacity: 0; transform: scale(0.4); }
  .memory.scene.is-on .mem-grid i:not(.gone) { animation: pop 0.4s cubic-bezier(.2,.8,.3,1.3) both; animation-delay: calc(0.3s + var(--i) * 35ms); }
  /* Memory's two days come first, then Recall fills the month. */
  .memory.scene.is-on #mem-remembered i:not(.gone) { animation-delay: calc(0.2s + var(--n) * 0.25s); }
}

.report { display: grid; gap: 0; margin-top: 4px; padding: 16px 16px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--card-edge); }
.rp-meta { margin: 0; font-size: 0.78rem; color: var(--ink-soft); }
.rp-title { margin: 6px 0 0; font-family: ui-serif, "New York", Georgia, serif; font-weight: 600; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.01em; }
.rp-chips { margin: 10px 0 0; display: flex; align-items: center; gap: 10px; font-size: 0.8rem; }
.rp-chip { padding: 4px 10px; border-radius: 999px; font-weight: 700; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.rp-ai { color: var(--ink-soft); }
.rp-trend { width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.rp-trend .base { stroke: var(--rule); stroke-dasharray: 3 5; }
.rp-trend .line { fill: none; stroke: var(--e-sad); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.rp-ribbon { display: grid; grid-template-columns: repeat(28, minmax(0, 1fr)); gap: 2px; height: 18px; margin-top: 8px; }
.rp-ribbon i { border-radius: 3px; background: var(--c, var(--rule)); }
.rp-ch { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule); }
.rp-n { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--e-sad); }
.rp-h { margin: 1px 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.rp-points { margin: 0; padding: 0; list-style: none; counter-reset: pt; display: grid; gap: 8px; }
.rp-points li { counter-increment: pt; display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 0.88rem; line-height: 1.4; }
.rp-points li::before { content: counter(pt); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; color: var(--e-sad); background: color-mix(in srgb, var(--e-sad) 14%, #fff); }
.rp-line { margin: 0 0 8px; font-size: 0.85rem; color: var(--ink-soft); }
.rp-line b { color: var(--ink); }
.rp-bar { display: flex; gap: 2px; height: 14px; border-radius: 7px; overflow: hidden; }
.rp-bar i { flex: var(--w) 1 0; background: var(--c); }
.rp-card { border-radius: 14px; padding: 10px 12px; background: color-mix(in srgb, var(--e-anxious) 10%, #fff); border: 1px solid color-mix(in srgb, var(--e-anxious) 30%, transparent); display: grid; gap: 3px; font-size: 0.85rem; }
.rp-card p { margin: 0; color: var(--ink-soft); }
.rp-card .who { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: color-mix(in srgb, var(--e-anxious) 70%, var(--ink)); }
.rp-card .lvl { padding: 1px 7px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; color: var(--ink); background: color-mix(in srgb, var(--e-anxious) 24%, #fff); }
.rp-card .flag { width: 10px; height: 11px; background: var(--e-happy); clip-path: polygon(0 0, 100% 0, 75% 50%, 100% 100%, 0 100%); margin-left: 2px; }
.rp-card .tag { font-size: 0.78rem; }
.rp-card .reflect { margin-top: 4px; padding-left: 9px; border-left: 3px solid color-mix(in srgb, var(--e-anxious) 50%, transparent); font-style: italic; }
@media (prefers-reduced-motion: no-preference) {
  .report.scene:not(.is-on) .rp-title, .report.scene:not(.is-on) .rp-chips, .report.scene:not(.is-on) .rp-ribbon i, .report.scene:not(.is-on) .rp-points li, .report.scene:not(.is-on) .rp-card { opacity: 0; }
  .report.scene:not(.is-on) .rp-trend .line { stroke-dasharray: 400; stroke-dashoffset: 400; }
  .report.scene:not(.is-on) .rp-bar i { flex-grow: 0; }
  .report.scene.is-on .rp-title { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; }
  .report.scene.is-on .rp-chips { animation: fade 0.5s 0.3s both; }
  .report.scene.is-on .rp-trend .line { stroke-dasharray: 400; stroke-dashoffset: 400; animation: dash 1.2s 0.35s cubic-bezier(.4,.2,.2,1) forwards; }
  .report.scene.is-on .rp-ribbon i { animation: rib 0.4s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(0.6s + var(--i) * 15ms); }
  .report.scene.is-on .rp-points li { animation: slide-in 0.6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(1.1s + var(--i) * 0.3s); }
  .report.scene.is-on .rp-bar i { animation: bar-grow 0.8s 1.6s cubic-bezier(.2,.7,.2,1) both; }
  .report.scene.is-on .rp-card { animation: rise 0.7s 2s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes bar-grow { from { flex-grow: 0; } }

.recall-uses-title { margin: clamp(48px, 7vw, 72px) 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); letter-spacing: -0.015em; }
.recall-uses { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .recall-uses { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .recall-uses { grid-template-columns: repeat(4, 1fr); } }
.recall-uses li { position: relative; overflow: hidden; padding: 22px 20px 20px; display: grid; gap: 8px; align-content: start; }
.recall-uses li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--c); }
.recall-uses b { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; }
.recall-uses span { color: var(--ink-soft); }
.recall-uses q { display: block; margin-top: 4px; padding: 10px 12px; border-radius: 12px; font-size: 0.92rem; line-height: 1.35; background: color-mix(in srgb, var(--c) 11%, #fff); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); quotes: none; }
.recall-uses q::before { content: "Worth bringing up"; display: block; margin-bottom: 3px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: color-mix(in srgb, var(--c) 70%, var(--ink)); }

.recall-share { margin-top: 18px; padding: clamp(20px, 3vw, 28px); display: grid; gap: 20px; align-items: center; }
@media (min-width: 720px) { .recall-share { grid-template-columns: auto 1fr; gap: 28px; } }
.recall-share h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.recall-share p { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.pdf { position: relative; width: 92px; height: 116px; justify-self: start; }
.pdf-page { position: absolute; inset: 0; border-radius: 10px; background: #fff; border: 1px solid var(--card-edge); box-shadow: var(--card-shadow); padding: 12px 10px; display: grid; gap: 6px; align-content: start; }
.pdf-line { height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.pdf-line.w70 { width: 70%; height: 7px; background: color-mix(in srgb, var(--ink) 28%, transparent); } .pdf-line.w45 { width: 45%; }
.pdf-line.w80 { width: 80%; } .pdf-line.w60 { width: 60%; } .pdf-line.w75 { width: 75%; }
.pdf-bars { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; margin: 2px 0; }
.pdf-bars i { flex: 1; } .pdf-bars i:nth-child(1) { background: var(--e-calm); flex: 3; } .pdf-bars i:nth-child(2) { background: var(--e-happy); flex: 2; }
.pdf-bars i:nth-child(3) { background: var(--e-neutral); } .pdf-bars i:nth-child(4) { background: var(--e-anxious); } .pdf-bars i:nth-child(5) { background: var(--e-sad); }
.pdf-lock { position: absolute; right: -10px; bottom: -10px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(29,25,50,.3); }
.pdf-lock svg { width: 18px; height: 18px; }
.recall-fine { margin: 22px 0 0; color: var(--ink-soft); font-size: 0.95rem; max-width: 80ch; }

.recall-stage { display: grid; gap: 14px; margin-top: 4px; }
.pile { position: relative; height: 260px; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,0), color-mix(in srgb, var(--e-sad) 6%, #fff)); border: 1px solid var(--card-edge); }
.pile .blk { position: absolute; width: var(--s); height: var(--s); border-radius: 7px; background: var(--c); transform: rotate(var(--r)); box-shadow: 0 2px 6px rgba(29,25,50,.12); }
.pile .blk.two { background: linear-gradient(135deg, var(--c) 50%, var(--c2) 50%); }
.recall-count { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.recall-count b { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.recall-count span { color: var(--ink-soft); }

/* ---------- 6. Record your day (night) ---------- */

.ryd-card {
  position: relative; max-width: 420px; width: 100%; justify-self: center;
  aspect-ratio: 1.55; border-radius: 30px; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 70%, rgba(110, 140, 255, calc(0.12 + var(--light, 0) * 0.1)), transparent 70%), #0f0d22;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.6);
  transition: background 1s;
}
.ryd-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ryd-card .arc { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 2; }
.ryd-card .tick { fill: rgba(255,255,255,.4); font-size: 11px; font-family: var(--font-body); }
.ryd-card .mdot { fill: #fff; filter: drop-shadow(0 0 6px rgba(190,210,255,.9)); }
.ryd-card .hring { fill: none; stroke: rgba(220, 230, 255, 0.75); stroke-width: 2; }
.ryd-card .hdisc { fill: #fff; }
.ryd-card .hglow { fill: url(#ryd-glow); transition: opacity 1s; }
.ryd-text { position: absolute; left: 22px; right: 22px; bottom: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ryd-text b { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.ryd-text span { color: var(--night-soft); font-size: 0.95rem; }
@media (prefers-reduced-motion: no-preference) {
  .ryd-card .mdot.new { animation: land 0.7s cubic-bezier(.2,.8,.2,1) both; transform-box: fill-box; transform-origin: center; }
  .ryd-card .hring.new { animation: ring-in 0.8s cubic-bezier(.2,.8,.2,1) both; transform-box: fill-box; transform-origin: center; }
}
@keyframes land { from { opacity: 0; transform: translateY(-18px) scale(0.4); } 60% { transform: translateY(2px) scale(1.25); } }
@keyframes ring-in { from { opacity: 0; transform: scale(0.7); } }

/* ---------- 7. Private ---------- */

.private { text-align: center; }
.private .chapter-head { margin-inline: auto; justify-items: center; }
.lock-halo { position: relative; width: 220px; aspect-ratio: 1; margin: 0 auto 36px; display: grid; place-items: center; }
.lock-halo .ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--e-sad) 40%, transparent); }
.lock-halo .ring:nth-child(1) { width: 60%; height: 60%; }
.lock-halo .ring:nth-child(2) { width: 80%; height: 80%; opacity: .6; }
.lock-halo .ring:nth-child(3) { width: 100%; height: 100%; opacity: .35; }
.lock-halo .glass-mark { width: 42%; height: auto; overflow: visible; filter: drop-shadow(0 8px 20px rgba(70,120,255,.35)); }
.lock-halo .badge { position: absolute; right: 18%; bottom: 18%; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(29,25,50,.3); }
.lock-halo .badge svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .lock-halo.scene:not(.is-on) .ring { transform: scale(.6); opacity: 0; }
  .lock-halo.scene.is-on .ring { animation: ripple-once 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .lock-halo.scene.is-on .ring:nth-child(2) { animation-delay: .15s; }
  .lock-halo.scene.is-on .ring:nth-child(3) { animation-delay: .3s; }
  .lock-halo.scene:not(.is-on) .badge { transform: scale(0); }
  .lock-halo.scene.is-on .badge { animation: pop .5s .7s cubic-bezier(.2,.9,.3,1.3) both; }
}
@keyframes ripple-once { from { transform: scale(.6); opacity: 0; } }

.promises { list-style: none; padding: 0; margin: 40px auto 0; display: grid; gap: 12px; max-width: 880px; text-align: left; }
@media (min-width: 760px) { .promises { grid-template-columns: 1fr 1fr; } }
.promises li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px 18px; }
.promises .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--e-sad) 12%, #fff); }
.promises .ic svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.promises b { font-family: var(--font-display); font-weight: 600; display: block; }
.promises span { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- 8. Everyone ---------- */

.a11y { list-style: none; padding: 0; margin: clamp(36px, 5vw, 56px) 0 0; display: grid; gap: 0 40px; }
@media (min-width: 760px) { .a11y { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .a11y { grid-template-columns: 1fr 1fr 1fr; } }
.a11y li { padding: 22px 0; border-top: 1px solid var(--rule); }
.a11y b { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; display: block; margin-bottom: 4px; }
.a11y span { color: var(--ink-soft); }

/* ---------- 9. Free and Moments+ ---------- */

.plans { display: grid; gap: 20px; margin-top: clamp(36px, 5vw, 56px); }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { padding: clamp(22px, 3vw, 34px); }
.plan h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; margin: 0 0 6px; letter-spacing: -0.02em; }
.plan > p { margin: 0 0 18px; color: var(--ink-soft); }
.plan ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.plan li::marker { color: var(--e-calm); }
.plan.plus { color: var(--night-ink); background: linear-gradient(140deg, #2b2247, #1d2a45); border-color: rgba(255,255,255,.1); }
.plan.plus > p { color: var(--night-soft); }
.plan.plus li::marker { color: var(--e-happy); }
.plan .fine { margin-top: 18px; font-size: 0.92rem; color: var(--night-soft); }

/* ---------- 10. Closing ---------- */

.closing { text-align: center; }
.closing .glass-mark { width: 92px; height: auto; margin: 0 auto 22px; display: block; overflow: visible; filter: drop-shadow(0 10px 28px rgba(70,120,255,.45)); }
.closing h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.8rem); line-height: 1.04; letter-spacing: -0.03em; margin: 0; }
.closing p { color: var(--night-soft); margin: 18px auto 0; max-width: 52ch; }
.closing .fine { font-size: 0.95rem; margin-top: 40px; }
.closing .motto-line { font-family: var(--font-display); font-weight: 600; color: var(--night-ink); margin-top: 36px; letter-spacing: -0.01em; }
.closing .fine a { color: var(--night-ink); }
