:root {
  --ink: #0b0716;
  --plum: #1c0d2e;
  --indigo: #241a4a;
  --ember: #ffb067;
  --rose: #ff7aa8;
  --cream: #f6ebe0;
  --mist: rgba(246, 235, 224, 0.68);
  --line: rgba(246, 235, 224, 0.16);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pad-x: clamp(1.2rem, 6vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 300 1.0625rem/1.65 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: italic; }
p { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
h2 em, h1 em { color: var(--ember); font-weight: 300; }
.kicker {
  font: 400 0.72rem/1.4 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 1.25rem;
}
.wide-lede { color: var(--mist); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 54rem; margin: 1.4rem 0 0; }
.fine { font-size: 0.75rem; color: rgba(246, 235, 224, 0.5); text-align: center; margin: 1.2rem 0 0; }
.fine.left { text-align: left; margin: 0.9rem 0 0; }
.concept-tag { position: absolute; top: 0.8rem; left: 0.8rem; padding: 0.3rem 0.6rem; border-radius: 99px; font: 400 0.65rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); background: rgba(11, 7, 22, 0.6); backdrop-filter: blur(6px); z-index: 3; }

/* ambient layers */
#petals { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.grain {
  position: fixed; inset: -50%; z-index: 6; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.ember {
  position: fixed; top: 0; left: 0; width: 380px; height: 380px; margin: -190px 0 0 -190px;
  background: radial-gradient(circle, rgba(255, 176, 103, 0.16), rgba(255, 122, 168, 0.06) 45%, transparent 70%);
  pointer-events: none; z-index: 4; opacity: 0; transition: opacity 0.6s;
  will-change: transform;
}
.ember.on { opacity: 1; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(11, 7, 22, 0.75), transparent);
}
.wordmark { font: 500 1.55rem/1 var(--serif); text-decoration: none; letter-spacing: 0.01em; }
.wordmark span { color: var(--ember); font-style: italic; font-weight: 400; margin-left: 1px; }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.badge-18 { font: 400 0.7rem/1 var(--sans); letter-spacing: 0.1em; border: 1px solid var(--line); padding: 0.35rem 0.55rem; border-radius: 99px; color: var(--mist); }
.nav-cta {
  text-decoration: none; font: 400 0.85rem/1 var(--sans); letter-spacing: 0.06em;
  padding: 0.7rem 1.15rem; border-radius: 99px; border: 1px solid rgba(255, 176, 103, 0.55);
  background: rgba(11, 7, 22, 0.4); backdrop-filter: blur(8px); transition: background 0.3s, color 0.3s;
}
.nav-cta:hover { background: var(--ember); color: var(--ink); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-art { position: absolute; inset: 0; }
.hero-art img { width: 74%; margin-left: auto; height: 118%; object-fit: cover; object-position: 50% 40%; -webkit-mask-image: linear-gradient(to right, transparent, #000 32%); mask-image: linear-gradient(to right, transparent, #000 32%); transform: translate3d(0, var(--py, 0px), 0) scale(1.04); animation: heroIn 2.4s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.14); filter: blur(8px); } to { opacity: 1; filter: none; } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 4%, rgba(11, 7, 22, 0.55) 38%, transparent 72%),
    linear-gradient(to right, rgba(11, 7, 22, 0.85), rgba(11, 7, 22, 0.15) 62%);
}
.hero-copy { position: relative; z-index: 2; padding: 9rem var(--pad-x) clamp(4.5rem, 9vh, 7rem); max-width: 62rem; }
.hero h1 { font-size: clamp(2.9rem, 6.6vw, 5.6rem); font-weight: 400; line-height: 1.02; margin-bottom: 1.6rem; max-width: 16em; }
.lede { max-width: 46rem; font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--mist); margin: 0 0 2.2rem; }
.lede strong { color: var(--cream); font-weight: 500; }
.micro { font-size: 0.9rem; color: var(--mist); margin: 1rem 0 0; letter-spacing: 0.01em; }
.hero .kicker { font-size: 0.8rem; }
.ph { white-space: nowrap; }
.scroll-cue { position: absolute; z-index: 2; right: clamp(1.2rem, 4vw, 3rem); bottom: 2rem; width: 1px; height: 64px; background: var(--line); overflow: hidden; }
.scroll-cue span { display: block; width: 100%; height: 40%; background: var(--ember); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* signup */
.signup { position: relative; display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 33rem; padding: 0.4rem; border-radius: 99px; border: 1px solid rgba(255, 176, 103, 0.4); background: rgba(11, 7, 22, 0.55); backdrop-filter: blur(14px); box-shadow: 0 0 60px -10px rgba(255, 122, 168, 0.35); transition: border-color 0.3s, box-shadow 0.3s; }
.signup:focus-within { border-color: var(--ember); box-shadow: 0 0 80px -8px rgba(255, 176, 103, 0.55); }
.signup input[type="email"] { flex: 1 1 12rem; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--cream); font: 400 1rem var(--sans); padding: 0.85rem 1.2rem; }
.signup input::placeholder { color: rgba(246, 235, 224, 0.45); }
.signup button {
  flex: 0 0 auto; cursor: pointer; border: 0; border-radius: 99px; padding: 0.95rem 1.7rem;
  font: 500 0.95rem var(--sans); letter-spacing: 0.04em; color: #1a0b12;
  background: linear-gradient(120deg, var(--ember), var(--rose)); display: inline-flex; gap: 0.6rem; align-items: center;
  animation: pulse 3.4s ease-in-out infinite; transition: transform 0.25s var(--ease);
}
.signup button i { font-style: normal; transition: transform 0.25s var(--ease); }
.signup button:hover { transform: translateY(-1px); }
.signup button:hover i { transform: translateX(4px); }
.signup button[disabled] { opacity: 0.6; cursor: wait; animation: none; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 168, 0.45); } 50% { box-shadow: 0 0 0 12px rgba(255, 122, 168, 0); } }
.form-msg { flex: 1 0 100%; margin: 0; padding: 0 1.2rem; font-size: 0.85rem; color: var(--rose); min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--ember); }
.signup.done input, .signup.done button { display: none; }
.signup.done .form-msg { padding: 0.8rem 1.2rem; font-size: 1rem; color: var(--ember); }
.signup.big { max-width: 38rem; margin: 2.2rem auto 0; }
.signup.big button { padding: 1.1rem 2rem; font-size: 1.02rem; }

