/* ==========================================================================
   CuddleCloud website styles
   Cloud Nine Futurism: a pastel galaxy seen from inside a cloud.
   Mobile first. Shared by every page.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */

@property --holo-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  /* Brand palette */
  --blush: #FCE5EC;
  --soft-rose: #F8DDE8;
  --button-pink: #FFD6E4;
  --cloud-blush: #F6B9C7;
  --rose: #C0547A;
  --plum: #7A2E50;
  --lavender: #EDE6FF;
  --pale-blue: #DCEBFF;
  --sun-yellow: #FFE8A3;
  --moon-cream: #FFF6D9;
  --mint: #A8E6CF;
  --coral: #FF8A80;
  --galaxy: linear-gradient(135deg, #EDE6FF 0%, #DCEBFF 50%, #F8DDE8 100%);

  /* Type */
  --font-sans: "Nunito", ui-rounded, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Unbounded", "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  --fs-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-h2: clamp(2.1rem, 1.25rem + 3.7vw, 4.4rem);

  /* Space and shape */
  --gutter: clamp(16px, 4.5vw, 40px);
  --section-y: clamp(84px, 11vw, 168px);
  --radius-lg: clamp(22px, 2.6vw, 32px);
  --radius: 20px;
  --header-h: 72px;
  --container: 1240px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-float: cubic-bezier(0.45, 0.05, 0.55, 0.95);

  /* Dawn theme (light) */
  --bg: #FCE5EC;
  --bg-deep: #F8DDE8;
  --ink: #7A2E50;
  --ink-strong: #5E2140;
  --ink-muted: #6B5F75;
  --accent: #C0547A;
  --accent-ink: #9E3A60;
  --line: rgba(122, 46, 80, 0.14);
  --line-strong: rgba(122, 46, 80, 0.3);
  --surface: rgba(255, 255, 255, 0.58);
  --surface-2: rgba(255, 255, 255, 0.34);
  --surface-strong: rgba(255, 250, 252, 0.86);
  --surface-solid: #FFF7FA;
  --surface-read: rgba(255, 252, 253, 0.9);
  --edge: rgba(255, 255, 255, 0.85);
  --edge-hi: rgba(255, 255, 255, 0.95);
  --shadow-1: 0 2px 6px rgba(122, 46, 80, 0.05), 0 18px 48px -20px rgba(122, 46, 80, 0.3);
  --shadow-2: 0 30px 80px -30px rgba(122, 46, 80, 0.45);
  --glow: rgba(246, 185, 199, 0.85);
  --chip-bg: #FFD6E4;
  --chip-ink: #7A2E50;
  --btn-bg: linear-gradient(135deg, #B04A72 0%, #8E3660 50%, #7A2E50 100%);
  --btn-ink: #FFFFFF;
  --btn-glow: rgba(192, 84, 122, 0.5);
  --text-grad: linear-gradient(100deg, #C0547A 0%, #9B3D6A 35%, #7B4BB8 70%, #C0547A 100%);
  --holo: conic-gradient(from var(--holo-angle), #F6B9C7, #C9B8FF, #A9CFFF, #A8E6CF, #FFD98A, #F6B9C7);
  --aurora-a: rgba(237, 230, 255, 0.95);
  --aurora-b: rgba(220, 235, 255, 0.95);
  --aurora-c: rgba(255, 214, 228, 0.95);
  --aurora-d: rgba(255, 232, 163, 0.7);
  --aurora-e: rgba(255, 255, 255, 0.8);
  --cloud-core: #FFFFFF;
  --cloud-edge: #FFF3F7;
  --cloud-top: #FFFFFF;
  --cloud-bottom: #FFE1EC;
  --viz-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.75), rgba(248, 221, 232, 0.55));
  --paper: #FFFFFF;
  --sun-op: 1;
  --moon-op: 0.35;
  --grain-op: 0.07;
  --focus: #7A2E50;
  --cursor-glow: rgba(246, 185, 199, 0.55);
  --menu-bg: rgba(252, 229, 236, 0.9);
  --outline-fill: #FCE5EC;
  color-scheme: light;
}

/* Night sky theme, following the system when there is no choice (no JS) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #160E22;
    --bg-deep: #0F0918;
    --ink: #F7EAF1;
    --ink-strong: #FFFFFF;
    --ink-muted: #C9B6D3;
    --accent: #FF9EBF;
    --accent-ink: #F6B9C7;
    --line: rgba(247, 234, 241, 0.14);
    --line-strong: rgba(247, 234, 241, 0.3);
    --surface: rgba(48, 30, 68, 0.55);
    --surface-2: rgba(36, 23, 51, 0.38);
    --surface-strong: rgba(30, 19, 44, 0.86);
    --surface-solid: #2C1D3F;
    --surface-read: rgba(30, 19, 44, 0.92);
    --edge: rgba(255, 255, 255, 0.13);
    --edge-hi: rgba(255, 255, 255, 0.2);
    --shadow-1: 0 2px 6px rgba(0, 0, 0, 0.25), 0 18px 48px -20px rgba(0, 0, 0, 0.7);
    --shadow-2: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
    --glow: rgba(192, 84, 122, 0.55);
    --chip-bg: rgba(246, 185, 199, 0.16);
    --chip-ink: #FCE5EC;
    --btn-bg: linear-gradient(135deg, #FFD6E4 0%, #F6B9C7 55%, #E9A3C0 100%);
    --btn-ink: #3A1430;
    --btn-glow: rgba(246, 185, 199, 0.4);
    --text-grad: linear-gradient(100deg, #FFB8CE 0%, #F6B9C7 30%, #CDB8FF 65%, #FFE8A3 100%);
    --holo: conic-gradient(from var(--holo-angle), #FF9EBF, #B9A2FF, #8FB8FF, #7FD9B9, #FFE08A, #FF9EBF);
    --aurora-a: rgba(74, 44, 130, 0.75);
    --aurora-b: rgba(36, 52, 120, 0.7);
    --aurora-c: rgba(120, 38, 88, 0.62);
    --aurora-d: rgba(237, 230, 255, 0.1);
    --aurora-e: rgba(192, 84, 122, 0.32);
    --cloud-core: #4B3468;
    --cloud-edge: #2A1B3D;
    --cloud-top: #FFF6FB;
    --cloud-bottom: #F3C3D8;
    --viz-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(192, 84, 122, 0.08));
    --paper: #362649;
    --sun-op: 0.18;
    --moon-op: 1;
    --grain-op: 0.06;
    --focus: #F6B9C7;
    --cursor-glow: rgba(192, 84, 122, 0.35);
    --menu-bg: rgba(22, 14, 34, 0.92);
    --outline-fill: #160E22;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #160E22;
  --bg-deep: #0F0918;
  --ink: #F7EAF1;
  --ink-strong: #FFFFFF;
  --ink-muted: #C9B6D3;
  --accent: #FF9EBF;
  --accent-ink: #F6B9C7;
  --line: rgba(247, 234, 241, 0.14);
  --line-strong: rgba(247, 234, 241, 0.3);
  --surface: rgba(48, 30, 68, 0.55);
  --surface-2: rgba(36, 23, 51, 0.38);
  --surface-strong: rgba(30, 19, 44, 0.86);
  --surface-solid: #2C1D3F;
  --surface-read: rgba(30, 19, 44, 0.92);
  --edge: rgba(255, 255, 255, 0.13);
  --edge-hi: rgba(255, 255, 255, 0.2);
  --shadow-1: 0 2px 6px rgba(0, 0, 0, 0.25), 0 18px 48px -20px rgba(0, 0, 0, 0.7);
  --shadow-2: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --glow: rgba(192, 84, 122, 0.55);
  --chip-bg: rgba(246, 185, 199, 0.16);
  --chip-ink: #FCE5EC;
  --btn-bg: linear-gradient(135deg, #FFD6E4 0%, #F6B9C7 55%, #E9A3C0 100%);
  --btn-ink: #3A1430;
  --btn-glow: rgba(246, 185, 199, 0.4);
  --text-grad: linear-gradient(100deg, #FFB8CE 0%, #F6B9C7 30%, #CDB8FF 65%, #FFE8A3 100%);
  --holo: conic-gradient(from var(--holo-angle), #FF9EBF, #B9A2FF, #8FB8FF, #7FD9B9, #FFE08A, #FF9EBF);
  --aurora-a: rgba(74, 44, 130, 0.75);
  --aurora-b: rgba(36, 52, 120, 0.7);
  --aurora-c: rgba(120, 38, 88, 0.62);
  --aurora-d: rgba(237, 230, 255, 0.1);
  --aurora-e: rgba(192, 84, 122, 0.32);
  --cloud-core: #4B3468;
  --cloud-edge: #2A1B3D;
  --cloud-top: #FFF6FB;
  --cloud-bottom: #F3C3D8;
  --viz-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(192, 84, 122, 0.08));
  --paper: #362649;
  --sun-op: 0.18;
  --moon-op: 1;
  --grain-op: 0.06;
  --focus: #F6B9C7;
  --cursor-glow: rgba(192, 84, 122, 0.35);
  --menu-bg: rgba(22, 14, 34, 0.92);
  --outline-fill: #160E22;
  color-scheme: dark;
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
  scrollbar-color: var(--cloud-blush) transparent;
  background-color: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color 0.6s var(--ease-soft), color 0.6s var(--ease-soft);
}

@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}

img,
picture,
svg,
canvas,
video {
  display: block;
  max-width: 100%;
}

img { height: auto; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

summary { -webkit-tap-highlight-color: transparent; }

::selection {
  background: #F6B9C7;
  color: #3A1430;
}

:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 10px;
}

main:focus-visible { outline: none; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #F6B9C7, #EDE6FF);
  border-radius: 999px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #C0547A, #F6B9C7); }

/* --------------------------------------------------------------------------
   3. Utilities and shared components
   -------------------------------------------------------------------------- */

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}

.skip-link:focus-visible { transform: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.hud {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hud::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}

.section-head--center .hud { justify-content: center; }

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.section {
  position: relative;
  padding-block: var(--section-y);
  overflow-x: clip;
}

.section-head {
  position: relative;
  max-width: 48rem;
  margin-bottom: clamp(40px, 6vw, 76px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.lead {
  margin-top: 20px;
  max-width: 38rem;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}

.section-head--center .lead { margin-inline: auto; }

.w--grad {
  background-image: var(--text-grad);
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: grad-shift 14s ease-in-out infinite alternate;
}

.w--outline {
  color: var(--outline-fill);
  -webkit-text-stroke: max(2px, 0.045em) var(--ink);
  paint-order: stroke fill;
}

@supports not (-webkit-text-stroke: 1px black) {
  .w--outline { color: var(--ink); }
}

.w--display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
}

@keyframes grad-shift {
  to { background-position: 100% 50%; }
}

/* Glass card */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--edge-hi);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: translate 0.6s var(--ease-out), box-shadow 0.5s var(--ease-soft);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card { background: var(--surface-strong); }
}

