/* talkdea.com
   Design language: a bright white canvas, one vivid indigo accent, a single geometric sans set tight,
   hairline borders with soft 8% shadows, people front and centre, and the generated textures as the brand's colour. */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  /* surfaces */
  --canvas: #ffffff;
  --paper: #f7f7f8;
  --cloud: #e9e8ec;
  --hairline: #d7d6dd;
  /* text */
  --ink: #0d0f2c;
  --deep: #7c2d12;
  --text: #333b52;
  --muted: #656c86;
  --mist: #969bb5;
  /* the one accent: orange */
  --accent: #ea580c;
  --accent-hi: #c2410c;
  --glow: #fb923c;
  --lavender: #fed7aa;
  --lav-50: #fff1e6;
  --grad-deep: linear-gradient(90deg, #fb923c, #ea580c 50%, #c2410c);
  /* soft tints for badges */
  --mint: #ebf6df;
  --mint-ink: #1a280b;
  --butter: #fffadb;
  --butter-ink: #42230a;

  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-btn: 12px;
  --r-card: 16px;
  --r-lg: 24px;
  --ring: 0 0 0 1px var(--cloud);
  --sh-sm: 0 2px 10px rgba(16, 24, 40, 0.08);
  --sh: 0 2px 16px rgba(16, 24, 40, 0.08);
  --sh-lg: 0 6px 20px rgba(16, 24, 40, 0.08);
  --sh-float: 0 18px 40px -12px rgba(16, 24, 40, 0.2);
  --expo: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%, 1.017 19.4%, 1.067, 1.099 24.3%, 1.108 26%, 1.104, 1.088 30.6%, 0.995 41%, 0.982 45.3%, 0.993 55.5%, 1.001 66%, 1);
  --wrap: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 400 16px/1.5 var(--font);
  letter-spacing: -0.004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
img,
video,
svg {
  display: block;
}
img,
video {
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
.i {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
}
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}
.tex {
  background: var(--tex) center / cover;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--r-btn);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- type ---------- */

.display {
  font-size: clamp(46px, 7.2vw, 88px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 600;
  color: var(--ink);
}
.h-lg {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}
.grad {
  background: var(--grad-deep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.lede {
  max-width: 620px;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.008em;
  color: var(--muted);
}
.sec-head {
  max-width: 760px;
  margin: 0 auto 48px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
}
.sec-lede {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--muted);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--ring);
  color: var(--deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.band .eyebrow {
  background: #fff;
}
.eyebrow .i {
  font-size: 14px;
  color: var(--accent);
}
.eyebrow-new {
  margin-left: -8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
}
.nc-h {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--r-btn);
  font: 600 16px/1 var(--font);
  letter-spacing: -0.004em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s,
    color 0.2s;
}
.btn:active {
  transform: translateY(1px);
}
.btn .i {
  font-size: 16px;
  transition: transform 0.25s var(--expo);
}
.btn:hover .i {
  transform: translateX(2px);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--sh-sm);
}
.btn-primary:hover {
  background: var(--accent-hi);
}
.btn-secondary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--hairline), var(--sh);
}
.btn-secondary:hover {
  box-shadow: 0 0 0 1px var(--mist), var(--sh);
}
.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

/* ---------- chips ---------- */

.chip,
.fchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.chip .i,
.fchip .i {
  font-size: 13px;
}
.chip-idea {
  background: var(--lav-50);
  color: var(--accent-hi);
}
.chip-seed {
  background: var(--mint);
  color: var(--mint-ink);
}
.chip-fragment {
  background: var(--paper);
  color: var(--muted);
  box-shadow: var(--ring);
}
.fchip {
  background: var(--butter);
  color: var(--butter-ink);
}
.rec {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #ef4a5c;
  box-shadow: 0 0 0 4px rgba(239, 74, 92, 0.16);
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
  50% {
    opacity: 0.35;
  }
}
.pc-niche,
.demo-niche {
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--lav-50);
  color: var(--accent-hi);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- reveal on scroll ---------- */

