/* ————————————————————————————————————————————————————————————
   Ninja Typer — design tokens
   ———————————————————————————————————————————————————————————— */
:root {
  --paper: #F7F4EE;
  --paper-2: #EFEAE0;
  --ink: #141311;
  --ink-70: #141311b3;
  --ink-50: #14131180;
  --ink-30: #1413114d;
  --ink-10: #1413111a;

  /* accents — default persimmon */
  --accent: oklch(0.72 0.19 62);
  --accent-soft: oklch(0.92 0.06 62);
  --accent-ink: oklch(0.28 0.08 62);
  --accent-2: oklch(0.72 0.14 150);
  --accent-2-soft: oklch(0.93 0.04 150);

  --font-display: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-off: 4px 4px 0 var(--ink);
  --shadow-off-sm: 2px 2px 0 var(--ink);
  --border: 1.5px solid var(--ink);
}

[data-theme="matcha"] {
  --accent: oklch(0.72 0.18 150);
  --accent-soft: oklch(0.93 0.05 150);
  --accent-ink: oklch(0.28 0.08 150);
  --accent-2: oklch(0.72 0.19 62);
  --accent-2-soft: oklch(0.92 0.06 62);
}
[data-theme="indigo"] {
  --accent: oklch(0.56 0.18 270);
  --accent-soft: oklch(0.92 0.05 270);
  --accent-ink: oklch(0.22 0.1 270);
  --accent-2: oklch(0.72 0.19 62);
  --accent-2-soft: oklch(0.92 0.06 62);
}
[data-theme="cherry"] {
  --accent: oklch(0.65 0.22 20);
  --accent-soft: oklch(0.93 0.05 20);
  --accent-ink: oklch(0.28 0.12 20);
  --accent-2: oklch(0.72 0.14 150);
  --accent-2-soft: oklch(0.93 0.04 150);
}

[data-mode="dark"] {
  --paper: #14130F;
  --paper-2: #1E1C17;
  --ink: #F5F1E8;
  --ink-70: #F5F1E8b3;
  --ink-50: #F5F1E880;
  --ink-30: #F5F1E84d;
  --ink-10: #F5F1E81a;
  --shadow-off: 4px 4px 0 var(--ink);
  --shadow-off-sm: 2px 2px 0 var(--ink);
}
[data-mode="dark"][data-theme="persimmon"], [data-mode="dark"]:not([data-theme]) {
  --accent-soft: oklch(0.3 0.1 62);
}
[data-mode="dark"][data-theme="matcha"] { --accent-soft: oklch(0.3 0.08 150); }
[data-mode="dark"][data-theme="indigo"]  { --accent-soft: oklch(0.3 0.1 270); }
[data-mode="dark"][data-theme="cherry"]  { --accent-soft: oklch(0.3 0.12 20); }

/* ————————————————————————————————————————————————————————————
   Base
   ———————————————————————————————————————————————————————————— */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* clip (not hidden) so the sticky nav never loses its scroll root */
.app { overflow-x: hidden; overflow-x: clip; }

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 2px 6px;
  border: 1.2px solid var(--ink);
  border-bottom-width: 2.5px;
  border-radius: 5px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* ————————————————————————————————————————————————————————————
   Buttons
   ———————————————————————————————————————————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1.5px solid var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 8px; }
.btn-large { padding: 16px 24px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: var(--shadow-off-sm); }
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.btn-primary:active { transform: translate(1px, 1px); box-shadow: 0 0 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink-10); }
.btn-block { width: 100%; justify-content: center; }

/* ————————————————————————————————————————————————————————————
   Nav
   ———————————————————————————————————————————————————————————— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-10);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 24px;
  flex: 1;
  margin-left: 8px;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-70);
  font-weight: 500;
  transition: color 120ms;
}
.nav-links a:hover { color: var(--ink); }
.nav-ctas { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-signin { font-size: 14px; font-weight: 500; }
.nav-kbd {
  margin-left: 4px;
  font-size: 10px;
  padding: 1px 4px;
  background: var(--ink-10);
  border: none;
  border-radius: 3px;
  font-weight: 500;
}

/* ————————————————————————————————————————————————————————————
   Hero — shared
   ———————————————————————————————————————————————————————————— */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  background: var(--paper-2);
  border: 1.2px solid var(--ink-30);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero-title-tight { font-size: clamp(40px, 5.5vw, 64px); }
.hero-title-accent {
  display: inline-block;
  position: relative;
  color: var(--ink);
}
.hero-title-accent::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: -4px;
  height: 16px;
  background: var(--accent);
  z-index: -1;
  transform: skewX(-6deg);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-70);
  max-width: 560px;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.hero-ctas { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-cta-sub { font-size: 13px; color: var(--ink-50); font-family: var(--font-mono); }

/* Centered variant */
.hero-centered { text-align: center; }
.hero-centered .hero-eyebrow { margin-inline: auto; }
.hero-centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero-centered .hero-ctas { justify-content: center; }
.hero-centered .hero-demo-wrap { max-width: 720px; margin: 40px auto 0; }

/* Split variant */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-stats {
  display: flex;
  gap: 36px;
  border-top: 1.5px dashed var(--ink-30);
  padding-top: 24px;
}
.hero-stats > div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-stats span { font-size: 12px; color: var(--ink-50); font-family: var(--font-mono); }

/* Demo-first variant */
.hero-demo .hero-demo-header { max-width: 780px; margin-bottom: 40px; }
.hero-demo .hero-demo-header .hero-sub { margin-bottom: 0; }
.hero-demo-big {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.hero-demo-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--accent-soft);
  box-shadow: var(--shadow-off);
}
.hero-tone-picker { margin-top: 12px; }
.tone-picker-label { font-size: 12px; color: var(--ink-50); font-family: var(--font-mono); }

/* ————————————————————————————————————————————————————————————
   Ninja mask illustration
   ———————————————————————————————————————————————————————————— */
.mask-illustration {
  position: relative;
  aspect-ratio: 1 / 1;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-off);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.mask-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.mask-svg { width: 66%; height: 66%; position: relative; z-index: 2; }
.mask-float {
  position: absolute;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}
.mask-float-1 { top: 12%; right: 10%; }
.mask-float-2 { bottom: 18%; left: 8%; animation-delay: -1.2s; }
.mask-float-3 { top: 60%; right: 16%; animation-delay: -2.4s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(90deg); }
}
.mask-scroll {
  position: absolute;
  bottom: 24px; left: 24px;
  display: flex; align-items: center; gap: 10px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  padding: 6px 14px 6px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  z-index: 4;
  box-shadow: var(--shadow-off-sm);
}
.mask-scroll-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

/* ————————————————————————————————————————————————————————————
   Shuriken spin
   ———————————————————————————————————————————————————————————— */
.shuriken-spin { animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ————————————————————————————————————————————————————————————
   Live demo card
   ———————————————————————————————————————————————————————————— */
.demo-card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-off);
  overflow: hidden;
  font-family: var(--font-body);
}
.demo-chrome {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: var(--paper-2);
  border-bottom: 1.5px solid var(--ink);
  gap: 16px;
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink); opacity: 0.2;
}
.demo-dots span:first-child { background: var(--accent); opacity: 0.8; }
.demo-app { display: flex; flex-direction: column; gap: 1px; flex: 1; align-items: center; }
.demo-app-name { font-size: 12px; font-weight: 600; font-family: var(--font-mono); }
.demo-app-hint { font-size: 11px; color: var(--ink-50); font-family: var(--font-mono); }
.demo-shortcut { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-50); font-family: var(--font-mono); }
.demo-hold { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }

.demo-surface {
  padding: 28px 28px 20px;
  min-height: 220px;
  display: flex; flex-direction: column;
  position: relative;
}
.demo-placeholder { color: var(--ink-50); font-size: 16px; text-align: center; margin: auto; }

.demo-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-70);
  margin-bottom: 10px;
}
.demo-label.done { color: var(--accent-ink); }
.demo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.demo-dot.live { animation: blink 1s ease-in-out infinite; }

.demo-raw-text {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-50);
  line-height: 1.5;
  min-height: 64px;
  text-wrap: pretty;
}
.demo-waves {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 18px;
  height: 36px;
}

.demo-caret {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--ink);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

.demo-clean {
  animation: slide-up 340ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.demo-clean-text {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  white-space: pre-wrap;
  text-wrap: pretty;
}

.demo-footer {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--ink-10);
  background: var(--paper-2);
}
.demo-meta { font-size: 11px; font-family: var(--font-mono); color: var(--ink-50); }

/* ————————————————————————————————————————————————————————————
   Sections shared
   ———————————————————————————————————————————————————————————— */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  padding: 5px 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--accent-ink);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-70);
  margin: 0;
  text-wrap: pretty;
}

/* ————————————————————————————————————————————————————————————
   Logo marquee
   ———————————————————————————————————————————————————————————— */
.logos {
  padding-top: 10px;
  padding-bottom: 30px;
  border-top: 1px dashed var(--ink-30);
  border-bottom: 1px dashed var(--ink-30);
  max-width: 100%;
  margin: 40px 0;
}
.logos-label {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.logos-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.logos-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); transform: translateZ(0); }
.logos-row { display: flex; gap: 14px; animation: scroll-x 40s linear infinite; width: max-content; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.logo-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  background: var(--paper);
  border: 1.2px solid var(--ink-30);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}
