@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial");
  size-adjust: 105%;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
}
:root {
  --bg: oklch(94% 0.02 265);
  --bg-2: #fff;
  --ink: oklch(18% 0.02 260);
  --muted: oklch(42% 0.02 260);
  --gold: oklch(50% 0.18 265);
  --gold-ink: #fff;
  --violet: #6A21C9;
  --success: oklch(60% 0.16 145);
  --teal: #22d3ee;
  --line: oklch(88% 0.01 260);
  --card: #fff;
  --shadow: 0 16px 40px rgba(20, 30, 60, 0.08);
  --sans: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, sans-serif;
  --serif: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, sans-serif;
  --header: 4.6rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + env(safe-area-inset-top));
}
h1, h2, section { scroll-margin-top: calc(var(--header) + 16px); }

.typed {
  min-height: 1.75rem;
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 650;
  color: var(--ink);
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  background: oklch(50% 0.18 265);
  vertical-align: text-bottom;
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
}

body::after {
  content: "";
  position: fixed;
  inset: -8%;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: translate3d(0, calc(var(--shift, 0) * -1px), 0);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 90% 0%, oklch(72% 0.12 265 / 0.35), transparent 60%),
    linear-gradient(180deg, oklch(93% 0.015 260), var(--bg));
}

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: linear-gradient(90deg, #4f8cff, #8b5cf6);
  color: #061018;
  padding: 0.7rem 1rem;
  z-index: 20;
}

.skip:focus { top: 0.6rem; }

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header);
  padding: calc(0.6rem + env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 0.6rem max(1rem, env(safe-area-inset-left));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  line-height: 1;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.45rem;
}
.brand .mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
}
@media (max-width: 720px) {
  .brand { font-size: 1.2rem; gap: 0.5rem; }
  .brand .mark { width: 1.9rem; height: 1.9rem; }
}

.menu {
  display: none;
  min-height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0 12px;
}
.top nav { margin-left: auto; }
@media (max-width: 980px) {
  .menu { display: inline-flex; align-items: center; }
  #site-nav { display: none; width: 100%; }
  #site-nav.open { display: flex; }
}

.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.4rem;
  text-decoration: none;
  color: var(--muted);
}

button, input, textarea, select { font-family: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #1B8AFB, #6A21C9);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 0;
  cursor: pointer;
}

.btn:hover { filter: brightness(1.06); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.banner {
  text-align: center;
  padding: 0.7rem 1rem;
  background: linear-gradient(90deg, rgba(79, 140, 255, 0.18), rgba(139, 92, 246, 0.16));
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.hero { padding: 3.2rem 0 1.5rem; }

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 3rem; }
}

h1, h2, h3 { font-family: var(--serif); font-weight: 680; letter-spacing: -0.03em; line-height: 1.08; }

h1 { font-size: clamp(2.6rem, 7vw, 5.1rem); margin: 0 0 1rem; max-width: 16ch; }

.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 42rem; color: var(--muted); }

.note { color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: center; margin-top: 1.4rem; }

section { padding: 4rem 0; }

h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 0.75rem; max-width: 18ch; text-wrap: balance; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: oklch(36% 0.08 265);
  font-size: 0.8rem;
  font-weight: 700;
}
.grad {
  background: linear-gradient(90deg, #1B8AFB, #6A21C9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: transparent;
  padding-right: 0.12em;
  margin-right: -0.12em;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: none;
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease var(--delay, 0ms), transform 0.6s ease var(--delay, 0ms);
}

@keyframes rise {
  from { opacity: 0; }
  to { opacity: 1; }
}

.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .split { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .top .btn { max-width: 22rem; }
}

.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  column-gap: 0.7rem;
  align-items: start;
  padding: 0.4rem 0;
}
.checks > li::before, ul.checks li::before {
  content: "";
  width: 1.5rem;
  height: 1.65em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='%23E7EEFF'/><path d='M7 12.5 10.2 15.7 17.2 8.5' fill='none' stroke='%231D4ED8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 1.2rem 1.2rem no-repeat;
}

