@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --canvas: #f9f9f9;
  --surface: #ffffff;
  --surface-subtle: #f3f0f5;
  --surface-tint: #f5eff7;
  --ink: #1c1c1c;
  --muted: #535353;
  --muted-soft: #6e6a73;
  --plum: #724596;
  --plum-soft: #9668ba;
  --apricot: #c67236;
  --sage: #3e7552;
  --border: rgba(28, 28, 28, 0.08);
  --border-strong: rgba(28, 28, 28, 0.14);
  --action: #1c1c1c;
  --action-ink: #ffffff;
  --action-hover: #3d2f42;
  --bubble: #efe8f2;
  --glass-bg: rgba(255, 255, 255, 0.86);
  --badge-you-bg: #efe4f8;
  --badge-you-border: rgba(114, 69, 150, 0.22);
  --badge-people-bg: #faece0;
  --badge-people-border: rgba(198, 114, 54, 0.24);
  --badge-moments-bg: #e4f2e9;
  --badge-moments-border: rgba(62, 117, 82, 0.24);
  --practice-surface: linear-gradient(140deg, #faf1e8 0%, #f5eef7 52%, #ece2f2 100%);
  --practice-ink: #241f27;
  --practice-muted: #5e5563;
  --error: #b3382c;
  --shadow-sm: 0 1px 2px rgba(28, 22, 34, 0.05), 0 4px 14px rgba(28, 22, 34, 0.04);
  --shadow-md: 0 2px 6px rgba(28, 22, 34, 0.05), 0 16px 40px -12px rgba(42, 29, 51, 0.12);
  --shadow-phone: 0 2px 6px rgba(20, 14, 26, 0.08), 0 24px 56px -14px rgba(34, 22, 44, 0.22);
  --header-bg: rgba(249, 249, 249, 0.84);
  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #141414;
    --surface: #1f1e22;
    --surface-subtle: #29262e;
    --surface-tint: #231f28;
    --ink: #f7f6f8;
    --muted: #c6c1cc;
    --muted-soft: #9e97a6;
    --plum: #cba3f2;
    --plum-soft: #ae82db;
    --apricot: #e8b082;
    --sage: #9cc9aa;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);
    --action: #f9f9f9;
    --action-ink: #141414;
    --action-hover: #e8d8f5;
    --bubble: #322a38;
    --glass-bg: rgba(31, 30, 34, 0.88);
    --badge-you-bg: rgba(203, 163, 242, 0.16);
    --badge-you-border: rgba(203, 163, 242, 0.3);
    --badge-people-bg: rgba(232, 176, 130, 0.16);
    --badge-people-border: rgba(232, 176, 130, 0.3);
    --badge-moments-bg: rgba(156, 201, 170, 0.16);
    --badge-moments-border: rgba(156, 201, 170, 0.3);
    --practice-surface: linear-gradient(140deg, #2b242c 0%, #26202b 52%, #2e242a 100%);
    --practice-ink: #f7f6f8;
    --practice-muted: #c6c1cc;
    --error: #ffb0a3;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.24), 0 6px 18px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3), 0 20px 48px -12px rgba(0, 0, 0, 0.5);
    --shadow-phone: 0 2px 8px rgba(0, 0, 0, 0.4), 0 28px 64px -16px rgba(0, 0, 0, 0.65);
    --header-bg: rgba(20, 20, 20, 0.84);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, blockquote, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 0.22em; }
a, button { touch-action: manipulation; }
[hidden] { display: none !important; }
::selection { background: var(--plum); color: #ffffff; }
@media (prefers-color-scheme: dark) {
  ::selection { background: var(--plum); color: #141414; }
}
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; z-index: 100; top: 10px; left: 12px;
  padding: 10px 16px; border-radius: 10px;
  background: var(--action); color: var(--action-ink);
  font-size: 14px; font-weight: 500; text-decoration: none;
  transform: translateY(-220%);
}
.skip:focus { transform: none; }

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.icon { flex: none; display: block; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 21px; font-weight: 600;
  letter-spacing: -0.025em; text-decoration: none; min-height: 44px;
}
.brand img { width: 30px; height: auto; }
.brand-sm { font-size: 18px; gap: 7px; }
.brand-sm img { width: 24px; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; min-height: 44px; display: inline-flex; align-items: center;
  transition: color 0.16s ease;
}
.nav-link:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.14s ease, color 0.18s ease;
}
.btn:active { transform: scale(0.985); }
.btn:disabled { opacity: 0.72; cursor: wait; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--action); color: var(--action-ink); }
.btn-primary:hover { background: var(--action-hover); }
.btn-ghost {
  background: transparent; color: var(--muted);
  padding-inline: 14px;
}
.btn-ghost:hover { color: var(--ink); background: var(--surface-subtle); }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(32px, 5vw, 60px) clamp(48px, 6vw, 80px);
}
.hero::before {
  content: ""; position: absolute; inset: -10% 0 auto; height: 580px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 52% at 72% 36%, rgba(170, 147, 184, 0.22), transparent 72%),
    radial-gradient(ellipse 38% 44% at 86% 64%, rgba(231, 171, 105, 0.16), transparent 72%);
}
@media (prefers-color-scheme: dark) {
  .hero::before {
    background:
      radial-gradient(ellipse 46% 52% at 72% 36%, rgba(164, 132, 184, 0.15), transparent 72%),
      radial-gradient(ellipse 38% 44% at 86% 64%, rgba(204, 142, 98, 0.11), transparent 72%);
  }
}

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center; gap: clamp(32px, 5vw, 68px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px 5px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 500; color: var(--plum);
  margin-bottom: 22px;
}
.eyebrow img { width: 22px; height: 22px; object-fit: contain; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.9vw, 58px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.035em;
  max-width: 14.5ch;
  text-wrap: balance;
}
.hero-lede {
  margin-top: 20px; max-width: 495px;
  font-size: clamp(16.5px, 1.32vw, 18.5px);
  line-height: 1.56; color: var(--muted); text-wrap: pretty;
}
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 28px;
}
.hero-note {
  margin-top: 18px; font-size: 13px; color: var(--muted-soft);
}