.logo-chip-glyph {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--paper-2);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

/* ————————————————————————————————————————————————————————————
   How it works
   ———————————————————————————————————————————————————————————— */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.how-card {
  padding: 28px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  position: relative;
  cursor: default;
}
.how-card.active {
  background: var(--accent-soft);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-off);
}
.how-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-50);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}
.how-illu {
  background: var(--paper-2);
  border: 1.2px solid var(--ink-30);
  border-radius: var(--radius-sm);
  height: 160px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  overflow: hidden;
}
.how-card.active .how-illu { border-color: var(--ink); background: var(--paper); }
.step-svg { width: 100%; height: 100%; }
.how-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.how-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-70);
  margin: 0;
  text-wrap: pretty;
}

.pulse-ring { animation: pulse-ring 1.2s ease-out infinite; transform-origin: 40px 95px; }
@keyframes pulse-ring {
  0% { r: 16; opacity: 0.8; }
  100% { r: 30; opacity: 0; }
}
.wave-anim { animation: wave-pulse 1s ease-in-out infinite; transform-origin: center; }
@keyframes wave-pulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.4); }
}
.caret-blink { animation: blink 1s step-end infinite; }
.shur-fly { animation: shur-fly 1.4s ease-out infinite; transform-origin: 0 0; }
@keyframes shur-fly {
  0% { transform: translate(14px, 74px) rotate(0deg); }
  60% { transform: translate(44px, 74px) rotate(720deg); }
  100% { transform: translate(44px, 74px) rotate(720deg); opacity: 1; }
}

/* ————————————————————————————————————————————————————————————
   Integrations — sliding marquees
   ———————————————————————————————————————————————————————————— */
.integ-marquee {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* let rows extend beyond the section's inner padding and use viewport-edge fades */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 8px calc(50vw - 50%);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
  /* own compositor layer: masked animating rows flicker on iOS without it */
  transform: translateZ(0);
}
.integ-row {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
  padding: 6px 0;
}
.integ-row-left  { animation: integ-slide-left  48s linear infinite; }
.integ-row-right { animation: integ-slide-right 54s linear infinite; }
@keyframes integ-slide-left  { to { transform: translateX(calc(-100% / 3)); } }
@keyframes integ-slide-right { from { transform: translateX(calc(-100% / 3)); } to { transform: translateX(0); } }
.integ-marquee:hover .integ-row { animation-play-state: paused; }

.integ-tile {
  width: 180px;
  flex-shrink: 0;
  padding: 18px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.integ-tile:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-off-sm);
  background: var(--accent-soft);
}
.integ-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
}
.integ-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.integ-check {
  position: absolute;
  top: 14px; right: 14px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid; place-items: center;
}

.integ-catchall {
  margin-top: 10px;
  padding: 22px 28px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
}
.integ-catchall-inner {
  display: flex; align-items: center; gap: 20px;
  justify-content: center;
}
.integ-catchall-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.integ-catchall-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.7;
  margin-top: 2px;
}

/* ————————————————————————————————————————————————————————————
   Pricing
   ———————————————————————————————————————————————————————————— */
/* ————————————————————————————————————————————————————————————
   Pricing — single bold card
   ———————————————————————————————————————————————————————————— */
.pricing .section-head { max-width: 780px; }

.price-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-off);
  overflow: hidden;
  max-width: 1040px;
}
.price-hero-left {
  padding: 40px;
  border-right: 1.5px solid var(--ink);
  display: flex; flex-direction: column; gap: 24px;
}
.price-hero-right {
  padding: 40px;
  background: var(--accent-soft);
  display: flex; flex-direction: column; gap: 28px;
}

.price-mode-switch {
  display: inline-flex;
  padding: 4px;
  background: var(--paper-2);
  border: 1.2px solid var(--ink-30);
  border-radius: 100px;
  gap: 4px;
  align-self: flex-start;
}
.price-mode-switch button {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-70);
  transition: background 150ms, color 150ms;
}
.price-mode-switch button.active {
  background: var(--ink);
  color: var(--paper);
}

.price-big {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  line-height: 1;
}
.price-currency {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  padding-top: 14px;
  color: var(--ink-70);
}
.price-number {
  font-family: var(--font-display);
  font-size: 112px;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.price-suffix {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding-bottom: 10px;
  padding-left: 6px;
  font-size: 16px;
  font-weight: 500;
}
.price-suffix-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-seats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  border: 1.2px dashed var(--ink-30);
}
.price-seats label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-70);
}
.price-seats-control {
  display: flex;
  align-items: center;
  gap: 12px;
}
.price-seats-control button {
  width: 34px; height: 34px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  font-size: 18px;
  font-weight: 700;
  display: grid; place-items: center;
  transition: transform 100ms;
}
.price-seats-control button:hover { background: var(--accent-soft); }
.price-seats-control button:active { transform: translateY(1px); }
.price-seats-value {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.price-seats-value span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.price-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--ink-30);
  border-radius: 2px;
  outline: none;
}
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  cursor: pointer;
}
.price-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  cursor: pointer;
}

.price-foot {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-50);
  text-align: center;
}

.price-anchor {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1.5px dashed var(--ink-30);
}
.price-anchor-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--ink);
}
.price-anchor-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  margin-top: 6px;
}
.price-anchor-math {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-70);
  line-height: 1.6;
}

.price-included {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-included li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.price-included svg { color: var(--accent-ink); flex-shrink: 0; }
.price-included-plus {
  color: var(--ink);
}
.price-included-plus::before {
  content: "team";
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 2px 6px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: -4px;
}

@media (max-width: 900px) {
  .price-hero { grid-template-columns: 1fr; }
  .price-hero-left { border-right: none; border-bottom: 1.5px solid var(--ink); }
  .price-number { font-size: 84px; }
}

/* ————————————————————————————————————————————————————————————
   Footer CTA
   ———————————————————————————————————————————————————————————— */
.footer-cta {
  margin-top: 60px;
  padding: 100px 40px 40px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.footer-cta-inner { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.footer-shuriken {
  position: absolute;
  top: 40px; right: -80px;
  width: 300px;
  opacity: 0.12;
  animation: spin 20s linear infinite;
  z-index: 1;
}
.footer-shuriken svg { width: 100%; height: 100%; }
.footer-cta-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0 0 20px;
  text-wrap: balance;
}
.footer-cta-sub {
  font-size: 19px;
  color: var(--ink-70);
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto 36px;
  text-wrap: pretty;
}
[data-mode="dark"] .footer-cta { background: var(--paper); color: var(--ink); }
.footer-cta-buttons {
  display: flex; gap: 16px; justify-content: center; margin-bottom: 20px;
  flex-wrap: wrap;
}
.footer-cta .btn-primary { border-color: var(--paper); }
.footer-cta .btn-ghost { color: var(--paper); border-color: var(--paper); }
.footer-cta .btn-ghost:hover { background: rgba(255,255,255,0.1); }
[data-mode="dark"] .footer-cta .btn-primary { border-color: var(--ink); }
[data-mode="dark"] .footer-cta .btn-ghost { color: var(--ink); border-color: var(--ink); }
[data-mode="dark"] .footer-cta .btn-ghost:hover { background: var(--ink-10); }

.footer-cta-meta {
  display: flex; justify-content: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-50);
  flex-wrap: wrap;
}

.site-footer {
  max-width: 1200px;
  margin: 80px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
[data-mode="dark"] .site-footer { border-top-color: var(--ink-10); }
.site-footer-left { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: var(--ink-50); font-family: var(--font-mono); }
.site-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer-links a { font-size: 13px; color: var(--ink-70); transition: color 150ms; }
.site-footer-links a:hover { color: var(--paper); }
[data-mode="dark"] .site-footer-links a:hover { color: var(--ink); }

/* ————————————————————————————————————————————————————————————
   Tweaks panel
   ———————————————————————————————————————————————————————————— */
.tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  width: 280px;
  padding: 18px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-off);
  font-family: var(--font-body);
}
.tweaks-header {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-70);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--ink-30);
}
.tweaks-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: blink 1.4s ease-in-out infinite;
}
.tweaks-group { margin-bottom: 14px; }
.tweaks-group:last-child { margin-bottom: 0; }
.tweaks-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-50);
  margin-bottom: 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tweaks-options { display: flex; flex-wrap: wrap; gap: 6px; }
.tweak-chip {
  padding: 6px 10px;
  border: 1px solid var(--ink-30);
  border-radius: 6px;
  background: var(--paper);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-70);
  transition: all 150ms;
}
.tweak-chip:hover { border-color: var(--ink); color: var(--ink); }
.tweak-chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.tweak-swatch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--ink-30);
  border-radius: 100px;
  background: var(--paper);
  font-size: 12px;
  color: var(--ink-70);
  transition: all 150ms;
}
.tweak-swatch span {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--ink);
}
.tweak-swatch.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ————————————————————————————————————————————————————————————
   Ninja flair — dividers, mascot, cursor trail
   ———————————————————————————————————————————————————————————— */