/* headings: each line slides up from behind its own mask */
.split.reveal,
.split.reveal.in {
  opacity: 1;
  transform: none;
}
.ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.ln-i {
  display: inline-block;
  transform: translateY(108%) rotate(2deg);
  transform-origin: 0 100%;
  transition: transform 1s var(--expo) calc(var(--d, 0s) + var(--li, 0) * 0.09s);
}
.split.in .ln-i {
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s var(--expo) var(--d, 0s),
    transform 0.9s var(--expo) var(--d, 0s);
}
.reveal.in,
.no-js .reveal {
  opacity: 1;
  transform: none;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes word {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- nav ---------- */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav-wrap.scrolled {
  border-bottom-color: var(--cloud);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  color: var(--ink);
}
.logo {
  fill: currentColor;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--ink);
}

/* ---------- hero ---------- */

.hero {
  padding-top: 64px;
}
.hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--ring), var(--sh-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.announce:hover {
  box-shadow: 0 0 0 1px var(--hairline), var(--sh);
}
.announce .i {
  color: var(--muted);
  transition: transform 0.25s var(--expo);
}
.announce:hover .i {
  transform: translateX(3px);
}
.announce-new {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero .display {
  margin-top: 28px;
}
.hero .lede {
  margin-top: 24px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}
.hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-notes .i {
  color: var(--accent);
  font-size: 16px;
}

/* the stage: the intro film on a textured frame, creators standing in the frame's margins */
.hero-stage {
  margin-top: 64px;
}
.hero-frame {
  position: relative;
  padding: 56px 168px;
  border-radius: 32px;
}
.player {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(13, 15, 44, 0.45);
}
.player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player-sound {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 15, 44, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}
.player-sound:hover {
  background: rgba(13, 15, 44, 0.8);
}
.player-sound .i {
  font-size: 15px;
}
.player-sound .on,
.player-sound[aria-pressed='true'] .off {
  display: none;
}
.player-sound[aria-pressed='true'] .on {
  display: block;
}
/* the photo first, its little widget underneath, so no face is ever covered */
.float-person {
  position: absolute;
  z-index: 2;
  width: 132px;
  animation: bob 7s ease-in-out infinite alternate;
}
.float-person img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 16px;
  box-shadow:
    0 0 0 4px #fff,
    var(--sh-float);
}
.fp-left {
  left: -66px;
  top: 52px;
}
.fp-right {
  right: -66px;
  bottom: 52px;
  animation-delay: -3.5s;
}
@keyframes bob {
  to {
    translate: 0 -8px;
  }
}
.fp-bubble,
.fp-chip {
  position: relative;
  z-index: 1;
  width: 232px;
  margin-top: -26px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--ring), 0 22px 44px -14px rgba(16, 24, 40, 0.32);
  animation: wiggle 5.6s ease-in-out infinite;
}
/* the coach's card reaches right, over the film's frame; the cook's reaches left */
.fp-bubble {
  margin-left: 58px;
}
.fp-chip {
  margin-left: -158px;
  display: grid;
  gap: 6px;
  justify-items: start;
  animation-delay: -2.4s;
}
@keyframes wiggle {
  0%,
  100% {
    transform: translateY(0) rotate(-1.4deg);
  }
  50% {
    transform: translateY(-6px) rotate(1.2deg);
  }
}
.fp-bubble {
  display: grid;
  gap: 4px;
}
.fp-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.fp-bubble p {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}
.fp-chip b {
  font-size: 13.5px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- every niche ---------- */

.niches {
  padding-top: 72px;
}
.niches-cap {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.niche-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.niche-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--ring), var(--sh-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.niche-row img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
  object-position: 50% 22%;
}

/* ---------- sections ---------- */

.section {
  padding: 120px 0;
}
.band {
  background: var(--paper);
}

/* ---------- how it works: three cards ---------- */

.steps3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.step-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--ring), var(--sh);
}
.sc-visual {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
}
.sc-visual.illo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sc-visual.tex {
  display: grid;
  place-items: center;
  padding: 22px;
}
.sc-copy {
  display: grid;
  gap: 10px;
  padding: 24px 28px 30px;
  border-top: 1px solid var(--cloud);
}
.step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.sc-copy h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.sc-copy p {
  font-size: 15.5px;
  line-height: 1.55;
}

/* 01: the transcript types itself */
.listen-card,
.seed-card {
  position: absolute;
  bottom: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--ring), var(--sh-float);
}
.listen-card {
  left: 14px;
  right: 14px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}
.lc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.lc-clock {
  margin-left: auto;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}