.list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin: 16px 0;
}
.tabs button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.tabs button[aria-selected="true"] {
  background: linear-gradient(90deg, #4f8cff, #8b5cf6);
  color: #061018;
  border-color: transparent;
}
.tab-panel {
  display: grid;
  gap: 24px;
  align-items: start;
}
.tab-panel[hidden] { display: none; }
.support { color: var(--muted); max-width: 42rem; margin-top: 0; }
.live { color: #0f766e; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
@media (min-width: 900px) {
  .tab-panel { grid-template-columns: 1.2fr 0.8fr; }
}
.mock, .window {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}
.window-bar, .mock .window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}
.dots { width: 42px; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #4f8cff 0 8px, transparent 8px 14px, #8b5cf6 14px 22px, transparent 22px 28px, #22d3ee 28px 36px); }
.file-ico { font-size: 0.72rem; font-weight: 700; color: #1d4ed8; }
.url { margin-right: auto; }
.row, .file-card {
  display: grid;
  grid-template-columns: 8.5rem 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.chip-ex, .pill { border: 1px solid var(--line); border-radius: 99px; padding: 2px 8px; font-size: 0.75rem; color: var(--muted); }
.flow { list-style: none; margin: 1.5rem 0 2rem; padding: 0; counter-reset: step; }
.flow li {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 0 0 1.4rem;
  max-width: 68ch;
}
.flow li::before {
  content: counter(step);
  counter-increment: step;
  position: static;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.95rem;
}
.mock-title { font-weight: 700; margin: 0 0 8px; }
.bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; margin: 8px 0 12px; }
.bar span { display: block; height: 100%; width: var(--w, 50%); background: linear-gradient(90deg, #4f8cff, #8b5cf6); }
.flow li::after {
  content: "";
  position: absolute;
  left: 1.08rem;
  top: 2.35rem;
  bottom: 0.25rem;
  width: 1px;
  background: var(--line);
}
.flow li:last-child::after { display: none; }

.list li {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.sim { position: relative; }

.sim-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sim-title { margin: 0.2rem 0 0.6rem; font-weight: 700; font-size: 1.05rem; }
.sim-tools { margin: 0.35rem 0 0.2rem; }
.open-demo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}
.open-demo:hover { border-color: var(--accent, #1d4ed8); }
.choice-row button, .opt input, .opt select, .restart { min-height: 44px; }
.stages { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 10px; }
.stages li { font-size: 0.75rem; color: var(--muted); padding: 4px 0; }
.stages li.lit { color: oklch(32% 0.12 265); font-weight: 700; }
.stages li.lit::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #4f8cff; transform: translateY(-1px); }
.step-caption { margin: 10px 0 0; font-size: 1.05rem; line-height: 1.45; }
.quests { margin: 8px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.95rem; }
.quests li { padding: 0.2rem 0 0.2rem 1.1rem; position: relative; }
.quests li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #1d4ed8; }
.intro {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: 2.6rem;
  bottom: 0;
  background: #f4f7fb;
  border-radius: 0 0 30px 30px;
  padding: 1.35rem 1.15rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}
.intro[hidden] { display: none; }
.toast {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 2.75rem;
  bottom: auto;
  z-index: 7;
  pointer-events: none;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px -16px oklch(30% 0.05 270 / 0.45);
}
.hint { animation: pulse 1.4s ease infinite; }
@keyframes pulse { 50% { transform: scale(1.03); } }
.glow-pop { animation: shake 0.45s ease; }
@keyframes shake {
  20% { transform: translateX(-2px); }
  40% { transform: translateX(2px); }
  60% { transform: translateX(-1px); }
  100% { transform: none; }
}
.original { font-size: 0.85rem; color: #5c564e; border-left: 2px solid #d9d1c4; padding-left: 8px; }
.journey .map { margin-top: 8px; }
.trail { width: 100%; height: 56px; display: block; }
.trail path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.stops { display: flex; flex-wrap: wrap; gap: 4px; }
.stops span { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.68rem; border: 1px solid var(--line); border-radius: 99px; padding: 2px 6px; }
.avatar.helper { color: #fff; font-size: 0.8rem; }
.mini-row { display: grid; grid-template-columns: 4.5rem 1fr; gap: 6px; align-items: center; margin-top: 4px; font-size: 0.8rem; }
.mini-track { height: 6px; background: #e7e1d8; border-radius: 99px; overflow: hidden; }
.mini-fill { display: block; height: 100%; width: 100%; background: #4f8cff; transform-origin: left; }
.card-actions button:active, .btn:active { transform: scale(0.97); }
.bubble, .card-msg { animation: spring 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes spring {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: none; }
}

.meter { height: 6px; margin: 0 0.8rem; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; }
.meter span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #4f8cff, #8b5cf6); transform: scaleX(0); transform-origin: left center; }
.score-line { margin: 0.35rem 0.8rem 0; font-size: 0.82rem; color: var(--muted); }
.score-line span { color: var(--ink); font-weight: 700; }
.streak { display: block; color: var(--gold); font-size: 0.72rem; font-weight: 650; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0.35rem 0.7rem 0; }
.badge-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  font-size: 0.68rem;
  animation: rise 0.35s ease both;
}
.spark { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.spark i {
  position: absolute; left: 50%; top: 42%;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(90deg, #4f8cff, #8b5cf6);
  animation: burst 0.7s ease forwards;
}
@keyframes burst { to { opacity: 0; transform: rotate(var(--spin)) translateY(-46px); } }
.end-card { align-self: stretch; background: #f7f4ee; color: #1b1714; border-radius: 16px; padding: 0.8rem; }
.end-card h4 { margin: 0 0 0.35rem; }
.end-card ul { margin: 0.4rem 0; padding-left: 1.1rem; }
.end-card .btn { margin-top: 0.45rem; width: 100%; }

.floats { display: none; }

.float {
  position: absolute;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 650;
  animation: drift 7s ease-in-out infinite;
}

.float.a { top: 6%; left: 2%; }
.float.b { top: 34%; right: 0; animation-delay: -2s; }
.float.c { bottom: 8%; left: 8%; animation-delay: -4s; }

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

.phone {
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(160deg, #2a2e38, #12141a 40%, #1b1e26);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,0.18);
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: min(74dvh, 700px);
  border-radius: 32px;
  overflow: hidden;
  background: #f4f7fb;
  color: var(--ink);
}

.status-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.55rem 0.9rem 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.island {
  width: 92px;
  height: 26px;
  border-radius: 20px;
  background: #000;
}

.sig { justify-self: end; display: flex; gap: 3px; align-items: flex-end; }
.sig i { display: block; width: 3px; background: var(--ink); border-radius: 1px; }
.sig i:nth-child(1) { height: 5px; }
.sig i:nth-child(2) { height: 8px; }
.sig i:nth-child(3) { height: 11px; }
.sig b { width: 16px; height: 8px; border: 1px solid var(--ink); border-radius: 2px; }

.phone-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px 10px;
  border-bottom: 1px solid var(--line);
}
.phone-tools { flex: 0 0 auto; }

.phone-head strong { display: block; font-size: 0.95rem; }
.phone-head span { color: var(--muted); font-size: 0.75rem; }

.restart {
  min-height: 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 0.15rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
}

.chat {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bubble, .card-msg {
  align-self: flex-start;
  max-width: 94%;
  animation: rise 0.35s ease both;
}

.bubble {
  background: #fff;
  color: oklch(18% 0.02 260);
  border: 1px solid oklch(82% 0.02 260);
  border-radius: 16px 16px 16px 5px;
  padding: 0.75rem 0.85rem;
}
.bubble p, .bubble strong { color: oklch(18% 0.02 260); }
.bubble .who p { color: oklch(32% 0.03 260); }
.map {
  position: relative;
  margin-top: 8px;
  min-height: 108px;
  padding: 8px;
  border-radius: 12px;
  background: oklch(93% 0.03 260);
  border: 1px solid oklch(78% 0.04 260);
}
.scout-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1B4FD8;
  box-shadow: 0 0 0 4px oklch(72% 0.12 265 / 0.45);
  animation: travel 1.2s ease forwards;
}
@keyframes travel {
  0% { transform: translate(8px, 46px); }
  45% { transform: translate(110px, 16px); }
  100% { transform: translate(228px, 30px); }
}
.crew {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 650;
}
.crew li { padding: 6px 8px; border-radius: 8px; background: oklch(95% 0.02 265); color: oklch(28% 0.03 260); }
.crew li.on { background: oklch(90% 0.06 265); color: oklch(28% 0.12 265); }

.bubble time, .card-msg time {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.card-msg {
  width: 100%;
  background: #f7f4ee;
  color: #1b1714;
  border-radius: 16px;
  padding: 0.7rem;
}

.card-msg .kind {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a6258;
}

.card-msg h4, .card-msg strong { font-family: var(--sans); }

.who { display: flex; gap: 0.6rem; align-items: center; }
.who p { margin: 0; color: #6a6258; font-size: 0.85rem; }
.avatar {
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center;
  background: #1b1714; color: #f7f4ee; font-size: 0.72rem; font-weight: 700;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.45rem 0; }
.chips span { border-radius: 999px; border: 1px solid #e4dccf; padding: 0.15rem 0.5rem; font-size: 0.75rem; }
.mail-line { margin: 0.15rem 0; font-size: 0.86rem; color: #3f3a34; }
.mail-body { white-space: pre-wrap; }
.card-msg details { border: 0; }
.card-msg summary { min-height: 40px; color: #1b1714; font-size: 0.92rem; }
.card-msg summary::after { color: #1b1714; }
.warn { color: #8a3412; font-weight: 700; }
.phone-tools { display: flex; align-items: center; gap: 0.35rem; }
.autoplay { font-size: 0.72rem; color: var(--muted); display: flex; gap: 0.25rem; align-items: center; }
.manual { padding: 0.45rem 0.7rem 0.7rem; }
.manual .btn { width: 100%; }
.check { display: inline-block; width: 0.7rem; height: 0.4rem; margin-right: 0.35rem; border-left: 2px solid #0891b2; border-bottom: 2px solid #0891b2; transform: rotate(-45deg) scale(0); animation: pop 0.35s ease forwards; }
.card-msg.is-gone { transform: translateX(28px); opacity: 0; transition: transform 0.28s ease, opacity 0.28s ease; }
.card-msg.is-editing textarea { animation: grow 0.25s ease; }
@keyframes pop { to { transform: rotate(-45deg) scale(1); } }
@keyframes grow { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.glow {
  position: relative;
  overflow: hidden;
}
.glow .spot {
  position: absolute;
  width: 140px;
  height: 140px;
  margin: -70px 0 0 -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
  transform: translate3d(var(--sx, -200px), var(--sy, -200px), 0);
  pointer-events: none;
  opacity: 0;
}
.glow:hover .spot { opacity: 1; }

.card-msg p { margin: 0.2rem 0; white-space: pre-wrap; }

.card-actions { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.55rem; }

.card-actions button, .card-msg .send {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #d9d1c4;
  background: #fff;
  color: #1b1714;
  padding: 0.2rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.card-actions button.yes, .card-msg .send { background: #1b1714; color: #f7f4ee; border-color: #1b1714; }

.card-msg textarea {
  width: 100%;
  min-height: 6.5rem;
  margin-top: 0.4rem;
}

.typing { display: flex; align-items: center; gap: 4px; padding: 0.7rem 0.8rem; }
.typing i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--muted);
  animation: blink 1s infinite;
}
.typing i:nth-of-type(2) { animation-delay: 0.15s; }
.typing i:nth-of-type(3) { animation-delay: 0.3s; }

@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}

.confirm { color: #0e7490; font-weight: 700; }

.demo-switch { display: flex; gap: 0.5rem; margin-bottom: 0.8rem; }

.chip {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}

.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.draft {
  border-radius: 14px;
  background: #f7f4ee;
  color: #1b1714;
  padding: 1rem;
  min-height: 9rem;
}

.draft p { margin: 0.35rem 0; }

.draft-kicker { color: #5c564e; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }

.actions button { min-height: 48px; }

textarea {
  width: 100%;
  min-height: 7rem;
  border-radius: 10px;
  border: 1px solid #d9d1c4;
  padding: 0.7rem;
  font: inherit;
  color: #1b1714;
}

.status {
  margin-top: 0.7rem;
  min-height: 1.4rem;
  font-weight: 650;
}

.dash {
  margin-top: 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.9rem;
}

.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.7rem; }

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

.dash-grid span, .dash-wide {
  background: rgba(246, 243, 238, 0.06);
  border-radius: 10px;
  padding: 0.7rem;
  font-weight: 650;
}

.dash-wide { margin-top: 0.45rem; }

.day {
  display: grid;
  gap: 0.6rem;
}

.day button {
  text-align: left;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 56px;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
}

.day button[aria-current="step"] {
  border-color: var(--gold);
  box-shadow: inset 3px 0 0 var(--gold);
}

.day time { display: block; color: var(--gold); font-size: 0.8rem; font-weight: 700; }

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  display: inline-block;
}

details[open] summary::after { transform: rotate(45deg); }

details ul, .steps { padding-left: 1.1rem; }

details li, .steps li { margin: 0.35rem 0; }

.nums {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  padding: 0;
  list-style: none;
  margin: 0;
}

.nums li {
  padding: 1rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(79, 140, 255, 0.16), rgba(139, 92, 246, 0.08));
  border: 1px solid var(--line);
}

.nums strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1;
  color: var(--gold);
}

.proof { margin-top: 0.9rem; color: var(--muted); }

.join {
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 800px) {
  .join { grid-template-columns: repeat(4, 1fr); }
}

.join button {
  text-align: left;
  min-height: 88px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  padding: 0.8rem;
  cursor: pointer;
}

.join button[aria-pressed="true"] { border-color: var(--teal); }

.video {
  margin-top: 1.2rem;
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  color: var(--muted);
}

.price {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 4.5rem);
  margin: 0.2rem 0;
  color: var(--gold);
}

.footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer a { color: var(--ink); }

@media (max-width: 979px) {
  .floats { display: none; }
}

.btn-short { display: none; }
.phone, .sim, .hero { scroll-margin-top: calc(var(--header) + 16px); }
@media (max-width: 980px) {
  :root { --header: 8.4rem; }
  .top { flex-wrap: wrap; row-gap: 0.45rem; }
  .top .brand { min-width: 0; }
  .top .btn {
    flex: 1 1 100%;
    width: 100%;
    white-space: nowrap;
  }
  .top .btn-long { display: none; }
  .top .btn-short { display: inline; }
  .phone, .sim, .hero { scroll-margin-top: calc(var(--header) + 24px); }
}
@media (max-width: 720px) {
  .top nav { margin-left: 0; }
  .row, .file-card { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal, .bubble, .card-msg, .float { animation: none; }
  .typing span, .typing i, .check, .spark i, .badge-row span, .hint, .glow-pop, .bubble, .card-msg, .trail path { animation: none; }
  .trail path { stroke-dashoffset: 0; }
  .scout-dot, .caret { animation: none; }
  .card-msg.is-gone { transition: none; }
  .day button, .join button, .btn, .tiles li { transition: none; }
  .tiles li:hover { transform: none; }
  body::after { transform: none; }
}

h3 { font-size: 1.2rem; margin: 0 0 0.4rem; letter-spacing: -0.02em; }

main > section:not(.hero) { padding: 4rem 0; }
@media (min-width: 900px) {
  main > section:not(.hero) { padding: 7rem 0; }
}

.section-head { margin: 0 0 1.75rem; }
.section-head p,
.wrap > p,
.bio p,
.result-card p,
.cta-panel p,
.note,
.checks li,
.flow li,
.tiles p,
.action-row p,
.trust-row p,
.personas p {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 68ch;
}
.section-head p { margin: 0; color: var(--muted); }

.tile-ico {
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.tile-ico svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tone-scout { background: oklch(94% 0.04 250); color: #1d4ed8; }
.tone-apply { background: oklch(94% 0.04 300); color: #6A21C9; }
.tone-connect { background: oklch(94% 0.04 290); color: #6d28d9; }
.tone-warm { background: oklch(94% 0.04 275); color: #4338ca; }
.tone-visible { background: oklch(94% 0.04 230); color: #0369a1; }
.tone-follow { background: oklch(94% 0.04 290); color: #6d28d9; }
.tone-prep { background: oklch(94% 0.04 275); color: #4338ca; }
.tone-review { background: oklch(94% 0.05 155); color: #047857; }

.tiles, .action-row, .trust-row, .personas {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tiles {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
.tiles li, .action-row li, .trust-row li, .personas article {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 5.5rem;
  padding: 1rem 1.05rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.tiles li { align-items: center; }
.tiles strong, .action-row strong, .trust-row strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.3;
}
.tiles p, .action-row p, .trust-row p, .personas p { margin: 0.15rem 0 0; color: var(--muted); }
.tiles li { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.tiles li:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 30, 60, 0.08); }
@media (min-width: 720px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .action-row, .trust-row { grid-template-columns: repeat(3, 1fr); }
  .personas { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
}
.action-row, .trust-row, .personas { display: grid; gap: 0.85rem; }
.personas article { align-items: flex-start; flex-direction: column; }
.personas h3 { margin-top: 0.2rem; }

.note.tight { margin: 1.1rem 0 1.5rem; }

.dash-app { padding: 1.1rem 1.15rem 1rem; }
.sheet-row {
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}
.sheet-head {
  border-top: 0;
  padding-top: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sheet .status {
  justify-self: end;
  margin: 0;
  min-height: 0;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  background: oklch(94% 0.05 150);
  color: #047857;
  font-size: 0.75rem;
  font-weight: 700;
}
.sheet .status.wait { background: oklch(95% 0.04 85); color: #9a3412; }
.sheet .status.prep { background: oklch(94% 0.04 265); color: #1d4ed8; }
.file-line { display: flex; align-items: center; gap: 0.65rem; min-width: 0; }
.file-line strong { display: block; font-size: 0.98rem; }
.file-line small { display: block; color: var(--muted); font-size: 0.82rem; }
.file-mark {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: oklch(94% 0.04 265);
  color: #1d4ed8;
}
.file-mark svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
figcaption { margin: 0.85rem 0 0; color: var(--muted); font-size: 0.95rem; max-width: 68ch; }
@media (max-width: 640px) {
  .sheet-head { display: none; }
  .sheet-row { grid-template-columns: minmax(0, 1fr) auto; }
  .sheet-row > :first-child {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
  }
}

.day { grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .day { grid-template-columns: repeat(4, 1fr); }
}
.day button { font-family: inherit; font-size: 1rem; }

.need-card {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
@media (min-width: 800px) {
  .need-card { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 1.6rem 1.5rem; }
}

.result-card, .price-card, .cta-panel, .bio {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.result-card .kicker, .price-card .kicker {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-card { max-width: 40rem; }
.price-card .checks { margin: 0.5rem 0 1.2rem; }
.cta-panel h2 { max-width: 16ch; }

.about {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; }
}
.about blockquote { margin: 0; }
.about blockquote p {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  font-weight: 680;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.bio p { margin: 0 0 0.9rem; }
.bio p:last-child { margin-bottom: 0; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.2rem 1rem;
  margin: 0 0 0.65rem;
}
.faq details p { margin: 0 0 0.9rem; }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
.footer-bar p { margin: 0; font-size: 1rem; max-width: none; }
.footer .brand img { height: 28px; }

.phone-screen:has(.intro:not([hidden])) { height: auto; }
.phone-screen:has(.intro:not([hidden])) .intro {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  justify-content: flex-start;
  min-height: 0;
  padding-top: 1.1rem;
  padding-bottom: 1.25rem;
}
.phone-screen:has(.intro:not([hidden])) .phone-head,
.phone-screen:has(.intro:not([hidden])) .meter,
.phone-screen:has(.intro:not([hidden])) .score-line,
.phone-screen:has(.intro:not([hidden])) .badge-row,
.phone-screen:has(.intro:not([hidden])) .chat,
.phone-screen:has(.intro:not([hidden])) .chat-wrap,
.phone-screen:has(.intro:not([hidden])) .transport,
.phone-screen:has(.intro:not([hidden])) .feed,
.phone-screen:has(.intro:not([hidden])) .crew,
.phone-screen:has(.intro:not([hidden])) .manual { display: none; }
.intro .kind {
  align-self: flex-start;
  margin: 0;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: oklch(92% 0.045 265);
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.intro .intro-title { margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; max-width: none; }
.intro p { margin: 0; font-size: 0.98rem; line-height: 1.45; max-width: none; }
.intro .btn { width: 100%; margin-top: 0.35rem; }
.field-pick { margin: 0.15rem 0 0; }
.field-pick > p {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field-row { display: flex; flex-wrap: wrap; gap: 6px; }
.field-row button {
  min-height: 36px;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid oklch(86% 0.02 265);
  background: #fff;
  color: oklch(28% 0.03 260);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.field-row button[aria-pressed="true"] {
  background: oklch(94% 0.045 265);
  border-color: #1d4ed8;
  color: #1d4ed8;
}
.end-card .btn.ghost { background: #fff; }
.opt { display: flex; flex-direction: column; gap: 0.25rem; margin: 0; font-size: 0.78rem; font-weight: 700; color: var(--ink); }
.opt span { font-weight: 650; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.68rem; }
.opt input, .opt select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.35rem 0.6rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--ink);
  background: #fff;
}
.opt-hint { font-size: 0.78rem; color: var(--muted); }
.intro { overflow-y: auto; }
.time-skip {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: oklch(20% 0.03 265);
  color: #fff;
  text-align: center;
  padding: 1.5rem;
}
.time-skip[hidden] { display: none; }
.skip-kicker { margin: 0; font-size: 1.35rem; font-weight: 750; letter-spacing: -0.03em; }
.skip-when, .skip-gap { margin: 0; font-size: 0.98rem; line-height: 1.4; opacity: 0; max-width: 18rem; }
.time-skip.is-next .skip-when,
.time-skip.is-next .skip-gap { opacity: 1; transition: opacity 0.45s ease; }
.kept { margin-top: 0.45rem; padding: 0.7rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.kept strong { display: block; margin: 0.2rem 0; }
.li-states { margin: 0.45rem 0 0; padding: 0; list-style: none; }
.li-states li { padding: 0.28rem 0 0.28rem 1.2rem; position: relative; font-weight: 700; }
.li-states li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #059669; }
@media (prefers-reduced-motion: reduce) {
  .time-skip.is-next .skip-when,
  .time-skip.is-next .skip-gap { transition: none; }
  .stack-face { transition: opacity 0.2s linear; }
  .stack-face.is-out-left,
  .stack-face.is-out-right { transform: none; opacity: 0; }
}

/* One system: type, color, radius, shadow, buttons, and chat cards. */
:root {
  --blue: #1B8AFB;
  --violet: #6A21C9;
  --accent: #1d4ed8;
  --radius: 16px;
  --shadow: 0 16px 36px -24px oklch(32% 0.08 270 / 0.5);
}
body, button, input, select, textarea { font-family: var(--sans); }
h1, h2, h3, .price, .brand { letter-spacing: -0.03em; }
.bubble, .card-msg, .end-card, .kept, .doc-card, .cal-card {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}
.card-msg, .end-card { width: 100%; padding: 0.8rem; }
.bubble { border-radius: 16px 16px 16px 6px; }
.card-msg p, .card-msg strong, .card-msg li, .end-card, .end-card p { color: var(--ink); }
.original, .mail-line, .card-msg .kind { color: var(--muted); }
.original { border-left-color: var(--line); }
.card-actions button, .card-msg .send, .opt input, .opt select {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
}
.card-actions button.yes, .card-msg .send, .yes {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.tabs button[aria-selected="true"] {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.skip { background: var(--accent); color: #fff; }
.crew { font-size: 0.72rem; }
.crew li { min-height: 2rem; display: flex; align-items: center; }
.doc-card, .cal-card { margin-top: 0.55rem; padding: 0.75rem; }
.doc-card ol, .kept ul { margin: 0.35rem 0 0; padding-left: 1.1rem; }
.doc-card li, .kept li { margin: 0.2rem 0; }

.phone-screen .bubble,
.phone-screen .card-msg,
.phone-screen .doc-card,
.phone-screen .cal-card,
.phone-screen .kept,
.phone-screen .end-card {
  font-size: 0.875rem;
  line-height: 1.45;
}
.phone-screen .bubble p,
.phone-screen .bubble li,
.phone-screen .card-msg p,
.phone-screen .card-msg li,
.phone-screen .card-msg .mail-body,
.phone-screen .doc-card p,
.phone-screen .doc-card li,
.phone-screen .doc-card strong,
.phone-screen .kept p,
.phone-screen .kept li,
.phone-screen .kept strong,
.phone-screen .cal-card p,
.phone-screen .cal-card strong,
.phone-screen .end-card p,
.phone-screen .end-card li,
.phone-screen .end-card h4 {
  font-size: 0.875rem;
  line-height: 1.45;
  max-width: none;
}
.phone-screen .card-msg p.outcome,
.phone-screen .bubble p.outcome,
.phone-screen p.outcome {
  display: block;
  margin-top: 0.95rem;
  font-size: 0.72rem;
  line-height: 1.4;
  font-weight: 650;
  color: var(--muted);
  max-width: none;
}
.phone-screen .card-msg > .card-body > strong,
.phone-screen .doc-card > strong,
.phone-screen .cal-card > strong,
.phone-screen .kept > strong {
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.phone-screen .card-msg .kind,
.phone-screen .doc-card .kind,
.phone-screen .cal-card .kind,
.phone-screen .kept .kind,
.phone-screen .bubble .kind {
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}
.phone-screen .kind.li-badge {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
}
.phone-screen .card-msg ul,
.phone-screen .card-msg ol,
.phone-screen .doc-card ol,
.phone-screen .kept ul,
.phone-screen .letter ul {
  margin: 0.3rem 0 0.15rem;
  padding-left: 1.15rem;
  font-size: 0.875rem;
}
.phone-screen .who p.action {
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
  color: var(--ink);
}
.phone-screen .li-post p,
.phone-screen .li-thread p,
.phone-screen .li-invite p,
.phone-screen .letter p,
.phone-screen .letter li,
.phone-screen .stack-summary,
.phone-screen .gap-note {
  font-size: 0.875rem;
  line-height: 1.45;
  max-width: none;
}

.chat-wrap { position: relative; display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.chat-wrap .chat { flex: 1 1 auto; }
.new-pill {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 999px;
  background: #1b1714;
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 0.4rem 0.8rem;
  box-shadow: 0 8px 18px rgba(20, 24, 40, 0.2);
  cursor: pointer;
}
.new-pill[hidden] { display: none; }
.transport {
  display: flex;
  gap: 0.45rem;
  padding: 0.15rem 0.75rem 0.55rem;
}
.transport[hidden] { display: none; }
.transport button {
  flex: 1;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
}
.transport button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.transport button:disabled { opacity: 0.4; cursor: default; }
.kind { display: flex; align-items: center; gap: 0.35rem; }
.kind svg, .app-icon { width: 16px; height: 16px; flex: 0 0 16px; display: block; }
.gap-note {
  align-self: center;
  margin: 0.2rem 0;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: oklch(94% 0.02 265);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}
.stack-bar { display: flex; align-items: center; gap: 0.45rem; }
.stack-count { margin-left: auto; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.02em; }
.stack-dots { display: flex; gap: 5px; margin: 0.35rem 0 0.15rem; }
.stack-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d5dbe3; display: block; }
.stack-dots i.on { background: #1d4ed8; }
.stack-dots i.done { background: #0f766e; }
.stack-clip { overflow: hidden; }
.stack-face { transition: transform 0.3s ease, opacity 0.3s ease; }
.stack-face.is-out-left { transform: translateX(-108%); opacity: 0; }
.stack-face.is-out-right { transform: translateX(108%); opacity: 0; }
.stack-face.is-fade { opacity: 0; }
.stack-summary { margin: 0.35rem 0 0; font-weight: 750; }
.li-badge { text-transform: none; letter-spacing: 0; font-size: 0.82rem; }
.li-post, .li-thread, .li-invite, .letter {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f6f8fb;
  padding: 0.65rem 0.7rem;
  margin: 0.45rem 0;
}
.li-author { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.35rem; }
.li-author strong { font-size: 0.875rem; }
.li-author span, .li-react { color: var(--muted); font-size: 0.75rem; font-weight: 650; }
.li-author span { display: block; }
.li-react { display: flex; gap: 0.8rem; margin-top: 0.45rem; }
.li-label { margin: 0.45rem 0 0.2rem; font-size: 0.75rem; font-weight: 750; color: var(--muted); }
.li-thread { display: flex; flex-direction: column; gap: 0.35rem; background: #eef3f8; }
.li-thread .mine {
  align-self: flex-end;
  max-width: 92%;
  margin: 0;
  padding: 0.5rem 0.65rem;
  border-radius: 14px 14px 4px 14px;
  background: #0A66C2;
  color: #fff;
  white-space: pre-wrap;
}
.letter p { white-space: pre-wrap; }
.li-thread .draft-tag { display: block; margin-bottom: 0.2rem; font-size: 0.68rem; font-weight: 750; letter-spacing: 0.03em; text-transform: uppercase; opacity: 0.85; }
.li-invite .note {
  margin: 0.35rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.letter { background: #fff; }
.letter h4 { margin: 0.15rem 0; font-size: 1rem; }
.letter .letter-co { font-weight: 750; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.45rem; }
.choice-row button { font-family: inherit; font-weight: 750; }
.phone, .window, .mock, .tiles li, .need-card, .price-card, .result-card, .cta-panel, .bio, .faq details {
  border-radius: 18px;
}
.phone-head, .chat { padding-left: 14px; padding-right: 14px; }
.score-line, .meter { margin-left: 14px; margin-right: 14px; }
.tabs button, .join button, .card-actions button, .card-msg .send { font-family: inherit; }

.flow li {
  display: block;
  max-width: 68ch;
  padding: 0 0 1.35rem 3.15rem;
}
.flow li::before {
  position: absolute;
  left: 0;
  top: 0.05rem;
}
.flow li::after { left: 1.08rem; top: 2.4rem; }
.file-line strong { white-space: nowrap; }

.stages li {
  padding: 0.28rem 0.62rem;
  border: 1px solid oklch(90% 0.02 265);
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.8);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.stages li.lit {
  background: oklch(94% 0.04 265);
  border-color: oklch(78% 0.06 265);
  color: oklch(32% 0.12 265);
}
.stages li.lit::before { display: none; }

.phone-screen { height: auto; }
.chat { flex: 0 1 auto; max-height: 46vh; overflow-y: auto; }
.feed {
  list-style: none;
  margin: 0;
  padding: 2px 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  flex: 0 0 auto;
}
.feed li {
  background: #fff;
  border: 1px solid oklch(90% 0.02 265);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: oklch(28% 0.03 260);
}
.feed li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: #1B8AFB;
  vertical-align: 1px;
}

/* Polish pass: spacing, glass hero, card depth, and restrained motion. */
:root {
  --shadow: 0 18px 40px -24px oklch(32% 0.08 270 / 0.45);
  --shadow-lift: 0 22px 44px -20px oklch(36% 0.12 275 / 0.38);
}

.top {
  background: oklch(98.5% 0.006 260 / 0.82);
  border-bottom-color: oklch(92% 0.01 260 / 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.banner {
  background: oklch(96% 0.02 270);
  border-bottom-color: oklch(90% 0.02 270);
  font-size: 0.95rem;
  font-weight: 650;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(48px, 6vw, 84px) 0 clamp(36px, 5vw, 72px);
  background: oklch(96.5% 0.015 270);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -5% auto;
  height: 120%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(540px 340px at 8% 18%, oklch(80% 0.12 255 / 0.55), transparent 70%),
    radial-gradient(460px 300px at 92% 8%, oklch(74% 0.14 300 / 0.4), transparent 68%),
    radial-gradient(380px 260px at 70% 100%, oklch(88% 0.06 210 / 0.45), transparent 72%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, oklch(100% 0 0 / 0.35), oklch(97% 0.012 265 / 0.2) 40%, transparent);
}
.hero .wrap { position: relative; z-index: 1; }

h1 {
  font-size: clamp(2.45rem, 4.7vw, 4.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.eyebrow {
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: oklch(100% 0 0 / 0.72);
  border-color: oklch(90% 0.03 280);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(38% 0.12 275);
}
.typed {
  min-height: 1.45em;
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.typed [data-typed] {
  background: linear-gradient(90deg, #1B8AFB 8%, #5b3df5 52%, #6A21C9 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.caret {
  width: 0.07em;
  min-width: 2px;
  height: 0.92em;
  margin-left: 0.08em;
  border-radius: 2px;
  background: #6A21C9;
  vertical-align: -0.08em;
}
.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  max-width: 38rem;
}
.btn {
  box-shadow: 0 10px 24px -12px oklch(45% 0.2 275 / 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover {
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -12px oklch(45% 0.2 275 / 0.75);
}
.btn:active { transform: translateY(0) scale(0.98); }

.sim-label {
  display: inline-flex;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: oklch(100% 0 0 / 0.7);
  border: 1px solid oklch(90% 0.03 280);
  letter-spacing: 0.08em;
}
.phone {
  box-shadow:
    0 30px 60px -22px oklch(40% 0.16 280 / 0.5),
    0 0 0 1px oklch(100% 0 0 / 0.18),
    0 0 80px -20px oklch(70% 0.14 280 / 0.45);
  animation: phoneFloat 5.5s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

main > section:not(.hero) { padding: clamp(64px, 7vw, 100px) 0; }
main > section:not(.hero):nth-child(even) {
  background: oklch(99% 0.004 260);
}
h2 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}
.section-head { margin-bottom: 1.5rem; }

.tiles li,
.action-row li,
.trust-row li,
.personas article,
.nums li,
.day button,
.join button,
.need-card,
.price-card,
.result-card,
.cta-panel,
.bio,
.window,
.mock,
.faq details,
.video {
  border-color: oklch(93% 0.01 265);
  box-shadow: var(--shadow);
}
.tiles li,
.action-row li,
.trust-row li,
.personas article,
.nums li,
.day button,
.join button {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tiles li:hover,
.action-row li:hover,
.trust-row li:hover,
.personas article:hover,
.nums li:hover,
.day button:hover,
.join button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.glow .spot {
  background: radial-gradient(circle, oklch(100% 0 0 / 0.55), transparent 68%);
}

.reveal.in {
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--delay, 0ms), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .phone { animation: none; }
  .btn, .tiles li, .action-row li, .trust-row li, .personas article, .nums li, .day button, .join button {
    transition: none;
  }
  .btn:hover,
  .tiles li:hover,
  .action-row li:hover,
  .trust-row li:hover,
  .personas article:hover,
  .nums li:hover,
  .day button:hover,
  .join button:hover { transform: none; }
}

html[data-size="large"] { font-size: 112.5%; }
html[data-size="larger"] { font-size: 125%; }

.a11y { position: relative; }
.a11y-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.a11y-btn svg { width: 22px; height: 22px; }
.a11y-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  width: min(18rem, 80vw);
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.a11y-panel[hidden] { display: none; }
.a11y-title { margin: 0 0 0.5rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.a11y-panel button {
  min-height: 44px;
  width: 100%;
  margin: 0.2rem 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  cursor: pointer;
}
.a11y-sizes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.35rem; }
.a11y-sizes button { padding: 0 0.3rem; font-size: 0.82rem; }
.a11y-panel button[aria-pressed="true"],
.a11y-sizes button[aria-checked="true"] {
  background: #1d4ed8;
  color: #fff;
  border-color: #1d4ed8;
}

.demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in oklch, var(--card) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.demo-main { padding: 1rem 1rem 2rem; }
.demo-page { background: var(--bg); min-height: 100vh; }
.demo-page .phone { width: min(100%, 430px); }
.demo-page .chat { max-height: min(58vh, 620px); }

html[data-theme="dark"] {
  --bg: oklch(16% 0.02 265);
  --bg-2: oklch(22% 0.022 265);
  --ink: oklch(97% 0.01 260);
  --muted: oklch(84% 0.02 260);
  --line: oklch(38% 0.02 265);
  --card: oklch(23% 0.022 265);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --gold: #c4b5fd;
  color-scheme: dark;
}
html[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] body::before {
  background:
    radial-gradient(900px 420px at 90% 0%, oklch(42% 0.12 280 / 0.45), transparent 60%),
    linear-gradient(180deg, oklch(18% 0.03 265), var(--bg));
}
html[data-theme="dark"] body::after { opacity: 0.25; }
html[data-theme="dark"] .top,
html[data-theme="dark"] .demo-bar,
html[data-theme="dark"] .footer,
html[data-theme="dark"] .banner {
  border-color: var(--line);
}
html[data-theme="dark"] .top,
html[data-theme="dark"] .demo-bar {
  background: oklch(18% 0.02 265 / 0.92);
}
html[data-theme="dark"] .banner {
  background: linear-gradient(90deg, #1d4ed8, #6d28d9);
  color: #fff;
}
html[data-theme="dark"] .grad {
  background: linear-gradient(90deg, #93c5fd, #d8b4fe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="dark"] .btn,
html[data-theme="dark"] .cta {
  background: #1d4ed8;
  color: #fff;
  border-color: transparent;
}
html[data-theme="dark"] .menu,
html[data-theme="dark"] .open-demo,
html[data-theme="dark"] .a11y-btn,
html[data-theme="dark"] .tiles li,
html[data-theme="dark"] .action-row li,
html[data-theme="dark"] .trust-row li,
html[data-theme="dark"] .personas article,
html[data-theme="dark"] .faq details,
html[data-theme="dark"] .cta-panel,
html[data-theme="dark"] .dash-app,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .file-card,
html[data-theme="dark"] .checks,
html[data-theme="dark"] .flow li,
html[data-theme="dark"] .day,
html[data-theme="dark"] .nums li {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="dark"] .phone-screen,
html[data-theme="dark"] .intro,
html[data-theme="dark"] .bubble,
html[data-theme="dark"] .card-msg,
html[data-theme="dark"] .end-card,
html[data-theme="dark"] .doc-card,
html[data-theme="dark"] .cal-card,
html[data-theme="dark"] .kept,
html[data-theme="dark"] .letter,
html[data-theme="dark"] .feed li,
html[data-theme="dark"] .crew li,
html[data-theme="dark"] .opt input,
html[data-theme="dark"] .opt select,
html[data-theme="dark"] .transport button,
html[data-theme="dark"] .card-actions button,
html[data-theme="dark"] .field-row button {
  background: oklch(27% 0.02 265);
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="dark"] .card-msg,
html[data-theme="dark"] .end-card { background: oklch(24% 0.025 265); }
html[data-theme="dark"] .li-post,
html[data-theme="dark"] .li-invite,
html[data-theme="dark"] .li-thread { background: oklch(20% 0.02 265); color: var(--ink); }
html[data-theme="dark"] .li-thread .mine { background: #0A66C2; color: #fff; }
html[data-theme="dark"] .mail-line,
html[data-theme="dark"] .outcome,
html[data-theme="dark"] .kind,
html[data-theme="dark"] .who p,
html[data-theme="dark"] .score-line,
html[data-theme="dark"] .streak,
html[data-theme="dark"] .opt span,
html[data-theme="dark"] .section-head p,
html[data-theme="dark"] .note,
html[data-theme="dark"] .lede { color: var(--muted); }
html[data-theme="dark"] .card-actions button.yes,
html[data-theme="dark"] .yes,
html[data-theme="dark"] .transport button[aria-pressed="true"] {
  background: #1d4ed8;
  color: #fff;
  border-color: #1d4ed8;
}
html[data-theme="dark"] .field-row button[aria-pressed="true"] {
  background: #1d4ed8;
  color: #fff;
  border-color: #1d4ed8;
}
html[data-theme="dark"] .time-skip { background: oklch(12% 0.02 265); color: #fff; }

.hero-copy { text-align: center; }
.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lede,
.hero-copy .note,
.hero-copy .typed { margin-inline: auto; }
.hero-copy .hero-actions { justify-content: center; }
.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 1.75rem auto 0;
  min-height: 44px;
  padding: 0.35rem 0.8rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 750;
  text-decoration: none;
}
.scroll-cue .chev { width: 22px; height: 22px; animation: cue-bob 1.6s ease-in-out infinite; }
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.scroll-cue.is-gone { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .scroll-cue .chev { animation: none; }
  .scroll-cue.is-gone { transition: none; }
}
.demo-section { text-align: center; scroll-margin-top: calc(var(--header) + 16px); }
.demo-section h2 { margin-inline: auto; max-width: 18ch; }
.demo-section .sim { max-width: 440px; margin: 0.5rem auto 0; }
.demo-section .stages { justify-content: center; }
@media (min-width: 980px) {
  .hero-grid { display: block; }
}

html[data-theme="dark"] .hero,
html[data-theme="dark"] main > section,
html[data-theme="dark"] main > section:not(.hero),
html[data-theme="dark"] main > section:not(.hero):nth-child(even) {
  background: var(--bg);
  color: var(--ink);
}
html[data-theme="dark"] .hero::before {
  background:
    radial-gradient(540px 340px at 8% 18%, oklch(40% 0.12 255 / 0.35), transparent 70%),
    radial-gradient(460px 300px at 92% 8%, oklch(36% 0.12 300 / 0.28), transparent 68%);
}
html[data-theme="dark"] .hero::after { background: none; }
html[data-theme="dark"] .top {
  background: oklch(15% 0.02 265);
  color: var(--ink);
  border-bottom-color: var(--line);
}
html[data-theme="dark"] .banner {
  background: #1d4ed8;
  color: #fff;
  border-bottom-color: transparent;
}
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] .mock-title,
html[data-theme="dark"] .section-head h2 { color: var(--ink); }
html[data-theme="dark"] .typed [data-typed] {
  background: linear-gradient(90deg, #93c5fd, #d8b4fe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .sim-label {
  background: oklch(28% 0.03 265);
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="dark"] .mock,
html[data-theme="dark"] .window,
html[data-theme="dark"] .day button,
html[data-theme="dark"] .tabs button,
html[data-theme="dark"] .flow li::before,
html[data-theme="dark"] .faq details,
html[data-theme="dark"] .tiles li,
html[data-theme="dark"] .action-row li,
html[data-theme="dark"] .trust-row li,
html[data-theme="dark"] .personas article,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .result-card,
html[data-theme="dark"] .cta-panel,
html[data-theme="dark"] .bio,
html[data-theme="dark"] .need-card {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="dark"] .scroll-cue { color: var(--ink); background: oklch(28% 0.03 265); border-color: var(--line); }

.phone-screen,
.phone-screen * {
  text-align: left;
}
.phone-screen .time-skip,
.phone-screen .time-skip * {
  text-align: center;
}
.phone-screen button,
.phone-screen .btn {
  text-align: center;
}
.phone-screen .who {
  justify-content: flex-start;
  width: 100%;
}
.phone-screen .card-actions,
.phone-screen .stack-bar {
  justify-content: flex-start;
}
.phone-screen ul,
.phone-screen ol {
  text-align: left;
  list-style-position: outside;
}
.phone-screen li {
  text-align: left;
}
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.trust-chips li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in oklch, var(--card) 82%, transparent);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 750;
}
.hero { min-height: calc(100svh - var(--header) - 2.5rem); display: flex; align-items: center; }
.hero-copy { width: 100%; display: flex; flex-direction: column; align-items: center; }
.hero-copy h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); max-width: 12ch; }
.hero::before { animation: mesh-drift 16s ease-in-out infinite; }
@keyframes mesh-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(1.5%, -1.5%, 0) scale(1.04); }
}
.scroll-cue {
  margin-top: 2.2rem;
  padding: 0.45rem 0.95rem 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}
html[data-theme="dark"] .btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
html[data-theme="dark"] .phone-screen,
html[data-theme="dark"] .phone-screen .bubble,
html[data-theme="dark"] .phone-screen .bubble p,
html[data-theme="dark"] .phone-screen .bubble strong,
html[data-theme="dark"] .phone-screen .card-msg,
html[data-theme="dark"] .phone-screen .card-msg p,
html[data-theme="dark"] .phone-screen .card-msg strong,
html[data-theme="dark"] .phone-screen .card-msg li,
html[data-theme="dark"] .phone-screen .who,
html[data-theme="dark"] .phone-screen .who strong,
html[data-theme="dark"] .phone-screen .phone-head,
html[data-theme="dark"] .phone-screen .phone-head strong,
html[data-theme="dark"] .phone-screen .feed li,
html[data-theme="dark"] .phone-screen .letter,
html[data-theme="dark"] .phone-screen .letter p,
html[data-theme="dark"] .phone-screen .li-post,
html[data-theme="dark"] .phone-screen .li-post p,
html[data-theme="dark"] .phone-screen .doc-card,
html[data-theme="dark"] .phone-screen .cal-card,
html[data-theme="dark"] .phone-screen .intro,
html[data-theme="dark"] .phone-screen .intro p {
  color: var(--ink);
}
html[data-theme="dark"] .phone-screen time,
html[data-theme="dark"] .phone-screen .outcome,
html[data-theme="dark"] .phone-screen .mail-line,
html[data-theme="dark"] .phone-screen .kind,
html[data-theme="dark"] .phone-screen .streak,
html[data-theme="dark"] .phone-screen .score-line,
html[data-theme="dark"] .phone-screen .who p.action {
  color: var(--muted);
}
html[data-theme="dark"] .crew {
  background: oklch(18% 0.02 265);
  border-top-color: var(--line);
}
html[data-theme="dark"] .crew li {
  background: oklch(30% 0.025 265);
  color: var(--ink);
}
html[data-theme="dark"] .crew li.on {
  background: #1d4ed8;
  color: #fff;
}
html[data-theme="dark"] .meter { background: oklch(32% 0.02 265); }
html[data-theme="dark"] .feed li { background: oklch(24% 0.02 265); color: var(--ink); border-color: var(--line); }
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}
html[data-theme="dark"] .stages li {
  background: oklch(30% 0.02 265);
  color: oklch(94% 0.01 260);
  border-color: var(--line);
}
html[data-theme="dark"] .intro .kind {
  background: oklch(34% 0.06 265);
  color: #dbeafe;
}
html[data-theme="dark"] .live { color: #5eead4; }