.shur-divider {
  position: relative;
  height: 110px;
  margin: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.shur-divider-line {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(0);
}
.shur-divider.is-visible .shur-divider-line {
  animation: slash-line 1600ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: 300ms;
}
.shur-divider.right-to-left .shur-divider-line { transform-origin: right; }
@keyframes slash-line { to { transform: scaleX(1); } }

.shur-divider-star {
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}
.shur-divider-star svg { width: 48px; height: 48px; }
.shur-divider.is-visible .shur-divider-star {
  animation: star-fly 2400ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.shur-divider.right-to-left .shur-divider-star {
  left: auto; right: -60px;
}
.shur-divider.right-to-left.is-visible .shur-divider-star {
  animation-name: star-fly-reverse;
  animation-duration: 2400ms;
}
@keyframes star-fly {
  0%   { left: -60px; opacity: 0; transform: translateY(-50%) rotate(0deg); }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: calc(100% + 60px); opacity: 0; transform: translateY(-50%) rotate(1800deg); }
}
@keyframes star-fly-reverse {
  0%   { right: -60px; opacity: 0; transform: translateY(-50%) rotate(0deg); }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { right: calc(100% + 60px); opacity: 0; transform: translateY(-50%) rotate(-1800deg); }
}

.shur-divider-slash {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 8px;
  background: linear-gradient(90deg, transparent, var(--accent-soft) 50%, transparent);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  opacity: 0;
}
.shur-divider.is-visible .shur-divider-slash {
  animation: slash-glow 1800ms ease-out forwards;
  animation-delay: 400ms;
}
@keyframes slash-glow {
  0% { transform: translateY(-50%) scaleX(0); opacity: 0; }
  40% { opacity: 0.8; }
  100% { transform: translateY(-50%) scaleX(1); opacity: 0; }
}

/* Peeking mask mascot */
.peek-mask {
  position: fixed;
  z-index: 40;
  width: 110px;
  height: 95px;
  pointer-events: none;
  transition: transform 600ms cubic-bezier(0.34, 1.3, 0.64, 1), opacity 400ms;
}
.peek-mask svg { width: 100%; height: 100%; overflow: visible; }
.peek-body { animation: peek-bob 2.4s ease-in-out infinite; transform-origin: 70px 60px; }
.peek-streaks { opacity: 0; animation: peek-streak 2.4s ease-in-out infinite; }
@keyframes peek-bob {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(6px, -2px) rotate(-3deg); }
}
@keyframes peek-streak {
  0%, 40%  { opacity: 0; transform: translateX(0); }
  55%      { opacity: 1; transform: translateX(-4px); }
  70%, 100%{ opacity: 0; transform: translateX(0); }
}
.peek-1 { bottom: 20px;  left: -20px;  transform: rotate(16deg); }
.peek-2 { top: 140px;    right: -20px; transform: rotate(-12deg) scaleX(-1); }
.peek-3 { bottom: 40px;  right: -20px; transform: rotate(-10deg) scaleX(-1); }
.peek-4 { bottom: -20px; left: 22%;    transform: rotate(4deg); }
@media (max-width: 900px) { .peek-mask { display: none; } }

/* Cursor trail */
.cursor-trail-layer {
  position: fixed; inset: 0;
  z-index: 1000;
  pointer-events: none;
}
.cursor-star {
  position: absolute;
  width: 14px; height: 14px;
  animation: cursor-fade 700ms ease-out forwards;
}
.cursor-star svg { width: 100%; height: 100%; }
@keyframes cursor-fade {
  0%   { opacity: 0.55; transform: translate(-50%, -50%) scale(0.6) rotate(0deg); }
  30%  { opacity: 0.55; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1) rotate(360deg); }
}

/* ————————————————————————————————————————————————————————————
   Manifesto / Code of the Ninja
   ———————————————————————————————————————————————————————————— */
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.code-card {
  padding: 28px 24px 20px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.code-card:nth-child(even) { background: var(--accent-soft); }
.code-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-off);
}
.code-num {
  font-family: "Times New Roman", serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--accent-ink);
  margin-bottom: 8px;
}
.code-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.code-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-70);
  margin: 0;
  text-wrap: pretty;
}
.code-index {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 12px;
  border-top: 1px dashed var(--ink-30);
}
@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr 1fr; }
}

/* ————————————————————————————————————————————————————————————
   Privacy
   ———————————————————————————————————————————————————————————— */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: stretch;
}
.privacy-title-alt { color: var(--accent-ink); }
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column; gap: 14px;
  align-self: center;
}
.privacy-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.privacy-check {
  width: 24px; height: 24px;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}
.privacy-viz {
  padding: 24px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-off);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 340px;
}
.privacy-toggle {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.privacy-toggle-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-70);
}
.privacy-toggle-btns {
  display: inline-flex; padding: 3px; gap: 3px;
  background: var(--paper-2);
  border: 1.2px solid var(--ink-30);
  border-radius: 100px;
}
.privacy-toggle-btns button {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink-70);
  white-space: nowrap;
  transition: background 150ms, color 150ms;
}
.privacy-toggle-btns button.active {
  background: var(--ink);
  color: var(--paper);
}
.privacy-svg {
  width: 100%;
  height: auto;
  flex: 1;
  max-height: 220px;
}
/* Mac glides between centered (on-device) and left (cloud) positions */
.priv-node {
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.priv-node.priv-center { transform: translateX(100px); }
.priv-node.priv-left   { transform: translateX(0); }
.priv-label { transition: opacity 300ms ease; }
.priv-lock { animation: priv-lock-in 400ms ease both; }
@keyframes priv-lock-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.priv-waves path { animation: priv-wave 1.6s ease-in-out infinite; }
.priv-waves path:nth-child(2) { animation-delay: 0.2s; }
.priv-waves path:nth-child(3) { animation-delay: 0.1s; }
.priv-waves path:nth-child(4) { animation-delay: 0.3s; }
@keyframes priv-wave {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.privacy-flow { animation: privacy-dash 0.8s linear infinite; }
@keyframes privacy-dash { to { stroke-dashoffset: -24; } }
.priv-cloud-group { animation: priv-fade 300ms ease both; }
@keyframes priv-fade { from { opacity: 0; } to { opacity: 1; } }
.priv-packet {
  animation: priv-packet-fly 1.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes priv-packet-fly {
  0% { transform: translate(160px, 100px); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translate(240px, 100px); opacity: 0; }
}
.privacy-status {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--paper-2);
  border: 1px dashed var(--ink-30);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-70);
}
.privacy-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: blink 1.4s ease-in-out infinite;
}
.privacy-dot.offline { background: var(--accent-2); }
@media (max-width: 900px) {
  .privacy-grid { grid-template-columns: 1fr; gap: 24px; }
  .privacy-viz { min-height: 300px; }
}

/* ————————————————————————————————————————————————————————————
   Race arena (interactive speed challenge)
   ———————————————————————————————————————————————————————————— */
.race-arena {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-off);
}
.race-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.race-lane {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--paper-2);
  border: var(--border);
  border-radius: 14px;
  transition: transform 200ms, box-shadow 200ms, border-color 200ms;
}
.race-lane.lane-winner {
  border-color: var(--accent-ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-2px, -2px);
}
.race-lane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.race-lane-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.race-lane-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink-70);
  letter-spacing: 0.08em;
}
.race-track {
  position: relative;
  height: 36px;
  background: var(--paper);
  border: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.race-track-fill {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  right: 0;
  background: var(--accent-soft);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.race-track-fill.user-fill { background: var(--ink-10); }
.smooth-fill { transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1); }
.race-track-runner {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  transition: left 180ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: left;
  z-index: 3;
}
.smooth-runner { transition: left 220ms cubic-bezier(0.22, 1, 0.36, 1); }

/* 8-point ninja star */
.ninja-star { filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.18)); }
.ninja-star-spin { animation: ninja-star-spin 0.7s linear infinite; transform-origin: center; }
@keyframes ninja-star-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.kbd-runner { animation: kbd-wobble 0.6s ease-in-out infinite; transform-origin: center; }
@keyframes kbd-wobble {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-2px) rotate(2deg); }
}

/* Sparkle trail behind ninja */
.ninja-sparks {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 80px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding-right: 22px;
  z-index: 2;
  will-change: transform;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.spark {
  font-size: 14px;
  color: var(--accent-ink);
  animation: spark-twinkle 0.8s ease-in-out infinite;
}
.spark.s1 { animation-delay: 0s; opacity: 0.3; }
.spark.s2 { animation-delay: 0.1s; opacity: 0.5; font-size: 11px; }
.spark.s3 { animation-delay: 0.2s; opacity: 0.7; }
.spark.s4 { animation-delay: 0.3s; opacity: 0.9; font-size: 16px; }
@keyframes spark-twinkle {
  0%, 100% { transform: scale(1); opacity: var(--o, 0.6); }
  50% { transform: scale(1.4); opacity: 1; }
}

/* Paste-bust overlay */
.race-paste-bust {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  z-index: 20;
  background: color-mix(in oklab, var(--ink) 30%, transparent);
  backdrop-filter: blur(3px);
  border-radius: var(--radius);
  animation: paste-in 140ms ease;
}
@keyframes paste-in { from { opacity: 0; } to { opacity: 1; } }
.paste-bust-card {
  padding: 28px 36px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 8px 8px 0 var(--ink);
  text-align: center;
  transform: rotate(-2deg);
  animation: paste-pop 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes paste-pop {
  0% { transform: rotate(-2deg) scale(0.6); opacity: 0; }
  60% { transform: rotate(-2deg) scale(1.1); opacity: 1; }
  100% { transform: rotate(-2deg) scale(1); opacity: 1; }
}
.paste-bust-emoji {
  font-size: 54px;
  line-height: 1;
  margin-bottom: 8px;
  animation: paste-shake 0.4s ease-in-out infinite;
}
@keyframes paste-shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}
.paste-bust-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.paste-bust-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-70);
  margin-top: 6px;
}
.race-lane-status {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-70);
  min-height: 1.4em;
}
.race-muted { color: var(--ink-60); }
.race-live { color: var(--accent-ink); font-weight: 700; }
.race-done { color: var(--accent-ink); font-weight: 700; }