/* Holographic border that sweeps slowly */
.holo::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  padding: 1.5px;
  border-radius: inherit;
  background: var(--holo);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.95;
}

.holo.is-playing::before {
  animation: holo-spin 10s linear infinite;
}

@keyframes holo-spin {
  to { --holo-angle: 360deg; }
}

/* Buttons */
.btn {
  --mx: 0px;
  --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s var(--ease-soft), background-color 0.3s;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn > span,
.btn > svg { position: relative; z-index: 1; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
}

.btn:hover::after { transform: translateX(130%); }

.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: 0 12px 30px -10px var(--btn-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--primary:hover { box-shadow: 0 16px 40px -10px var(--btn-glow), 0 0 0 4px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.btn--glass {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--edge-hi);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn--glass:hover { box-shadow: var(--shadow-1), 0 0 0 4px var(--glow); }

.btn--sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.95rem;
}

.ripple {
  position: absolute;
  z-index: 0;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.28;
  transform: scale(0);
  pointer-events: none;
  animation: ripple 0.75s var(--ease-out) forwards;
}

@keyframes ripple {
  to { transform: scale(var(--rs, 18)); opacity: 0; }
}

/* Store button */
.store-btn {
  --mx: 0px;
  --my: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 24px 10px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2A1033 0%, #5A1F45 55%, #7A2E50 100%);
  color: #FFFFFF;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 40px -16px rgba(122, 46, 80, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s var(--ease-soft);
}

.store-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
}

.store-btn:hover::after { transform: translateX(130%); }
.store-btn:hover { box-shadow: 0 22px 50px -16px rgba(122, 46, 80, 0.8), 0 0 0 4px var(--glow); }

:root[data-theme="dark"] .store-btn {
  border-color: rgba(246, 185, 199, 0.45);
  box-shadow: 0 0 32px -8px rgba(246, 185, 199, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.store-btn__icon {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.store-btn__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-btn__text small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}

.store-btn__text strong {
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.store-btn--lg { min-height: 68px; padding-inline: 20px 30px; }
.store-btn--lg .store-btn__text strong { font-size: 1.45rem; }
.store-btn--sm { min-height: 52px; border-radius: 16px; padding: 8px 18px 8px 14px; }
.store-btn--sm .store-btn__icon { width: 24px; height: 24px; }
.store-btn--sm .store-btn__text strong { font-size: 1.08rem; }

/* Both store buttons always share the width of the wider one. */
.store-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
}

.store-row--center { margin-inline: auto; }

@media (max-width: 479.98px) {
  .store-row { grid-auto-flow: row; }
}

/* Chips and stickers */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-ink);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
}

.chips svg { width: 16px; height: 16px; }

.chips--small li {
  padding: 5px 11px;
  font-size: 0.78rem;
}

.stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 2px solid #FFFFFF;
  color: #7A2E50;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 8px 20px -10px rgba(122, 46, 80, 0.45);
  rotate: var(--tilt, 0deg);
  transition: rotate 0.5s var(--ease-out), translate 0.5s var(--ease-out);
}

.sticker svg { width: 18px; height: 18px; color: #9E3A60; }
.sticker:hover { rotate: 0deg; translate: 0 -3px; }
.sticker--a { background: #FFD6E4; --tilt: -3deg; }
.sticker--b { background: #EDE6FF; --tilt: 2deg; }
.sticker--c { background: #DCEBFF; --tilt: -1.5deg; }
.sticker--d { background: #FFE8A3; --tilt: 3deg; }

/* Links */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 800;
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-color: var(--cloud-blush);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: translate 0.4s var(--ease-out);
}

.text-link:hover svg { translate: 4px 0; }

.prose a,
.lead a,
.legal-doc a:not(.anchor):not(.btn) {
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--cloud-blush);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--edge);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: translate 0.4s var(--ease-out), box-shadow 0.3s;
}

.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { translate: 0 -2px; box-shadow: var(--shadow-1), 0 0 0 4px var(--glow); }

/* Status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}

.status-pill__dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4FC79A;
}

.status-pill__dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #A8E6CF;
  animation: soft-ping 3.2s var(--ease-soft) infinite;
}

@keyframes soft-ping {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Crosshair marks at grid corners */
.xh {
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0.55;
  background:
    linear-gradient(var(--ink-muted), var(--ink-muted)) center / 100% 1px no-repeat,
    linear-gradient(var(--ink-muted), var(--ink-muted)) center / 1px 100% no-repeat;
}

.xh--tl { top: calc(var(--header-h) + 18px); left: max(14px, env(safe-area-inset-left)); }
.xh--tr { top: calc(var(--header-h) + 18px); right: max(14px, env(safe-area-inset-right)); }

/* Sparkles, orbs and iridescent chrome */
.spark {
  position: absolute;
  width: 18px;
  height: 18px;
  color: #FFFFFF;
  filter: drop-shadow(0 0 6px rgba(246, 185, 199, 0.9));
  animation: twinkle 6s var(--ease-float) infinite;
}

:root[data-theme="dark"] .spark { color: #FFF6D9; }

@keyframes twinkle {
  0%, 100% { transform: scale(0.6) rotate(0deg); opacity: 0.45; }
  50% { transform: scale(1.1) rotate(45deg); opacity: 1; }
}

.orb {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95) 0 6%, rgba(255, 255, 255, 0) 32%),
    radial-gradient(circle, var(--orb-c) 0%, transparent 70%);
  animation: float 16s var(--ease-float) infinite alternate;
}

@keyframes float {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -26px, 0); }
}

.chrome {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 46% 54% 58% 42% / 44% 40% 60% 56%;
  background:
    radial-gradient(circle at 32% 28%, #FFFFFF 0 9%, rgba(255, 255, 255, 0) 26%),
    conic-gradient(from 210deg, #F6B9C7, #EDE6FF, #A9CFFF, #A8E6CF, #FFE8A3, #FFB3D1, #F6B9C7);
  box-shadow:
    inset -12px -16px 28px rgba(122, 46, 80, 0.28),
    inset 10px 12px 22px rgba(255, 255, 255, 0.75),
    0 24px 40px -18px rgba(122, 46, 80, 0.4);
  animation: chrome-float 28s linear infinite;
}

@keyframes chrome-float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* Volumetric cloud puffs */
.puff-stop-core { stop-color: var(--cloud-core); }
.puff-stop-edge { stop-color: var(--cloud-edge); }
.cloud-stop-top { stop-color: var(--cloud-top); }
.cloud-stop-bottom { stop-color: var(--cloud-bottom); }

.puff {
  position: absolute;
  height: auto;
  aspect-ratio: 2 / 1;
  overflow: visible;
  pointer-events: none;
}

.section-puff {
  position: absolute;
  width: min(70vw, 760px);
  aspect-ratio: 2 / 1;
  opacity: 0.6;
  pointer-events: none;
}

.section-puff--tl { top: -4%; left: -22%; }
.section-puff--br { bottom: -6%; right: -24%; }

/* --------------------------------------------------------------------------
   4. Sky: aurora, stars, sun, moon and grain
   -------------------------------------------------------------------------- */

.sky {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
  transition: background-color 0.8s var(--ease-soft);
}

.sky__aurora {
  position: absolute;
  inset: 0;
}

.aurora {
  position: absolute;
  width: 72vmax;
  height: 72vmax;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, var(--c) 0%, transparent 100%);
  will-change: transform;
}

.aurora--a { --c: var(--aurora-a); top: -26vmax; left: -22vmax; animation: drift-a 42s var(--ease-float) infinite alternate; }
.aurora--b { --c: var(--aurora-b); top: 8vh; right: -34vmax; animation: drift-b 50s var(--ease-float) infinite alternate; }
.aurora--c { --c: var(--aurora-c); bottom: -36vmax; left: -6vmax; animation: drift-c 56s var(--ease-float) infinite alternate; }
.aurora--d { --c: var(--aurora-d); width: 50vmax; height: 50vmax; top: 34vh; left: 24vw; animation: drift-d 64s var(--ease-float) infinite alternate; }
.aurora--e { --c: var(--aurora-e); width: 46vmax; height: 46vmax; top: -10vmax; left: 30vw; animation: drift-e 46s var(--ease-float) infinite alternate; }

@keyframes drift-a { to { transform: translate3d(14vw, 10vh, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-12vw, 14vh, 0) scale(1.08); } }
@keyframes drift-c { to { transform: translate3d(18vw, -12vh, 0) scale(1.15); } }
@keyframes drift-d { to { transform: translate3d(-16vw, -8vh, 0) scale(0.9); } }
@keyframes drift-e { to { transform: translate3d(-10vw, 12vh, 0) scale(1.1); } }

.sky__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sky__sun,
.sky__moon {
  position: absolute;
  width: clamp(64px, 9vw, 130px);
  transition: opacity 1s var(--ease-soft), transform 1.2s var(--ease-out);
}

.sky__sun {
  top: calc(var(--header-h) + 6vh);
  left: 4vw;
  opacity: var(--sun-op);
}

.sky__sun-core { fill: #FFE8A3; filter: drop-shadow(0 0 18px rgba(255, 232, 163, 0.95)); }

.sky__sun-rays {
  fill: none;
  stroke: #FFD98A;
  stroke-width: 4;
  stroke-linecap: round;
  transform-origin: 60px 60px;
  animation: spin 80s linear infinite;
}

.sky__moon {
  top: calc(var(--header-h) + 2vh);
  right: 6vw;
  opacity: var(--moon-op);
  animation: float 12s var(--ease-float) infinite alternate;
}

.sky__moon path { fill: #FFF6D9; filter: drop-shadow(0 0 22px rgba(255, 246, 217, 0.75)); }
.sky__moon-crater { fill: rgba(246, 185, 199, 0.35); }

@keyframes spin { to { transform: rotate(360deg); } }

.sky__grain {
  position: absolute;
  inset: 0;
  opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.48 0 0 0 0 0.18 0 0 0 0 0.31 0 0 0 1.4 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* --------------------------------------------------------------------------
   5. Header, navigation, theme toggle and mobile menu
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  pointer-events: none;
  view-transition-name: site-header;
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-1), inset 0 1px 0 var(--edge-hi);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  pointer-events: auto;
  transition: padding 0.45s var(--ease-out), background-color 0.45s, box-shadow 0.45s, max-width 0.6s var(--ease-out);
}

.site-header.is-scrolled .site-header__bar {
  max-width: calc(var(--container) - 40px);
  padding-block: 5px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-2), inset 0 1px 0 var(--edge-hi);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
  border-radius: 999px;
}

.brand__logo {
  width: auto;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(122, 46, 80, 0.28));
  transition: height 0.45s var(--ease-out), transform 0.6s var(--ease-out);
}