.typing {
  min-height: 2.9em;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.typing .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(4px);
  animation: word 0.35s var(--expo) forwards;
}
/* 02: verdicts land one by one, a different niche each loop */
.sort-card {
  width: 100%;
  padding: 14px;
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--sh-float);
}
.sort-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--cloud);
}
.sort-orb {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 99px;
  background: url(assets/t1.jpg) center / 300%;
  animation: spin 3s linear infinite;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
.sort-status {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sort-top .demo-niche {
  margin-left: auto;
}
.sort-rows {
  display: grid;
  gap: 8px;
  min-height: 132px;
}
.sort-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  box-shadow: var(--ring);
  opacity: 0;
  transform: translateY(10px);
}
.sort-rows b {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sort-rows li.dim b {
  color: var(--muted);
  font-weight: 500;
}
.sort-card.show .sort-rows li {
  animation: pop 0.55s var(--expo) forwards;
  animation-delay: calc(var(--i) * 0.28s);
}
.sort-card.leave .sort-rows li {
  opacity: 1;
  transform: none;
  animation: none;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.sort-card.leave.gone .sort-rows li {
  opacity: 0;
  transform: translateY(-6px);
}
/* 03: the seed waits, the thread button keeps asking */
.seed-card {
  right: 14px;
  width: 78%;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}
.seed-card .when,
.spark-card .when {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist);
}
.seed-card b {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.seed-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.thread-demo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px 0 8px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--hairline);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.thread-demo .i {
  color: var(--accent);
}
.step-card.in .thread-demo::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 0 2px var(--accent);
  opacity: 0;
  animation: nudge 2.8s var(--expo) 1s infinite;
}
@keyframes nudge {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }
  60%,
  100% {
    opacity: 0;
    transform: scale(1.25, 1.6);
  }
}
.step-card.in .seed-card {
  animation: pop 0.7s var(--expo) 0.35s both;
}
.step-card.in .listen-card {
  animation: pop 0.7s var(--expo) 0.25s both;
}

/* ---------- sparks ---------- */

.mc-tex {
  position: relative;
  height: 56px;
  background: var(--tex) center / cover;
}
.mc-body {
  padding: 10px 12px 12px;
  display: grid;
  gap: 8px;
  justify-items: start;
}
.mc-body h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sparks-inner {
  position: relative;
  display: grid;
  justify-items: center;
}
.spark-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 130px 1fr;
  align-items: center;
  min-height: 260px;
}
.spark-card {
  padding: 24px;
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--ring), var(--sh);
  display: grid;
  gap: 10px;
  min-height: 196px;
  align-content: start;
  transition:
    transform 0.42s cubic-bezier(0.55, 0, 0.78, 0.25),
    opacity 0.16s 0.32s;
  animation: float 4.2s ease-in-out infinite alternate;
}
.spark-card.right {
  animation-delay: -2.1s;
}
@keyframes float {
  to {
    translate: 0 -6px;
  }
}
.spark-card h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.spark-card p {
  font-size: 15px;
  color: var(--muted);
}
.spark-link {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
}
.spark-link svg {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 40px;
  margin-top: -20px;
  overflow: visible;
}
.spark-link path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.55s var(--expo) 0.08s;
}
.spark-node {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 0 0 8px rgba(234, 88, 12, 0.14);
  transform: scale(0);
  transition: transform 0.6s var(--spring) 0.32s;
}
.spark-stage[data-phase='linked'] .spark-link path,
.spark-stage[data-phase='smash'] .spark-link path {
  stroke-dashoffset: 0;
}
.spark-stage[data-phase='linked'] .spark-node {
  transform: scale(1);
}
.spark-stage[data-phase='smash'] .spark-node {
  transform: scale(1.5);
  transition: transform 0.3s var(--expo);
}
.spark-stage[data-phase='smash'] .spark-card.left {
  transform: translateX(calc(50% + 65px)) scale(0.6, 0.5) rotate(5deg);
  opacity: 0;
}
.spark-stage[data-phase='smash'] .spark-card.right {
  transform: translateX(calc(-50% - 65px)) scale(0.6, 0.5) rotate(-5deg);
  opacity: 0;
}
.spark-stage[data-phase='born'] .spark-card,
.spark-stage[data-phase='born'] .spark-link {
  opacity: 0;
  visibility: hidden;
}
.born-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--ring), var(--sh-float);
  translate: -50% -50%;
  opacity: 0;
  transform: scale(0.3, 0.2);
  pointer-events: none;
}
.spark-stage[data-phase='born'] .born-card {
  opacity: 1;
  transform: none;
  transition:
    transform 0.75s var(--spring),
    opacity 0.15s;
}
.born-card .mc-tex {
  height: 112px;
}
.born-card .mc-body {
  padding: 14px 16px 16px;
}
.born-card h3 {
  font-size: 18px;
}
.born-card p {
  font-size: 14px;
  color: var(--muted);
}
.spark-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px 0 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}
.burst span {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 20px;
  height: 20px;
  border-radius: 99px;
  background-size: 300%;
  animation: fly 0.9s var(--expo) forwards;
}
.burst i {
  position: absolute;
  left: -70px;
  top: -70px;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  animation: ring 0.8s var(--expo) forwards;
}
@keyframes fly {
  from {
    transform: translate(0, 0) scale(1.4);
    opacity: 1;
  }
  to {
    transform: translate(var(--x), var(--y)) scale(0);
    opacity: 0;
  }
}
@keyframes ring {
  from {
    transform: scale(0.2);
    opacity: 1;
  }
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}
.spark-actions {
  margin-top: 40px;
  height: 50px;
  display: grid;
  place-items: center;
}
.spark-btn {
  pointer-events: none;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.25s,
    transform 0.6s var(--spring),
    background-color 0.15s;
}
.spark-btn.show {
  opacity: 1;
  transform: scale(1);
}
.spark-btn.press {
  transform: scale(0.94);
  background: var(--accent-hi);
  transition: transform 0.1s ease-in;
}
.spark-btn .label {
  display: inline-block;
  min-width: 7.4em;
  text-align: center;
}
/* Oversized macOS-style cursor that runs the demo by itself. */
.cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  z-index: 5;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
}
.cursor.live {
  opacity: 1;
}
.cursor svg {
  width: 100%;
  height: 100%;
  fill: #1c1c1c;
  stroke: #fff;
  stroke-width: 14;
  paint-order: stroke;
  overflow: visible;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  transform-origin: 14.5% 14.5%;
}