/* Countdown overlay */
.race-countdown {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(2px);
  border-radius: var(--radius);
  z-index: 10;
  pointer-events: none;
  animation: countdown-in 200ms ease;
}
@keyframes countdown-in { from { opacity: 0; } to { opacity: 1; } }
.race-countdown-num {
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent-ink);
  animation: countdown-pop 700ms ease;
}
@keyframes countdown-pop {
  0% { transform: scale(0.6); opacity: 0; }
  40% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.race-countdown-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-70);
  margin-top: 8px;
  text-align: center;
}

/* Sentence + input */
.race-prompt {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--paper-2);
  border: var(--border);
  border-radius: 14px;
}
.race-prompt-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-70);
}
.race-prompt-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--ink);
  user-select: none;
}
.race-char {
  transition: color 80ms, background 80ms;
  border-radius: 2px;
  padding: 0 1px;
}
.race-char-pending { color: var(--ink-40); }
.race-char-ok { color: var(--ink); }
.race-char-bad {
  color: #b91c1c;
  background: #fee2e2;
}
.race-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 16px;
  background: var(--paper);
  border: var(--border);
  border-radius: 10px;
  outline: none;
  transition: box-shadow 120ms, border-color 120ms;
}
.race-input:focus {
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.race-input:disabled {
  background: var(--paper-2);
  color: var(--ink-40);
  cursor: not-allowed;
}

/* Scoreboard */
.race-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: var(--paper-2);
  border: var(--border);
  border-radius: 14px;
  animation: score-in 400ms ease;
}
@keyframes score-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.score-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--paper);
  border: var(--border);
  border-radius: 12px;
  text-align: center;
  transition: transform 200ms, box-shadow 200ms, border-color 200ms;
}
.score-card.score-winner {
  border-color: var(--accent-ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-2px, -2px);
  background: var(--accent-soft);
}
.score-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-70);
}
.score-time {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.score-wpm {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.score-acc {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-70);
}
.score-vs {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-40);
  text-align: center;
}
.race-verdict {
  grid-column: 1 / -1;
  padding: 14px 18px;
  background: var(--paper);
  border: var(--border);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
}

/* Controls */
.race-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-large {
  padding: 14px 26px;
  font-size: 16px;
}

@media (max-width: 720px) {
  .race-arena { padding: 24px; }
  .race-lanes { grid-template-columns: 1fr; }
  .race-prompt-text { font-size: 20px; }
  .race-scoreboard { grid-template-columns: 1fr; }
  .score-vs { display: none; }
  .race-countdown-num { font-size: 96px; }
}

/* Keep flair section padding sane */
.manifesto, .privacy, .speedbench { padding-top: 60px; padding-bottom: 60px; }
@media (max-width: 900px) {
  .nav-inner { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero, .section { padding-left: 20px; padding-right: 20px; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-demo-big { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .integ-grid, .integ-row { gap: 10px; }
  .integ-tile { width: 150px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-hero { grid-template-columns: 1fr; }
  .tweaks-panel { width: calc(100% - 40px); bottom: 10px; right: 10px; left: 10px; }
}

/* ————————————————————————————————————————————————————————————
   Smart Contexts (LLM polishing adapts to app/tone)
   ———————————————————————————————————————————————————————————— */
.smart-contexts { padding-top: 60px; padding-bottom: 60px; }
.sc-accent { color: var(--accent-ink); }
.sc-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 10px;
  background: var(--paper-2);
  border: var(--border);
  border-radius: 14px;
}
.sc-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: transform 150ms, box-shadow 150ms, background 150ms;
}
.sc-tab:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}
.sc-tab-active {
  background: var(--accent);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.sc-tab-active:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.sc-tab-emoji { font-size: 16px; line-height: 1; }

.sc-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}
.sc-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-off);
  min-height: 300px;
}
.sc-raw { background: var(--paper-2); }
.sc-polished {
  background: var(--paper);
  border-color: var(--accent-ink);
}
.sc-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--ink-30);
}
.sc-panel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-70);
  font-weight: 600;
}
.sc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}
.sc-dot-red { background: var(--accent-2); }
.sc-dot-green { background: #22c55e; }
.sc-panel-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
  text-align: right;
}
.sc-raw-text {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-70);
  font-style: italic;
}
.sc-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 32px;
}
.sc-wave-bar {
  display: block;
  flex: 1;
  min-height: 4px;
  background: var(--accent);
  border-radius: 2px;
  animation: sc-wave 1.2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes sc-wave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}
.sc-polished-text {
  flex: 1;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-wrap;
  min-height: 120px;
}
.sc-caret {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: var(--accent-ink);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s steps(2) infinite;
}
.sc-meta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--ink-30);
}
.sc-tone { display: flex; align-items: center; gap: 8px; }
.sc-meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-60);
}
.sc-meta-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
}
.sc-changes { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-chip {
  padding: 4px 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-ink);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-ink);
  font-weight: 600;
  white-space: nowrap;
}
.sc-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 8px;
}
.sc-arrow svg {
  animation: sc-arrow-pulse 2s ease-in-out infinite;
}
@keyframes sc-arrow-pulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
.sc-arrow-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-60);
  text-align: center;
  line-height: 1.3;
}
.sc-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--paper-2);
  border: var(--border);
  border-radius: 14px;
}
.sc-footer-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.sc-footer-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-ink);
  line-height: 1;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.sc-footer-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-70);
}
.sc-footer-body strong {
  color: var(--ink);
  font-weight: 700;
}
@media (max-width: 900px) {
  .sc-split { grid-template-columns: 1fr; }
  .sc-arrow { transform: rotate(90deg); padding: 8px 0; }
  .sc-footer { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .sc-tab { padding: 8px 12px; font-size: 13px; }
}


/* ShortcutBinder */
.binder-section { background: var(--paper); }
.binder-stage { display: grid; grid-template-columns: minmax(320px, 1.1fr) 1.2fr; gap: 56px; align-items: center; max-width: 1100px; }
.binder-key { aspect-ratio: 1.4 / 1; background: var(--paper-2); border: var(--border); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); position: relative; display: grid; place-items: center; transition: transform 120ms ease, box-shadow 120ms ease, background 200ms; }
.binder-key.is-pressed { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); background: var(--accent-soft); }
.binder-key.is-listening { background: var(--accent-soft); animation: binder-pulse 1.4s ease-in-out infinite; }
@keyframes binder-pulse { 0%,100%{box-shadow:6px 6px 0 var(--ink),0 0 0 0 var(--accent);} 50%{box-shadow:6px 6px 0 var(--ink),0 0 0 14px transparent;} }
.binder-key-inner { text-align: center; padding: 24px; }
.binder-key-caps { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.binder-cap { font-family: var(--font-mono); font-weight: 700; font-size: clamp(28px, 5vw, 48px); background: var(--paper); border: var(--border); border-radius: 12px; padding: 10px 18px; min-width: 64px; box-shadow: 3px 3px 0 var(--ink); color: var(--ink); }
.binder-plus { font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--ink-50); }
.binder-key-hint { font-family: var(--font-mono); font-size: 13px; color: var(--ink-50); letter-spacing: 0.04em; text-transform: uppercase; }
.binder-controls { display: flex; flex-direction: column; gap: 24px; }
.binder-record { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-family: var(--font-display); font-weight: 600; font-size: 15px; background: var(--ink); color: var(--paper); border: var(--border); border-radius: 999px; padding: 12px 22px; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform 100ms; }
.binder-record:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.binder-record.is-live { background: var(--accent); color: var(--ink); }
.binder-record-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--paper); }
.binder-record.is-live .binder-record-dot { background: var(--ink); animation: binder-rec 0.9s ease-in-out infinite; }
@keyframes binder-rec { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.binder-presets-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 10px; }
.binder-presets-list { display: flex; flex-wrap: wrap; gap: 10px; }
.binder-preset { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: var(--border); border-radius: 10px; padding: 8px 12px; font-family: var(--font-body); font-size: 14px; color: var(--ink); cursor: pointer; transition: transform 80ms, box-shadow 80ms, background 150ms; }
.binder-preset:hover { transform: translate(-1px, -1px); box-shadow: 2px 2px 0 var(--ink); }
.binder-preset.is-active { background: var(--accent-soft); }
.binder-preset kbd { font-family: var(--font-mono); font-size: 12px; background: var(--paper-2); border: 1px solid var(--ink-30); border-radius: 5px; padding: 2px 6px; }
.binder-preset .plus { color: var(--ink-30); }
.binder-preset-label { color: var(--ink-50); font-size: 12px; margin-left: 4px; }
.binder-saved { opacity: 0; font-family: var(--font-mono); font-size: 13px; color: var(--accent-ink); background: var(--accent-soft); padding: 8px 14px; border-radius: 8px; border: 1px solid var(--accent); align-self: flex-start; transition: opacity 180ms; }
.binder-saved.is-shown { opacity: 1; }
@media (max-width: 900px) { .binder-stage { grid-template-columns: 1fr; gap: 32px; } .binder-key { aspect-ratio: 1.6 / 1; } }