/* Hero Upright Phone + Subtle Floating Context Pills */
.hero-stage {
  position: relative; display: grid; place-items: center;
}
.stage-glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(170, 147, 184, 0.26) 0%, rgba(231, 171, 105, 0.14) 46%, transparent 68%);
  filter: blur(26px);
}
.phone-cluster {
  position: relative; width: 100%; display: grid; place-items: center;
}
.phone-figure { width: 100%; display: grid; place-items: center; }
.phone-frame {
  position: relative;
  width: min(292px, 100%);
  aspect-ratio: 384 / 832;
  padding: 9px;
  border-radius: 40px;
  background: linear-gradient(145deg, #2b2930 0%, #17161a 52%, #29262e 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(28, 22, 34, 0.08),
    var(--shadow-phone);
}
.phone-frame img {
  width: 100%; height: 100%;
  border-radius: 31px;
  object-fit: cover;
  background: #f9f9f9;
}

.context-pill {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  max-width: 224px;
}
.context-pill-top { top: 61%; left: -16px; }
.context-pill-bottom { bottom: 13%; right: -12px; }
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--plum);
  box-shadow: 0 0 0 4px rgba(170, 147, 184, 0.22);
}
.pill-dot-warm {
  background: var(--apricot);
  box-shadow: 0 0 0 4px rgba(224, 160, 108, 0.22);
}
.context-pill strong {
  display: block; font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.25;
}
.context-pill span {
  display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; margin-top: 2px;
}

/* Sections */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-head { max-width: 620px; }
.section-label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--plum); margin-bottom: 10px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-lede {
  margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--muted);
  text-wrap: pretty;
}