.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.05); }
.site-header.is-scrolled .brand__logo { height: 28px; }

.brand__word {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.site-nav { display: none; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.3s;
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.site-nav__list a:hover::after,
.site-nav__list a[aria-current]::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-header__cta { display: none; }

.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--edge);
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.4s, box-shadow 0.4s;
}

.theme-toggle:hover { box-shadow: 0 0 0 4px var(--glow); }

.theme-toggle__icon {
  width: 22px;
  height: 22px;
  overflow: visible;
}

.theme-toggle__body {
  fill: #F6A93B;
  transform-origin: 12px 12px;
  transition: transform 0.7s var(--ease-out), fill 0.6s;
}

.theme-toggle__bite {
  transform: translate(9px, -9px);
  transition: transform 0.7s var(--ease-out);
}

.theme-toggle__rays {
  fill: none;
  stroke: #F6A93B;
  stroke-width: 2;
  stroke-linecap: round;
  transform-origin: 12px 12px;
  transition: transform 0.7s var(--ease-out), opacity 0.45s;
}

:root[data-theme="dark"] .theme-toggle__body { fill: #FFF6D9; transform: scale(1.62); }
:root[data-theme="dark"] .theme-toggle__bite { transform: translate(0, 0); }
:root[data-theme="dark"] .theme-toggle__rays { transform: rotate(-90deg) scale(0.4); opacity: 0; }

.no-js .theme-toggle,
.no-js [data-theme-flip] { display: none; }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: var(--btn-bg);
  color: var(--btn-ink);
  cursor: pointer;
  box-shadow: 0 8px 20px -8px var(--btn-glow);
}

.menu-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}

.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.5s var(--ease-out), opacity 0.3s, width 0.4s var(--ease-out);
}

.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; width: 70%; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.no-js .menu-toggle { display: none; }

/* Without JavaScript the nav simply wraps under the brand on small screens */
@media (max-width: 1023.98px) {
  .no-js .site-header__bar { flex-wrap: wrap; border-radius: 24px; }
  .no-js .site-nav { display: block; order: 3; width: 100%; }
  .no-js .site-nav__list { flex-wrap: wrap; justify-content: center; }
  .no-js .site-nav__list a { padding-inline: 10px; font-size: 0.92rem; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding:
    calc(var(--header-h) + max(28px, env(safe-area-inset-top)))
    max(24px, env(safe-area-inset-right))
    max(32px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
  background: var(--menu-bg);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  backdrop-filter: blur(26px) saturate(160%);
  overflow-y: auto;
  overscroll-behavior: contain;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.7s var(--ease-out), visibility 0s linear 0.7s;
  visibility: hidden;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 40px) 40px);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-out), visibility 0s;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mobile-menu__list {
  padding: 0;
  margin: 0 0 32px;
  list-style: none;
}

.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-height: 56px;
  padding-block: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.5s var(--ease-soft), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i) * 65ms + 140ms);
}

.mobile-menu__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent-ink);
}

.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: auto;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.5s var(--ease-soft), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i) * 65ms + 140ms);
}

.mobile-menu__tag {
  font-weight: 800;
  color: var(--ink-muted);
}

.mobile-menu.is-open .mobile-menu__list a,
.mobile-menu.is-open .mobile-menu__foot {
  opacity: 1;
  transform: none;
}

html.menu-open { overflow: hidden; }

@media (min-width: 560px) {
  .site-header__cta { display: inline-flex; }
}

@media (min-width: 1024px) {
  .site-header { padding-top: max(14px, env(safe-area-inset-top)); }
  .site-header__bar { padding: 10px 10px 10px 20px; gap: 12px; }
  .brand__logo { height: 38px; }
  .site-header.is-scrolled .brand__logo { height: 32px; }
  .brand__word { font-size: 1.2rem; }
  .site-nav { display: block; }
  .menu-toggle,
  .mobile-menu { display: none !important; }
}

/* --------------------------------------------------------------------------
   6. Reveal and motion helpers
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 0.9s var(--ease-soft),
    transform 1.1s var(--ease-out),
    clip-path 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms + var(--si, 0) * 90ms);
}

.js [data-reveal="zoom"] { transform: scale(0.92); }
.js [data-reveal="wipe"] {
  transform: translate3d(0, 16px, 0);
  clip-path: inset(-10% 100% -10% 0);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(-10% -10% -10% -10%);
}

.js [data-reveal="lines"] {
  opacity: 1;
  transform: none;
}

.hero__title .line {
  display: block;
  padding: 0.04em 0.06em 0.1em;
  margin: -0.04em -0.06em -0.1em;
}

.js .hero__title .line { overflow: hidden; }

.js .hero__title .line__in {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  transition: transform 1.2s var(--ease-out);
}

.js .hero__title .line:nth-child(2) .line__in { transition-delay: 0.09s; }
.js .hero__title .line:nth-child(3) .line__in { transition-delay: 0.18s; }
.js .hero__title .line:nth-child(4) .line__in { transition-delay: 0.27s; }
.js .hero__title.is-visible .line__in { transform: none; }

/* Split letters */
.split .word {
  display: inline-block;
  white-space: nowrap;
}

.split .char {
  display: inline-block;
}

.js .split .char {
  opacity: 0;
  transform: translate3d(0, 0.55em, 0) rotate(10deg);
  transition: opacity 0.7s var(--ease-soft), transform 1s var(--ease-out);
  transition-delay: calc(var(--ci) * 26ms);
}

.js .split.is-visible .char {
  opacity: 1;
  transform: none;
}

/* Cursor follower, only added by JS for fine pointers */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cursor-glow) 0%, transparent 62%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-soft);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 18px var(--glow);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft), border-color 0.3s;
}

.cursor-on .cursor-glow { opacity: 1; }
.cursor-on .cursor-ring { opacity: 0.85; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(36px, 7vw, 72px));
  padding-bottom: clamp(80px, 12vw, 150px);
  overflow: hidden;
}

@supports (overflow: clip) {
  .hero { overflow: clip; }
}

.hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb--1 { --orb-c: rgba(246, 185, 199, 0.85); width: clamp(140px, 24vw, 300px); top: 12%; right: -8%; }
.orb--2 { --orb-c: rgba(201, 184, 255, 0.75); width: clamp(100px, 16vw, 200px); bottom: 22%; left: -6%; animation-duration: 19s; }
.orb--3 { --orb-c: rgba(255, 217, 138, 0.75); width: clamp(54px, 7vw, 100px); top: 22%; left: 46%; animation-duration: 13s; }

.chrome--1 { width: clamp(56px, 8vw, 116px); top: 62%; right: 6%; }
.chrome--2 { width: clamp(38px, 5vw, 70px); top: 16%; left: 38%; animation-duration: 36s; animation-direction: reverse; }

.spark--1 { top: 20%; left: 8%; width: 20px; height: 20px; }
.spark--2 { top: 14%; right: 30%; width: 14px; height: 14px; animation-delay: -2s; }
.spark--3 { bottom: 30%; left: 30%; width: 16px; height: 16px; animation-delay: -4s; }
.spark--4 { top: 48%; right: 4%; width: 24px; height: 24px; animation-delay: -1s; }

.hero__clouds {
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
}

.puff--back { width: 80vw; left: -18vw; bottom: 16%; opacity: 0.55; animation: puff-drift 60s var(--ease-float) infinite alternate; }
.puff--mid { width: 70vw; right: -24vw; bottom: 4%; opacity: 0.75; animation: puff-drift 48s var(--ease-float) infinite alternate-reverse; }
.puff--front { width: 110vw; left: -30vw; bottom: -22%; opacity: 0.95; animation: puff-drift 40s var(--ease-float) infinite alternate; }
.puff--front-2 { width: 90vw; right: -34vw; bottom: -26%; opacity: 0.9; animation: puff-drift 52s var(--ease-float) infinite alternate-reverse; }

@keyframes puff-drift {
  to { transform: translate3d(6vw, 0, 0); }
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(48px, 8vw, 72px);
  align-items: center;
}

.hero__copy { position: relative; z-index: 1; }

.hero__title {
  font-size: clamp(2.05rem, 0.9rem + 5.6vw, 5.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}

.hero__title .line__in { font-weight: 900; }

.hero__pitch {
  margin-top: 26px;
  max-width: 34rem;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  font-weight: 700;
  line-height: 1.5;
}

.hero .store-row { margin-top: 30px; }

.hero__note {
  margin-top: 18px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink-muted);
}

.hero__visual {
  position: relative;
  z-index: 1;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .hero__title { font-size: clamp(3.4rem, 0.4rem + 4.7vw, 5.4rem); }
}

/* Breathing cloud */
.breath {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.breath__hud { margin-bottom: 8px; }

.breath__stage {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  transform: perspective(1200px) rotateX(var(--lx, 0deg)) rotateY(var(--ly, 0deg));
  transform-style: preserve-3d;
}

.breath__glow {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 214, 228, 0.6) 32%, rgba(237, 230, 255, 0.35) 52%, transparent 70%);
  transform: scale(var(--glow-s, 1));
  transition: opacity 0.8s;
}

:root[data-theme="dark"] .breath__glow {
  background: radial-gradient(circle at 50% 55%, rgba(246, 185, 199, 0.55) 0%, rgba(192, 84, 122, 0.35) 34%, rgba(122, 80, 200, 0.18) 54%, transparent 70%);
}

.breath__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.breath__ring-track {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1.5;
  stroke-dasharray: 2 6;
}

.breath__ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px var(--glow));
}

.breath__ticks circle { fill: var(--accent); }

.breath__cloud {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 22%;
  aspect-ratio: 400 / 270;
  transform-origin: 50% 60%;
  will-change: transform;
}

.breath__cloud-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.breath__cloud-shape {
  fill: url(#cloud-grad);
  stroke: #FFFFFF;
  stroke-width: 7;
  stroke-linejoin: round;
  filter: drop-shadow(0 18px 30px rgba(192, 84, 122, 0.25));
}

.breath__cloud-shine {
  fill: none;
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 7;
  stroke-linecap: round;
}

.breath__heart {
  position: absolute;
  left: 34%;
  top: 32%;
  width: 32%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 8px 14px rgba(229, 104, 154, 0.35));
  animation: heart-bob 6s var(--ease-float) infinite;
}

@keyframes heart-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}

.breath__spark--1 { top: -6%; left: 18%; width: 18px; height: 18px; }
.breath__spark--2 { top: 4%; right: 10%; width: 24px; height: 24px; animation-delay: -2s; }
.breath__spark--3 { bottom: 6%; right: 2%; width: 14px; height: 14px; animation-delay: -3.5s; }

.breath__readout {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  min-height: 2.6rem;
}

.breath__phase {
  font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: opacity 0.4s;
}

.breath__count {
  font-size: 1rem;
  color: var(--ink-muted);
  min-width: 2.5ch;
}