/* range sliders (shared look) */
.dial input, .trk-range { -webkit-appearance: none; appearance: none; outline: none; display: block; width: 100%; height: 28px; background: transparent; cursor: ew-resize; touch-action: pan-y; }
.dial input::-webkit-slider-runnable-track, .trk-range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, rgba(246, 235, 224, 0.5), var(--ember), var(--rose)); }
.dial input::-moz-range-track, .trk-range::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, rgba(246, 235, 224, 0.5), var(--ember), var(--rose)); }
.dial input::-webkit-slider-thumb, .trk-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%; border: 2px solid var(--ember); background: var(--ink); box-shadow: 0 0 18px rgba(255, 176, 103, 0.7); }
.dial input::-moz-range-thumb, .trk-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--ember); background: var(--ink); box-shadow: 0 0 18px rgba(255, 176, 103, 0.7); }
.dial input:focus-visible::-webkit-slider-thumb, .trk-range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--cream); outline-offset: 3px; }

/* stage: reality -> fantasy */
.stage { --chrome: 16rem; --s: min(calc(100svh - var(--chrome)), 46vw); position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; padding: clamp(4.6rem, 8vh, 5.6rem) var(--pad-x) 1.4rem; background: linear-gradient(to bottom, var(--ink), var(--plum) 10%, #17102c 70%, var(--ink)); }
.stage-head { margin-bottom: 1rem; }
.stage-head .kicker { margin-bottom: 0.7rem; }
.stage-head h2 { font-size: clamp(1.7rem, 3.3vw, 2.9rem); }
.stage-lede { color: var(--mist); margin: 0 0 1.1rem; max-width: 36rem; font-size: 0.98rem; }
.stage-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; align-items: center; }
.stage-view, .stage-controls { min-width: 0; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.mode { cursor: pointer; text-align: left; color: var(--cream); background: rgba(11, 7, 22, 0.5); border: 1px solid var(--line); border-radius: 1rem; padding: 0.7rem 0.9rem; font: 300 0.78rem/1.3 var(--sans); transition: border-color 0.25s, background 0.25s; }
.mode b { display: block; font: 500 1.2rem/1.1 var(--serif); margin-bottom: 0.15rem; }
.mode span { color: var(--mist); }
.mode:hover { border-color: rgba(255, 176, 103, 0.6); }
.mode.on { border-color: var(--ember); background: linear-gradient(135deg, rgba(255, 176, 103, 0.16), rgba(255, 122, 168, 0.12)); }
.mode:focus-visible, .world:focus-visible, .style-card:focus-visible, .scene:focus-visible, .scene-nav:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.mode-desc { margin: 0.7rem 0 0; min-height: 3.6em; color: var(--mist); font-size: 0.92rem; }
.ctl-label { margin: 0.5rem 0 0.6rem; font: 400 0.72rem/1.3 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--ember); }
.ctl-label b { font-weight: 400; letter-spacing: 0.14em; color: var(--cream); }
.scene { --e: 50%; position: relative; margin: 0 auto; width: var(--s); max-width: 100%; aspect-ratio: 1 / 1; border-radius: 1.4rem; overflow: hidden; border: 1px solid rgba(255, 176, 103, 0.4); box-shadow: 0 30px 120px -30px rgba(255, 122, 168, 0.5); background: var(--ink); outline-offset: 4px; cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.scene .over { -webkit-mask-image: linear-gradient(280deg, #000 calc(var(--e) - 20%), transparent var(--e)); mask-image: linear-gradient(280deg, #000 calc(var(--e) - 20%), transparent var(--e)); transition: opacity 0.4s; }
.scene .over.swap { opacity: 0; }
.scene .edge { position: absolute; top: 0; bottom: 0; right: calc(var(--e) - 15%); width: 10%; pointer-events: none; opacity: 0; mix-blend-mode: screen; background: linear-gradient(to right, transparent, rgba(255, 176, 103, 0.55), rgba(255, 122, 168, 0.3), transparent); filter: blur(6px); }
.handle { position: absolute; top: 0; bottom: 0; right: calc(var(--e) - 10%); width: 2px; margin-right: -1px; background: linear-gradient(to bottom, transparent, rgba(255, 190, 130, 0.9) 18%, rgba(255, 190, 130, 0.9) 82%, transparent); box-shadow: 0 0 16px rgba(255, 176, 103, 0.7); pointer-events: none; z-index: 2; }
.handle i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; gap: 0.4rem; align-items: center; padding: 0.55rem 0.8rem; border-radius: 99px; border: 1px solid rgba(255, 176, 103, 0.8); background: rgba(11, 7, 22, 0.78); backdrop-filter: blur(6px); box-shadow: 0 0 22px rgba(255, 176, 103, 0.55); font: 400 0.7rem/1 var(--sans); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); white-space: nowrap; }
.scene.used .handle i b { display: none; }
.scene.dragging { cursor: grabbing; }
.scene.dragging .handle i { box-shadow: 0 0 30px rgba(255, 176, 103, 0.9); }
.scene-tags { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 2.6rem 0.9rem 0.9rem; display: flex; justify-content: space-between; gap: 0.6rem; pointer-events: none; background: linear-gradient(to top, rgba(11, 7, 22, 0.8), transparent); z-index: 1; }
.scene-tags span { padding: 0.35rem 0.75rem; border-radius: 99px; font: 400 0.7rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); background: rgba(11, 7, 22, 0.65); backdrop-filter: blur(6px); }
.scene-nav { position: absolute; top: 14%; z-index: 3; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(255, 176, 103, 0.5); background: rgba(11, 7, 22, 0.55); backdrop-filter: blur(8px); color: var(--cream); font: 300 1.6rem/1 var(--serif); cursor: pointer; display: grid; place-items: center; padding: 0 0 0.2rem; transition: background 0.25s, color 0.25s; }
.scene-nav:hover { background: var(--ember); color: var(--ink); }
.scene-nav.prev { left: 0.8rem; }
.scene-nav.next { right: 0.8rem; }
.dial { margin-top: 0.6rem; width: var(--s); max-width: 100%; margin-inline: auto; }
.worlds { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35rem; }
.world { position: relative; cursor: pointer; background: rgba(11, 7, 22, 0.4); border: 1px solid var(--line); border-radius: 0.7rem; padding: 0.18rem; display: block; color: var(--cream); transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease); }
.world img { width: 100%; aspect-ratio: 1 / 1; height: auto; border-radius: 0.5rem; object-fit: cover; }
.world span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.world:hover { border-color: rgba(255, 176, 103, 0.6); transform: translateY(-2px); }
.world.on { border-color: var(--ember); background: rgba(255, 176, 103, 0.2); box-shadow: 0 0 20px -4px rgba(255, 176, 103, 0.7); }
.world.lively::after, .dot { content: ""; position: absolute; top: 0.3rem; right: 0.3rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--rose); border: 2px solid var(--cream); box-shadow: 0 0 0 2px rgba(10, 6, 20, 0.85), 0 0 12px 3px var(--rose); }
.world.lively { outline: 2px solid var(--rose); outline-offset: -2px; }
.dot { position: static; display: inline-block; margin-right: 0.35rem; vertical-align: middle; }
.lively-note { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.8rem 0 0; padding: 0.7rem 0.9rem; border: 1px solid rgba(255, 122, 168, 0.3); border-radius: 0.9rem; background: rgba(255, 122, 168, 0.07); color: var(--mist); font-size: 0.85rem; line-height: 1.45; }
.lively-note .dot { flex: 0 0 auto; margin: 0.15rem 0.25rem 0 0; }
.lively-note b { color: var(--cream); font-weight: 500; }
.consent-foot { margin: 1.8rem 0 0; color: var(--mist); font-size: 0.95rem; }
.anon-line { margin: 0.7rem 0 0; }
.join .anon-line { text-align: center; }
.anon { background: none; border: 0; padding: 0; cursor: pointer; color: var(--mist); font: 400 0.9rem var(--sans); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 176, 103, 0.5); transition: color 0.25s; }
.anon:hover { color: var(--ember); }
.anon:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.anon-line.done { color: var(--ember); font-size: 0.95rem; }