/* Testimonials scrolls */
.testimonials-section { background: var(--paper-2); }
.scrolls-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; max-width: 1200px; }
.scroll { margin: 0; position: relative; padding: 0; transform: rotate(var(--scroll-rot, -0.6deg)); transition: transform 300ms; }
.scroll-0 { --scroll-rot: -0.9deg; }
.scroll-1 { --scroll-rot: 0.8deg; }
.scroll:hover { transform: rotate(0deg) translateY(-4px); }
.scroll-cap { height: 18px; background: var(--ink); border-radius: 10px 10px 4px 4px; position: relative; margin: 0 -6px; box-shadow: 2px 2px 0 var(--ink-30); }
.scroll-cap-bottom { border-radius: 4px 4px 10px 10px; }
.scroll-cap::before, .scroll-cap::after { content: ""; position: absolute; top: 2px; width: 10px; height: 14px; background: var(--accent-ink); border-radius: 3px; }
.scroll-cap::before { left: 10px; }
.scroll-cap::after { right: 10px; }
.scroll-rod { position: absolute; left: -18px; right: -18px; top: 50%; height: 8px; background: var(--ink); border-radius: 4px; transform: translateY(-50%); }
.scroll-body { margin: 0; background: repeating-linear-gradient(180deg, transparent 0 30px, rgba(20,19,17,0.03) 30px 31px), linear-gradient(180deg, #FBF8F0 0%, #F1EADC 100%); border-left: var(--border); border-right: var(--border); padding: 32px 26px 26px; min-height: 220px; position: relative; }
.scroll-body::before, .scroll-body::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--ink-10); }
.scroll-body::before { left: 16px; }
.scroll-body::after { right: 16px; }
.scroll-kanji { font-family: var(--font-display); font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 12px; opacity: 0.9; }
.scroll-text { font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.5; color: var(--ink); margin: 0 0 20px; text-wrap: pretty; }
.scroll-cite { display: flex; flex-direction: column; gap: 2px; font-family: var(--font-body); }
.scroll-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.scroll-role { font-size: 12px; color: var(--ink-50); }

/* FAQ */
.faq-section { background: var(--paper); }
.faq-list { max-width: 820px; border-top: var(--border); }
.faq-item { border-bottom: var(--border); }
.faq-q { width: 100%; background: none; border: none; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); text-align: left; }
.faq-q:hover { color: var(--accent-ink); }
.faq-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); color: var(--ink); transition: transform 250ms cubic-bezier(0.65,0,0.35,1), background 150ms; flex-shrink: 0; }
.faq-item.is-open .faq-toggle { transform: rotate(180deg); background: var(--accent-soft); color: var(--accent-ink); }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms cubic-bezier(0.65,0,0.35,1); }
.faq-item.is-open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a { overflow: hidden; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink-70); padding-right: 60px; }
.faq-item.is-open .faq-a { padding-bottom: 22px; }

/* Languages */
.langs-section { background: var(--paper-2); }
.section-title-muted { color: var(--ink-50); font-weight: 600; }
.langs-hover { color: var(--accent-ink); }
.langs-cluster { display: flex; flex-wrap: wrap; gap: 10px; max-width: 1100px; margin-top: 12px; margin-bottom: 32px; }
.lang-chip { background: var(--paper); border: var(--border); border-radius: 999px; padding: 10px 16px; font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--ink); cursor: default; transition: transform 140ms cubic-bezier(0.34,1.56,0.64,1), background 140ms, box-shadow 140ms; animation: lang-in 0.6s cubic-bezier(0.34,1.56,0.64,1) both; }
.lang-chip:hover { background: var(--accent); color: var(--paper); transform: translate(-1px, -2px) rotate(-2deg); box-shadow: 3px 3px 0 var(--ink); }

@keyframes lang-in { from { opacity: 0; transform: translateY(8px) scale(0.92); } to { opacity: 1; transform: none; } }
.langs-footnote { font-family: var(--font-body); font-size: 14px; color: var(--ink-50); max-width: 820px; line-height: 1.6; }
.langs-footnote code { font-family: var(--font-mono); font-size: 13px; background: var(--paper); border: 1px solid var(--ink-10); border-radius: 4px; padding: 1px 6px; color: var(--ink); }

/* Smoke bomb reveal */
.smoke-reveal { position: relative; opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 700ms cubic-bezier(0.2,0.7,0.2,1); }
.smoke-reveal.is-revealed { opacity: 1; transform: none; }
.smoke-puffs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; opacity: 0; }
.smoke-reveal.is-revealed .smoke-puffs { animation: smoke-fade 1200ms ease-out forwards; }
@keyframes smoke-fade { 0%{opacity:1;} 100%{opacity:0;} }
.smoke-puff { position: absolute; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(20,19,17,0.18), rgba(20,19,17,0.02) 70%); filter: blur(4px); animation: smoke-puff 1100ms cubic-bezier(0.2,0.7,0.2,1) both; }
@keyframes smoke-puff { 0%{transform:scale(0.3);opacity:0;} 30%{opacity:0.9;} 100%{transform:scale(2.2);opacity:0;} }


/* Logo Lab */
.logo-section { background: var(--paper); }
.logo-variants { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.logo-variant-btn { background: var(--paper); border: var(--border); border-radius: 999px; padding: 8px 16px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; transition: transform 100ms, box-shadow 100ms, background 150ms; }
.logo-variant-btn:hover { transform: translate(-1px, -1px); box-shadow: 2px 2px 0 var(--ink); }
.logo-variant-btn.is-active { background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--ink); }

.logo-stage { display: grid; gap: 32px; max-width: 1180px; }
.logo-hero { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding: 40px; background: var(--paper-2); border: var(--border); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); }
.logo-tile-lg { filter: drop-shadow(4px 4px 0 var(--ink)); }
.logo-hero-meta { display: flex; flex-direction: column; gap: 10px; }
.logo-meta-row { display: flex; align-items: baseline; gap: 16px; font-family: var(--font-body); font-size: 14px; color: var(--ink-70); }
.logo-meta-k { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-50); min-width: 110px; }

.logo-sizes { display: flex; gap: 32px; align-items: flex-end; flex-wrap: wrap; padding: 32px; border: var(--border); border-radius: 14px; background: var(--paper); }
.logo-size-cell { display: flex; flex-direction: column; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--ink-50); letter-spacing: 0.08em; text-transform: uppercase; }
.logo-size-cell svg { filter: drop-shadow(2px 2px 0 var(--ink)); }

.logo-contexts { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.logo-ctx { background: var(--paper-2); border: var(--border); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.logo-ctx-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-50); }

.logo-menubar { background: rgba(250, 247, 240, 0.85); backdrop-filter: blur(10px); border: 1px solid var(--ink-30); border-radius: 8px; padding: 6px 12px; display: flex; justify-content: space-between; align-items: center; font-family: "SF Pro Text", "Inter", sans-serif; font-size: 13px; color: var(--ink); }
.logo-menubar-left, .logo-menubar-right { display: flex; gap: 14px; align-items: center; }
.logo-menubar-left > span:first-of-type { font-weight: 700; }
.logo-menubar-item { color: var(--ink-70); }

.logo-dock { background: rgba(20,19,17,0.75); backdrop-filter: blur(12px); border: 1px solid var(--ink); border-radius: 18px; padding: 10px 12px; display: flex; gap: 10px; justify-content: center; }
.dock-app { display: grid; place-items: center; }
.dock-app-placeholder { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; color: white; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.dock-app-ours svg { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }

.logo-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; background: linear-gradient(160deg, #a8c5e8 0%, #c8b8e0 100%); padding: 20px; border-radius: 12px; }
.home-app { display: flex; flex-direction: column; gap: 6px; align-items: center; font-family: "SF Pro Text", sans-serif; font-size: 11px; color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.home-placeholder { width: 72px; height: 72px; border-radius: 16px; }

@media (max-width: 900px) {
  .logo-hero { grid-template-columns: 1fr; }
  .logo-contexts { grid-template-columns: 1fr; }
}

.logo-download-btn { background: var(--accent); border: var(--border); border-radius: 999px; padding: 8px 16px; font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); cursor: pointer; box-shadow: 2px 2px 0 var(--ink); transition: transform 100ms, box-shadow 100ms; }
.logo-download-btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }

/* ————————————————————————————————————————————————————————————
   VoiceFlow hero demo: mouth -> engine -> clean text
   ———————————————————————————————————————————————————————————— */
.vf-stage {
  display: grid;
  grid-template-columns: 96px minmax(90px, 1fr) 104px minmax(200px, 1.5fr);
  gap: 12px;
  align-items: center;
  padding: 26px 20px 18px;
  min-height: 210px;
}
.vf-zone { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vf-zone-out { align-items: stretch; }

.vf-caption {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-50);
  text-align: center;
  line-height: 1.5;
}

/* speaker */
.vf-speaker svg { width: 84px; height: 84px; display: block; }
.vf-arc { opacity: 0; }
.vf-speaking .vf-arc { animation: vf-arc 900ms ease-in-out infinite; }
.vf-speaking .vf-arc-2 { animation-delay: 220ms; }
@keyframes vf-arc {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 1; }
}