.breath__session {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.breath__session[hidden] { display: none; }

.breath__bar {
  position: relative;
  width: 180px;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.breath__bar span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cloud-blush), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
}

.breath__time {
  font-size: 0.85rem;
  color: var(--ink-muted);
  min-width: 4ch;
}

.breath__controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.breath__btn svg { color: var(--accent-ink); }

.breath__hint {
  max-width: 26rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.breath.is-done .breath__phase { color: var(--accent-ink); }

/* --------------------------------------------------------------------------
   8. Marquee
   -------------------------------------------------------------------------- */

.marquee {
  position: relative;
  padding-block: 34px;
  overflow: hidden;
}

@supports (overflow: clip) {
  .marquee { overflow: clip; }
}

.marquee__row {
  display: flex;
  width: 112%;
  margin-left: -6%;
  padding-block: 14px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  transform: rotate(-2.2deg);
  box-shadow: 0 20px 50px -20px var(--btn-glow);
}

.marquee__row--alt {
  margin-top: 6px;
  background: var(--surface-strong);
  color: var(--ink);
  border-block: 1px solid var(--edge);
  transform: rotate(1.4deg);
  box-shadow: var(--shadow-1);
}

.marquee__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee 60s linear infinite;
}

.marquee__row--alt .marquee__track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__track li {
  display: inline-flex;
  align-items: center;
  padding-left: 0.7em;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.9rem + 1.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.marquee__track li::after {
  content: "";
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.7em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.7 5.6 2.9 7.8 8.5 8.5-5.6.7-7.8 2.9-8.5 8.5-.7-5.6-2.9-7.8-8.5-8.5 5.6-.7 7.8-2.9 8.5-8.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.7 5.6 2.9 7.8 8.5 8.5-5.6.7-7.8 2.9-8.5 8.5-.7-5.6-2.9-7.8-8.5-8.5 5.6-.7 7.8-2.9 8.5-8.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.85;
}

.marquee__row--alt .marquee__track li::after { background: var(--accent); }

@keyframes marquee {
  to { transform: translate3d(-100%, 0, 0); }
}

/* --------------------------------------------------------------------------
   9. Meet section, mood orbit and stats
   -------------------------------------------------------------------------- */

.meet__grid {
  display: grid;
  gap: clamp(48px, 7vw, 80px);
  align-items: center;
}

.meet__for-title {
  margin-bottom: 18px;
  font-size: 1.2rem;
  color: var(--ink-muted);
  font-weight: 800;
}

.for-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.for-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
}

.for-card:hover { translate: 6px 0; }

.for-card h4 {
  margin-bottom: 4px;
  font-size: 1.18rem;
}

.for-card p {
  color: var(--ink-muted);
  font-size: 1rem;
  font-weight: 600;
}

.for-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--galaxy);
  color: #9E3A60;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 8px 18px -10px rgba(122, 46, 80, 0.5);
}

.for-card__icon svg { width: 24px; height: 24px; }

/* Mood orbit */
.orbit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.orbit__hud { margin-bottom: 10px; }

.orbit__title {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  margin-bottom: 6px;
}

.orbit__stage {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  container-type: inline-size;
}

.orbit__rings span {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
}

.orbit__rings span:nth-child(1) { inset: 11%; }
.orbit__rings span:nth-child(2) { inset: 22%; border-style: solid; border-color: var(--line); }
.orbit__rings span:nth-child(3) { inset: 2%; opacity: 0.5; }

.orbit__core {
  position: absolute;
  inset: 31%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), var(--surface) 70%);
  border: 1px solid var(--edge);
  box-shadow: 0 0 0 10px rgba(246, 185, 199, 0.18), 0 0 60px -6px var(--glow), inset 0 1px 0 var(--edge-hi);
}

:root[data-theme="dark"] .orbit__core {
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), rgba(48, 30, 68, 0.7) 70%);
}

.orbit__core-emoji {
  display: grid;
  place-items: center;
  width: 70%;
  aspect-ratio: 1;
  font-family: var(--font-emoji);
  font-size: clamp(2.6rem, 14cqi, 4.2rem);
  line-height: 1;
}

.orbit__core-emoji.is-pop { animation: pop-in 0.6s var(--ease-out); }

@keyframes pop-in {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.orbit__core-heart {
  width: 100%;
  height: auto;
  animation: heart-bob 6s var(--ease-float) infinite;
}

.orbit__ring {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: spin 80s linear infinite;
}

.orbit__item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  transform: rotate(calc(var(--i) * 72deg - 90deg)) translateX(132px) rotate(calc(var(--i) * -72deg + 90deg));
}

@supports (width: 1cqi) {
  .orbit__item { transform: rotate(calc(var(--i) * 72deg - 90deg)) translateX(39cqi) rotate(calc(var(--i) * -72deg + 90deg)); }
}

.orbit__mood {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, var(--mood) 60%);
  box-shadow: 0 12px 26px -12px rgba(122, 46, 80, 0.55), 0 0 0 0 var(--glow);
  cursor: pointer;
  animation: spin 80s linear infinite reverse;
  transition: box-shadow 0.4s var(--ease-soft), scale 0.5s var(--ease-out);
}

.orbit__stage:hover .orbit__ring,
.orbit__stage:hover .orbit__mood,
.orbit__stage:focus-within .orbit__ring,
.orbit__stage:focus-within .orbit__mood,
.orbit.is-paused .orbit__ring,
.orbit.is-paused .orbit__mood { animation-play-state: paused; }

.orbit__mood:hover,
.orbit__mood:focus-visible { scale: 1.1; box-shadow: 0 14px 30px -12px rgba(122, 46, 80, 0.6), 0 0 0 6px var(--glow); }
.orbit__mood[aria-pressed="true"] { scale: 1.16; box-shadow: 0 14px 30px -12px rgba(122, 46, 80, 0.6), 0 0 0 6px var(--accent); }

.orbit__emoji {
  font-family: var(--font-emoji);
  font-size: 1.85rem;
  line-height: 1;
  margin-top: -6px;
}

.orbit__label {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #7A2E50;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 10px -4px rgba(122, 46, 80, 0.4);
}

.orbit__msg {
  min-height: 4.8em;
  max-width: 26rem;
  margin-top: 10px;
  padding: 14px 20px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--edge);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  display: grid;
  place-items: center;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(56px, 8vw, 100px);
  padding: 0;
  list-style: none;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--edge);
  background: var(--surface-2);
}

.stat--wide { grid-column: 1 / -1; }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background-image: var(--text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr); }
  .stat--wide { grid-column: auto; }
}

@media (min-width: 1024px) {
  .meet__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   10. Features bento
   -------------------------------------------------------------------------- */

.bento-group + .bento-group { margin-top: clamp(56px, 8vw, 96px); }

.bento-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-bottom: 22px;
}

.bento-group__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--outline-fill);
  -webkit-text-stroke: 1.5px var(--accent);
  paint-order: stroke fill;
}

.bento-group__title {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  letter-spacing: -0.025em;
}

.bento-group__head .hud {
  margin: 0 0 0 auto;
  flex-basis: 100%;
}

@media (min-width: 640px) {
  .bento-group__head .hud { flex-basis: auto; }
}

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}

.bento__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bento__card:hover { translate: 0 -6px; box-shadow: var(--shadow-2), 0 0 0 1px var(--edge), 0 0 50px -16px var(--glow); }

.card__body {
  padding: 18px 22px 24px;
}

.card__body .hud {
  margin-bottom: 10px;
  font-size: 0.66rem;
}

.card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: clamp(1.18rem, 1.08rem + 0.4vw, 1.35rem);
}

.card__title svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
}

.card__body p {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink-muted);
}

.viz {
  position: relative;
  flex: 1 0 auto;
  min-height: 170px;
  margin: 14px 14px 0;
  border-radius: calc(var(--radius-lg) - 10px);
  background: var(--viz-bg);
  border: 1px solid var(--edge);
  overflow: hidden;
  isolation: isolate;
}

.js [data-play]:not(.is-playing) .viz *,
.js [data-play]:not(.is-playing) .viz *::before,
.js [data-play]:not(.is-playing) .viz *::after { animation-play-state: paused !important; }

@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-2 { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .t-2 { grid-column: auto; }
  .c-4 { grid-column: span 4; }
  .c-5 { grid-column: span 5; }
  .c-6 { grid-column: span 6; }
  .c-7 { grid-column: span 7; }
  .c-12 { grid-column: span 12; }
  .r-2 { grid-row: span 2; }
  .bento__card--wide { flex-direction: row; align-items: stretch; }
  .bento__card--wide .viz { flex: 1 1 52%; margin: 14px 0 14px 14px; }
  .bento__card--wide .card__body { flex: 1 1 48%; align-self: center; padding: 28px 34px; }
}

/* Viz: mood chart */
.viz--mood {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 12px;
  min-height: 240px;
}

.viz-mood__faces {
  display: flex;
  gap: 8px;
}

.viz-mood__faces span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: var(--mood);
  font-family: var(--font-emoji);
  font-size: 18px;
  box-shadow: 0 6px 14px -8px rgba(122, 46, 80, 0.5);
  animation: bob 4s var(--ease-float) infinite both;
}

.viz-mood__faces span:nth-child(2) { animation-delay: -0.8s; }
.viz-mood__faces span:nth-child(3) { animation-delay: -1.6s; }
.viz-mood__faces span:nth-child(4) { animation-delay: -2.4s; }
.viz-mood__faces span:nth-child(5) { animation-delay: -3.2s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.viz-mood__chart {
  flex: 1;
  width: 100%;
  height: auto;
  overflow: visible;
}

.viz-mood__grid path {
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}

.viz-mood__line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.6s var(--ease-out) 0.3s;
}

.viz-mood__area { transition: opacity 1.6s var(--ease-soft) 1s; }

.viz-mood__dots circle {
  fill: var(--surface-solid);
  stroke: var(--accent);
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.6s var(--ease-out);
}

.js .bento__card:not(.is-visible) .viz-mood__line { stroke-dashoffset: 100; }
.js .bento__card:not(.is-visible) .viz-mood__area { opacity: 0; }
.js .bento__card:not(.is-visible) .viz-mood__dots circle { transform: scale(0); }
.viz-mood__dots circle:nth-child(2) { transition-delay: 0.6s; }
.viz-mood__dots circle:nth-child(3) { transition-delay: 0.9s; }
.viz-mood__dots circle:nth-child(4) { transition-delay: 1.2s; }
.viz-mood__dots circle:nth-child(5) { transition-delay: 1.5s; }
.viz-mood__dots circle:nth-child(6) { transition-delay: 1.8s; }
.viz-mood__dots circle:nth-child(7) { transition-delay: 2.1s; }

.viz-mood__days {
  display: flex;
  justify-content: space-between;
  padding-inline: 2px;
  font-size: 0.7rem;
  color: var(--ink-muted);
}