/* ---------- stages: the creator, the product, the results, side by side ---------- */

.stage3 {
  display: grid;
  grid-template-columns: 300px minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.stage-person {
  display: grid;
  gap: 12px;
}
.stage-person img,
.stage-person video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: var(--r-lg);
}
.stage-person figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.stage-main {
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--ring), var(--sh-float);
}
.stage-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

/* niche check card: checking, then the score, then the hook */
.niche-card {
  padding: 22px;
  display: grid;
  gap: 16px;
}
.nc-idea {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cloud);
}
.nc-idea b {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nc-swap {
  display: grid;
}
.nc-checking,
.nc-score {
  grid-area: 1 / 1;
  transition:
    opacity 0.45s var(--expo),
    transform 0.6s var(--expo);
}
.nc-checking {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.nc-spin {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: var(--lav-50);
  color: var(--accent);
  font-size: 18px;
}
.nc-spin .i {
  animation: spin 1.6s linear infinite;
}
.nc-pfs {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nc-pfs .pf {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 14px;
  animation: ping 1.8s ease-in-out infinite;
}
.nc-pfs .pf:nth-child(2) {
  animation-delay: 0.3s;
}
.nc-pfs .pf:nth-child(3) {
  animation-delay: 0.6s;
}
@keyframes ping {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.9);
  }
  30% {
    opacity: 1;
    transform: scale(1.05);
  }
}
.nc-score {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(8px);
}
.nc-ring {
  position: relative;
  flex: none;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
}
.nc-ring svg {
  position: absolute;
  inset: 0;
  rotate: -90deg;
}
.nc-ring circle {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
}
.nc-ring .track {
  stroke: var(--cloud);
}
.nc-ring .fill {
  stroke: var(--accent);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.nc-ring b {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.nc-label {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--accent);
}
.nc-score p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.45;
}
.nc-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nc-factors span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--ring);
  font-size: 12px;
  color: var(--muted);
}
.nc-factors b {
  color: var(--ink);
  font-weight: 600;
}
.nc-hook {
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 0 0 1.5px var(--accent);
  display: grid;
  gap: 4px;
}
.nc-hook .nc-h {
  color: var(--accent);
}
.nc-hook p:last-child {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.nc-similar {
  display: grid;
  gap: 8px;
}
.nc-similar li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--ring), var(--sh-sm);
  font-size: 13px;
  color: var(--muted);
}
.nc-similar li > span:last-child {
  display: grid;
  line-height: 1.35;
}
.nc-similar b {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.pf {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #fff;
}
.pf-tiktok {
  background: #111;
}
.pf-youtube {
  background: #e62117;
}
.pf-instagram {
  background: #e4405f;
}
.nc-open {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--lav-50);
  display: grid;
  gap: 4px;
}
.nc-open .nc-h {
  color: var(--accent);
}
.nc-open p:last-child {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
}
/* the sequence: p1 found, p2 scored, p3 the way in. Without JS everything simply shows. */
.js #niche-stage .nc-similar li,
.js #niche-stage .nc-open,
.js #niche-stage .nc-factors,
.js #niche-stage .nc-hook {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s var(--expo),
    transform 0.7s var(--expo);
}
#niche-stage.p1 .nc-similar li {
  opacity: 1;
  transform: none;
}
#niche-stage.p1 .nc-similar li:nth-child(2) {
  transition-delay: 0.35s;
}
#niche-stage.p1 .nc-similar li:nth-child(3) {
  transition-delay: 0.7s;
}
#niche-stage.p2 .nc-checking {
  opacity: 0;
  transform: translateY(-8px);
}
#niche-stage.p2 .nc-score,
.no-js .nc-score {
  opacity: 1;
  transform: none;
}
.no-js .nc-checking {
  opacity: 0;
}
#niche-stage.p2 .nc-ring .fill,
.no-js .nc-ring .fill {
  stroke-dashoffset: 32;
  transition: stroke-dashoffset 1.1s var(--expo) 0.1s;
}
#niche-stage.p2 .nc-factors {
  opacity: 1;
  transform: none;
  transition-delay: 0.5s;
}
#niche-stage.p3 .nc-hook,
#niche-stage.p3 .nc-open {
  opacity: 1;
  transform: none;
}
#niche-stage.p3 .nc-open {
  transition-delay: 0.25s;
}
#niche-stage.fade .niche-card > :not(.nc-idea),
#niche-stage.fade .stage-side > * {
  opacity: 0 !important;
  transition: opacity 0.35s !important;
}

