/* =========================================================================
   Reminder — demo landing page
   Satoshi for structure, Instrument Serif italics for voice. Dark base with
   aurora gradients; cream sections give the scroll a rhythm.
   ========================================================================= */

:root {
  --ink: #f5f1e8;
  --ink-dim: #b4b0c0;
  --ink-faint: #7d7990;
  --bg: #08070d;
  --bg-2: #100e18;
  --card: rgba(255, 255, 255, 0.04);
  --card-line: rgba(255, 255, 255, 0.09);
  --cream: #f3eee4;
  --cream-ink: #17141f;
  --cream-dim: #5e586b;

  --orange: #ff7a3d;
  --pink: #ff4f8b;
  --violet: #8b5cff;
  --blue: #3d7bff;
  --cyan: #3fd0ff;
  --gold: #ffd166;

  --grad: linear-gradient(100deg, var(--gold) 0%, var(--orange) 30%, var(--pink) 62%, var(--violet) 100%);
  --sans: "Satoshi", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
h1 em,
h2 em,
.cta h2 em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;  /* italic overhang would otherwise clip */
}

/* Film grain over everything: the difference between flat and expensive. */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 10px 40px -10px rgba(255, 122, 61, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px -10px rgba(255, 79, 139, 0.65);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--ink);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}
.btn-small {
  padding: 9px 18px;
  font-size: 14px;
  background: var(--ink);
  color: var(--bg);
}
.btn-large {
  padding: 19px 34px;
  font-size: 17px;
}

/* -------------------------------------------------------------------- Nav */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1180px, calc(100% - 2 * var(--gutter)));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  /* Opaque enough to stay crisp over the cream sections as well. */
  background: rgba(14, 12, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.logo svg {
  width: 30px;
  height: 18px;
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-dim);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

/* ----------------------------------------------------------------- Aurora */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: float-blob 22s ease-in-out infinite alternate;
}
.b1 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, var(--violet), transparent 65%);
  top: -180px;
  left: -140px;
}
.b2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--orange), transparent 65%);
  top: 120px;
  right: -120px;
  animation-delay: -7s;
}
.b3 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--blue), transparent 65%);
  bottom: -260px;
  left: 30%;
  animation-delay: -13s;
}
.aurora.soft .blob {
  opacity: 0.4;
}
@keyframes float-blob {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}

/* ------------------------------------------------------------------- Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--gutter) 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::after {
  /* fade into the next section */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}
.hero-title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(44px, 6.3vw, 90px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.hero-title em {
  font-size: 1.08em;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin: 26px 0 34px;
  max-width: 30ch;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-dim);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-faint);
  font-size: 14.5px;
}
.hero-points li::before {
  content: "✓";
  color: var(--gold);
  margin-right: 8px;
  font-weight: 700;
}

/* Drifting background characters */
.drifters {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.drifter {
  position: absolute;
  opacity: 0.22;
  filter: blur(1.2px) saturate(0.9);
  animation: drift 14s ease-in-out infinite alternate;
  will-change: transform;
}
/* Kept in the side margins and the gap under the stage, never behind copy. */
.d1 { width: 74px;  top: 16%; left: 0.6%; animation-duration: 13s; }
.d2 { width: 80px;  top: 87%; left: 50%;  animation-duration: 11s; animation-delay: -4s; }
.d3 { width: 86px;  top: 9%;  right: 1%;  animation-duration: 16s; animation-delay: -8s; }
.d4 { width: 64px;  top: 62%; left: 1%;   animation-duration: 12s; animation-delay: -2s; }
@media (max-width: 1320px) {
  /* No side margins left to drift in. */
  .drifters {
    display: none;
  }
}
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(-6deg); }
  50%  { transform: translate(18px, -22px) rotate(4deg); }
  100% { transform: translate(-10px, 12px) rotate(-2deg); }
}