/* Viz: streak */
.viz--streak {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
}

.viz-streak__flame {
  width: 66px;
  height: 66px;
  flex-shrink: 0;
  transform-origin: 50% 90%;
  filter: drop-shadow(0 8px 16px rgba(255, 138, 128, 0.5));
  animation: flicker 2.8s var(--ease-float) infinite;
}

@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  30% { transform: scale(1.06, 0.97) rotate(2deg); }
  60% { transform: scale(0.97, 1.05) rotate(-1deg); }
}

.viz-streak__list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 800;
}

.viz-streak__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tick {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 2px solid var(--line-strong);
}

.tick::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--accent);
  animation: tick-fill 7s var(--ease-out) infinite both;
  animation-delay: calc(var(--i) * 0.9s);
}

.tick svg {
  position: relative;
  width: 14px;
  height: 14px;
  color: #FFFFFF;
  animation: tick-mark 7s var(--ease-out) infinite both;
  animation-delay: calc(var(--i) * 0.9s);
}

:root[data-theme="dark"] .tick svg { color: #3A1430; }

@keyframes tick-fill {
  0%, 6% { transform: scale(0); opacity: 0; }
  14%, 82% { transform: scale(1); opacity: 1; }
  92%, 100% { transform: scale(0); opacity: 0; }
}

@keyframes tick-mark {
  0%, 10% { transform: scale(0.3); opacity: 0; }
  18%, 82% { transform: scale(1); opacity: 1; }
  92%, 100% { transform: scale(0.3); opacity: 0; }
}

/* Viz: gratitude */
.viz--gratitude {
  display: flex;
  align-items: center;
  padding: 14px 18px;
}

.viz-grat__lines {
  width: 100%;
  padding: 0;
  list-style: none;
}

.viz-grat__lines li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 9px;
  border-bottom: 1.5px dashed var(--line-strong);
}

.viz-grat__lines li:last-child { border-bottom: 0; }

.viz-grat__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFE8A3;
  color: #7A2E50;
  font-size: 15px;
  font-weight: 900;
}

.viz-grat__lines li:nth-child(2) .viz-grat__icon { background: #FFD6E4; }
.viz-grat__lines li:nth-child(3) .viz-grat__icon { background: #DCEBFF; }

.viz-grat__text {
  font-size: 0.9rem;
  font-weight: 700;
  animation: write-in 9s var(--ease-out) infinite both;
  animation-delay: calc(var(--i) * 1.1s);
}

@keyframes write-in {
  0%, 4% { opacity: 0; transform: translateX(-10px); }
  14%, 84% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateX(6px); }
}

/* Viz: journal */
.viz--journal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 5vw, 56px);
  padding: 22px 18px;
  min-height: 200px;
}

.viz-journal__page {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: min(62%, 330px);
  padding: 18px 18px 22px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 18px 30px -18px rgba(122, 46, 80, 0.45);
  transform: rotate(-3deg);
}

.viz-journal__date {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
}

.viz-journal__line {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--line-strong);
  transform-origin: left;
  animation: jline 7s var(--ease-out) infinite both;
  animation-delay: calc(var(--i) * 0.45s);
}

.viz-journal__line--short { width: 58%; }

@keyframes jline {
  0%, 4% { transform: scaleX(0); }
  16%, 84% { transform: scaleX(1); }
  94%, 100% { transform: scaleX(0); }
}

.viz-journal__fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 20px;
  height: 20px;
  color: var(--accent);
  fill: var(--cloud-blush);
}

.viz-journal__lock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.viz-journal__padlock {
  width: 64px;
  height: 75px;
  overflow: visible;
  filter: drop-shadow(0 10px 18px rgba(192, 84, 122, 0.4));
}

.viz-journal__shackle {
  stroke: var(--ink);
  animation: shackle 7s var(--ease-out) infinite both;
}

.viz-journal__body { fill: var(--accent); }
.viz-journal__hole { fill: var(--paper); }

@keyframes shackle {
  0%, 38% { transform: translateY(-10px); }
  46% { transform: translateY(1.5px); }
  52%, 88% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.viz-journal__pin {
  display: flex;
  gap: 8px;
}

.viz-journal__pin i {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.viz-journal__pin i::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: var(--accent);
  animation: pin-dot 7s var(--ease-out) infinite both;
}

.viz-journal__pin i:nth-child(2)::after { animation-delay: 0.35s; }
.viz-journal__pin i:nth-child(3)::after { animation-delay: 0.7s; }
.viz-journal__pin i:nth-child(4)::after { animation-delay: 1.05s; }

@keyframes pin-dot {
  0%, 12% { transform: scale(0); }
  18%, 88% { transform: scale(1); }
  96%, 100% { transform: scale(0); }
}

/* Viz: box breathing */
.viz--breathe {
  display: grid;
  place-items: center;
  min-height: 270px;
}

.viz-breathe__box {
  position: relative;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  border: 2px dashed var(--line-strong);
  border-radius: 26px;
}

.viz-breathe__side {
  position: absolute;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  white-space: nowrap;
}

.viz-breathe__side--t { top: -24px; left: 50%; transform: translateX(-50%); }
.viz-breathe__side--b { bottom: -24px; left: 50%; transform: translateX(-50%); }
.viz-breathe__side--r { right: -18px; top: 50%; transform: translate(50%, -50%) rotate(90deg); }
.viz-breathe__side--l { left: -18px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }

.viz-breathe__bubble {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #F6B9C7 55%, #C0547A 100%);
  box-shadow: 0 0 40px var(--glow);
  animation: box-bubble 16s var(--ease-float) infinite both;
}

@keyframes box-bubble {
  0% { transform: scale(0.6); }
  25%, 50% { transform: scale(1); }
  75%, 100% { transform: scale(0.6); }
}

.viz-breathe__dot {
  position: absolute;
  top: -9px;
  left: -9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: box-dot 16s linear infinite both;
}

@keyframes box-dot {
  0% { transform: translate(0, 0); }
  25% { transform: translate(158px, 0); }
  50% { transform: translate(158px, 158px); }
  75% { transform: translate(0, 158px); }
  100% { transform: translate(0, 0); }
}

/* Viz: meditation */
.viz--meditate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 18px;
}

.viz-med__player {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #8E3660 0%, #5B2A6E 100%);
  color: #FFFFFF;
  box-shadow: 0 16px 30px -18px rgba(91, 42, 110, 0.8);
}

.viz-med__play {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.viz-med__play svg { width: 44px; height: 44px; }

.viz-med__play::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: soft-ping 3s var(--ease-soft) infinite both;
}

.viz-med__wave {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 5px;
  height: 38px;
}

.viz-med__wave i {
  flex: 1;
  height: 100%;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.8);
  transform: scaleY(0.35);
  animation: eq 2.6s var(--ease-float) infinite both;
}

.viz-med__wave i:nth-child(2) { animation-delay: -0.3s; }
.viz-med__wave i:nth-child(3) { animation-delay: -0.6s; }
.viz-med__wave i:nth-child(4) { animation-delay: -0.9s; }
.viz-med__wave i:nth-child(5) { animation-delay: -1.2s; }
.viz-med__wave i:nth-child(6) { animation-delay: -1.5s; }
.viz-med__wave i:nth-child(7) { animation-delay: -1.8s; }
.viz-med__wave i:nth-child(8) { animation-delay: -2.1s; }
.viz-med__wave i:nth-child(9) { animation-delay: -2.4s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* Viz: games */
.viz--games {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  perspective: 600px;
}

.viz-games__tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.viz-games__tiles span {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 8px 6px;
  border-radius: 14px;
  background: #FFD6E4;
  color: #7A2E50;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 8px 16px -10px rgba(122, 46, 80, 0.5);
  animation: tile-flip 10s var(--ease-out) infinite both;
  animation-delay: calc(var(--i) * 1.6s);
}

.viz-games__tiles span:nth-child(2) { background: #EDE6FF; }
.viz-games__tiles span:nth-child(3) { background: #DCEBFF; }
.viz-games__tiles span:nth-child(4) { background: #FFE8A3; }
.viz-games__tiles span:nth-child(5) { background: #A8E6CF; }
.viz-games__tiles span:nth-child(6) { background: #FFF6D9; }

@keyframes tile-flip {
  0%, 6% { transform: rotateY(0deg); }
  10% { transform: rotateY(90deg); }
  14%, 100% { transform: rotateY(0deg); }
}

/* Viz: assessments */
.viz--assess {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.viz-assess__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.viz-assess__chips span {
  padding: 5px 12px;
  border-radius: 999px;
  background: #EDE6FF;
  color: #5B2A6E;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
}

.viz-assess__chips span:nth-child(2) { background: #DCEBFF; color: #2D4A7A; }
.viz-assess__chips span:nth-child(3) { background: #FFE8A3; color: #6A4A10; }

.viz-assess__bars {
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 10px;
  min-height: 80px;
}

.viz-assess__bars i {
  flex: 1;
  height: 100%;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #C9B8FF 0%, #F6B9C7 60%, #C0547A 100%);
  transform-origin: bottom;
  transform: scaleY(var(--h));
  transition: transform 1.2s var(--ease-out);
  transition-delay: calc(var(--i) * 0.1s + 0.3s);
}

.js .bento__card:not(.is-visible) .viz-assess__bars i { transform: scaleY(0.04); }

.viz-assess__note {
  font-size: 0.66rem;
  color: var(--ink-muted);
  letter-spacing: 0.14em;
}

/* Viz: pulse */
.viz--pulse {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.viz-pulse__heart {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  color: var(--accent);
  fill: rgba(246, 185, 199, 0.65);
  animation: beat 1.5s var(--ease-soft) infinite both;
}

@keyframes beat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.12); }
  28% { transform: scale(1); }
  42% { transform: scale(1.07); }
  70% { transform: scale(1); }
}

.viz-pulse__line {
  display: flex;
  flex: 1;
  height: 76px;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.viz-pulse__line svg {
  flex: 0 0 100%;
  height: 100%;
  overflow: visible;
  animation: ecg 3.4s linear infinite both;
}

.viz-pulse__line path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

@keyframes ecg {
  to { transform: translateX(-100%); }
}

/* Viz: cycle */
.viz--cycle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  padding: 18px;
}

.viz-cycle__ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
}

.viz-cycle__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#FF8A80 0 17%, #EDE6FF 17% 44%, #A8E6CF 44% 58%, #FFE8A3 58% 100%);
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 57%);
  mask: radial-gradient(circle, transparent 56%, #000 57%);
}

.viz-cycle__orbit {
  position: absolute;
  inset: 0;
  animation: spin 16s linear infinite both;
}

.viz-cycle__orbit i {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(122, 46, 80, 0.4);
}

.viz-cycle__label {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}

.viz-cycle__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: var(--surface-solid);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: var(--shadow-1);
}

.viz-cycle__toggle i {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: var(--line-strong);
}

.viz-cycle__toggle i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
}

/* Viz: health sync */
.viz--health {
  display: flex;
  align-items: flex-end;
  padding: 14px 18px 12px;
}

.viz-health__cols {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  height: 160px;
}

.viz-health__cols span {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  height: 100%;
}

.viz-health__cols b {
  font-family: var(--font-emoji);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  animation: bob 4s var(--ease-float) infinite both;
  animation-delay: calc(var(--i) * -0.5s);
}

.viz-health__cols i {
  display: block;
  width: 100%;
  max-width: 34px;
  height: calc(var(--h) * 116px);
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, #A9CFFF 0%, #C9B8FF 50%, #F6B9C7 100%);
  transform-origin: bottom;
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 0.08s + 0.3s);
}

.js .bento__card:not(.is-visible) .viz-health__cols i { transform: scaleY(0.05); }

/* Viz: chat */
.viz--chat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 18px 56px 18px 18px;
  min-height: 200px;
}

.viz-chat__bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
  animation: chat-pop 9s var(--ease-out) infinite both;
  animation-delay: calc(var(--i) * 0.7s);
}