/* script card */
.script-demo {
  padding: 20px;
  display: grid;
  gap: 12px;
}
.sd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sd-len {
  font-size: 12px;
  font-weight: 500;
  color: var(--mist);
}
.sd-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.sd-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist);
}
.sd-hooks {
  display: grid;
  gap: 6px;
}
.sd-hooks span {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--cloud);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: box-shadow 0.3s;
}
.script-demo[data-sel='0'] .sd-hooks span[data-i='0'],
.script-demo[data-sel='1'] .sd-hooks span[data-i='1'] {
  box-shadow: 0 0 0 2px var(--accent);
}
.sd-beats {
  margin-top: 2px;
  border-radius: 12px;
  background: var(--paper);
  display: grid;
}
.sd-beats li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 10px;
  padding: 10px 12px;
}
.sd-beats li + li {
  border-top: 1px solid var(--cloud);
}
.sd-beats b {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 3px;
}
.sd-beats p {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
}
.sd-beats small {
  grid-column: 2;
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.sd-beats small .i {
  margin-top: 2px;
}
.say mark {
  background: linear-gradient(var(--lavender), var(--lavender)) left / 0% 100% no-repeat;
  color: inherit;
  border-radius: 4px;
  padding: 0 2px;
  margin: 0 -2px;
  transition: background-size 0.6s var(--expo);
}
.say mark.lit {
  background-size: 100% 100%;
}
.script-demo.armed .sd-hooks span,
.script-demo.armed .sd-beats li,
.script-demo.armed .say .w,
.script-demo.armed .sd-beats small {
  opacity: 0;
}
.script-demo.play .sd-hooks span {
  transform: translateY(8px);
  animation: pop 0.6s var(--expo) forwards;
  animation-delay: calc(0.15s + var(--i, 0) * 0.12s);
}
.script-demo.play .sd-beats li {
  animation: fade 0.3s ease forwards;
  animation-delay: var(--delay, 0s);
}
.script-demo.play .say .w {
  animation: fade 0.35s var(--expo) forwards;
  animation-delay: var(--delay, 0s);
}
.script-demo.play .sd-beats small {
  animation: fade 0.5s ease forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes fade {
  to {
    opacity: 1;
  }
}
.phrases {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.phrases span {
  height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--ring);
  color: var(--deep);
  font-size: 15px;
  font-weight: 600;
  transition:
    transform 0.5s var(--spring),
    background-color 0.3s,
    color 0.3s,
    box-shadow 0.3s;
}
.phrases span.lit {
  transform: scale(1.08) rotate(-2deg);
  background: var(--accent);
  color: #fff;
  box-shadow: var(--sh-sm);
}
.stage-side .phrases + .nc-h {
  margin-top: 14px;
}
.pipeline {
  display: grid;
  gap: 8px;
}
.pipeline li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--ring);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition:
    background-color 0.35s,
    color 0.35s,
    box-shadow 0.35s;
}
.pipeline li .i {
  color: var(--mist);
  transition: color 0.35s;
}
.pipeline li.done {
  color: var(--ink);
}
.pipeline li.done .i {
  color: var(--accent);
}
.pipeline li.on {
  background: var(--lav-50);
  color: var(--accent-hi);
  box-shadow: 0 0 0 1.5px var(--accent);
}
.pipeline li.on .i {
  color: var(--accent);
}