/* Band 2: Visual Bento Grid */
.bento-section {
  background: var(--surface-tint);
  border-block: 1px solid var(--border);
}
.bento-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.bento-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.bento-wide { grid-column: 1 / -1; }
.bento-kicker {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  color: var(--plum); margin-bottom: 8px;
}
.bento-head h3 {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 26px); font-weight: 600;
  line-height: 1.2; letter-spacing: -0.025em;
  max-width: 28ch;
}
.bento-wide .bento-head h3 { max-width: none; }
.bento-head p {
  margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--muted);
  max-width: 58ch;
}

/* Connected Your world Visual Diagram */
.world-diagram {
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 20px;
  background: var(--canvas);
  border: 1px solid var(--border);
}
.world-nodes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.world-node {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.world-node:hover { border-color: var(--plum-soft); transform: translateY(-2px); }
.node-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.node-badge {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  border: 1px solid transparent;
}
.node-badge-you { background: var(--badge-you-bg); border-color: var(--badge-you-border); color: var(--plum); }
.node-badge-people { background: var(--badge-people-bg); border-color: var(--badge-people-border); color: var(--apricot); }
.node-badge-moments { background: var(--badge-moments-bg); border-color: var(--badge-moments-border); color: var(--sage); }
.node-type { font-size: 12px; font-weight: 600; color: var(--muted); }
.node-title {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--ink); line-height: 1.3;
}
.node-meta {
  margin-top: 5px; font-size: 13.5px; line-height: 1.45; color: var(--muted);
}

.world-connectors {
  display: block; width: 100%; height: 64px; overflow: visible;
}
.conn-line {
  stroke: var(--plum-soft); stroke-width: 1.5; stroke-opacity: 0.6;
  stroke-dasharray: 4 4;
}
.conn-dot { fill: var(--plum); opacity: 0.85; }
.world-connector-mobile { display: none; }

.world-hub {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  max-width: 560px; margin-inline: auto;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}
.hub-identity { display: flex; align-items: center; gap: 12px; }
.hub-identity img { width: 28px; height: auto; flex: none; }
.hub-identity strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.hub-identity span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.hub-controls { display: flex; gap: 6px; }
.hub-chip {
  padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--muted);
  background: var(--canvas); border: 1px solid var(--border-strong);
}

/* Talk or Type Coaching Modes Visual */
.modes-visual {
  display: grid; gap: 10px; min-width: 0;
  padding: 16px; border-radius: 20px;
  background: var(--canvas); border: 1px solid var(--border);
}
.mode-item {
  min-width: 0;
  padding: 13px 15px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
}
.mode-tag {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; margin-bottom: 6px;
  background: var(--badge-you-bg); color: var(--plum);
}
.mode-tag-growth { background: var(--badge-moments-bg); color: var(--sage); }
.mode-tag-words { background: var(--badge-people-bg); color: var(--apricot); }
.mode-item p { font-size: 13.5px; line-height: 1.45; color: var(--ink); }