.viz-chat__bubble--in {
  align-self: flex-start;
  background: var(--surface-solid);
  border-bottom-left-radius: 6px;
  box-shadow: 0 8px 18px -12px rgba(122, 46, 80, 0.5);
}

.viz-chat__bubble--out {
  align-self: flex-end;
  background: linear-gradient(135deg, #B04A72, #7A2E50);
  color: #FFFFFF;
  border-bottom-right-radius: 6px;
}

.viz-chat__bubble b {
  padding: 0 5px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
}

.viz-chat__react {
  align-self: flex-end;
  margin-top: -16px;
  margin-right: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-solid);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 6px 14px -8px rgba(122, 46, 80, 0.5);
  animation: chat-pop 9s var(--ease-out) infinite both;
  animation-delay: calc(var(--i) * 0.7s);
}

.viz-chat__flag {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-solid);
  color: var(--accent-ink);
  box-shadow: 0 6px 14px -8px rgba(122, 46, 80, 0.5);
}

.viz-chat__flag svg { width: 16px; height: 16px; }

@keyframes chat-pop {
  0%, 2% { opacity: 0; transform: translateY(12px) scale(0.96); }
  10%, 86% { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; transform: translateY(-4px); }
}

/* Viz: nearby */
.viz--nearby {
  min-height: 200px;
  background:
    radial-gradient(circle at 20% 80%, rgba(168, 230, 207, 0.55) 0 14%, transparent 15%),
    radial-gradient(circle at 82% 22%, rgba(220, 235, 255, 0.8) 0 12%, transparent 13%),
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(0deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--viz-bg);
}

.viz-near__radar {
  position: absolute;
  top: 50%;
  left: 50%;
}

.viz-near__radar i {
  position: absolute;
  width: 240px;
  height: 240px;
  margin: -120px 0 0 -120px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: radar 4.8s var(--ease-soft) infinite;
}

.viz-near__radar i:nth-child(2) { animation-delay: 1.6s; }
.viz-near__radar i:nth-child(3) { animation-delay: 3.2s; }

@keyframes radar {
  0% { transform: scale(0.08); opacity: 0.75; }
  100% { transform: scale(1); opacity: 0; }
}

.viz-near__you {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 0 7px rgba(192, 84, 122, 0.2);
}

.viz-near__pin {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 30px;
  height: 30px;
  margin: -30px 0 0 -15px;
  color: #7A2E50;
  fill: #FFD6E4;
  filter: drop-shadow(0 6px 8px rgba(122, 46, 80, 0.35));
  animation: pin-drop 7s var(--ease-out) infinite both;
  animation-delay: calc(var(--i) * 0.5s);
}

:root[data-theme="dark"] .viz-near__pin { color: #FFD6E4; fill: #7A2E50; }

@keyframes pin-drop {
  0%, 2% { opacity: 0; transform: translateY(-16px); }
  10%, 86% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}

/* Viz: notifications */
.viz--notify {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
}

.viz-notify__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface-solid);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 6px 14px -10px rgba(122, 46, 80, 0.45);
}

.switch {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--line-strong);
  overflow: hidden;
}

.switch::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #C0547A, #E5689A);
  animation: sw-fill 8s var(--ease-out) infinite both;
  animation-delay: calc(var(--i) * 1.2s);
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateX(18px);
  animation: sw-knob 8s var(--ease-out) infinite both;
  animation-delay: calc(var(--i) * 1.2s);
}

.viz-notify__row:nth-child(1) { --i: 0; }
.viz-notify__row:nth-child(2) { --i: 1; }
.viz-notify__row:nth-child(3) { --i: 2; }

@keyframes sw-fill {
  0%, 18% { opacity: 0; }
  28%, 74% { opacity: 1; }
  84%, 100% { opacity: 0; }
}

@keyframes sw-knob {
  0%, 18% { transform: translateX(0); }
  28%, 74% { transform: translateX(18px); }
  84%, 100% { transform: translateX(0); }
}

/* Viz: dark mode */
.viz--dark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 170px;
}

.viz-dark__half {
  position: relative;
  display: grid;
  place-items: center;
}

.viz-dark__half svg { width: 56px; height: 56px; }

.viz-dark__half--day {
  background: linear-gradient(160deg, #FFF6D9 0%, #FFD6E4 100%);
  color: #C0547A;
}

.viz-dark__half--day svg { animation: spin 30s linear infinite both; }

.viz-dark__half--night {
  background: linear-gradient(160deg, #2A1B3D 0%, #160E22 100%);
  color: #FFF6D9;
}

.viz-dark__half--night svg { filter: drop-shadow(0 0 12px rgba(255, 246, 217, 0.6)); }

.viz-dark__half--night i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFF6D9;
  animation: star-soft 4s var(--ease-float) infinite both;
}

.viz-dark__half--night i:nth-of-type(1) { top: 22%; left: 20%; }
.viz-dark__half--night i:nth-of-type(2) { top: 70%; left: 30%; animation-delay: -1.3s; }
.viz-dark__half--night i:nth-of-type(3) { top: 30%; right: 18%; animation-delay: -2.6s; }

@keyframes star-soft {
  0%, 100% { opacity: 0.3; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.2); }
}

.text-link--button { font-size: 1rem; }

/* --------------------------------------------------------------------------
   11. Phone showcase
   -------------------------------------------------------------------------- */

.phone {
  --w: 280px;
  position: relative;
  width: var(--w);
  margin: 0;
  padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.16);
  background: linear-gradient(160deg, #F4C4D6 0%, #E7C4EE 45%, #CADCFA 78%, #F1C6DA 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.75),
    0 50px 90px -40px rgba(122, 46, 80, 0.6),
    0 0 70px -20px var(--glow);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  will-change: transform;
}

.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #E2B3CB;
}

.phone::before { right: -3px; top: 24%; height: 13%; }
.phone::after { left: -3px; top: 20%; height: 8%; }

.phone__screen {
  position: relative;
  aspect-ratio: 440 / 956;
  border: 3px solid #1E1028;
  border-radius: calc(var(--w) * 0.13);
  overflow: hidden;
  clip-path: inset(0 round calc(var(--w) * 0.13));
  background: #F8DDE8;
  isolation: isolate;
}

.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone__shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s var(--ease-soft), transform 1s var(--ease-out);
}

.phone__shot.is-active {
  opacity: 1;
  transform: none;
}

.phone__glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(118deg, transparent 40%, rgba(255, 255, 255, 0.16) 50%, transparent 60%);
  transform: translateX(var(--gx, -20%));
  pointer-events: none;
}

.showcase__stage { display: none; }

.showcase__track {
  --w: min(68vw, 272px);
  position: relative;
  display: flex;
  gap: 18px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 28px calc(50% - var(--w) / 2 + var(--gutter)) 34px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.showcase__track::-webkit-scrollbar { display: none; }

.showcase__track:focus-visible {
  outline-offset: -4px;
  border-radius: 24px;
}

.showcase__slide {
  flex: 0 0 var(--w);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.phone--slide { --w: min(68vw, 272px); }

.showcase__copy {
  margin-top: 26px;
  text-align: center;
}

.showcase__copy .hud {
  justify-content: center;
  margin-bottom: 8px;
  font-size: 0.66rem;
}

.showcase__copy h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.showcase__copy p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.showcase__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.no-js .showcase__controls { display: none; }

.showcase__dots {
  display: flex;
  align-items: center;
}

.showcase__dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.showcase__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: width 0.4s var(--ease-out), background-color 0.3s;
}

.showcase__dot[aria-current="true"]::before {
  width: 22px;
  background: var(--accent);
}

@media (min-width: 1024px) {
  .showcase__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(40px, 6vw, 96px);
  }

  .showcase__stage {
    --w: clamp(250px, calc((100vh - var(--header-h) - 120px) * 0.43), 320px);
    position: sticky;
    top: calc(var(--header-h) + (100vh - var(--header-h)) / 2);
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: start;
    transform: translateY(-50%);
  }

  .showcase__halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
      radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(237, 230, 255, 0.6) 28%, rgba(246, 185, 199, 0.35) 46%, transparent 68%);
    transform: translate(-50%, -54%);
    pointer-events: none;
  }

  :root[data-theme="dark"] .showcase__halo {
    background: radial-gradient(circle, rgba(192, 84, 122, 0.45) 0%, rgba(122, 80, 200, 0.25) 36%, transparent 68%);
  }

  .phone--stage { --w: inherit; width: var(--w); }

  .showcase__spark--1 { top: 6%; left: 8%; width: 26px; height: 26px; }
  .showcase__spark--2 { bottom: 18%; right: 6%; width: 18px; height: 18px; animation-delay: -3s; }

  .showcase__counter {
    position: relative;
    margin-top: 22px;
    font-size: 0.78rem;
    color: var(--ink-muted);
  }

  .showcase__ticks {
    position: absolute;
    top: 50%;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
    transform: translateY(-50%);
  }

  .showcase__ticks li {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--line-strong);
    transition: height 0.5s var(--ease-out), background-color 0.3s;
  }

  .showcase__ticks li.is-active {
    height: 26px;
    background: var(--accent);
  }

  .showcase__track {
    grid-column: 1;
    grid-row: 1;
    display: block;
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .showcase__slide {
    display: flex;
    align-items: center;
    min-height: 72vh;
  }

  .phone--slide { display: none; }

  .showcase__copy {
    position: relative;
    max-width: 30rem;
    margin: 0;
    padding: 6px 0 6px 28px;
    text-align: left;
    transition: transform 0.7s var(--ease-out);
  }

  .showcase__copy::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--cloud-blush), var(--accent));
    transform: scaleY(0.25);
    transform-origin: top;
    opacity: 0.4;
    transition: transform 0.8s var(--ease-out), opacity 0.5s;
  }

  .showcase__slide.is-active .showcase__copy { transform: translateX(10px); }
  .showcase__slide.is-active .showcase__copy::before { transform: none; opacity: 1; }

  .showcase__copy .hud { justify-content: flex-start; }
  .showcase__copy h3 { font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.8rem); letter-spacing: -0.03em; }
  .showcase__copy p { font-size: 1.15rem; }

  .showcase__controls { display: none; }
}