/* ---------- people ---------- */

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 56px;
}
/* Cooking and Design (the middle column) sit lower than their neighbours */
.people-grid .person-card:nth-child(3n + 2) {
  translate: 0 56px;
}
.person-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}
.person-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: scale 0.9s var(--expo);
}
.person-card:hover img {
  scale: 1.035;
}
.person-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px 16px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: var(--sh-sm);
  display: grid;
  gap: 8px;
  justify-items: start;
}
.person-card p {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- languages: a river of flags behind one ramble, heard in many languages ---------- */

.lang-stage {
  position: relative;
  padding: 44px 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
}
.lang-rows {
  display: grid;
  gap: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.lang-row {
  padding: 3px 0;
}
.lang-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: lang-drift var(--dur, 100s) linear infinite;
}
.lang-row.rev .lang-track {
  animation-direction: reverse;
}
.lang-row:hover .lang-track,
.lang-stage.off .lang-track {
  animation-play-state: paused;
}
/* the track holds the set twice: slide one set plus one gap, then wrap */
@keyframes lang-drift {
  to {
    transform: translateX(calc(-50% - 5px));
  }
}
.lang-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px 0 7px;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(124, 45, 18, 0.08),
    0 6px 16px -8px rgba(124, 45, 18, 0.3);
  white-space: nowrap;
  transition:
    transform 0.55s var(--spring),
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}
.lang-pill b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.lang-pill small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mist);
}
.lang-pill:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 0 0 1px rgba(124, 45, 18, 0.1),
    0 14px 26px -10px rgba(124, 45, 18, 0.45);
}
.lang-pill.on {
  background: var(--lav-50);
  box-shadow:
    0 0 0 2px var(--accent),
    0 10px 22px -10px rgba(234, 88, 12, 0.55);
}
/* round flags cut from one sprite (tools/build-langs.mjs): 10 columns, 9 rows */
.flag {
  flex: none;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: url(assets/flags.webp) calc(var(--fx, 0) * 100% / 9) calc(var(--fy, 0) * 100% / 8) / 1000% 900% no-repeat;
  box-shadow: inset 0 0 0 1px rgba(13, 15, 44, 0.12);
}
.flag.glyph {
  display: grid;
  place-items: center;
  background: var(--grad-deep);
  box-shadow: none;
  color: #fff;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.lang-card {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(540px, calc(100% - 48px));
  translate: -50% -50%;
  display: grid;
  gap: 14px;
  padding: 18px 24px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    var(--ring),
    0 34px 64px -24px rgba(124, 45, 18, 0.5);
}
.lang-card .lc-top {
  font-size: 12.5px;
}
.lang-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px 0 4px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--ring);
}
.lang-chip.swap {
  animation: chip-in 0.6s var(--spring);
}
@keyframes chip-in {
  from {
    transform: scale(0.82);
    opacity: 0.4;
  }
}
.lang-chip .flag {
  width: 24px;
  height: 24px;
}
.lang-chip b {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.lc-auto {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.lang-line {
  min-height: calc(1.4em * 3);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: opacity 0.35s ease;
}
.lang-line.out {
  opacity: 0;
}
.lang-line .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px);
  animation: word 0.4s var(--expo) forwards;
}
/* the highlight grows outward, so punctuation right after the filler sits flush against it */
.lang-line mark {
  border-radius: 4px;
  background: var(--lav-50);
  box-shadow: 0 0 0 4px var(--lav-50);
  color: var(--accent-hi);
}

.lang-all {
  margin-top: 28px;
}
.lang-all summary {
  width: max-content;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--r-btn);
  background: #fff;
  box-shadow: var(--ring), var(--sh-sm);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: box-shadow 0.2s ease;
}
.lang-all summary::-webkit-details-marker {
  display: none;
}
.lang-all summary:hover {
  box-shadow: 0 0 0 1px var(--hairline), var(--sh);
}
.lang-all summary .i {
  color: var(--accent);
  transition: rotate 0.3s var(--expo);
}
.lang-all[open] summary .i {
  rotate: 180deg;
}
.lang-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 28px;
}
.lang-all[open] .lang-list {
  animation: pop 0.5s var(--expo);
}
.lang-list li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--cloud);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.lang-list .flag {
  width: 22px;
  height: 22px;
}
.lang-list .flag.glyph {
  font-size: 8.5px;
}
.lang-list small {
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: var(--mist);
}
.lang-note {
  margin-top: 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--mist);
}