.mini-composer {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  margin-top: 4px; padding: 8px 10px 8px 12px;
  border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong);
}
.composer-plus {
  flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 16px; color: var(--muted);
}
.composer-placeholder {
  flex: 1; min-width: 0; font-size: 13px; color: var(--muted-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.composer-mic {
  flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--action); color: var(--action-ink);
}

/* Voice Practice Visual Canvas (Single authentic Flutter waveform, no second wave) */
.practice-canvas {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 20px; border-radius: 20px;
  background: var(--practice-surface);
  border: 1px solid var(--border);
  min-height: 292px;
}
.practice-role-pill {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  margin-inline: auto; padding: 6px 13px; border-radius: 999px;
  background: var(--glass-bg); border: 1px solid var(--border);
  font-size: 12.5px; font-weight: 600; color: var(--practice-ink);
}
.role-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--plum);
}
.practice-dialogue { display: grid; gap: 10px; }
.p-bubble {
  max-width: 86%; padding: 10px 14px; border-radius: 15px;
  font-size: 13.5px; line-height: 1.45;
}
.p-bubble-them {
  justify-self: start;
  background: var(--glass-bg); color: var(--practice-ink);
  border: 1px solid var(--border);
  border-bottom-left-radius: 5px;
}
.p-bubble-you {
  justify-self: end;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--border-strong);
  border-bottom-right-radius: 5px;
  box-shadow: var(--shadow-sm);
}
.practice-wave-stage { display: grid; place-items: center; padding-block: 4px; }
.practice-signal {
  width: 132px;
  aspect-ratio: 132 / 64;
  border-radius: 999px;
  background: url("/images/practice-wave.webp") top center / 100% 4800% no-repeat;
  box-shadow: 0 6px 20px -6px rgba(66, 46, 78, 0.22);
}
.practice-privacy {
  text-align: center; font-size: 12.5px; color: var(--practice-muted);
}

/* Band 3: Real Workplace Scenarios */
.scenario-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px;
}
.scenario-tab {
  min-height: 42px; padding: 8px 16px; border-radius: 999px;
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--border-strong);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.scenario-tab:hover { color: var(--ink); border-color: var(--plum-soft); }
.scenario-tab[aria-selected="true"] {
  background: var(--action); color: var(--action-ink);
  border-color: var(--action);
}

.chat-card {
  margin-top: 22px; max-width: 780px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.chat-card-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
}
.chat-card-identity {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
}
.chat-card-identity img { width: 22px; height: auto; }
.chat-card-tag { font-size: 12.5px; color: var(--muted-soft); }

.chat-panels { padding: clamp(20px, 3vw, 32px); }
.chat-exchange { display: grid; gap: 18px; }

.context-strip {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface-tint); border: 1px solid var(--border);
  font-size: 12.5px; color: var(--muted); line-height: 1.35;
}
.context-strip strong { color: var(--plum); font-weight: 600; }
.context-strip-dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none; background: var(--plum);
}

.msg-user {
  justify-self: end; max-width: min(86%, 520px);
  padding: 13px 18px;
  border-radius: 20px 20px 6px 20px;
  background: var(--bubble);
  font-size: 15.5px; line-height: 1.5; color: var(--ink);
}
.msg-ellery { display: grid; gap: 16px; max-width: 630px; }
.msg-ellery > p:first-child { font-size: 15.5px; line-height: 1.58; color: var(--ink); }

.insight-card {
  padding: 16px 20px; border-radius: 18px;
  background: var(--canvas); border: 1px solid var(--border-strong);
}
.insight-label {
  display: block; font-size: 12px; font-weight: 600; color: var(--plum);
  margin-bottom: 6px;
}
.insight-card p { font-size: 15px; line-height: 1.52; color: var(--ink); }

.words-card {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--canvas);
  border: 1px solid var(--border-strong);
}
.words-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 10px;
}
.words-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--plum);
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 0 11px; border-radius: 999px;
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--border-strong);
  font-size: 12.5px; font-weight: 500; cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.copy-btn:hover { color: var(--ink); border-color: var(--plum-soft); }
.copy-btn[data-copied="true"] {
  background: var(--surface-tint); color: var(--plum); border-color: var(--plum-soft);
}
.words-card blockquote {
  font-size: clamp(16px, 1.5vw, 17.5px);
  font-weight: 500; line-height: 1.5; color: var(--ink);
}
.msg-followup { font-size: 14.5px; color: var(--muted); line-height: 1.52; }
.msg-followup strong { color: var(--ink); font-weight: 600; }