/* avatar styles */
.styles { position: relative; z-index: 2; padding: clamp(4rem, 9vw, 8rem) var(--pad-x); background: var(--ink); }
.styles-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; max-width: 80rem; }
@media (min-width: 40rem) { .style-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 62rem) { .style-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.styles-fine { max-width: 80rem; text-align: left; }
.style-card { cursor: pointer; position: relative; padding: 0; border: 1px solid var(--line); border-radius: 1.2rem; overflow: hidden; background: none; color: var(--cream); aspect-ratio: 4 / 5; transition: transform 0.35s var(--ease), border-color 0.25s; }
.style-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.style-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 0.8rem 0.8rem; font: italic 400 clamp(1.1rem, 2.4vw, 1.5rem)/1.05 var(--serif); text-align: left; background: linear-gradient(to top, rgba(11, 7, 22, 0.92), transparent); }
.style-card:hover { transform: translateY(-4px); border-color: rgba(255, 176, 103, 0.6); }
.style-card:hover img { transform: scale(1.05); }
.style-card.on { border-color: var(--ember); box-shadow: 0 0 40px -8px rgba(255, 176, 103, 0.6); }

/* body tracking */
.tracking { position: relative; z-index: 2; padding: clamp(5rem, 10vw, 9rem) var(--pad-x); background: radial-gradient(90% 70% at 15% 30%, #2a1346 0%, var(--ink) 65%); }
.tracking-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.tracking-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.tracking-copy { max-width: 36rem; }
.tracking-copy p { color: var(--mist); }
.ticks { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: 0.7rem; }
.ticks li { position: relative; padding-left: 1.6rem; color: var(--mist); }
.ticks li::before { content: "✦"; position: absolute; left: 0; top: 0.15rem; font-size: 0.8rem; color: var(--ember); }
.ticks b { color: var(--cream); font-weight: 500; }
.tracking-demo { width: min(100%, 36rem); justify-self: center; min-width: 0; }
.poses { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.pose { cursor: pointer; padding: 0.5rem 1.1rem; border-radius: 99px; border: 1px solid var(--line); background: none; color: var(--cream); font: 400 0.88rem var(--sans); transition: border-color 0.25s, background 0.25s; }
.pose:hover { border-color: rgba(255, 176, 103, 0.6); }
.pose.on { border-color: var(--ember); background: rgba(255, 176, 103, 0.14); }
.pose:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.trk { --t: 50%; position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: 1.4rem; overflow: hidden; border: 1px solid rgba(255, 176, 103, 0.4); box-shadow: 0 30px 120px -30px rgba(255, 122, 168, 0.5); background: var(--ink); }
.trk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trk .trk-avatar { clip-path: inset(0 0 0 var(--t)); }
.trk-bar { position: absolute; top: 0; bottom: 0; left: var(--t); width: 2px; margin-left: -1px; background: linear-gradient(to bottom, transparent, var(--ember), transparent); box-shadow: 0 0 18px var(--ember); pointer-events: none; }
.trk-tag { position: absolute; bottom: 0.9rem; padding: 0.3rem 0.7rem; border-radius: 99px; font: 400 0.7rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); background: rgba(11, 7, 22, 0.65); backdrop-filter: blur(6px); }
.trk-tag.left { left: 0.9rem; }
.trk-tag.right { right: 0.9rem; }
.trk-range { margin-top: 1rem; }

/* find the words */
.words { position: relative; z-index: 2; padding: clamp(5rem, 10vw, 9rem) var(--pad-x); background: radial-gradient(80% 70% at 85% 20%, #3a1b4f 0%, var(--plum) 45%, var(--ink) 100%); }
.words-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.words-demo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.wd { position: relative; margin: 0; aspect-ratio: 1 / 1; max-width: 34rem; width: 100%; justify-self: center; border-radius: 1.4rem; overflow: hidden; border: 1px solid rgba(255, 176, 103, 0.4); box-shadow: 0 30px 120px -30px rgba(255, 122, 168, 0.5); background: var(--ink); }
.wd > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bubble { position: absolute; z-index: 2; top: 5%; left: 5%; right: 28%; padding: 0.8rem 1rem 0.9rem; border-radius: 1.2rem 1.2rem 1.2rem 0.3rem; background: rgba(21, 11, 39, 0.82); backdrop-filter: blur(10px); border: 1px solid rgba(255, 176, 103, 0.45); transition: box-shadow 0.4s, border-color 0.4s; }
.bubble-who { display: block; font: 400 0.62rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember); margin-bottom: 0.4rem; }
.bubble-text { display: block; font: italic 400 clamp(1.1rem, 2.2vw, 1.45rem)/1.2 var(--serif); min-height: 1.2em; }
.wave { display: flex; align-items: center; gap: 3px; height: 14px; margin-top: 0.5rem; opacity: 0; transition: opacity 0.3s; }
.wave i { width: 3px; height: 4px; border-radius: 2px; background: linear-gradient(to top, var(--ember), var(--rose)); }
.bubble.say { border-color: var(--ember); box-shadow: 0 0 40px -6px rgba(255, 176, 103, 0.7); }
.bubble.say .wave { opacity: 1; }
.bubble.say .wave i { animation: wv 0.9s ease-in-out infinite; }
.bubble.say .wave i:nth-child(2) { animation-delay: 0.12s; }
.bubble.say .wave i:nth-child(3) { animation-delay: 0.24s; }
.bubble.say .wave i:nth-child(4) { animation-delay: 0.36s; }
.bubble.say .wave i:nth-child(5) { animation-delay: 0.48s; }
@keyframes wv { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.wd .concept-tag { top: auto; bottom: 0.8rem; }
.wd-panel { min-width: 0; max-width: 34rem; }
.tones { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.tone { cursor: pointer; padding: 0.55rem 1.3rem; border-radius: 99px; border: 1px solid var(--line); background: none; color: var(--cream); font: 400 0.9rem var(--sans); transition: border-color 0.25s, background 0.25s; }
.tone:hover { border-color: rgba(255, 176, 103, 0.6); }
.tone.on { border-color: var(--ember); background: rgba(255, 176, 103, 0.16); }
.lines { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
.line { cursor: pointer; text-align: left; padding: 0.85rem 1.1rem; border-radius: 1rem; border: 1px solid var(--line); background: rgba(11, 7, 22, 0.45); color: var(--cream); font: italic 400 1.2rem/1.25 var(--serif); transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease); }
.line:hover { border-color: rgba(255, 176, 103, 0.6); transform: translateX(3px); }
.line.on { border-color: var(--ember); background: linear-gradient(135deg, rgba(255, 176, 103, 0.18), rgba(255, 122, 168, 0.12)); }
.tone:focus-visible, .line:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

/* different */
.different { position: relative; z-index: 2; padding: clamp(5rem, 10vw, 9rem) var(--pad-x); background: linear-gradient(to bottom, var(--ink), #130a25); }
.different h2 { margin-bottom: clamp(2.5rem, 6vw, 4rem); max-width: 60rem; }
.versus { max-width: 70rem; }
.vs-head, .vs-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 5vw, 5rem); padding: 1.3rem 0; border-top: 1px solid var(--line); }
.vs-head { font: 400 0.72rem/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--mist); border-top: 0; padding-bottom: 0.6rem; }
.vs-head span:last-child { color: var(--ember); }
.vs-row p { margin: 0; }
.vs-row p:first-child { color: rgba(246, 235, 224, 0.5); }
.vs-row p:last-child { font: 400 clamp(1.2rem, 2.2vw, 1.6rem)/1.3 var(--serif); }

/* consent */
.consent { position: relative; z-index: 2; padding: clamp(3rem, 8vw, 7rem) var(--pad-x); background: #130a25; }
.consent-card { max-width: 72rem; margin: 0 auto; padding: clamp(2rem, 6vw, 4.5rem); border-radius: 2rem; border: 1px solid rgba(255, 122, 168, 0.35); background: radial-gradient(90% 120% at 0% 0%, rgba(255, 122, 168, 0.14), transparent 60%), rgba(28, 13, 46, 0.6); }
.consent-card h2 { margin-bottom: 2rem; }
.consent-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.consent-card li { color: var(--mist); padding-left: 1.3rem; position: relative; }
.consent-card li::before { content: "✦"; position: absolute; left: 0; color: var(--ember); font-size: 0.8rem; top: 0.3rem; }
.consent-card b { color: var(--cream); font-weight: 500; }

/* join */
.join { position: relative; z-index: 2; text-align: center; padding: clamp(6rem, 12vw, 11rem) var(--pad-x); background: radial-gradient(70% 90% at 50% 100%, rgba(255, 122, 168, 0.35), transparent 70%), radial-gradient(60% 60% at 50% 0%, rgba(255, 176, 103, 0.14), transparent 70%), #130a25; overflow: hidden; }
.join h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.join-lede { max-width: 40rem; margin: 1.5rem auto 0; color: var(--mist); }

/* faq + footer */
.faq { position: relative; z-index: 2; max-width: 56rem; margin: 0 auto; padding: 4rem clamp(1.2rem, 6vw, 3rem); background: transparent; }
.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 400 1.5rem/1.2 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--mist); margin: 0.8rem 0 0; }
.faq a { color: var(--ember); }
.foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding: 2.2rem var(--pad-x) 5.5rem; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--mist); }
.foot p { margin: 0; }

/* sticky CTA (mobile) */
.sticky-cta { position: fixed; z-index: 40; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); display: none; justify-content: center; gap: 0.6rem; padding: 1rem; border-radius: 99px; text-decoration: none; font: 500 1rem var(--sans); color: #1a0b12; background: linear-gradient(120deg, var(--ember), var(--rose)); box-shadow: 0 10px 40px rgba(255, 122, 168, 0.45); transform: translateY(150%); transition: transform 0.4s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta i { font-style: normal; }

/* profile dialog */
dialog { border: 1px solid rgba(255, 176, 103, 0.4); background: #150b27; color: var(--cream); border-radius: 1.6rem; padding: clamp(1.4rem, 4vw, 2.4rem); width: min(36rem, calc(100% - 1.5rem)); max-height: calc(100svh - 1.5rem); overflow: auto; box-shadow: 0 40px 140px rgba(0, 0, 0, 0.7), 0 0 80px -20px var(--rose); }
dialog::backdrop { background: rgba(5, 3, 12, 0.82); backdrop-filter: blur(6px); }
dialog:focus { outline: none; }
dialog h3 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 1.2rem; }
dialog .step[hidden] { display: none; }
fieldset { border: 0; padding: 0; margin: 0 0 1.3rem; }
legend { padding: 0; margin-bottom: 0.6rem; font-size: 0.95rem; color: var(--mist); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 0.55rem 1rem; border-radius: 99px; border: 1px solid var(--line); font-size: 0.9rem; transition: all 0.2s; }
.chips label:hover span { border-color: rgba(255, 176, 103, 0.6); }
.chips input:checked + span { background: linear-gradient(120deg, var(--ember), var(--rose)); color: #1a0b12; border-color: transparent; font-weight: 400; }
.chips input:focus-visible + span { outline: 2px solid var(--cream); outline-offset: 2px; }
.profile-actions { display: flex; gap: 1rem; align-items: center; margin-top: 1.4rem; }
.btn-main { cursor: pointer; border: 0; border-radius: 99px; padding: 0.95rem 1.8rem; font: 500 0.95rem var(--sans); color: #1a0b12; background: linear-gradient(120deg, var(--ember), var(--rose)); }
.btn-skip { cursor: pointer; background: none; border: 0; color: var(--mist); font: 400 0.9rem var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.thanks-copy { color: var(--mist); margin: 0; }

.consent-banner { position: fixed; z-index: 60; right: 1rem; bottom: 1rem; max-width: 24rem; padding: 1rem 1.2rem; border-radius: 1rem; background: #150b27; border: 1px solid var(--line); font-size: 0.85rem; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0 0 0.8rem; color: var(--mist); }
.consent-banner button { cursor: pointer; font: 400 0.85rem var(--sans); padding: 0.5rem 1rem; border-radius: 99px; border: 1px solid var(--ember); background: var(--ember); color: #1a0b12; margin-right: 0.5rem; }
.consent-banner button.ghost { background: transparent; color: var(--cream); border-color: var(--line); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { animation: fadeUp 1.1s var(--ease) 0.5s both; opacity: 1; transform: none; transition: none; }
.hero h1.reveal { animation-delay: 0.65s; }
.hero .lede.reveal { animation-delay: 0.85s; }
.hero .signup.reveal { animation-delay: 1s; }
.hero .micro.reveal { animation-delay: 1.15s; }
.hero .anon-line.reveal { animation-delay: 1.25s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* privacy page */
.doc { position: relative; z-index: 2; max-width: 44rem; margin: 0 auto; padding: 8rem 1.4rem 5rem; }
.doc h1 { font-size: clamp(2.6rem, 7vw, 4rem); margin-bottom: 1.5rem; }
.doc h2 { font-size: 1.8rem; margin: 2.2rem 0 0.6rem; }
.doc p, .doc li { color: var(--mist); }
.doc a { color: var(--ember); }

@media (min-width: 62rem) {
  .stage-grid { grid-template-columns: var(--s) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
  .stage-view { width: var(--s); }
  .stage-controls { max-width: 34rem; }
  .tracking-copy { padding-top: 0.5rem; }
  .tracking-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .words-demo { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); }
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 61.99rem) {
  .stage { --chrome: 27rem; --s: min(100%, max(15rem, calc(100svh - var(--chrome)))); padding-top: 4.8rem; }
  .stage-lede, .stage-controls .fine { display: none; }
  .mode-desc { min-height: 0; margin-top: 0.5rem; font-size: 0.85rem; }
  .mode { padding: 0.55rem 0.8rem; }
  .mode span { font-size: 0.72rem; }
  .lively-note { margin-top: 0.5rem; padding: 0.5rem 0.7rem; font-size: 0.78rem; }
  .scene-nav { width: 2.4rem; height: 2.4rem; top: 12%; }
  .scene-tags { padding: 2rem 0.6rem 0.6rem; }
  .scene-tags span { font-size: 0.6rem; padding: 0.3rem 0.5rem; letter-spacing: 0.08em; }
  .stage-view .dial { margin-top: 0.3rem; }
}
@media (max-width: 61.99rem) and (max-height: 48rem) {
  .mode-desc { display: none; }
}
@media (max-width: 52rem) {
  .sticky-cta { display: flex; }
  .scroll-cue { display: none; }
  .hero-art img { width: 100%; object-position: 62% 50%; -webkit-mask-image: none; mask-image: none; }
  .consent-banner { left: 1rem; bottom: 5.5rem; max-width: none; }
  .hero-shade { background: linear-gradient(to top, var(--ink) 6%, rgba(11, 7, 22, 0.72) 48%, rgba(11, 7, 22, 0.2) 80%); }
  .signup { border-radius: 1.6rem; }
  .signup button { flex: 1 0 100%; justify-content: center; }
  .nav-cta { display: none; }
  .vs-head, .vs-row { gap: 1rem; }
  .mode-desc { min-height: 0; }
  .bubble { right: 5%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