/* --------------------------------------------------------------------------
   12. How it works
   -------------------------------------------------------------------------- */

.steps-wrap { position: relative; }

.steps__path { display: none; }

.steps {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
}

.step {
  padding: 30px 26px 30px;
  overflow: hidden;
}

.step:hover { translate: 0 -6px; }

.step__num {
  position: absolute;
  top: 10px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--outline-fill);
  -webkit-text-stroke: 1.5px var(--line-strong);
  paint-order: stroke fill;
  pointer-events: none;
}

.step__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: 0 12px 24px -10px var(--btn-glow);
}

.step__icon svg { width: 26px; height: 26px; }

.step h3 {
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.step p {
  font-weight: 600;
  color: var(--ink-muted);
}

.how__closing {
  max-width: 30ch;
  margin: clamp(48px, 7vw, 84px) auto 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 2.2vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
}

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .steps .step:nth-child(2) { margin-top: 48px; }
  .steps__path {
    position: absolute;
    top: 30%;
    left: 0;
    display: block;
    width: 100%;
    height: 120px;
    overflow: visible;
  }
  .steps__path path {
    fill: none;
    stroke: var(--cloud-blush);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 2.4s var(--ease-out) 0.4s;
  }
  .js .steps-wrap:not(.is-visible) .steps__path path { stroke-dashoffset: 100; }
}

/* --------------------------------------------------------------------------
   13. Community
   -------------------------------------------------------------------------- */

.community__grid {
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
}

.moderation h3,
.chat-tools h3 {
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.moderation,
.chat-tools {
  padding: clamp(22px, 3.5vw, 34px);
}

.chat-tools {
  display: flex;
  flex-direction: column;
}

.chat-tools__viz {
  margin: 20px 0 0;
  min-height: 190px;
}

.mod-flow {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
}

.mod-flow::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 19px;
  border-left: 2px dashed var(--line-strong);
}

.mod-flow li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}

.mod-flow strong {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.mod-flow__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: 0 10px 20px -10px var(--btn-glow);
}

.mod-flow__icon svg { width: 18px; height: 18px; }

@media (min-width: 900px) {
  .community__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

/* --------------------------------------------------------------------------
   14. FAQ accordion
   -------------------------------------------------------------------------- */

.faq__grid {
  display: grid;
  gap: 8px;
}

.accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.4s var(--ease-soft);
}

.faq-item[open] { box-shadow: var(--shadow-2), 0 0 0 1px var(--edge), 0 0 40px -16px var(--glow); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 20px;
  border-radius: 22px;
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--chip-bg);
  transition: transform 0.6s var(--ease-out), background-color 0.3s;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--chip-ink);
}

.faq-item__icon::after { transform: rotate(90deg); }

.faq-item[open] .faq-item__icon {
  transform: rotate(135deg);
  background: var(--btn-bg);
}

.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after { background: var(--btn-ink); }

.faq-item__body { overflow: hidden; }

.faq-item__body p {
  padding: 0 20px 20px;
  font-weight: 600;
  color: var(--ink-muted);
}

@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* --------------------------------------------------------------------------
   15. Final call to action
   -------------------------------------------------------------------------- */

.cta {
  text-align: center;
  padding-block: clamp(110px, 16vw, 220px);
  overflow: hidden;
}

@supports (overflow: clip) {
  .cta { overflow: clip; }
}

.cta__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta__puff--1 { width: 90vw; left: -40vw; top: 4%; opacity: 0.7; animation: puff-drift 50s var(--ease-float) infinite alternate; }
.cta__puff--2 { width: 80vw; right: -38vw; bottom: 0; opacity: 0.8; animation: puff-drift 44s var(--ease-float) infinite alternate-reverse; }
.orb--cta { --orb-c: rgba(246, 185, 199, 0.75); width: clamp(220px, 46vw, 560px); left: 50%; top: 50%; margin: calc(clamp(220px, 46vw, 560px) / -2) 0 0 calc(clamp(220px, 46vw, 560px) / -2); opacity: 0.55; }
.spark--5 { top: 22%; left: 16%; width: 22px; height: 22px; }
.spark--6 { bottom: 24%; right: 14%; width: 28px; height: 28px; animation-delay: -3s; }

.cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__inner .hud { justify-content: center; }

.cta__heart {
  width: clamp(76px, 10vw, 110px);
  height: auto;
  margin-bottom: 18px;
  overflow: visible;
  filter: drop-shadow(0 12px 24px rgba(229, 104, 154, 0.45));
  animation: heart-bob 6s var(--ease-float) infinite;
}

.cta__title {
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 0.5rem + 7.4vw, 7rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.cta__title .word:nth-child(4) .char {
  color: var(--outline-fill);
  -webkit-text-stroke: max(2px, 0.035em) var(--ink);
  paint-order: stroke fill;
}

.cta__title .word:last-child .char { color: var(--accent); }

.cta__sub {
  margin-top: 26px;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 800;
}

.cta .store-row { margin-top: 30px; }

/* --------------------------------------------------------------------------
   16. Disclaimer and footer
   -------------------------------------------------------------------------- */

.disclaimer {
  position: relative;
  padding-block: 0 clamp(48px, 7vw, 80px);
}

.disclaimer__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface-read);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-1);
}

.disclaimer__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--galaxy);
  color: #7A2E50;
}

.disclaimer__icon svg { width: 26px; height: 26px; }

.disclaimer__title {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.disclaimer p {
  max-width: 68ch;
  font-weight: 600;
}

@media (min-width: 640px) {
  .disclaimer__inner { flex-direction: row; gap: 22px; }
}

.site-footer {
  position: relative;
  padding: 56px 0 max(32px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, var(--surface-2));
}

.site-footer__grid {
  display: grid;
  gap: 32px;
}

.brand--footer .brand__logo { height: 40px; }
.brand--footer .brand__word { font-size: 1.3rem; }

.site-footer__tag {
  margin-top: 10px;
  font-weight: 800;
  color: var(--ink-muted);
}

.site-footer__nav ul {
  display: grid;
  gap: 2px;
  padding: 0;
  list-style: none;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.3s;
}

.site-footer__nav a:hover { text-decoration-color: var(--accent); }

.site-footer__store {
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: 1fr;
  gap: 12px;
  width: fit-content;
  align-content: start;
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.site-footer__base .mono { font-size: 0.72rem; letter-spacing: 0.16em; }

@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) auto; align-items: start; }
}

/* --------------------------------------------------------------------------
   17. Legal pages
   -------------------------------------------------------------------------- */

.page-legal .sky { opacity: 0.75; }
.page-legal .aurora { animation-duration: 120s; }

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 4px;
  pointer-events: none;
}

.read-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #F6B9C7, #C0547A, #7B4BB8);
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 10px var(--glow);
}

.legal-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(44px, 7vw, 84px));
  padding-bottom: clamp(28px, 4vw, 44px);
  overflow: hidden;
}

@supports (overflow: clip) {
  .legal-hero { overflow: clip; }
}

.legal-hero__puff {
  position: absolute;
  width: min(90vw, 900px);
  right: -30vw;
  top: 10%;
  opacity: 0.6;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  opacity: 0.6;
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--cloud-blush);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.1rem + 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.legal-hero__intro {
  max-width: 44rem;
  margin-top: 20px;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 600;
}

.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.chip-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.chip-date svg { width: 16px; height: 16px; color: var(--accent-ink); }

.short-version {
  padding-block: 8px clamp(36px, 5vw, 56px);
}

.short-version__title {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.summary-card {
  padding: 22px 20px;
}

.summary-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--galaxy);
  color: #7A2E50;
}

.summary-card__icon svg { width: 22px; height: 22px; }

.summary-card h3 {
  margin-bottom: 6px;
  font-size: 1.12rem;
}

.summary-card p {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-muted);
}

.short-version__note {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding-bottom: clamp(64px, 9vw, 120px);
}

.toc {
  position: relative;
  z-index: 20;
}

.js .toc {
  position: sticky;
  top: calc(var(--header-h) + 8px);
}

.toc__details {
  border-radius: 20px;
  background: var(--surface-strong);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 18px;
  border-radius: 20px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.toc__summary::-webkit-details-marker { display: none; }
.toc__summary::marker { content: ""; }

.toc__summary-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.toc__summary-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.toc__current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toc__chev {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}

.toc__details[open] .toc__chev { transform: rotate(180deg); }

.toc__list {
  max-height: min(60vh, 520px);
  margin: 0;
  padding: 4px 10px 14px;
  overflow-y: auto;
  list-style: none;
  counter-reset: none;
}

.toc__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  color: var(--ink-muted);
  transition: background-color 0.3s, color 0.3s;
}

.toc__list a span {
  flex-shrink: 0;
  min-width: 1.6em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-ink);
}

.toc__list a:hover { background: var(--surface); color: var(--ink); }

.toc__list a[aria-current="location"] {
  background: var(--chip-bg);
  color: var(--chip-ink);
}

.legal-doc {
  min-width: 0;
  padding: clamp(22px, 4.5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--surface-read);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-1);
  font-size: 1.125rem;
  line-height: 1.72;
}

.legal-doc p,
.legal-doc li { max-width: 68ch; }

.legal-doc p + p,
.legal-doc p + ul,
.legal-doc p + ol,
.legal-doc ul + p,
.legal-doc ol + p,
.legal-doc .table-wrap + p,
.legal-doc .callout + p,
.legal-doc p + .callout,
.legal-doc ul + .callout,
.legal-doc p + .table-wrap,
.legal-doc h3 + p,
.legal-doc h3 + ul { margin-top: 14px; }

.legal-doc ul,
.legal-doc ol:not(.timeline) {
  padding-left: 1.3em;
}

.legal-doc li + li { margin-top: 8px; }

.legal-doc li::marker { color: var(--accent); }

.legal-doc h3 {
  margin-top: 26px;
  font-size: 1.2rem;
}

.legal-doc strong { font-weight: 800; }

.legal-section {
  padding-block: 34px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 80px);
}

.legal-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-section:last-child { padding-bottom: 0; }

.legal-section__head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.legal-section__head h2 {
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem);
  letter-spacing: -0.02em;
}

.legal-section__num {
  margin-right: 0.35em;
  font-family: var(--font-mono);
  font-size: 0.75em;
  font-weight: 700;
  color: var(--accent-ink);
}