/* Band 4: Trust & Why Ellery */
.trust { border-top: 1px solid var(--border); }
.trust-grid {
  margin-top: 32px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.trust-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.trust-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid transparent;
  margin-bottom: 18px;
}
.trust-icon-plum {
  background: var(--badge-you-bg);
  border-color: var(--badge-you-border);
  color: var(--plum);
}
.trust-icon-warm {
  background: var(--badge-people-bg);
  border-color: var(--badge-people-border);
  color: var(--apricot);
}
.trust-icon-sage {
  background: var(--badge-moments-bg);
  border-color: var(--badge-moments-border);
  color: var(--sage);
}
.trust-card h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.3;
}
.trust-card p {
  margin-top: 9px; font-size: 15px; line-height: 1.58; color: var(--muted);
}

/* Band 5: Closing CTA */
.cta-band { padding-top: 0; }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 65% at 32% 18%, rgba(170, 147, 184, 0.16), transparent 72%),
    radial-gradient(ellipse 42% 60% at 72% 85%, rgba(231, 171, 105, 0.14), transparent 72%);
}
.cta-owl { width: 76px; height: 76px; margin: 0 auto 18px; object-fit: contain; }
.cta-card h2 {
  font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.12;
}
.cta-card p {
  margin: 12px auto 0; max-width: 430px;
  font-size: 16.5px; color: var(--muted); line-height: 1.55;
}
.cta-actions { justify-content: center; margin-top: 26px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding-block: 28px; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px 28px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand small { font-size: 13px; color: var(--muted-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 38px;
  font-size: 13.5px; color: var(--muted); text-decoration: none;
}
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* Waitlist Page */
.wait-page {
  min-height: 100svh; display: flex; flex-direction: column;
  position: relative; isolation: isolate;
}
.wait-page::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 42% at 42% 36%, rgba(170, 147, 184, 0.2), transparent 74%),
    radial-gradient(ellipse 36% 40% at 62% 52%, rgba(231, 171, 105, 0.16), transparent 74%);
}
@media (prefers-color-scheme: dark) {
  .wait-page::before {
    background:
      radial-gradient(ellipse 40% 42% at 42% 36%, rgba(164, 132, 184, 0.14), transparent 74%),
      radial-gradient(ellipse 36% 40% at 62% 52%, rgba(204, 142, 98, 0.1), transparent 74%);
  }
}
.wait-header { padding-block: 16px; }
.wait-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wait-back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none;
}
.wait-back:hover { color: var(--ink); }

.wait-main { flex: 1; display: grid; place-items: center; padding-block: 12px 40px; }
.wait-shell { display: grid; place-items: center; }
.wait-card {
  position: relative; overflow: hidden; isolation: isolate;
  width: min(100%, 540px);
  padding: clamp(30px, 4.5vw, 46px) clamp(22px, 4vw, 42px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.wait-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 180px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 68% 90% at 50% -10%, rgba(203, 163, 242, 0.16), transparent 72%),
    radial-gradient(ellipse 45% 70% at 68% 12%, rgba(232, 176, 130, 0.1), transparent 70%);
}
.wait-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  margin-top: 14px;
  background: var(--badge-you-bg);
  border: 1px solid var(--badge-you-border);
  font-size: 12.5px; font-weight: 600; color: var(--plum);
}
.wait-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--plum);
}
.wait-badge-success {
  background: var(--badge-moments-bg);
  border-color: var(--badge-moments-border);
  color: var(--sage);
}
.wait-card h1,
.wait-card .wait-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 40px);
  font-weight: 600; line-height: 1.12; letter-spacing: -0.03em;
  margin-top: 14px; text-wrap: balance;
}
.wait-lede {
  margin: 12px auto 0; max-width: 410px;
  font-size: 15.5px; line-height: 1.56; color: var(--muted); text-wrap: pretty;
}
.wait-promises {
  list-style: none; padding: 18px 0 0; margin: 22px 0 0;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
  font-size: 13px; color: var(--muted);
}
.wait-promises li {
  display: inline-flex; align-items: center; gap: 6px;
}
.wait-promises .icon { color: var(--plum); }