/* ------------------------------------------------------------------ Stage */
.stage-wrap {
  position: relative;
}
.stage {
  position: relative;
  aspect-ratio: 16 / 11.5;
  border-radius: 22px;
  background: #050507;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 120px -40px rgba(214, 170, 72, 0.35),
    0 30px 60px -30px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.8s var(--ease);
}
.stage:hover {
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}
.stage-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  z-index: 2;
}
.stage-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.stage-bar span:first-child { background: #ff5f57; }
.stage-bar span:nth-child(2) { background: #febc2e; }
.stage-bar span:nth-child(3) { background: #28c840; }
.stage-bar p {
  margin: 0 0 0 10px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}
.stage-sky {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  /* Night desktop: near-black, a warm gold glow from the top right and a
     faint violet one at the bottom left. */
  background:
    radial-gradient(85% 75% at 92% -8%, rgba(196, 160, 72, 0.55), transparent 62%),
    radial-gradient(70% 55% at -6% 108%, rgba(110, 70, 210, 0.46), transparent 62%),
    linear-gradient(180deg, #0b0a0e 0%, #050507 100%);
}
.stage-window {
  position: absolute;
  border-radius: 10px;
  /* Smoked glass: dark, barely-there fill with a fine light edge. */
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}
.stage-window.w1 { left: 6%; top: 15%; width: 42%; height: 46%; }
.stage-window.w2 { left: 22%; top: 34%; width: 34%; height: 38%; background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.09)); }
.stage-window::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 14%;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 0 rgba(255, 255, 255, 0.24), 0 32px 0 rgba(255, 255, 255, 0.18);
}
.taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(10, 12, 24, 0.72);
  backdrop-filter: blur(12px);
  border-radius: 0 0 22px 22px;
  z-index: 3;
}
.tb-start,
.tb-app {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.22);
}
.tb-start {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}
.tb-clock {
  position: absolute;
  right: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
}

/* The character and their speech, anchored above the taskbar, bottom-right */
.stage-actor {
  position: absolute;
  right: 6%;
  bottom: 9%;
  height: var(--h, 64%);
  z-index: 4;
  transform-origin: 50% 100%;
}
.stage-actor img {
  height: 100%;
  width: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
}
.stage-actor.enter {
  animation: actor-in 0.9s var(--spring) both;
}
.stage-actor.leave {
  animation: actor-out 0.45s var(--ease) both;
}
.stage-actor.idle img {
  animation: sway 4.2s ease-in-out infinite;
}
@keyframes actor-in {
  from { transform: translateY(40%) scale(0.6); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
@keyframes actor-out {
  to { transform: translateY(30%) scale(0.7); opacity: 0; }
}
@keyframes sway {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-5px) rotate(-1.2deg); }
}

/* -------------------------------------------------------------- Speeches */
.speech {
  position: absolute;
  bottom: 86%;
  right: 46%;
  width: clamp(200px, 26vw, 300px);
  transform-origin: 85% 100%;
  opacity: 0;
  transform: scale(0.6) translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.6s var(--spring);
  pointer-events: none;
  z-index: 5;
}
.speech.show {
  opacity: 1;
  transform: none;
}
.speech .msg {
  margin: 0;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.3;
}
.speech .when {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.75;
}
.speech .caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: currentColor;
  animation: blink 0.8s steps(1) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Image-backed speeches: text sits in the measured solid interior. */