.anchor {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: -6px 0 0 auto;
  border-radius: 50%;
  color: var(--ink-muted);
  opacity: 0.75;
  transition: opacity 0.3s, background-color 0.3s, color 0.3s;
}

.anchor svg { width: 20px; height: 20px; }

.anchor:hover,
.anchor:focus-visible {
  opacity: 1;
  color: var(--accent-ink);
  background: var(--chip-bg);
}

.anchor.is-copied {
  opacity: 1;
  color: #2F7A5C;
  background: rgba(168, 230, 207, 0.45);
}

:root[data-theme="dark"] .anchor.is-copied { color: #A8E6CF; }

/* Data tables that become cards on small screens */
.table-wrap {
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
  line-height: 1.55;
}

.data-table caption {
  padding: 14px 16px;
  text-align: left;
  font-weight: 800;
  background: var(--chip-bg);
  color: var(--chip-ink);
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.data-table thead th {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--surface);
  border-top: 0;
}

.data-table tbody th {
  font-weight: 800;
  color: var(--ink);
}

.data-table tbody tr:nth-child(even) { background: var(--surface-2); }

@media (max-width: 759.98px) {
  .table-wrap {
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td { display: block; }

  .data-table caption { display: block; border-radius: 14px; margin-bottom: 12px; }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .data-table tbody tr {
    margin-bottom: 12px;
    padding: 6px 4px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--surface);
  }

  .data-table tbody tr:nth-child(even) { background: var(--surface); }

  .data-table th,
  .data-table td {
    padding: 8px 14px;
    border-top: 0;
  }

  .data-table tbody th {
    font-size: 1.05rem;
    padding-top: 12px;
  }

  .data-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }
}

/* Callouts */
.callout {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.callout__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--galaxy);
  color: #7A2E50;
}

.callout__icon svg { width: 22px; height: 22px; }

.callout__body { min-width: 0; }

.callout__body > * + * { margin-top: 8px; }

.legal-doc a[href^="mailto:"] { overflow-wrap: anywhere; }

.callout__title {
  font-size: 1.1rem;
  font-weight: 900;
}

.callout--important {
  background: #FFE9E6;
  border-color: rgba(255, 138, 128, 0.55);
  color: #5E2140;
}

.callout--important .callout__icon { background: #FF8A80; color: #4A1430; }

.callout--success {
  background: rgba(168, 230, 207, 0.32);
  border-color: rgba(79, 199, 154, 0.45);
}

.callout--success .callout__icon { background: #A8E6CF; color: #1F5A43; }

:root[data-theme="dark"] .callout--important {
  background: rgba(255, 138, 128, 0.12);
  border-color: rgba(255, 138, 128, 0.45);
  color: var(--ink);
}

:root[data-theme="dark"] .callout--success { background: rgba(168, 230, 207, 0.1); }

/* Who can see what */
.who-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.who-grid li {
  max-width: none;
  margin: 0;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.who-grid li + li { margin-top: 0; }

.who-grid h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.who-grid h3 svg { width: 20px; height: 20px; color: var(--accent-ink); }
.who-grid p { font-size: 1.05rem; }

@media (min-width: 760px) {
  .who-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Plain checklist */
.check-list {
  padding: 0 !important;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--chip-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%239E3A60' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.no-list li::before {
  background: rgba(255, 138, 128, 0.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' fill='none' stroke='%23B23A33' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Contact card */
.contact-card {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-style: normal;
}

.contact-card p { max-width: none; }

@media (min-width: 1024px) {
  .legal-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .toc,
  .js .toc {
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }

  .js .toc__summary { display: none; }

  .toc__details { padding-top: 10px; }

  .toc__list { max-height: calc(100vh - var(--header-h) - 80px); }

  .toc__heading {
    display: block !important;
  }
}

.toc__heading {
  display: none;
  padding: 8px 22px 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Back to top */
.to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-ink);
  box-shadow: 0 12px 30px -10px var(--btn-glow);
  text-decoration: none;
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}

.to-top svg { width: 22px; height: 22px; }

.js .to-top:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 90;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.35s, transform 0.5s var(--ease-out);
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast:empty { padding: 0; }

/* Delete account step timeline */
.timeline-wrap {
  position: relative;
  margin-top: 22px;
}

.timeline-wrap::before,
.timeline__fill {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 21px;
  width: 3px;
  border-radius: 3px;
  background: var(--line);
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline__fill {
  background: linear-gradient(180deg, #F6B9C7, #C0547A);
  transform: scaleY(var(--tl, 1));
  transform-origin: top;
}

.js .timeline__fill { transform: scaleY(var(--tl, 0)); }

.timeline li {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0 0 26px 66px;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline__num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--surface-solid);
  border: 2px solid var(--cloud-blush);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  transition: background-color 0.5s, color 0.5s, border-color 0.5s, transform 0.6s var(--ease-out);
}

.timeline li.is-reached .timeline__num {
  background: var(--btn-bg);
  border-color: transparent;
  color: var(--btn-ink);
  transform: scale(1.06);
}

.no-js .timeline__num {
  background: var(--btn-bg);
  color: var(--btn-ink);
}

.timeline h3 {
  margin: 8px 0 4px;
  font-size: 1.2rem;
}

.timeline p { color: var(--ink-muted); font-weight: 600; }

.timeline kbd {
  padding: 1px 8px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--ink);
}

.deleted-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.deleted-grid > li {
  max-width: none;
  margin: 0;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.deleted-grid > li + li { margin-top: 0; }

.deleted-grid h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.deleted-grid h3 svg { width: 20px; height: 20px; color: var(--accent-ink); }
.deleted-grid p { font-size: 1.05rem; }

@media (min-width: 760px) {
  .deleted-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   18. 404 page
   -------------------------------------------------------------------------- */

.lost {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 80px;
  text-align: center;
  overflow: hidden;
}

@supports (overflow: clip) {
  .lost { overflow: clip; }
}

.lost__num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 3rem + 18vw, 15rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.lost__num .w--outline { -webkit-text-stroke-width: max(2px, 0.025em); }

.lost__heart {
  width: clamp(80px, 12vw, 130px);
  height: auto;
  margin: 0 auto 10px;
  overflow: visible;
  animation: heart-bob 6s var(--ease-float) infinite;
  filter: drop-shadow(0 12px 24px rgba(229, 104, 154, 0.45));
}

.lost h1 {
  margin-top: 14px;
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem);
}

.lost p {
  max-width: 34rem;
  margin: 14px auto 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.lost__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.lost__puff {
  position: absolute;
  width: 110vw;
  left: -20vw;
  bottom: -18%;
  opacity: 0.9;
  animation: puff-drift 40s var(--ease-float) infinite alternate;
}

/* --------------------------------------------------------------------------
   19. View transitions between pages
   -------------------------------------------------------------------------- */

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vt-out 0.35s var(--ease-soft) both;
}

::view-transition-new(root) {
  animation: vt-in 0.55s var(--ease-out) both;
}

@keyframes vt-out {
  to { opacity: 0; transform: translateY(-10px); }
}

@keyframes vt-in {
  from { opacity: 0; transform: translateY(14px); }
}

/* --------------------------------------------------------------------------
   20. Lighter effects on phones and low power devices
   -------------------------------------------------------------------------- */

.low-power .puff--back,
.low-power .puff--front-2,
.low-power .chrome--2,
.low-power .orb--3,
.low-power .aurora--d,
.low-power .aurora--e,
.low-power .section-puff,
.low-power .cta__puff--2 { display: none; }

.low-power .card,
.low-power .faq-item,
.low-power .icon-btn,
.low-power .btn--glass {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--surface-strong);
}

.low-power .holo.is-playing::before { animation: none; }
.low-power .w--grad { animation: none; }
.low-power .aurora { animation-duration: 90s; }

/* --------------------------------------------------------------------------
   21. Reduced motion: calm, still and complete
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .aurora,
  .marquee__track,
  .puff,
  .orb,
  .chrome,
  .spark,
  .sky__sun-rays,
  .sky__moon,
  .orbit__ring,
  .orbit__mood,
  .w--grad,
  .holo::before,
  .heart-bob,
  .breath__heart,
  .orbit__core-heart,
  .cta__heart,
  .lost__heart,
  .status-pill__dot::after,
  .viz *,
  .viz *::before,
  .viz *::after { animation: none !important; }

  .marquee__row { flex-wrap: wrap; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; row-gap: 6px; }

  .js [data-reveal],
  .js [data-reveal="wipe"],
  .js [data-reveal="zoom"] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .js .hero__title .line__in,
  .js .split .char {
    opacity: 1;
    transform: none;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
}

/* --------------------------------------------------------------------------
   22. Print: black on white, no backgrounds or motion
   -------------------------------------------------------------------------- */

@media print {
  @page { margin: 18mm 16mm; }

  :root,
  :root[data-theme="dark"] {
    --ink: #000000;
    --ink-muted: #222222;
    --accent-ink: #000000;
    --line: #BBBBBB;
    color-scheme: light;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  html,
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    font-size: 11.5pt;
  }

  .sky,
  .site-header,
  .mobile-menu,
  .skip-link,
  .read-progress,
  .toc,
  .to-top,
  .toast,
  .anchor,
  .legal-hero__puff,
  .site-footer__store,
  .site-footer__base .mono,
  .cursor-glow,
  .cursor-ring,
  .short-version__note,
  .hud { display: none !important; }

  .legal-hero { padding: 0 0 12pt; }
  .legal-hero h1 { font-family: var(--font-sans); font-size: 24pt; color: #000000; }
  .legal-layout { display: block; padding: 0; }

  .legal-doc,
  .card,
  .callout,
  .summary-card,
  .who-grid li,
  .deleted-grid > li,
  .contact-card,
  .table-wrap,
  .chip-date,
  .disclaimer__inner {
    background: #FFFFFF !important;
    border: 1px solid #BBBBBB !important;
    color: #000000 !important;
  }

  .legal-doc { padding: 0; border: 0 !important; font-size: 11.5pt; }
  .legal-section { break-inside: auto; page-break-inside: auto; }
  .legal-section__head { break-after: avoid; page-break-after: avoid; }
  .data-table tr, .callout, .summary-card { break-inside: avoid; page-break-inside: avoid; }

  .data-table thead th,
  .data-table tbody tr:nth-child(even),
  .data-table caption,
  .summary-card__icon,
  .callout__icon,
  .timeline__num { background: #FFFFFF !important; color: #000000 !important; }

  .timeline-wrap::before,
  .timeline__fill { display: none; }

  .legal-doc a[href^="http"]::after,
  .legal-doc a[href^="mailto:"]::after {
    content: " (" attr(href) ")";
    font-weight: 400;
    word-break: break-all;
  }

  .w--grad,
  .stat__num {
    background: none !important;
    color: #000000 !important;
  }

  .site-footer { border-top: 1px solid #BBBBBB; padding-top: 12pt; background: none; }
}