/* Waitlist Envelope + Waving Owl */
.invitation { position: relative; width: 176px; aspect-ratio: 1.12; margin: 0 auto; }
.letter-stage, .letter { position: absolute; inset: 0; }
.letter { transform: rotate(-6deg); }
.letter-back, .letter-front, .letter-flap { position: absolute; left: 14%; top: 54%; width: 72%; height: 39%; }
.letter-back { border-radius: 5px; background: linear-gradient(135deg, #ad5d49, #d27d62 56%, #c68163); }
.letter-flap {
  height: 30%; z-index: 1; transform-origin: center top;
  transform: perspective(420px) rotateX(177deg);
  background: linear-gradient(170deg, #d4896d, #f2bda0);
  clip-path: polygon(0 0, 100% 0, 52% 99%, 49% 100%);
}
.letter-pocket { position: absolute; z-index: 2; inset: 0 0 8%; overflow: hidden; }
.letter-owl {
  position: absolute; width: 74%; height: auto; left: 13%; bottom: 8%;
  transform: rotate(5deg); transform-origin: 52% 90%;
}
.letter-front {
  z-index: 3; overflow: hidden; border-radius: 4px 4px 7px 7px;
  clip-path: polygon(0 0, 48% 40%, 52% 40%, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(124deg, #fff1dc -10%, #edb592 48%, #de977a);
}
.letter-front::after {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(-4% 104%, 49% 32%, 52% 32%, 104% 104%);
  background: linear-gradient(150deg, #fce2c8, #eeb491 70%, #eaa98d);
}
.letter-shadow {
  position: absolute; left: 18%; bottom: 0; width: 64%; height: 13%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(85, 60, 89, 0.22) 0, transparent 69%);
}
.glint {
  position: absolute; width: 11px; aspect-ratio: 1; background: var(--apricot);
  clip-path: polygon(50% 0, 62% 39%, 100% 50%, 62% 61%, 50% 100%, 38% 61%, 0 50%, 38% 39%);
}
.glint-one { top: 22%; right: 6%; background: var(--plum); }
.glint-two { width: 8px; top: 12%; right: 16%; }
.glint-three { width: 9px; top: 48%; left: 4%; }
.joined-owl { width: 100%; height: 100%; object-fit: contain; }

/* Waitlist Form */
#wait-form { margin-top: 24px; }
.email-entry {
  display: flex; align-items: center; gap: 6px; padding: 5px;
  border-radius: 999px;
  background: var(--canvas);
  border: 1px solid var(--border-strong);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.email-entry:focus-within {
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(98, 77, 104, 0.16);
}
@media (prefers-color-scheme: dark) {
  .email-entry:focus-within { box-shadow: 0 0 0 3px rgba(216, 196, 222, 0.18); }
}
.email-entry:has([aria-invalid="true"]) { border-color: var(--error); }
.email-entry input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 12px 0 16px;
  background: transparent; border: 0; outline: none; font-size: 16px;
}
.email-entry input::placeholder { color: var(--muted-soft); opacity: 1; }
.email-entry .btn { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.form-error, .noscript-note {
  margin-top: 10px; font-size: 13.5px; color: var(--error); line-height: 1.45;
}
.form-error:empty { display: none; }

#joined .wait-title:focus { outline: none; }
.joined-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 24px;
}

.wait-footer { padding-block: 10px 24px; }
.wait-footer-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; }
.wait-footer a {
  display: inline-flex; align-items: center; min-height: 40px;
  font-size: 13px; color: var(--muted); text-decoration: none;
}
.wait-footer a:hover { color: var(--ink); text-decoration: underline; }

/* Responsive */
@media (max-width: 980px) {
  .context-pill { display: none; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 560px; }
  .bento-grid { grid-template-columns: 1fr; }
  .world-nodes { grid-template-columns: 1fr; gap: 10px; }
  .world-connectors { display: none; }
  .world-connector-mobile {
    display: flex; justify-content: center; padding-block: 6px;
  }
  .world-connector-mobile span {
    width: 2px; height: 24px; border-radius: 2px;
    background: linear-gradient(180deg, var(--plum-soft), transparent);
    opacity: 0.6;
  }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .site-nav { gap: 12px; }
  .nav-link { display: none; }
  .hero { padding-top: 24px; }
  .hero h1 { font-size: clamp(33px, 8.9vw, 42px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .phone-frame { width: min(286px, 80vw); border-radius: 36px; padding: 8px; }
  .phone-frame img { border-radius: 28px; }
  .scenario-tabs { gap: 6px; }
  .scenario-tab { font-size: 13.5px; padding: 7px 14px; min-height: 40px; }
  .context-strip { border-radius: 12px; }
  .email-entry { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 6px; }
  .email-entry input { padding: 0 12px; text-align: center; }
  .email-entry .btn { width: 100%; border-radius: 14px; }
}

/* Motion */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes practice-wave {
  from { background-position-y: 0%; }
  to { background-position-y: 100%; }
}
@keyframes envelope-lands {
  0% { opacity: 0; transform: translate(-20%, -8%) rotate(-20deg) scale(0.8); }
  32% { opacity: 1; transform: translate(2%, 2%) rotate(-3deg) scale(0.99); }
  54% { transform: translate(0, -2%) rotate(-8deg); }
  78% { transform: translate(0, 1%) rotate(-5deg); }
  100% { transform: rotate(-6deg); }
}
@keyframes unfold {
  0%, 32% { z-index: 4; transform: perspective(420px) rotateX(0); }
  52% { z-index: 4; transform: perspective(420px) rotateX(88deg); }
  53% { z-index: 1; }
  83% { transform: perspective(420px) rotateX(187deg); }
  100% { z-index: 1; transform: perspective(420px) rotateX(177deg); }
}
@keyframes owl-appears {
  0%, 32% { opacity: 0; transform: translateY(74%) rotate(-8deg) scale(0.8); }
  38% { opacity: 1; }
  64% { opacity: 1; transform: translateY(-9%) rotate(9deg) scale(1.03); }
  80% { transform: translateY(2%) rotate(1deg); }
  92% { transform: translateY(-1%) rotate(6deg); }
  100% { opacity: 1; transform: rotate(5deg); }
}
@keyframes invitation-glint {
  0%, 35% { opacity: 0; transform: translateY(6px) scale(0.15) rotate(-36deg); }
  70% { opacity: 1; transform: translateY(-2px) scale(1.26) rotate(8deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes stamp-settles {
  from { opacity: 0; transform: translateY(8%) rotate(-10deg) scale(0.84); }
  68% { opacity: 1; transform: translateY(-2%) rotate(2deg) scale(1.03); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .chat-exchange:not([hidden]) .context-strip { animation: fade-up 0.22s ease both; }
  .chat-exchange:not([hidden]) .msg-user { animation: fade-up 0.28s 0.04s ease both; }
  .chat-exchange:not([hidden]) .msg-ellery { animation: fade-up 0.34s 0.1s ease both; }
  .practice-signal {
    animation: practice-wave 1.9333s steps(48, jump-none) infinite;
  }
  #practice-visual.offscreen .practice-signal { animation-play-state: paused; }
  .letter { animation: envelope-lands 1.75s cubic-bezier(0.24, 0.64, 0.26, 1) both; }
  .letter-flap { animation: unfold 1.4s ease-in-out both; }
  .letter-owl { animation: owl-appears 1.85s cubic-bezier(0.2, 0.76, 0.29, 1) both; }
  .glint { animation: invitation-glint 0.9s 0.7s ease-out both; }
  .glint-two { animation-delay: 0.84s; }
  .glint-three { animation-delay: 0.98s; }
  .joined-owl { animation: stamp-settles 0.65s cubic-bezier(0.19, 0.75, 0.3, 1) both; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