/* flight lane */
.vf-lane { position: relative; height: 130px; }
.vf-chip {
  position: absolute;
  left: -8%;
  top: calc(50% + var(--vf-top, 0px));
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
  background: var(--paper-2);
  border: 1px solid var(--ink-30);
  border-radius: 999px;
  padding: 4px 11px;
  color: var(--ink);
  will-change: left, transform, opacity;
}
.vf-chip-filler {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.vf-fly { animation: vf-fly 1400ms linear forwards; }
@keyframes vf-fly {
  from { left: -8%; opacity: 0; }
  8%   { opacity: 1; }
  to   { left: 92%; opacity: 1; }
}
.vf-slice {
  left: 92%;
  text-decoration: line-through;
  animation: vf-slice 800ms ease-in forwards;
}
@keyframes vf-slice {
  from { transform: translateY(-50%) rotate(0deg); opacity: 1; }
  to   { transform: translateY(46px) rotate(26deg); opacity: 0; }
}

/* engine */
.vf-engine {
  width: 88px; height: 88px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2);
  border: var(--border);
  border-radius: 18px;
  box-shadow: 2px 2px 0 var(--ink);
}
.vf-engine-on svg { animation: spin 1.4s linear infinite; }
.vf-engine-pop { display: flex; animation: vf-pop 260ms ease-out; }
@keyframes vf-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.22); }
  100% { transform: scale(1); }
}

/* output field */
.vf-field {
  position: relative;
  min-height: 118px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 12px 14px 26px;
}
.vf-field-text {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}
.vf-inserted {
  position: absolute;
  bottom: 8px; right: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
  animation: slide-up 300ms ease-out both;
}

@media (max-width: 720px) {
  .vf-stage {
    grid-template-columns: 64px minmax(50px, 1fr) 72px minmax(140px, 1.4fr);
    gap: 8px;
    padding: 18px 12px 14px;
  }
  .vf-speaker svg { width: 58px; height: 58px; }
  .vf-engine { width: 62px; height: 62px; border-radius: 14px; }
  .vf-engine svg { width: 30px; height: 30px; }
  .vf-chip { font-size: 9.5px; padding: 2px 6px; }
  .vf-caption { font-size: 8.5px; }
  .vf-field { min-height: 96px; padding: 9px 10px 22px; }
  .vf-field-text { font-size: 12px; }
}

/* logo bar: drawn app icons instead of initials */
.logo-chip-glyph { background: transparent; border-radius: 0; }
.logo-chip-glyph svg { width: 24px; height: 24px; display: block; }

/* ————————————————————————————————————————————————————————————
   How it works: smoother step cycling
   ———————————————————————————————————————————————————————————— */
.how-card { transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 380ms cubic-bezier(0.2, 0.8, 0.2, 1), background 420ms ease; overflow: hidden; }
.how-illu { transition: border-color 420ms ease, background 420ms ease; }
.step-svg rect, .step-svg circle, .step-svg path, .step-svg line, .step-svg g {
  transition: fill 420ms ease, opacity 420ms ease, stroke-opacity 420ms ease;
}
.how-progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  background: var(--accent);
  animation: how-progress 4s linear forwards;
}
@keyframes how-progress {
  from { width: 0; }
  to   { width: 100%; }
}

/* ————————————————————————————————————————————————————————————
   Optimize hotkey showcase
   ———————————————————————————————————————————————————————————— */
.opt-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}
.opt-card { font-family: var(--font-body); }
.opt-surface {
  padding: 24px 26px 18px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
}
.opt-text {
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: pretty;
  flex: 1;
}
.opt-sel {
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(var(--accent-soft), var(--accent-soft));
  background-repeat: no-repeat;
  background-size: 0% 100%;
}
.opt-sel.is-selected { animation: opt-sweep 700ms ease-out forwards; }
@keyframes opt-sweep {
  from { background-size: 0% 100%; }
  to   { background-size: 100% 100%; }
}
.opt-text-after { animation: slide-up 340ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }

.opt-keys {
  display: flex;
  align-items: center;
  gap: 7px;
  align-self: flex-end;
}
.opt-keycap {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 0 3px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.opt-keys.is-down .opt-keycap {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--ink);
  background: var(--accent-soft);
}
.opt-keys.is-down .opt-keycap:nth-child(2) { transition-delay: 60ms; }
.opt-keys.is-down .opt-keycap:nth-child(3) { transition-delay: 120ms; }
.opt-keys-label {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-50);
}
.opt-keys.is-done .opt-keys-label { color: var(--accent-ink); }

.opt-dots { display: flex; gap: 6px; }
.opt-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  padding: 0;
  cursor: pointer;
}
.opt-dot.active { background: var(--accent); }

.opt-points { display: flex; flex-direction: column; gap: 18px; }
.opt-point {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-70);
}
.opt-point strong { color: var(--ink); }
.opt-point-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-ink);
  padding-top: 2px;
}

@media (max-width: 860px) {
  .opt-wrap { grid-template-columns: 1fr; }
}

/* optimize: cursor dragging across the selection */
.opt-text { position: relative; }
.opt-sel.is-selected { animation-duration: 1200ms; }
.opt-cursor {
  position: absolute;
  top: 0; left: 0;
  animation: opt-cursor-drag 1200ms ease-out forwards;
  pointer-events: none;
}
@keyframes opt-cursor-drag {
  from { left: 2%; top: -4px; opacity: 0; }
  10%  { opacity: 1; }
  to   { left: 96%; top: calc(100% - 16px); opacity: 1; }
}

/* stronger, unmistakable selection tint */
.opt-sel {
  background-image: linear-gradient(rgba(232, 70, 62, 0.30), rgba(232, 70, 62, 0.30));
}

/* fixed-height hover readout: no layout shift while sweeping across chips */
.langs-hearing {
  min-height: 20px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-ink);
}

/* ————————————————————————————————————————————————————————————
   Legal pages + blog shared shell
   ———————————————————————————————————————————————————————————— */
.legal-page, .blog-page {
  max-width: 840px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.legal-head { margin-bottom: 40px; }
.legal-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 14px 0 8px;
  color: var(--ink);
}
.legal-updated { font-family: var(--font-mono); font-size: 12px; color: var(--ink-50); margin: 0 0 18px; }
.legal-tldr {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-70);
  background: var(--accent-soft);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-off);
  padding: 18px 22px;
  margin: 0;
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 36px 0 10px;
  color: var(--ink);
}
.legal-body p, .legal-body li { font-size: 15.5px; line-height: 1.7; color: var(--ink-70); }
.legal-body ul { padding-left: 22px; margin: 10px 0; }
.legal-body li { margin: 6px 0; }
.legal-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-body strong, .legal-body em { color: var(--ink); }
.legal-footer { max-width: 1280px; margin: 0 auto; padding: 24px; }

/* ————————————————————————————————————————————————————————————
   Blog index: the scroll rack
   ———————————————————————————————————————————————————————————— */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.blog-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-off); }
.blog-card-top { display: flex; justify-content: space-between; align-items: center; }
.blog-kanji {
  font-size: 34px;
  line-height: 1;
  color: var(--accent-ink);
  font-weight: 700;
}
.blog-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-70);
  border: 1px solid var(--ink-30);
  border-radius: 999px;
  padding: 3px 9px;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}
.blog-card-excerpt { font-size: 14px; line-height: 1.6; color: var(--ink-70); margin: 0; flex: 1; }
.blog-card-meta {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-50);
}
.blog-card-arrow { margin-left: auto; color: var(--accent-ink); transition: transform 180ms ease; }
.blog-card:hover .blog-card-arrow { transform: translateX(4px); }

/* ————————————————————————————————————————————————————————————
   Article view
   ———————————————————————————————————————————————————————————— */