.speech.style-cloud,
.speech.style-sponge {
  background: center / 100% 100% no-repeat;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
}
.speech.style-cloud {
  aspect-ratio: 1100 / 525;
  background-image: url("assets/cloud-goku.webp");
  color: #3a2400;
  width: clamp(240px, 30vw, 340px);
}
.speech.style-cloud .text {
  position: absolute;
  left: 13%;
  top: 22%;
  right: 39%;
  bottom: 22%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.speech.style-sponge {
  aspect-ratio: 1000 / 535;
  background-image: url("assets/bubble-sponge.webp");
  color: #0b2a66;
  width: clamp(270px, 31vw, 370px);
}
/* The band between the two flower doodles (measured on the asset): the top
   flower ends at 35% height, the bottom one starts at 62%. */
.speech.style-sponge .text {
  position: absolute;
  left: 14%;
  top: 35%;
  right: 11%;
  bottom: 37%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.speech.style-sponge .msg {
  font-size: 14px;
}
.speech.style-sponge .when {
  margin-top: 2px;
}

/* CSS speeches, one voice per character */
.speech.style-comic,
.speech.style-pastel,
.speech.style-scroll,
.speech.style-hud {
  padding: 15px 18px;
}
.speech.style-comic::after,
.speech.style-pastel::after,
.speech.style-scroll::after,
.speech.style-hud::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -13px;
  width: 22px;
  height: 22px;
  background: inherit;
  border: inherit;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) skew(8deg, 8deg);
  border-radius: 0 0 6px 0;
}
.speech.style-comic {
  background: #fff;
  color: #111;
  border: 3px solid #111;
  border-radius: 26px;
  box-shadow: 6px 6px 0 #111;
}
.speech.style-comic .msg {
  font-weight: 900;
  letter-spacing: -0.01em;
}
.speech.style-pastel {
  background: #c9ecff;
  color: #10305a;
  border: 3px solid #fff;
  border-radius: 28px;
  box-shadow: 0 12px 30px -8px rgba(80, 170, 255, 0.7);
}
.speech.style-scroll {
  background: #f6e6bf;
  color: #4a2310;
  border: 3px solid #b23a22;
  border-radius: 16px;
  box-shadow: 0 12px 26px -8px rgba(178, 58, 34, 0.6);
}
.speech.style-scroll .msg {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
}
.speech.style-hud {
  background: rgba(30, 6, 8, 0.86);
  color: #ffe8c7;
  border: 1.5px solid #ff3b30;
  border-radius: 6px 18px 6px 18px;
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.35), 0 0 30px -4px rgba(255, 59, 48, 0.7);
}
.speech.style-hud .tag {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.stage-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  font-size: 14.5px;
}
.who {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}
.who-sep {
  color: var(--ink-faint);
}
.stage-dots {
  display: flex;
  gap: 7px;
  margin-left: 6px;
}
.stage-dots button {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06) center / cover no-repeat;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s var(--spring), border-color 0.2s;
}
.stage-dots button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}
.stage-dots button:hover {
  transform: scale(1.12);
}
.stage-dots button[aria-selected="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.35);
}

/* --------------------------------------------------------------- Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--card-line);
  border-bottom: 1px solid var(--card-line);
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 48s linear infinite;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.marquee-track em {
  color: var(--ink-dim);
}
.marquee-track i {
  font-style: normal;
  font-size: 0.6em;
  color: var(--orange);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* -------------------------------------------------------------- Sections */
section {
  position: relative;
}
.how,
.characters,
.features,
.dash,
.faq {
  padding: clamp(90px, 12vw, 150px) var(--gutter);
}
.section-head {
  max-width: 1180px;
  margin: 0 auto clamp(46px, 6vw, 70px);
}
.kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
h2 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(38px, 5.4vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 16ch;
}
h2 em {
  font-size: 1.06em;
}
.lede {
  max-width: 52ch;
  margin: 22px 0 0;
  font-size: clamp(16.5px, 1.4vw, 19px);
  color: var(--ink-dim);
}
h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
h3 em {
  font-size: 1.12em;
}

/* Peeking characters: tucked off the edge until their section scrolls in. */
.peeker {
  position: absolute;
  top: 90px;
  width: clamp(80px, 8vw, 116px);
  z-index: 2;
  pointer-events: none;
  transition: transform 1.1s var(--spring);
}
.peek-right {
  right: 0;
  transform: translateX(110%) rotate(-12deg);
}
.peek-left {
  left: 0;
  transform: translateX(-110%) rotate(12deg);
}
.peeker.low {
  top: auto;
  bottom: 60px;
}
/* Only partly out, so they stay in the side margin rather than over copy. */
.in > .peek-right {
  transform: translateX(40%) rotate(-12deg);
}
.in > .peek-left {
  transform: translateX(-40%) rotate(10deg);
}
@media (max-width: 1240px) {
  .peeker {
    display: none;
  }
}

