@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  color-scheme: light;
  --ivory: #faf7f0;
  --paper: #fffdf9;
  --ink: #25334b;
  --muted: #4d5a67;
  --plum: #514265;
  --blue: #dceaf5;
  --lavender: #e9e2f3;
  --blush: #f5e3e5;
  --sage: #dde9df;
  --border: #dcded6;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1rem/1.58 var(--sans); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3, blockquote { font: 400 1em/1 var(--serif); }
h2 { font-size: clamp(3rem, 6vw, 5.2rem); letter-spacing: -0.027em; }
h3 { font-size: 2.3rem; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
button:not(:disabled) { cursor: pointer; }
img { display: block; max-width: 100%; }
fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #486481; outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: absolute; z-index: 10; top: 1rem; left: 1rem; padding: 0.7rem 1rem; background: var(--paper); }
.shell { width: min(1250px, calc(100% - 6rem)); margin-inline: auto; }
.section-pad { padding-block: clamp(4.2rem, 8vw, 8rem); }
.kicker { font-size: 0.73rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.site-header { border-bottom: 1px solid #2e28451a; }
.header-inner { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: clamp(1rem, 2vw, 2rem); }
.brand { display: block; width: clamp(142px, 15vw, 191px); flex: none; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; gap: clamp(1rem, 3vw, 2.85rem); }
.main-nav a { font-size: 0.92rem; text-decoration: none; font-weight: 600; }
.main-nav a:hover, .main-nav [aria-current] { text-decoration: underline; text-underline-offset: 0.32em; }
.menu-button, .menu-download { display: none; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.84rem 1.27rem; border: 1px solid var(--plum); border-radius: 999px; background: var(--plum); color: white; font-size: 0.9rem; font-weight: 700; text-decoration: none; transition: background 180ms, border-color 180ms, color 180ms, box-shadow 180ms; }
.button:hover:not(:disabled) { background: #413454; border-color: #413454; box-shadow: 0 5px 16px #30233726; }
.button span, .inline-link span { display: inline-block; transition: transform 180ms; }
.button:hover span, .inline-link:hover span { transform: translate(2px, -2px); }
.button.small { padding: 0.59rem 0.9rem; background: transparent; color: var(--plum); }
.button.small:hover { color: white; background: var(--plum); }
.button.light { background: var(--ivory); border-color: var(--ivory); color: var(--plum); }
.button.light:hover { background: var(--lavender); border-color: var(--lavender); }

.download-hero {
  overflow: clip;
  background:
    radial-gradient(ellipse at 6% 72%, #dceaf5c9, transparent 42%),
    radial-gradient(ellipse at 94% 75%, #f5e3e5da, transparent 45%),
    linear-gradient(180deg, var(--ivory) 0%, #f1ebf6 69%, var(--lavender) 100%);
}
.download-intro { padding-top: clamp(3rem, 6vw, 6rem); text-align: center; }
.download-intro h1 { font-size: clamp(4.1rem, 9.5vw, 9.1rem); letter-spacing: -0.036em; line-height: 0.86; text-wrap: balance; }
.download-intro h1 em { color: #6c577f; font-weight: 400; }
.download-description { max-width: 32rem; margin: 1rem auto 0; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.19rem); text-wrap: balance; }
.store-listings { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem; margin-top: 1.55rem; }
.store-tile { display: flex; align-items: center; gap: 0.65rem; min-width: 9.7rem; padding: 0.54rem 0.72rem; text-align: left; text-decoration: none; background: #fffdf9e8; border: 1px solid #71688340; border-radius: 0.85rem; box-shadow: 0 4px 14px #28173d0a; }
.store-tile.is-live { color: white; background: var(--plum); border-color: var(--plum); transition: background 180ms, translate 180ms; }
.store-tile.is-live:hover { background: #3f3351; translate: 0 -2px; }
.store-icon { position: relative; display: block; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 0.49rem; }
.app-store-icon { background: linear-gradient(#57b7ff, #1763e7); }
.app-store-icon i { position: absolute; left: 0.52rem; top: 1.05rem; width: 1.08rem; height: 0.15rem; border-radius: 1rem; background: white; }
.app-store-icon i:nth-child(2) { transform: rotate(-59deg) translate(0.13rem, -0.18rem); }
.app-store-icon i:nth-child(3) { transform: rotate(59deg) translate(-0.04rem, -0.22rem); }
.play-store-icon { background: #fff; }
.play-store-icon i { position: absolute; inset: 0.38rem 0.4rem; background: #4285f4; clip-path: polygon(7% 0, 56% 50%, 7% 100%); }
.play-store-icon i:nth-child(2) { background: #34a853; clip-path: polygon(7% 0, 77% 34%, 56% 50%); }
.play-store-icon i:nth-child(3) { background: #fbbc04; clip-path: polygon(77% 34%, 100% 46%, 100% 54%, 77% 66%, 56% 50%); }
.play-store-icon i:nth-child(4) { background: #ea4335; clip-path: polygon(7% 100%, 56% 50%, 77% 66%); }
.listing-copy { display: grid; gap: 0.14rem; line-height: 1.16; }
.listing-copy strong { font-size: 0.91rem; }
.listing-copy > span { color: var(--muted); font-size: 0.71rem; }
.store-tile.is-live .listing-copy > span { color: #f0e8f9; }
.store-arrow { margin-left: auto; }
.release-message { margin-top: 0.65rem; color: var(--muted); font-size: 0.84rem; }
.inline-link { font-size: 0.87rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 0.28em; }
.inline-link span { margin-left: 0.18rem; }
.demo-link { display: inline-block; margin-top: 0.65rem; }
.demo-link:hover span { transform: translateY(2px); }
.app-preview { padding-top: clamp(1.25rem, 3.5vw, 2.75rem); text-align: center; }
.app-preview figcaption { margin-top: 0.26rem; padding-bottom: 1.05rem; color: var(--muted); font-size: 0.75rem; }
.device-stage {
  --device-width: clamp(142px, 19vw, 234px);
  position: relative; isolation: isolate; width: min(100%, 780px);
  height: clamp(279px, 33vw, 405px); margin-inline: auto;
  overflow: clip; border-radius: 0 0 1.2rem 1.2rem;
}
.device-stage::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: -16%; height: 79%; background: radial-gradient(ellipse at center, #a48cb769, transparent 69%); }
.device { position: absolute; top: 13px; left: 50%; width: var(--device-width); aspect-ratio: 0.54; padding: clamp(4px, 0.55vw, 7px); background: #2e273b; border: 1px solid #6d617d; border-radius: clamp(1.4rem, 3.6vw, 2.5rem); box-shadow: 0 15px 28px #41345442, inset 0 0 0 1px #fff2; text-align: left; }
.device-check { z-index: 2; transform: translateX(-50%); }
.device-reflect { z-index: 1; transform: translateX(-139%) translateY(34px) rotate(-9deg); }
.device-history { z-index: 1; transform: translateX(40%) translateY(34px) rotate(9deg); }
.device-screen { position: relative; isolation: isolate; overflow: hidden; width: 100%; height: 100%; padding: clamp(0.6rem, 1.4vw, 1.1rem); padding-top: clamp(2.3rem, 4vw, 3.5rem); border-radius: clamp(1.16rem, 3.12vw, 2.02rem); background: var(--paper); }
.device-notch { position: absolute; inset: clamp(0.3rem, .65vw, .5rem) 32% auto; height: clamp(0.6rem, 1vw, 0.9rem); background: #2e273b; border-radius: 1rem; }
.device-reflect .device-screen { background: linear-gradient(180deg, #f6eeeeef 0%, #f5ebed68 57%, transparent 100%), url('/assets/lavender-dawn.jpg') 59% 64% / cover; text-align: center; }
.device-reflect .phone-headline { margin-top: clamp(1.2rem, 3vw, 3rem); }
.device-history .device-screen { background: linear-gradient(180deg, #eef5ef, var(--sage)); }
.phone-brand { display: flex; align-items: center; gap: 0.28rem; color: var(--plum); font: 400 clamp(0.93rem, 1.55vw, 1.25rem)/1 var(--serif); }
.phone-brand img { width: clamp(17px, 2vw, 26px); height: auto; }
.phone-kicker { color: #4d4660; font-size: clamp(0.49rem, 0.95vw, 0.7rem); text-transform: uppercase; letter-spacing: 0.085em; font-weight: 700; }
.phone-brand + .phone-kicker { margin-top: clamp(0.75rem, 2vw, 1.7rem); }
.phone-headline { margin-top: 0.42rem; color: var(--ink); font: 400 clamp(1.25rem, 2.5vw, 2.17rem)/0.98 var(--serif); letter-spacing: -0.02em; }
.phone-moods { display: flex; flex-wrap: wrap; gap: clamp(0.22rem, 0.6vw, 0.48rem); margin-top: clamp(0.6rem, 1.5vw, 1.15rem); }
.phone-moods .low { --tone: var(--blush); }
.phone-moods .mixed { --tone: var(--lavender); }
.phone-moods .good { --tone: var(--blue); }
.phone-moods .great { --tone: var(--sage); }
.phone-reply { display: block; width: fit-content; margin-top: 0.72rem; padding: 0.23rem 0.37rem; border-radius: 0.35rem; background: var(--lavender); color: var(--plum); font-size: clamp(0.49rem, 0.9vw, 0.66rem); font-weight: 700; }
.phone-icon { display: block; margin-top: 0.85rem; color: var(--plum); font-size: clamp(1.4rem, 4vw, 2.7rem); }
.phone-chart { height: clamp(2.6rem, 6vw, 4.8rem); margin-top: clamp(0.75rem, 2vw, 1.4rem); display: flex; align-items: end; gap: 0.18rem; border-bottom: 1px solid #65796e; }
.phone-chart i { flex: 1; height: 60%; border-radius: 0.22rem 0.22rem 0 0; background: #87a498; }
.phone-chart i:nth-child(2) { height: 39%; background: #b9aad0; }
.phone-chart i:nth-child(3) { height: 48%; background: #d0acbd; }
.phone-chart i:nth-child(4) { height: 73%; }
.phone-chart i:nth-child(5) { height: 2px; }
.phone-chart i:nth-child(6) { height: 86%; }
.phone-chart i:nth-child(7) { height: 60%; background: #7e779e; }
.phone-chart-label { display: flex; justify-content: space-between; margin-top: 0.24rem; font-size: 0.58rem; color: #426253; }

@media (prefers-reduced-motion: no-preference) {
  .download-intro { animation: arrive 590ms ease-out both; }
  .app-preview { animation: arrive 780ms 130ms ease-out both; }
  .device-stage .device { animation: phone-lift 780ms 170ms cubic-bezier(.22,.72,.23,1) both; }
  .device-stage .device-reflect { animation-delay: 290ms; }
  .device-stage .device-history { animation-delay: 410ms; }
  .motion-in:not(.feature-visual) { animation: arrive 620ms cubic-bezier(.22,.72,.23,1) both; }
  @keyframes arrive { from { opacity: 0.35; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes phone-lift { from { opacity: 0.2; translate: 0 2rem; } to { opacity: 1; translate: 0 0; } }
}

.showcase-intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.2rem 2rem; padding-block: clamp(2.6rem, 5.6vw, 5rem) 1.8rem; }
.showcase-intro h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.feature-nav { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.feature-nav a { padding: 0.45rem 0.78rem; border: 1px solid #51426544; border-radius: 999px; color: var(--plum); font-size: 0.8rem; font-weight: 700; text-decoration: none; transition: background 180ms; }
.feature-nav a:hover { background: var(--lavender); }
.feature-panel { scroll-margin-top: 0.65rem; padding-block: clamp(1.9rem, 4.4vw, 4.1rem); }
.feature-reflect { background: #f7edf2; --wash: #d9c5eb; --orbit: #72588d3e; --tilt: -8deg; }
.feature-check { background: #e9f0f6; --wash: #bdd9ec; --orbit: #3f6d933f; --tilt: 7deg; }
.feature-history { background: #eaf1e8; --wash: #c4dac9; --orbit: #54745b42; --tilt: -6deg; }
.feature-layout { display: grid; grid-template-columns: minmax(0, 0.87fr) minmax(0, 1.13fr); gap: clamp(1.5rem, 6vw, 6.5rem); align-items: center; }
.feature-check .feature-layout { grid-template-columns: minmax(0, 1.13fr) minmax(0, 0.87fr); }
.feature-check .feature-visual { grid-column: 1; grid-row: 1; }
.feature-check .feature-copy { grid-column: 2; grid-row: 1; }
.feature-copy h3 { max-width: 13ch; margin-block: 0.65rem 0.95rem; font-size: clamp(3.5rem, 6.25vw, 6rem); letter-spacing: -0.028em; }
.feature-copy > p:not(.kicker) { max-width: 32ch; margin-bottom: 1.15rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.14rem); }
.feature-visual { --device-width: clamp(174px, 21vw, 246px); position: relative; isolation: isolate; display: grid; place-items: center; min-height: clamp(345px, 45vw, 488px); overflow: clip; border: 1px solid #fff9; border-radius: clamp(1.15rem, 4vw, 2.1rem); background: radial-gradient(ellipse at 50% 66%, var(--wash), #fff8 79%); }
.feature-visual::before, .feature-visual::after { content: ""; position: absolute; z-index: -1; width: min(76%, 485px); height: 58%; border: 1px solid var(--orbit); border-radius: 50%; transform: rotate(-22deg); }
.feature-visual::after { width: min(85%, 540px); height: 67%; transform: rotate(19deg); }
.feature-visual .device { position: relative; inset: auto; margin-block: 1.15rem; transform: rotate(var(--tilt)); }
.feature-spark { position: absolute; left: 14%; top: 18%; color: var(--plum); font: 400 clamp(1.8rem, 4vw, 3.6rem)/1 var(--serif); }
.feature-visual .phone-moods .mixed { outline: 1px solid var(--plum); outline-offset: 2px; }

.benefits { background: linear-gradient(180deg, #f9f6ef, #f6edf0); }
.benefits-heading { max-width: 46rem; margin: 0 auto clamp(1.9rem, 4.5vw, 3.45rem); text-align: center; }
.benefits-heading .kicker { margin-bottom: 0.7rem; color: var(--plum); }
.benefits-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr) minmax(0, 1fr); grid-template-areas: "first reflection second"; gap: clamp(0.9rem, 2.3vw, 2.1rem); }
.benefit-pair { display: grid; gap: clamp(0.9rem, 2.3vw, 2.1rem); grid-template-rows: 1fr 1fr; grid-area: first; }
.benefit-pair:nth-child(2) { grid-area: second; }
.benefit-item { padding: clamp(1.15rem, 2.3vw, 2rem); border: 1px solid #44405e16; border-radius: 1.25rem; background: var(--lavender); }
.benefit-pair:first-child .benefit-item:nth-child(2) { background: var(--blue); }
.benefit-pair:nth-child(2) .benefit-item:first-child { background: var(--sage); }
.benefit-pair:nth-child(2) .benefit-item:nth-child(2) { background: var(--blush); }
.benefit-item h3 { font-size: clamp(1.85rem, 3vw, 2.75rem); line-height: 1.02; }
.benefit-item p { margin-top: 0.65rem; color: var(--muted); font-size: 0.93rem; }
.benefit-reflection {
  grid-area: reflection;
  display: grid;
  align-content: end;
  min-height: 18rem;
  padding: clamp(1.1rem, 2.7vw, 2.1rem);
  border-radius: 46% 46% 1.25rem 1.25rem / 29% 29% 1.25rem 1.25rem;
  background: linear-gradient(0deg, #352747 0%, #352747da 25%, #51426515 72%), url('/assets/lavender-dawn.jpg') 55% center / cover;
  color: var(--ivory);
}
.benefit-reflection blockquote { max-width: 12ch; font-size: clamp(2.2rem, 4.2vw, 4rem); }
.benefit-reflection figcaption { margin-top: 0.8rem; color: #f0e5f3; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }

.download-finale {
  overflow: clip;
  background: radial-gradient(ellipse at 81% 54%, #ddd0ee, transparent 59%), linear-gradient(118deg, var(--ivory), var(--lavender));
}
.download-finale-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3.5rem); align-items: center; }
.download-finale-copy { padding-block: clamp(3.1rem, 6vw, 6rem); }
.download-finale h2 { font-size: clamp(3.8rem, 7.6vw, 6.6rem); }
.download-finale h2 em { color: #6c577f; font-weight: 400; }
.download-finale-copy > p { margin-top: 0.8rem; max-width: 30ch; color: var(--muted); font-size: 1.08rem; }
.download-finale .store-listings { justify-content: start; margin-block: 1.25rem 0.4rem; }
.download-finale-visual { --device-width: clamp(164px, 20vw, 244px); position: relative; isolation: isolate; align-self: end; height: clamp(280px, 34vw, 405px); }
.download-finale-visual::before { content: ""; position: absolute; z-index: -1; left: 12%; right: 8%; bottom: 4%; height: 77%; border: 1px solid #72588d48; border-radius: 50%; transform: rotate(-18deg); }
.download-finale-visual .device-check { top: 8%; transform: translateX(-26%) rotate(8deg); }
.download-finale-visual .device-reflect { top: 19%; transform: translateX(-91%) rotate(-11deg); }

@media (prefers-reduced-motion: no-preference) {
  .feature-visual.motion-in .device { animation: phone-lift 720ms cubic-bezier(.22,.72,.23,1) both; }
  .feature-reflect .motion-in .phone-headline { animation: arrive 690ms 290ms ease-out both; }
  .feature-reflect .motion-in .phone-icon { animation: arrive 630ms 510ms ease-out both; }
  .feature-check .motion-in .phone-moods .mixed { animation: choose-mood 470ms 520ms ease-out both; }
  .feature-check .motion-in .phone-reply { animation: phone-lift 580ms 690ms ease-out both; }
  .feature-history .motion-in .phone-chart i { transform-origin: bottom; animation: chart-rise 570ms calc(360ms + var(--bar-order, 0) * 70ms) ease-out both; }
  .benefit-item:nth-child(2).motion-in { animation-delay: 90ms; }
  .download-finale-visual.motion-in .device { animation: phone-lift 720ms 100ms cubic-bezier(.22,.72,.23,1) both; }
  .download-finale-visual.motion-in .device-reflect { animation-delay: 210ms; }
  .phone-chart i:nth-child(2) { --bar-order: 1; }
  .phone-chart i:nth-child(3) { --bar-order: 2; }
  .phone-chart i:nth-child(4) { --bar-order: 3; }
  .phone-chart i:nth-child(5) { --bar-order: 4; }
  .phone-chart i:nth-child(6) { --bar-order: 5; }
  .phone-chart i:nth-child(7) { --bar-order: 6; }
  @keyframes choose-mood { 0% { scale: 1; outline-color: transparent; } 55% { scale: 1.17; } 100% { scale: 1; outline-color: var(--plum); } }
  @keyframes chart-rise { from { scale: 1 0.03; } to { scale: 1 1; } }
}

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 0.75rem 2.5rem; margin-bottom: 2.15rem; }
.section-heading .kicker, .closing .kicker { margin-bottom: 0.65rem; }
.section-heading > p { max-width: 25rem; color: var(--muted); padding-bottom: 0.1rem; }
.age-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.8rem, 2vw, 1.55rem); }
.age-card { min-width: 0; display: flex; flex-direction: column; border-radius: 1.25rem; overflow: hidden; text-decoration: none; border: 1px solid #293e5014; box-shadow: 0 5px 18px #3b33400b; }
.child { background: var(--blue); }
.teen { background: var(--lavender); }
.adult { background: var(--sage); }
.age-card figure { position: relative; overflow: hidden; }
.age-card figure img { width: 100%; height: auto; aspect-ratio: 1.43; object-fit: cover; transition: transform 450ms cubic-bezier(.2,.7,.3,1); }
.age-card:hover figure img { transform: scale(1.045); }
.age-card figcaption { position: absolute; top: 0.8rem; left: 0.8rem; background: var(--paper); border-radius: 99px; padding: 0.3rem 0.65rem; font-size: 0.72rem; font-weight: 700; }
.age-body { display: flex; align-items: start; justify-content: space-between; gap: 0.75rem; padding: clamp(1rem, 2.1vw, 1.6rem); }
.age-body p { margin-top: 0.4rem; font-size: 0.9rem; color: #414d5b; }
.arrow-circle { display: grid; place-items: center; width: 2.05rem; height: 2.05rem; flex: none; border: 1px solid #26334b42; border-radius: 50%; transition: background 180ms, color 180ms; }
.age-card:hover .arrow-circle { color: white; background: var(--ink); }
.demo-zone { background: radial-gradient(ellipse at 93% 0%, #f3e4e9, transparent 55%), var(--lavender); }
.demo-zone .section-heading { margin-bottom: 1.5rem; }

.closing { background: var(--plum); color: var(--ivory); }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.6rem; padding-block: clamp(2.9rem, 6vw, 5rem); }
.closing h2 { font-size: clamp(2.55rem, 5.6vw, 4.6rem); }
.closing p { margin-top: 0.75rem; max-width: 29rem; color: #f3edf3; }
.footer { background: #f0e9ed; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.8rem); padding-block: 2.7rem 2rem; }
.footer-grid nav { display: grid; align-content: start; gap: 0.35rem; }
.footer-grid nav p { font-weight: 700; margin-bottom: 0.25rem; }
.footer-grid a, .footer-bottom a { width: fit-content; text-decoration: none; }
.footer-grid nav a, .footer-brand p, .footer-bottom { font-size: 0.86rem; color: #4a5260; }
.footer-grid nav a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.footer-brand p { margin-top: 0.45rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.85rem; border-top: 1px solid #45395c24; }

.breadcrumb { display: flex; gap: 0.55rem; align-items: center; font-size: 0.83rem; }
.breadcrumb a { text-underline-offset: 0.22em; }
.subhero { padding-block: 1.15rem clamp(2.8rem, 6vw, 5.5rem); }
.subhero.guide { background: linear-gradient(130deg, var(--lavender), #f7ede7); }
.subhero-inner { margin-top: clamp(2rem, 4vw, 3.8rem); }
.subhero-inner.has-image { display: grid; grid-template-columns: 1fr 0.85fr; align-items: center; gap: clamp(1.8rem, 5vw, 5rem); }
.subhero h1 { max-width: 14ch; font-size: clamp(4rem, 8.5vw, 8.2rem); line-height: 0.9; letter-spacing: -0.03em; margin-top: 0.7rem; }
.subhero-intro { max-width: 39rem; margin-top: 1.1rem; color: #3e4b58; font-size: clamp(1rem, 1.7vw, 1.18rem); }
.subhero .button { margin-top: 1.15rem; }
.subhero-photo { border-radius: 45% 45% 5% 5% / 38% 38% 5% 5%; overflow: hidden; }
.subhero-photo img { width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 1fr minmax(190px, 0.54fr); gap: clamp(2rem, 9vw, 8rem); align-items: start; }
.article-content > section + section { margin-top: 2.1rem; padding-top: 2.1rem; border-top: 1px solid var(--border); }
.article-content h2, .index-grid h2 { font-size: clamp(2.2rem, 4.35vw, 3.4rem); }
.article-content p, .index-grid li p { margin-top: 0.6rem; max-width: 65ch; color: var(--muted); }
.article-aside { display: grid; gap: 1rem; }
.aside-quote, .aside-links { padding: 1.4rem; border-radius: 1rem; background: var(--lavender); }
.aside-quote .kicker { margin-bottom: 0.75rem; }
.aside-quote blockquote { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.aside-links { background: var(--blush); display: grid; gap: 0.5rem; }
.aside-links h2 { font-size: 1.95rem; }
.aside-links a, .index-grid a, .related-links a { font-weight: 700; width: fit-content; text-underline-offset: 0.22em; }
.index-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; }
.index-grid section { background: var(--paper); border: 1px solid var(--border); border-radius: 1rem; padding: 1.3rem; }
.index-grid ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.index-grid li + li { margin-top: 1rem; }
.index-grid li p { margin-top: 0.25rem; font-size: 0.9rem; }
.mood-guide { max-width: 58rem; }
.related-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.age-picker { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.5rem 0 1.1rem; }
.age-picker label, .mood-option { position: relative; cursor: pointer; }
.age-picker input, .mood-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.age-picker span { display: block; padding: 0.42rem 0.95rem; border: 1px solid #a8bdcb; border-radius: 999px; font-size: 0.84rem; font-weight: 700; }
.age-picker input:checked + span { background: var(--ink); border-color: var(--ink); color: white; }
.age-picker input:focus-visible + span, .mood-option input:focus-visible + span { outline: 2px solid #3c5b75; outline-offset: 3px; }
.demo-grid { display: grid; grid-template-columns: 0.98fr 1.02fr; gap: 1rem; align-items: stretch; }
.demo-card { min-width: 0; background: var(--paper); border: 1px solid #cfdce2; border-radius: 1.3rem; padding: clamp(1.2rem, 3vw, 2rem); }
.mood-picker legend { font: 400 2.4rem/1 var(--serif); }
.muted { color: var(--muted); font-size: 0.88rem; margin-top: 0.45rem; }
.moods { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35rem; margin-block: 1.15rem 1rem; }
.mood-option > span { display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 65px; gap: 0.25rem; padding: 0.25rem 0.07rem; border: 1px solid var(--border); border-radius: 0.7rem; font-size: 0.72rem; font-weight: 700; line-height: 1.15; text-align: center; }
.mood-option:hover > span, .mood-option input:checked + span { border-color: var(--ink); background: #ecf2f7; }
.face { position: relative; display: block; width: 22px; height: 22px; border: 1px solid #637a7e; border-radius: 50%; background: var(--tone, var(--lavender)); }
.face::before { content: ""; position: absolute; width: 2px; height: 2px; left: 6px; top: 6px; border-radius: 50%; background: var(--ink); box-shadow: 6px 0 var(--ink); }
.face::after { content: ""; position: absolute; width: 7px; height: 3px; left: 6px; top: 11px; border-bottom: 1px solid var(--ink); border-radius: 0 0 10px 10px; }
.face.low::after, .face.hard::after { transform: rotate(180deg); top: 12px; }
.face.mixed::after { height: 0; top: 13px; border-radius: 0; transform: rotate(-12deg); }
.example { padding: 0.7rem 0.85rem; border-radius: 0.7rem; background: #f1ebf6; }
.quote { font-size: 0.86rem; margin-bottom: 0.2rem; }
.feedback { margin-block: 0.65rem; min-height: 1.3rem; color: #405c50; font-size: 0.82rem; font-weight: 600; }
.save-button { width: 100%; }
.save-button:disabled { color: #4e626d; border-color: #d8e1e4; background: #e9eef1; }
.chart-header { display: flex; align-items: start; justify-content: space-between; gap: 0.45rem; }
.reset-button { margin-top: 0.4rem; }
.chart { list-style: none; margin: 1.45rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.36rem; isolation: isolate; }
.chart li { min-width: 0; text-align: center; font-size: 0.72rem; }
.bar-track { height: 155px; display: flex; align-items: end; justify-content: center; border-bottom: 1px solid #c5d3d8; background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), #e6ebe9 calc(25% - 1px) 25%); }
.bar { width: min(60%, 2.2rem); height: var(--size); border-radius: 5px 5px 0 0; background: var(--tone); border: 1px solid #647b85; border-bottom: 0; transition: height 200ms ease; }
.bar.empty { width: 50%; height: 0.25rem; border: 0; border-radius: 0; border-top: 2px dashed #718791; background: transparent; }
.chart li:last-child .bar:not(.empty) { border: 2px solid var(--ink); border-bottom: 0; }
.day { display: block; margin-top: 0.4rem; font-weight: 700; }
.day-mood { display: block; color: var(--muted); overflow-wrap: anywhere; }
.chart-status { min-height: 3.1rem; margin-top: 1rem; padding: 0.65rem 0.8rem; border-radius: 0.65rem; background: #edf3ee; font-size: 0.82rem; }

.demo-card { border-color: #d7ccdf; box-shadow: 0 7px 26px #4a3b5810; }
.text-button { border: 0; padding: 0; background: transparent; text-align: left; font-size: 0.85rem; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 0.24em; }
.text-button:hover { color: #4d6256; }
.age-picker { margin-top: 0; }
.age-picker span { border-color: #a99ab9; }
.age-picker input:checked + span { background: var(--plum); border-color: var(--plum); }
.bar { animation: bar-in 380ms ease-out both; transform-origin: bottom; }
@keyframes bar-in { from { scale: 1 0.5; opacity: 0.55; } to { scale: 1 1; opacity: 1; } }

@media (max-width: 980px) {
  .shell { width: calc(100% - 4rem); }
  .age-body { gap: 0.45rem; }
  .age-body h3 { font-size: 1.95rem; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 2.75rem); }
  .header-inner { min-height: 71px; flex-wrap: wrap; gap: 0.35rem 0.9rem; }
  .brand { width: 144px; }
  .main-nav { width: 100%; order: 3; padding-bottom: 0.85rem; gap: 0.5rem 1.1rem; flex-wrap: wrap; }
  .menu-download { display: inline; }
  .js .main-nav:not(.is-open) { display: none; }
  .js .menu-button { display: inline-flex; gap: 0.4rem; align-items: center; justify-content: center; order: 2; min-height: 40px; margin-left: auto; padding: 0.4rem 0; border: 0; background: transparent; font-size: 0.85rem; font-weight: 700; }
  .header-action { display: none; }
  .section-heading { align-items: start; flex-direction: column; }
  .feature-layout, .feature-check .feature-layout { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .feature-check .feature-copy, .feature-check .feature-visual { grid-area: auto; }
  .feature-copy h3 { margin-bottom: 0.65rem; }
  .feature-visual .device-screen { padding: 2.65rem 0.75rem 0.75rem; }
  .benefits-grid { grid-template-areas: "first second" "reflection reflection"; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-reflection { min-height: 17rem; border-radius: 1.25rem; }
  .download-finale-inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .download-finale-copy { padding-bottom: 0; }
  .download-finale-copy > p { margin-inline: auto; }
  .download-finale .store-listings { justify-content: center; }
  .download-finale-visual { max-width: 31rem; width: 100%; margin-inline: auto; }
  .demo-grid { grid-template-columns: 1fr; }
  .closing-inner { align-items: start; flex-direction: column; }
  .subhero-inner.has-image { grid-template-columns: 1fr; }
  .subhero-photo { max-width: 32rem; }
  .article-layout { grid-template-columns: 1fr; }
  .index-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 565px) {
  .shell { width: calc(100% - 2rem); }
  .age-grid { grid-template-columns: 1fr; gap: 1rem; }
  .benefits-grid { grid-template-areas: "first" "second" "reflection"; grid-template-columns: minmax(0, 1fr); }
  .benefit-pair { grid-template-rows: auto; }
  .age-card figure img { aspect-ratio: 1.55; }
  .bar-track { height: 118px; }
  .demo-card { padding: 1rem; }
  .chart { gap: 0.24rem; }
  .chart li { font-size: 0.66rem; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.topic-strip { background: var(--paper); border-bottom: 1px solid var(--border); }
.topic-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.85rem 1.5rem; padding-block: 1.2rem; }
.topic-inner h2 { font-size: 1.9rem; }
.topic-inner ul { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0; }
.topic-inner li { background: var(--lavender); border-radius: 99px; padding: 0.37rem 0.8rem; font-size: 0.82rem; color: var(--plum); }
.rich-article .article-content section { scroll-margin-top: 1rem; }
.rich-article .article-content section:nth-child(3n + 1) { border-radius: 1.2rem; border-top: 0; padding: clamp(1.2rem, 3vw, 2rem); background: #e9e2f373; }
.page-contents { display: grid; gap: 0.7rem; border: 1px solid #51426529; border-radius: 1rem; padding: 1.3rem; background: var(--paper); }
.page-contents h2 { font-size: 2rem; margin-bottom: 0.2rem; }
.page-contents a { font-size: 0.89rem; text-underline-offset: 0.2em; }
.page-contents a:hover { color: var(--plum); }
.page-preview .feature-copy h2 { max-width: 12ch; margin-block: 0.65rem 0.95rem; font-size: clamp(3.5rem, 6.25vw, 6rem); }
.page-faq { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(1.5rem, 6vw, 5rem); align-items: start; }
.page-faq .kicker { margin-bottom: 0.7rem; }
.page-faq h2 { font-size: clamp(2.8rem, 5vw, 4.6rem); }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { padding-block: 1rem; border-bottom: 1px solid var(--border); }
.faq-list summary { cursor: pointer; font-weight: 600; }
.faq-list p { color: var(--muted); margin-top: 0.6rem; font-size: 0.95rem; }
.related-section { padding-block: clamp(2.5rem, 5vw, 4rem); background: #f6edf0; }
.related-section > .shell > h2 { font-size: 2.6rem; margin-bottom: 1.2rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related-grid a { display: grid; align-content: start; gap: 0.7rem; padding: 1.35rem; background: var(--paper); border: 1px solid #51426524; border-radius: 1rem; text-decoration: none; transition: background 180ms; }
.related-grid a:hover { background: var(--lavender); }
.related-grid p { font-size: 0.9rem; color: var(--muted); }
.related-grid span { justify-self: end; font-size: 1.3rem; }
@media (max-width: 760px) {
  .page-faq { grid-template-columns: minmax(0, 1fr); }
  .related-grid { grid-template-columns: minmax(0, 1fr); }
}

.motion-toggle { flex: none; color: var(--plum); background: transparent; border: 1px solid #5142653a; border-radius: 99px; padding: 0.5rem 0.7rem; font: 600 0.73rem var(--sans); cursor: pointer; }
.reflection-carousel { overflow: clip; position: relative; isolation: isolate; background: linear-gradient(130deg, #f5e3e580, #e9e2f3a0 52%, #dceaf590); }
.reflection-carousel::before { content: ""; position: absolute; z-index: -1; inset: -25%; background: radial-gradient(ellipse at 25% 30%, #cbb5df55, transparent 45%), radial-gradient(ellipse at 75% 65%, #c3dcca80, transparent 45%); }
.reflection-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 6vw, 5rem); align-items: center; }
.reflection-intro .kicker { color: var(--plum); margin-bottom: 0.8rem; }
.reflection-intro h2 { font-size: clamp(3.2rem, 5.8vw, 5.4rem); }
.reflection-intro > p:not(.kicker):not(.carousel-status) { max-width: 33ch; color: var(--muted); margin-top: 1rem; }
.reflection-stage { min-width: 0; perspective: 1000px; }
.reflection-slide { min-height: 390px; padding: clamp(1.5rem, 3.7vw, 3.2rem); border: 1px solid #fff; border-radius: 1.6rem; box-shadow: 0 20px 50px #51426516; background: #faf7f0; display: flex; flex-direction: column; justify-content: center; }
.reflection-slide + .reflection-slide { margin-top: 1rem; }
.reflection-slide.tone-1 { background: #e9e2f3; }
.reflection-slide.tone-2 { background: #dde9df; }
.reflection-slide.tone-3 { background: #dceaf5; }
.reflection-slide h3 { font: 600 0.95rem/1.4 var(--sans); margin-top: 0.65rem; }
.reflection-slide blockquote { font-size: clamp(2.5rem, 4.4vw, 4.2rem); line-height: 1.02; margin-block: 1rem 1.6rem; max-width: 16ch; color: var(--plum); }
.slide-theme, .slide-caption { font-size: 0.73rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.carousel-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.5rem; }
.carousel-controls button { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid #51426560; border-radius: 50%; background: #fff9; color: var(--plum); font-size: 1.2rem; }
.carousel-controls .carousel-pause { width: auto; padding-inline: 0.8rem; font-size: 0.79rem; border-radius: 99px; }
.carousel-controls button:hover { background: var(--plum); color: white; }
.carousel-dots { display: flex; justify-content: center; gap: 0.25rem; margin-top: 0.6rem; }
.carousel-dots button { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; padding: 0; border: 0; background: transparent; }
.carousel-dots span { width: 7px; height: 7px; border-radius: 99px; background: #9987ad; transition: width 250ms, background 250ms; }
.carousel-dots [aria-pressed="true"] span { width: 26px; background: var(--plum); }
.carousel-ready .reflection-slide { margin-top: 0; }
html.motion-paused *, html.motion-paused *::before, html.motion-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-paused) .reflection-carousel::before { animation: ambient-drift 14s ease-in-out infinite alternate; }
  html:not(.motion-paused) .feature-spark { animation: soft-turn 7s ease-in-out infinite alternate; }
  .reflection-slide.is-entering { animation: reflection-turn 550ms cubic-bezier(.2,.7,.25,1) both; }
  .pointer-ready .feature-visual .device { rotate: var(--pointer-turn, 0deg); transition: rotate 650ms ease-out; }
  @keyframes ambient-drift { to { transform: translate(4%, -3%) rotate(8deg); } }
  @keyframes soft-turn { to { transform: rotate(25deg) scale(1.08); } }
  @keyframes reflection-turn { from { opacity: 0.2; transform: translateY(16px) rotateY(-6deg); } to { opacity: 1; transform: translateY(0) rotateY(0); } }
}
@media (max-width: 980px) { .main-nav { gap: 1rem; } .header-action { display: none; } }
@media (max-width: 760px) {
  .motion-toggle { margin-left: auto; }
  .js .menu-button { margin-left: 0; }
  .reflection-layout { grid-template-columns: minmax(0, 1fr); }
  .reflection-slide { min-height: 315px; }
  .header-inner .motion-toggle { order: 1; }
}

.subhero.companion { background: linear-gradient(125deg, var(--blue), var(--lavender)); }
.subhero.journal { background: linear-gradient(125deg, var(--blush), var(--ivory)); }
.subhero.membership { background: linear-gradient(125deg, var(--sage), var(--lavender)); }
.chat-preview { margin-top: 1.1rem; display: grid; gap: 0.7rem; }
.chat-preview p { padding: 0.65rem; border-radius: 0.7rem; font-size: clamp(0.7rem, 1.2vw, 0.89rem); line-height: 1.45; }
.chat-user { background: var(--blue); margin-left: 1rem; }
.chat-reply { background: var(--lavender); margin-right: 0.5rem; }
.journal-preview { margin-top: 1rem; padding: 0.85rem; border-radius: 0.65rem; background: #fffdf9de; text-align: left; font-size: clamp(0.72rem, 1.25vw, 0.9rem); line-height: 1.6; }
.journal-preview p + p { margin-top: 0.7rem; }
.journal-sample { margin-top: 0.8rem; }
.plan-table-wrap { overflow-x: auto; border: 1px solid #51426538; border-radius: 1rem; }
.plan-table { width: 100%; border-collapse: collapse; text-align: left; background: var(--paper); font-size: 0.93rem; }
.plan-table th, .plan-table td { padding: 1rem 1.2rem; border-bottom: 1px solid #51426524; vertical-align: top; }
.plan-table thead th { font-size: 1.15rem; background: var(--lavender); }
.plan-table th[scope="row"] { font-weight: 600; width: 40%; }
.plan-table td:last-child { background: #dde9df88; }
.plan-table tr:last-child > * { border-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .feature-check .motion-in .chat-user { animation: arrive 500ms 300ms ease-out both; }
  .feature-check .motion-in .chat-reply { animation: arrive 550ms 550ms ease-out both; }
  .feature-reflect .motion-in .journal-preview { animation: arrive 650ms 350ms ease-out both; }
}
@media (min-width: 761px) {
  .header-inner { flex-wrap: wrap; gap: 0.75rem 1.1rem; padding-block: 0.7rem; }
  .header-inner > .brand { margin-right: auto; }
  .main-nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 0.8rem 2rem; padding-block: 0.35rem; }
}
@media (max-width: 565px) {
  .plan-table { font-size: 0.78rem; }
  .plan-table th, .plan-table td { padding: 0.8rem 0.5rem; overflow-wrap: anywhere; }
  .plan-table thead th { font-size: 0.95rem; }
}

/* Legal pages keep reading calm, clear and independent of animated previews. */
.legal-hero {background:linear-gradient(135deg,#dceaf5 0%,#e9e2f3 100%);padding-top:7rem;padding-bottom:4rem}
.legal-width{max-width:900px}.legal-hero h1{max-width:800px;font-size:clamp(2.8rem,6vw,5.2rem);line-height:1.08}.legal-hero p{max-width:680px}.legal-meta{font-size:1rem;font-weight:600;margin:1.5rem 0}.legal-notice{margin-top:1.8rem;padding:1.3rem 1.5rem;border:1px solid #746084;border-radius:20px;background:#faf7f0;font-size:1rem;line-height:1.7}.legal-grid{display:grid;grid-template-columns:250px minmax(0,760px);gap:5rem;justify-content:center}.legal-grid nav{align-self:start;position:sticky;top:8rem;display:grid;gap:.65rem}.legal-grid nav a{font-size:1rem;line-height:1.45;text-underline-offset:4px}.legal-grid article section{scroll-margin-top:8rem;margin-bottom:2.8rem}.legal-grid article h2{font-size:clamp(1.8rem,3vw,2.5rem);margin-bottom:1rem}.legal-grid article p{font-size:1.0625rem;line-height:1.85;max-width:70ch}.legal-related{border-top:1px solid #b2a5be;padding-top:2rem;display:flex;flex-wrap:wrap;gap:1.5rem}@media(max-width:760px){.legal-hero{padding-top:5rem}.legal-grid{grid-template-columns:1fr;gap:2rem}.legal-grid nav{position:static;border-bottom:1px solid #b2a5be;padding-bottom:2rem}.legal-grid article p{font-size:1rem}}