.art-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  transform-origin: 0 0;
  z-index: 200;
}
.art-back {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-70);
  text-decoration: none;
}
.art-back:hover { color: var(--ink); }
.art-head { margin: 26px 0 34px; position: relative; }
.art-kanji {
  position: absolute;
  right: 0; top: -10px;
  font-size: 84px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.16;
  font-weight: 700;
  pointer-events: none;
}
.art-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.4vw, 50px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 12px 0 12px;
  color: var(--ink);
}
.art-meta { font-family: var(--font-mono); font-size: 12px; color: var(--ink-50); }
.art-body { max-width: 700px; }
.art-body p, .art-body li { font-size: 16.5px; line-height: 1.75; color: var(--ink-70); }
.art-body p { margin: 0 0 18px; }
.art-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 34px 0 12px;
  color: var(--ink);
}
.art-body h3 { font-family: var(--font-display); font-size: 20px; margin: 26px 0 10px; color: var(--ink); }
.art-body strong { color: var(--ink); }
.art-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.art-body ul { padding-left: 22px; margin: 0 0 18px; }
.art-body li { margin: 7px 0; }
.art-body code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--paper-2);
  border: 1px solid var(--ink-10);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--ink);
}
.art-body blockquote {
  margin: 22px 0;
  padding: 14px 20px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
  font-size: 17px;
  color: var(--ink);
}
.art-code {
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
  margin: 0 0 18px;
}
.art-code code { background: none; border: none; color: inherit; font-size: 13.5px; padding: 0; }
.art-next {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1.5px solid var(--ink);
}
.art-next-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-50);
  margin-bottom: 8px;
}
.art-next-link {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.art-next-link:hover { color: var(--accent-ink); }

/* ————————————————————————————————————————————————————————————
   Pill showcase: the app's floating indicator on a mini desktop
   ———————————————————————————————————————————————————————————— */
.pill-desktop {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-off);
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(232, 70, 62, 0.10), transparent 55%),
    radial-gradient(120% 90% at 85% 15%, rgba(53, 122, 77, 0.08), transparent 55%),
    var(--paper-2);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.pill-menubar {
  width: 100%;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-70);
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
}
.pill-menubar-apple { font-weight: 700; }
.pill-menubar-right { margin-left: auto; }
.pill-status {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-50);
  min-height: 16px;
}
.pill-slot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 14px;
  cursor: pointer;
  position: relative;
}
.pill-stack { display: flex; flex-direction: column; align-items: center; }
.pill-tooltip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(26, 26, 31, 0.9);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
  pointer-events: none;
}
.pill-tooltip.is-shown { opacity: 1; transform: translateY(0); }
.pill-dock {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 18px;
  margin-bottom: 12px;
  border: 1.5px solid var(--ink-30);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.pill-dock-app {
  font-size: 26px;
  line-height: 1;
  filter: saturate(0.9);
  transition: transform 150ms ease;
}
.pill-dock-app:hover { transform: translateY(-4px) scale(1.15); }
.pill-hint {
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-50);
}
.pill-section kbd {
  font-family: var(--font-mono);
  font-size: 0.85em;
  border: 1px solid var(--ink-30);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 6px;
  background: var(--paper);
}

/* hero: the real mascot sits where the engine box used to be */
.vf-engine-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
}

/* ————————————————————————————————————————————————————————————
   Shuriken cursor: the pointer IS the star (trail retired)
   ———————————————————————————————————————————————————————————— */
body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 60 60"><path d="M30 4 L36 24 L56 30 L36 36 L30 56 L24 36 L4 30 L24 24 Z" fill="%23E8463E" stroke="%23141311" stroke-width="4" stroke-linejoin="round"/><circle cx="30" cy="30" r="5" fill="%23F7F4EE" stroke="%23141311" stroke-width="3"/></svg>') 13 13, auto;
}
/* interactive elements keep a hand pointer so clickability stays obvious */

/* ————————————————————————————————————————————————————————————
   Pill showcase: cycling use-case windows on the mini desktop
   ———————————————————————————————————————————————————————————— */
.pw {
  width: min(480px, 88%);
  margin-top: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  box-shadow: 4px 4px 0 rgba(20, 19, 17, 0.25);
  overflow: hidden;
  animation: pw-in 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  font-size: 13px;
  line-height: 1.5;
}
@keyframes pw-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.pw-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-70);
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink-30);
}
.pw-bardots {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 14px 0 0 var(--ink-30), 28px 0 0 var(--ink-30);
  margin-right: 22px;
  flex: none;
}
.pw-light { background: var(--paper); }
.pw-body { padding: 10px 12px 12px; }
.pw-prior {
  font-size: 12px;
  color: var(--ink-50);
  margin-bottom: 8px;
}
.pw-prior strong { color: var(--ink-70); }
.pw-input {
  border: 1px solid var(--ink-30);
  border-radius: 7px;
  background: var(--paper-2);
  padding: 7px 10px;
  min-height: 38px;
}
.pw-terminal { background: rgb(26, 26, 31); }
.pw-bar-dark { background: rgb(38, 38, 44); color: rgba(255, 255, 255, 0.6); border-bottom-color: rgba(255, 255, 255, 0.12); }
.pw-term-body {
  padding: 10px 12px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #e8e6e1;
  min-height: 72px;
}
.pw-term-dim { color: rgba(232, 230, 225, 0.45); }
.pw-raw { color: var(--ink-50); font-style: italic; }
.pw-terminal .pw-raw { color: rgba(232, 230, 225, 0.5); }
.pw-clean { color: var(--ink); font-weight: 500; }
.pw-terminal .pw-clean { color: #7ee29a; font-weight: 400; }
.pw-caret {
  display: inline-block;
  width: 2px; height: 1em;
  background: currentColor;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

/* ————————————————————————————————————————————————————————————
   Footer retouch: everything inside the dark CTA block reads on ink
   ———————————————————————————————————————————————————————————— */
.footer-cta .footer-cta-sub { color: rgba(247, 244, 238, 0.78); }
.footer-cta .footer-cta-meta { color: rgba(247, 244, 238, 0.55); }
.footer-cta .footer-copy { color: rgba(247, 244, 238, 0.5); }
.footer-cta .site-footer-links a { color: rgba(247, 244, 238, 0.8); }
.footer-cta .site-footer-links a:hover { color: var(--accent); }
.footer-cta .wordmark { color: var(--paper); }
.footer-cta .btn-ghost { color: var(--paper); border-color: rgba(247, 244, 238, 0.4); }

/* ————————————————————————————————————————————————————————————
   Mobile pass: everything fluid below 640px
   ———————————————————————————————————————————————————————————— */
/* clip beats hidden: iOS Safari still allows touch-panning a hidden overflow,
   which reads as the beige background drifting sideways during scroll */
html, body { overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none; }

@media (max-width: 900px) {
  /* nav links overflow the bar between 640–900px; wordmark + download only */
  .nav-links { display: none; }
  .nav-kbd { display: none; }
  /* opaque nav: translucent backdrop-filter bars flicker on mobile GPUs */
  .nav {
    background: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* decorative scroll-triggered flights animate `left` (layout thrash) — cut on mobile */
  .shur-divider-star, .shur-divider-slash { display: none; }
  .shur-divider { height: 70px; }
}

@media (max-width: 640px) {
  /* rhythm: tighter gutters everywhere */
  .section { padding: 56px 18px; }
  .hero { padding: 48px 18px 40px; }
  .section-head { margin-bottom: 36px; }
  .section-title { font-size: clamp(26px, 8vw, 40px); }
  .section-sub { font-size: 15px; }

  /* nav: wordmark + download only (links already hidden ≤900px) */
  .nav-inner { padding: 12px 16px; }

  /* hero */
  .hero-title { font-size: clamp(30px, 10.5vw, 44px); }
  .hero-sub { font-size: 15.5px; max-width: 100%; }
  .hero-ctas { flex-direction: column; align-items: center; gap: 10px; margin-bottom: 32px; }
  .hero-eyebrow { font-size: 11px; }

  /* hero pipeline: mascot-centric two-row layout */
  .vf-stage {
    grid-template-columns: 56px 1fr 76px;
    grid-template-areas: "speaker lane engine" "out out out";
    gap: 6px;
    padding: 16px 10px 12px;
    min-height: 0;
  }
  .vf-stage .vf-zone:first-child { grid-area: speaker; }
  .vf-lane { grid-area: lane; height: 96px; }
  .vf-stage .vf-zone:nth-of-type(3) { grid-area: engine; }
  .vf-zone-out { grid-area: out; margin-top: 6px; }
  .vf-speaker svg { width: 48px; height: 48px; }
  /* pill mascot is sized inline by JS (scale=1.35) — shrink it into the 76px engine zone */
  .vf-engine-pill { min-height: 0; zoom: 0.55; }
  .vf-chip { font-size: 10px; padding: 2px 7px; }
  .vf-caption { font-size: 8px; }
  .vf-field { min-height: 84px; }
  .demo-app-hint { display: none; }

  /* how it works */
  .how-card { padding: 20px; }

  /* pill desktop */
  .pill-desktop { min-height: 340px; }
  .pill-menubar { gap: 10px; font-size: 10px; }
  .pill-menubar span:nth-child(4), .pill-menubar span:nth-child(5) { display: none; }
  .pill-status { padding: 0 14px; text-align: center; }
  .pw { width: 92%; font-size: 12px; }
  .pill-dock { gap: 8px; padding: 6px 12px; }
  .pill-dock-app { font-size: 20px; }

  /* optimize */
  .opt-surface { padding: 16px 14px 14px; min-height: 0; }
  .opt-text { font-size: 14.5px; }
  .opt-keycap { min-width: 30px; height: 30px; font-size: 12px; }
  .opt-keys { align-self: center; }

  /* binder */
  .binder-stage { grid-template-columns: 1fr; gap: 24px; }
  .binder-cap { font-size: 20px; }

  /* smart contexts */
  .sc-tabs { gap: 6px; }
  .sc-tab { padding: 7px 10px; font-size: 12px; }
  .sc-panel { padding: 14px; }

  /* manifesto: single column */
  .manifesto-grid { grid-template-columns: 1fr; }

  /* race */
  .race-prompt-text { font-size: 17px; }
  .race-arena { padding: 16px 12px; }

  /* privacy */
  .privacy-toggle { flex-wrap: wrap; gap: 8px; }
  .privacy-toggle-btns { flex-wrap: wrap; }

  /* pricing */
  .price-big { flex-wrap: wrap; }
  .price-number { font-size: 72px; }
  .price-hero-left, .price-hero-right { padding: 24px 18px; }

  /* integrations catch-all pill */
  .integ-catchall-inner { flex-direction: column; text-align: center; gap: 10px; }

  /* footer */
  .footer-cta { padding: 64px 20px 28px; }
  .footer-cta-title { font-size: clamp(30px, 9vw, 44px); }
  .footer-cta-sub { font-size: 15.5px; }
  .footer-cta-meta { font-size: 11px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 48px; }

  /* blog + legal */
  .legal-page, .blog-page { padding: 40px 18px 64px; }
  .legal-tldr { padding: 14px 16px; font-size: 15px; }
  .art-kanji { font-size: 56px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 28px; }
  .vf-stage { grid-template-columns: 48px 1fr 68px; }
  .demo-shortcut { display: none; }
  .opt-card .demo-shortcut { display: flex; }
}

/* ————————————————————————————————————————————————————————————
   Changelog: release timeline fed by GitHub releases
   ———————————————————————————————————————————————————————————— */
.cl-release {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  position: relative;
}
.cl-rail { position: relative; }
.cl-rail::before {
  content: "";
  position: absolute;
  left: 13px; top: 8px; bottom: -26px;
  width: 2px;
  background: var(--ink-10);
}
.cl-release:last-child .cl-rail::before { bottom: 12px; }
.cl-dot {
  position: absolute;
  left: 7px; top: 26px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--ink);
}
.cl-latest .cl-dot { background: var(--accent); }
.cl-card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 26px;
}
.cl-latest .cl-card { box-shadow: var(--shadow-off); }
.cl-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.cl-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  background: var(--paper-2);
  border: 1px solid var(--ink-30);
  border-radius: 999px;
  padding: 3px 10px;
}
.cl-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 3px 9px;
}
.cl-date { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-50); margin-left: auto; }
.cl-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ink);
}
.cl-body p, .cl-body li { font-size: 14.5px; line-height: 1.65; }
.cl-body h2, .cl-body h3 { font-size: 16px; margin: 16px 0 8px; }
.cl-empty { font-size: 14px; color: var(--ink-50); font-style: italic; }
.cl-dl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-ink);
  text-decoration: none;
  border: 1px solid var(--ink-30);
  border-radius: 8px;
  padding: 7px 12px;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.cl-dl:hover { transform: translate(-1px, -1px); box-shadow: 2px 2px 0 var(--ink); }