/* ----------------------------------------------------------- How it works */
.how {
  background: var(--cream);
  color: var(--cream-ink);
  overflow: hidden;
}
.how .lede,
.how p {
  color: var(--cream-dim);
}
.how h3 {
  color: var(--cream-ink);
}
.how .kicker {
  color: #d9542a;
}
.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.step {
  position: relative;
  padding: 26px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 60px -40px rgba(40, 30, 60, 0.35);
}
.step p {
  margin: 0;
  font-size: 16px;
}
.step-num {
  display: block;
  margin: 0 0 14px 2px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  line-height: 1;
  color: #c9bba3;
}
.step-art {
  height: 190px;
  border-radius: 18px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.art-talk {
  background: linear-gradient(150deg, #ffe3cf, #ffd1e1);
}
.mic {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream-ink);
  box-shadow: 0 0 0 10px rgba(23, 20, 31, 0.08), 0 0 0 20px rgba(23, 20, 31, 0.04);
}
.mic svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
}
.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 26px;
}
.wave i {
  width: 4px;
  height: 100%;
  border-radius: 4px;
  background: #d9542a;
  animation: wave 1.1s ease-in-out infinite;
}
.wave i:nth-child(2) { animation-delay: -0.15s; }
.wave i:nth-child(3) { animation-delay: -0.3s; }
.wave i:nth-child(4) { animation-delay: -0.45s; }
.wave i:nth-child(5) { animation-delay: -0.6s; }
.wave i:nth-child(6) { animation-delay: -0.75s; }
.wave i:nth-child(7) { animation-delay: -0.9s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.25); }
  50%      { transform: scaleY(1); }
}
.step .quote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--cream-ink);
}
.art-check {
  background: linear-gradient(150deg, #d8e7ff, #e7dcff);
}
.mini-card,
.mini-bubble {
  width: 78%;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px -20px rgba(40, 40, 90, 0.5);
}
.mini-card p,
.mini-bubble p {
  margin: 0;
  color: var(--cream-ink) !important;
}
.mc-title {
  font-weight: 700;
  font-size: 17px;
}
.mc-time {
  font-size: 13.5px;
  color: var(--cream-dim) !important;
  margin-top: 2px !important;
}
.mc-actions {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.mc-actions span {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #ddd5c6;
  color: var(--cream-dim);
}
.mc-actions .go {
  background: var(--cream-ink);
  border-color: var(--cream-ink);
  color: #fff;
}
.art-deliver {
  background: linear-gradient(150deg, #d9f6e4, #fff1c9);
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0 0 0 16px;
}
.art-deliver .mini-bubble {
  width: 62%;
  margin-bottom: 70px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 16px 16px 4px 16px;
}
.art-deliver img {
  height: 86%;
  margin-left: auto;
  margin-right: -6px;
}

/* ------------------------------------------------------------ Characters */
.cast {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cast-card {
  --c: var(--orange);
  position: relative;
  height: 380px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--card-line);
  background:
    radial-gradient(60% 58% at 74% 100%, color-mix(in srgb, var(--c) 58%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  padding: 0;
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.cast-card:hover,
.cast-card:focus-visible {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--c) 60%, transparent);
  outline: none;
}
.cast-card .meta {
  position: absolute;
  top: 22px;
  left: 24px;
  right: 24px;
  z-index: 2;
}
.cast-card .name {
  display: block;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.cast-card .style {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-dim);
}
.cast-card img {
  position: absolute;
  bottom: -6px;
  right: 18px;
  height: 66%;
  width: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
  transition: transform 0.6s var(--spring);
  transform-origin: 50% 100%;
}
.cast-card:hover img {
  transform: scale(1.06) rotate(-2deg);
}
.cast-card .preview {
  position: absolute;
  left: 22px;
  bottom: 24px;
  max-width: 54%;
  padding: 12px 14px;
  border-radius: 16px 16px 16px 4px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.95);
  color: #141018;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  transform-origin: 0 100%;
  transition: opacity 0.35s var(--ease), transform 0.5s var(--spring);
  z-index: 2;
}
.cast-card:hover .preview,
.cast-card:focus-visible .preview {
  opacity: 1;
  transform: none;
}
.cast-card .send {
  position: absolute;
  left: 24px;
  bottom: 24px;
  font-size: 12.5px;
  color: var(--ink-faint);
  transition: opacity 0.2s;
}
.cast-card:hover .send,
.cast-card:focus-visible .send {
  opacity: 0;
}

.own {
  max-width: 1180px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 30px 34px;
  border-radius: 26px;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
}
.own p {
  margin: 0;
  color: var(--ink-dim);
  max-width: 70ch;
}
.own-plus {
  flex: none;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 300;
  background: var(--grad);
  color: #fff;
}

/* --------------------------------------------------------------- Features */
.features {
  overflow: hidden;
}
.bento {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  padding: 28px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--card-line);
  transition: border-color 0.3s, transform 0.5s var(--ease);
}
.tile:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}
.tile p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 15.5px;
}
.tile-wide {
  grid-column: span 2;
}
.tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-line);
}
.tile-art {
  height: 130px;
  margin-bottom: 22px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.lang-art {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(120deg, rgba(139, 92, 255, 0.25), rgba(255, 122, 61, 0.2));
}
.lang-art span {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  animation: bob 4s ease-in-out infinite;
}
.lang-art span:nth-child(2) { animation-delay: -1s; }
.lang-art span:nth-child(3) { animation-delay: -2s; }
.lang-art span:nth-child(4) { animation-delay: -3s; }
.lang-art span:nth-child(5) { animation-delay: -0.5s; }
@keyframes bob {
  50% { transform: translateY(-5px); }
}
.polite-art {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 28px;
  background: linear-gradient(120deg, rgba(61, 123, 255, 0.25), rgba(63, 208, 255, 0.15));
}
.polite-art .kbd {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.polite-art p {
  font-size: 19px;
  color: var(--ink) !important;
  line-height: 1.25;
}

/* --------------------------------------------------------------- Dashboard */
.dash {
  background: var(--cream);
  color: var(--cream-ink);
}
.dash .lede {
  color: var(--cream-dim);
}
.dash .kicker {
  color: #d9542a;
}
.dash-mock {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9.5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 60px 120px -50px rgba(40, 60, 120, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.dm-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #3a8ad6, #6cb2ec 40%, #a9d3f5 75%, #e3f1fd);
}
.dm-cloud {
  position: absolute;
  width: 18%;
  aspect-ratio: 2 / 1;
  background: #fff;
  border-radius: 999px;
  opacity: 0.9;
  filter: blur(1px);
}
.dm-cloud::before {
  content: "";
  position: absolute;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  left: 18%;
  bottom: 30%;
}
/* At the edges, clear of the white logo, tabs and heading. */
.dm-cloud.c1 { left: -7%;  top: 32%; width: 15%; }
.dm-cloud.c2 { right: -6%; top: 16%; width: 13%; }
.dm-cloud.c3 { right: -8%; top: 60%; width: 17%; }
.dm-hills {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -14%;
  height: 32%;
  background: #5cb64f;
  border-radius: 50% 50% 0 0 / 70% 60% 0 0;
  box-shadow: 0 -18px 0 #86cf6c;
}
.dm-ui {
  position: absolute;
  inset: 0;
  padding: 3.4% 9%;
  font-size: clamp(8px, 1.15vw, 14px);
}
.dm-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: 700;
}
.dm-pill {
  padding: 0.4em 0.5em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  font-weight: 600;
}
.dm-pill b {
  background: #fff;
  color: #0f2743;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  margin-right: 0.6em;
}
.dm-h {
  margin: 1.8em 0 0.9em;
  color: #fff;
  font-weight: 700;
  font-size: 2.1em;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(10, 50, 100, 0.25);
}
.dm-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6em 0.6em 0.6em 1.4em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #7a93b0;
}
.dm-input b {
  background: #1f7ae0;
  color: #fff;
  padding: 0.65em 1.6em;
  border-radius: 999px;
}
.dm-list {
  margin-top: 1.2em;
  padding: 0.6em 1.4em;
  border-radius: 1.2em;
  background: rgba(255, 255, 255, 0.8);
  color: #0f2743;
}
.dm-row {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.9em 0;
  border-bottom: 1px solid rgba(16, 42, 72, 0.07);
}
.dm-row:last-child {
  border-bottom: 0;
}
.dm-row b {
  width: 32%;
}
.dm-row span {
  width: 28%;
  color: #45607f;
}
.dm-row i {
  font-style: normal;
  font-size: 0.85em;
  font-weight: 600;
  padding: 0.15em 0.6em;
  border-radius: 999px;
  background: rgba(31, 122, 224, 0.12);
  color: #1f7ae0;
}
.dm-row em {
  margin-left: auto;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  color: #1f7ae0;
  font-size: 0.92em;
}

/* --------------------------------------------------------------------- FAQ */
.faq {
  overflow: hidden;
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--card-line);
}
.faq .section-head {
  max-width: 880px;
}
details {
  border-bottom: 1px solid var(--card-line);
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 50px 26px 0;
  position: relative;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 300;
  font-size: 30px;
  color: var(--orange);
  transition: transform 0.4s var(--ease);
}
details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
details p {
  margin: 0;
  padding: 0 50px 28px 0;
  color: var(--ink-dim);
  max-width: 68ch;
}