/* ---------- testimonials: four across, two wide; each card leans toward the cursor ---------- */

.tm-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.tm-card {
  grid-column: span 2;
}
.tm-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  padding: 10px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--ring), var(--sh);
  display: grid;
  align-content: start;
  gap: 16px;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition:
    transform 0.6s var(--expo),
    box-shadow 0.4s var(--expo);
  will-change: transform;
}
.tm-card.reveal {
  transition:
    opacity 0.7s var(--expo) var(--d, 0s),
    transform 0.6s var(--expo),
    box-shadow 0.4s var(--expo);
}
.tm-card.reveal:not(.in) {
  transform: perspective(900px) translateY(16px);
}
.tm-card.hover {
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-6px);
  box-shadow:
    0 0 0 1px var(--hairline),
    0 28px 50px -20px rgba(16, 24, 40, 0.3);
  transition:
    transform 0.25s var(--expo),
    box-shadow 0.4s var(--expo);
}
.tm-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
}
.tm-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
  transition: scale 0.9s var(--expo);
}
.tm-card.hover .tm-photo img {
  scale: 1.05;
}
/* sits low on the photo, over the shirt, never the face */
.tm-fav {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px 0 9px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--sh-sm);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s var(--expo),
    transform 0.5s var(--expo);
}
.tm-fav .i {
  color: var(--accent);
}
.tm-card.hover .tm-fav {
  opacity: 1;
  transform: none;
}
.tm-text {
  display: grid;
  gap: 14px;
  padding: 0 8px 8px;
}
.tm-card blockquote {
  font-size: 15.5px;
  line-height: 1.55;
  letter-spacing: -0.008em;
  color: var(--ink);
}
.tm-card mark {
  color: inherit;
  border-radius: 4px;
  padding: 0 2px;
  margin: 0 -2px;
  background: linear-gradient(var(--lavender), var(--lavender)) left / 0% 100% no-repeat;
  transition: background-size 0.7s var(--expo);
}
.tm-card.hover mark {
  background-size: 100% 100%;
}
.tm-card figcaption {
  display: grid;
  font-size: 13.5px;
  color: var(--muted);
}
.tm-card figcaption b {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
/* the two wide cards: photo left, a bigger quote right */
.tm-card.wide {
  grid-column: span 3;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 8px;
}
.tm-card.wide .tm-text {
  padding: 12px 22px;
  gap: 18px;
}
.tm-card.wide blockquote {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 500;
}

/* ---------- privacy ---------- */

.privacy .sec-head {
  margin-bottom: 56px;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.facts li {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}
.fact-art {
  width: 200px;
  height: 200px;
  margin: -12px 0 -6px;
}
.facts h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.facts p {
  max-width: 320px;
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- early access: a white card on the texture ---------- */

.access {
  padding-bottom: 96px;
}
.access-band {
  padding: 80px 32px;
  border-radius: 32px;
  display: grid;
  place-items: center;
}
.access-card {
  width: min(720px, 100%);
  padding: 48px 40px 40px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(13, 15, 44, 0.45);
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}
.access-people {
  display: flex;
  margin-bottom: 4px;
}
.access-people img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  object-position: 50% 22%;
  box-shadow: 0 0 0 3px #fff;
}
.access-people img + img {
  margin-left: -10px;
}
.access-form {
  display: flex;
  gap: 8px;
  width: min(480px, 100%);
  margin-top: 8px;
}
.access-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border-radius: var(--r-btn);
  border: 1px solid var(--hairline);
  background: #fff;
  color: var(--ink);
  font: 500 16px var(--font);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.access-form input::placeholder {
  color: var(--mist);
}
.access-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}
.form-note {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--cloud);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 36px;
  padding-bottom: 40px;
  font-size: 14px;
  color: var(--muted);
}
.footer .logo {
  color: var(--ink);
}
.footer nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.footer nav a {
  text-decoration: none;
}
.footer nav a:hover {
  color: var(--ink);
}
.footer .copy {
  color: var(--mist);
}

/* ---------- responsive ---------- */

@media (max-width: 1360px) {
  .float-person {
    display: none;
  }
  .hero-frame {
    padding: 40px;
  }
}