.cl-loading, .cl-error {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-70);
  padding: 24px;
  border: 1.5px dashed var(--ink-30);
  border-radius: var(--radius);
}
.cl-error a { color: var(--accent-ink); }

/* license texts */
.license-text {
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-70);
  background: var(--paper-2);
  border: 1px solid var(--ink-10);
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
  white-space: pre-wrap;
  margin: 10px 0 8px;
}
.license-note { margin-top: 32px; font-size: 14px; color: var(--ink-50); }

/* ————————————————————————————————————————————————————————————
   Platform pills — the "runs here" badge
   ———————————————————————————————————————————————————————————— */
.plat-pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 18px 0 8px;
}
.plat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1.2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}
.plat-pills-light { margin-bottom: 20px; }
.plat-pills-light .plat-pill {
  background: transparent;
  border-color: rgba(247, 244, 238, 0.4);
  color: rgba(247, 244, 238, 0.85);
}

/* ————————————————————————————————————————————————————————————
   Hero ribbon — raw speech crossing the fold, fillers struck mid-flight
   ———————————————————————————————————————————————————————————— */
.hero-ribbon {
  width: 112%;
  margin: 72px 0 -20px -6%;
  transform: rotate(-1.6deg);
  background: var(--ink);
  overflow: hidden;
  padding: 13px 0;
  box-shadow: var(--shadow-off-sm);
}
.ribbon-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: ribbon-scroll 52s linear infinite;
}
.hero-ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
}
.ribbon-wave {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 16px;
}
.ribbon-wave span {
  width: 2.5px;
  border-radius: 2px;
  background: color-mix(in oklch, var(--paper) 45%, transparent);
}
.ribbon-raw {
  color: color-mix(in oklch, var(--paper) 55%, transparent);
  font-style: italic;
}
.ribbon-filler {
  color: var(--accent);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.ribbon-arrow { color: var(--accent); flex: none; }
.ribbon-clean { color: var(--paper); font-weight: 600; }
.ribbon-check { color: var(--accent-2); flex: none; }
@keyframes ribbon-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ribbon-track, .logos-row, .integ-row { animation: none; }
}

/* ————————————————————————————————————————————————————————————
   Personas — made for the way you talk
   ———————————————————————————————————————————————————————————— */
.personas-accent { color: var(--accent-ink); }
.persona-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.persona-tab {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.persona-tab:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-off-sm); }
.persona-tab-active {
  background: var(--accent);
  box-shadow: var(--shadow-off-sm);
}
.persona-card {
  max-width: 860px;
  margin: 0 auto;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-off);
  overflow: hidden;
}
.persona-solo { padding: 22px 24px 6px; }
.persona-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-50);
  margin-bottom: 12px;
}
.persona-dot { width: 7px; height: 7px; border-radius: 50%; }
.persona-dot-red { background: var(--accent); }
.persona-dot-green { background: var(--accent-2); }
.persona-clean-text {
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.7;
  min-height: 2.4em;
}
.persona-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: persona-blink 0.8s steps(2) infinite;
}
@keyframes persona-blink { 50% { opacity: 0; } }
.persona-perks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 24px 22px;
}
.persona-perk {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 11px;
  border: 1.2px solid var(--ink-30);
  border-radius: 999px;
  color: var(--ink-70);
  background: var(--paper-2);
}

/* ————————————————————————————————————————————————————————————
   Whisper mode — gain normalization
   ———————————————————————————————————————————————————————————— */
.whisper-title-alt { color: var(--accent-ink); }
.wm-stage { max-width: 980px; margin: 0 auto; }
.wm-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.wm-toggle-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-50);
}
.wm-toggle-btns {
  display: inline-flex;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper);
}
.wm-toggle-btns button {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 16px;
  color: var(--ink-70);
  transition: background 120ms ease, color 120ms ease;
}
.wm-toggle-btns button.active {
  background: var(--accent);
  color: var(--ink);
}
.wm-panels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}
.wm-panel {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 18px 20px;
  box-shadow: var(--shadow-off-sm);
}
.wm-panel-out { background: var(--accent-soft); }
.wm-panel-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-50);
  margin-bottom: 14px;
}
.wm-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 88px;
}
.wm-bar {
  flex: 1;
  min-height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: height 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: wm-pulse 1.1s ease-in-out infinite alternate;
}
.wm-bar-out { background: var(--accent-ink); }
@keyframes wm-pulse { to { opacity: 0.55; } }
.wm-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-50);
  margin-top: 12px;
}
.wm-gain {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.wm-gain-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 15px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  transition: background 200ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}
.wm-gain-chip.is-boosting {
  background: var(--accent);
  box-shadow: var(--shadow-off-sm);
}
.wm-gain-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-50);
  max-width: 130px;
  text-align: center;
  line-height: 1.5;
}
.wm-transcript {
  text-align: center;
  margin-top: 26px;
  font-size: 15.5px;
}
.wm-transcript strong { display: block; }
.wm-transcript span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-50);
}
.wm-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.wm-point {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-70);
}
.wm-point strong { color: var(--ink); }

/* ————————————————————————————————————————————————————————————
   Speed stats — the headline numbers above the race
   ———————————————————————————————————————————————————————————— */
.race-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: stretch;
  max-width: 760px;
  margin: 0 auto 36px;
}
.race-stat {
  flex: 1;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 20px 22px 18px;
  text-align: center;
}
.race-stat-accent { background: var(--accent-soft); }
.race-stat-verdict { background: var(--accent); box-shadow: var(--shadow-off); }
.race-stat-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.race-stat-num span {
  font-family: var(--font-mono);
  font-size: 0.34em;
  font-weight: 600;
  color: var(--ink-70);
  margin-left: 5px;
  letter-spacing: 0;
}
.race-stat-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-70);
  margin-top: 8px;
}

/* ————————————————————————————————————————————————————————————
   Giant wordmark — the last thing you see
   ———————————————————————————————————————————————————————————— */
.footer-cta { overflow: hidden; }
.footer-giant {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7.5vw, 110px);
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--paper);
  white-space: nowrap;
  user-select: none;
  margin-top: 40px;
  margin-bottom: -0.3em;
  opacity: 0.3;
}
.footer-cta .footer-giant { color: rgba(247, 244, 238, 0.96); }
.footer-giant svg {
  width: 0.52em;
  height: 0.52em;
  flex: none;
}

/* ————————————————————————————————————————————————————————————
   Mobile — new sections
   ———————————————————————————————————————————————————————————— */
@media (max-width: 640px) {
  .hero-ribbon { margin-top: 44px; }
  .ribbon-item { font-size: 12px; }
  .wm-panels { grid-template-columns: 1fr; }
  .wm-gain { flex-direction: row; }
  .wm-gain-label { max-width: none; text-align: left; }
  .wm-points { grid-template-columns: 1fr; gap: 16px; }
  .race-stats { flex-direction: column; gap: 12px; }
  .race-stat-num { font-size: 38px; }
  .footer-giant { font-size: 16.5vw; margin-top: 56px; }
}