/* --------------------------------------------------------------------- CTA */
.cta {
  padding: clamp(110px, 14vw, 180px) var(--gutter);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--card-line);
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.cta h2 {
  margin: 0 auto;
  max-width: 14ch;
  font-size: clamp(44px, 7vw, 104px);
}
.cta .lede {
  margin: 24px auto 38px;
}
.fine {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--ink-faint);
}
.fine a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
}
.fine a:hover {
  color: var(--gold);
}
.cta-cast {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.cc {
  position: absolute;
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1.2s var(--spring);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}
.cc1 { width: clamp(80px, 9vw, 130px);  left: 5%;  bottom: 8%;  transform: translateY(60px) rotate(-8deg); }
.cc2 { width: clamp(56px, 5.5vw, 82px); left: 5%;  top: 10%;    transform: translateY(-60px) rotate(6deg); }
.cc3 { width: clamp(80px, 9vw, 130px);  right: 6%; bottom: 10%; transform: translateY(60px) rotate(8deg); }
.cc4 { width: clamp(70px, 7vw, 100px);  right: 5%; top: 9%;     transform: translateY(-60px) rotate(-6deg); }
@media (max-width: 1100px) {
  /* The headline takes the full width; only the bottom pair have room. */
  .cc2,
  .cc4 {
    display: none;
  }
}
@media (max-width: 760px) {
  /* Stand below the early-access line instead of on top of it. */
  .cta {
    padding-bottom: 170px;
  }
  .cc1,
  .cc3 {
    width: 74px;
    bottom: 14px;
  }
  .cc1 {
    left: 8%;
  }
  .cc3 {
    right: 8%;
  }
}
.cta.in .cc {
  opacity: 0.9;
}
.cta.in .cc1 { transform: rotate(-8deg); }
.cta.in .cc2 { transform: rotate(6deg); transition-delay: 0.1s; }
.cta.in .cc3 { transform: rotate(8deg); transition-delay: 0.2s; }
.cta.in .cc4 { transform: rotate(-6deg); transition-delay: 0.3s; }

/* ------------------------------------------------------------------ Footer */
.footer {
  padding: 40px var(--gutter) 50px;
  border-top: 1px solid var(--card-line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 30px;
  align-items: baseline;
  color: var(--ink-faint);
  font-size: 14px;
}
.footer p {
  margin: 0;
}
.foot-logo {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.foot-logo em {
  color: var(--orange);
}
.credit {
  grid-column: 1 / -1;
  font-size: 12.5px;
  max-width: 80ch;
  margin-top: 10px !important;
}

/* ------------------------------------------------------------------ Reveal */
/* Only hidden once the script has marked the page: with scripts blocked or
   failing, every section is simply visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------------- Responsive */
@media (max-width: 1020px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-links {
    display: none;
  }
}
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 120px;
  }
  .stage {
    transform: none;
  }
  .stage:hover {
    transform: none;
  }
  .stage-wrap {
    margin-top: 70px;
  }
  .steps,
  .cast {
    grid-template-columns: minmax(0, 1fr);
  }
  .cast-card {
    height: 330px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile-wide {
    grid-column: auto;
  }
  .own {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .footer {
    grid-template-columns: 1fr;
  }
  .speech {
    width: 190px;
  }
  .speech.style-cloud {
    width: 268px;
  }
  .speech.style-sponge {
    width: 262px;
  }
  .speech .msg,
  .speech.style-sponge .msg {
    font-size: 12.5px;
  }
  .speech .when {
    font-size: 11px;
    margin-top: 2px;
  }
  .drifter {
    display: none;
  }
  .dm-row span,
  .dm-row i {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------------------------------------------------------------- 404 page */
.lost {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 0;
}
.lost-char {
  width: 120px;
  margin: 0 auto 24px;
  animation: drift 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}