@media (max-width: 1100px) {
  .stage3 {
    grid-template-columns: 240px minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 20px;
  }
}

@media (max-width: 980px) {
  .lang-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .nav-links {
    display: none;
  }
  .section {
    padding: 88px 0;
  }
  .hero-stage {
    margin-top: 48px;
  }
  .hero-frame {
    padding: 24px;
    border-radius: 24px;
  }
  .player {
    border-radius: 14px;
  }
  .steps3 {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .stage3 {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    gap: 20px;
  }
  .stage-person img,
  .stage-person video {
    aspect-ratio: 4 / 3;
  }
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-bottom: 0;
  }
  .people-grid .person-card:nth-child(3n + 2) {
    translate: none;
  }
  .tm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .tm-card {
    grid-column: span 1;
  }
  .tm-card.wide {
    grid-column: span 2;
  }
  .facts {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .spark-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto 80px auto;
  }
  .spark-link svg {
    display: none;
  }
  .spark-stage[data-phase='smash'] .spark-card.left {
    transform: translateY(calc(50% + 40px)) scale(0.6, 0.5);
  }
  .spark-stage[data-phase='smash'] .spark-card.right {
    transform: translateY(calc(-50% - 40px)) scale(0.6, 0.5);
  }
  .born-card {
    width: min(300px, 90%);
  }
  .spark-card {
    min-height: 0;
  }
  .cursor {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 720px) {
  .lang-stage {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px 0 24px;
  }
  .lang-card {
    position: relative;
    order: -1;
    left: auto;
    top: auto;
    translate: none;
    width: auto;
    margin: 0 16px;
    padding: 16px 18px 18px;
  }
  .lang-line {
    font-size: 18px;
  }
  .lang-pill {
    height: 40px;
  }
  .lang-pill .flag {
    width: 27px;
    height: 27px;
  }
  .lang-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
  }
  .wrap {
    padding: 0 16px;
  }
  .nav {
    height: 64px;
  }
  .hero {
    padding-top: 40px;
  }
  .announce {
    font-size: 13px;
    text-align: left;
  }
  .lede {
    font-size: 18px;
  }
  .hero-ctas {
    width: 100%;
  }
  .hero-ctas .btn {
    flex: 1 1 100%;
  }
  .hero-stage {
    margin-top: 40px;
  }
  .hero-frame {
    padding: 12px;
    border-radius: 20px;
  }
  .player {
    border-radius: 10px;
  }
  .player-sound {
    left: 8px;
    bottom: 8px;
    height: 28px;
    padding: 0 8px;
  }
  .player-sound span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .niches {
    padding-top: 56px;
  }
  .niche-row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 16px -16px 0;
    padding: 4px 16px 8px;
    scrollbar-width: none;
  }
  .niche-row::-webkit-scrollbar {
    display: none;
  }
  .niche-row li {
    flex: none;
  }
  .section {
    padding: 72px 0;
  }
  .sec-head {
    margin-bottom: 36px;
  }
  .sc-copy {
    padding: 20px 22px 24px;
  }
  .people-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin: 0 -16px;
    padding: 0 16px 8px;
    scrollbar-width: none;
  }
  .people-grid::-webkit-scrollbar {
    display: none;
  }
  .person-card {
    flex: 0 0 78%;
    scroll-snap-align: center;
  }
  .tm-grid {
    grid-template-columns: 1fr;
  }
  .tm-card,
  .tm-card.wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .tm-card.wide .tm-text {
    padding: 0 8px 8px;
  }
  .tm-card.wide blockquote {
    font-size: 18px;
  }
  .access {
    padding-bottom: 64px;
  }
  .access-band {
    padding: 24px 12px;
    border-radius: 24px;
  }
  .access-card {
    padding: 36px 20px 28px;
  }
  .access-form {
    flex-direction: column;
  }
  .footer nav {
    margin-left: 0;
  }
}

/* touch screens: no hover, so the highlight and the favourite pill simply show */
@media (hover: none) {
  .tm-fav {
    opacity: 1;
    transform: none;
  }
  .tm-card mark {
    background-size: 100% 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ln-i {
    transform: none;
    transition: none;
  }
  .fp-bubble,
  .fp-chip {
    animation: none;
  }
  .float-person,
  .spark-card,
  .lang-track,
  .rec,
  .sort-orb,
  .nc-spin .i,
  .nc-pfs .pf,
  .step-card.in .thread-demo::after {
    animation: none !important;
  }
}
