/* ============================
   Katheris — Landing (RU)
   ============================ */

:root {
  --ink: #34363E;
  --ink-strong: #20222A;
  --ink-soft: #696D7D;

  --cream: #FBF6EF;
  --cream-alt: #F1EBDF;

  --sage: #89B0AE;
  --sage-deep: #4C6763;
  --olive: #8D9F87;
  --sand: #CDC6A5;
  --coral: #F65F3E;
  --coral-dark: #DE4B2C;

  --white: #FFFFFF;

  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(76, 103, 99, 0.10);
  --shadow-md: 0 12px 32px rgba(76, 103, 99, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p { margin: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink-strong);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

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

/* ---------- Grain texture overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

/* ---------- Brand bar ---------- */
.brandbar {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 14px;
  background: rgba(251, 246, 239, 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(52, 54, 62, 0.08);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.brandbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.brandbar-logo img { border-radius: 50%; }

.brandbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink-strong);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.brandbar-cta:hover {
  background: var(--coral);
  color: var(--ink-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.lang-switch {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lang-switch a {
  opacity: 0.5;
  transition: opacity 0.2s var(--ease);
}
.lang-switch a:hover { opacity: 0.85; }
.lang-switch a[aria-current="page"] {
  opacity: 1;
  color: var(--coral);
}

@media (max-width: 640px) {
  .brandbar-cta span { display: none; }
  .brandbar { padding: 8px 8px 8px 12px; }
  .lang-switch { gap: 5px; font-size: 10px; }
}

/* ---------- Dot navigation ---------- */
.dotnav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
}
.dotnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dotnav a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.dotnav a span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.25;
  transition: all 0.25s var(--ease);
  display: block;
}
.dotnav a:hover span {
  opacity: 0.6;
  transform: scale(1.2);
}
.dotnav a.active span {
  opacity: 1;
  background: var(--coral);
  transform: scale(1.35);
}
.slide--dark ~ .dotnav a span,
body.on-dark .dotnav a span {
  background: var(--cream);
}

@media (max-width: 900px) {
  .dotnav { right: 10px; }
}
@media (max-width: 560px) {
  .dotnav { display: none; }
}

/* ---------- Slides layout ---------- */
.slides {
  height: 100vh;
  height: 100svh;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.slide {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 120px 24px 80px;
}

.slide--alt { background: var(--cream-alt); }

.slide--dark {
  background: var(--ink-strong);
  color: var(--cream);
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.slide-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  width: 100%;
  text-align: center;
}

.slide-inner--narrow { max-width: 900px; }

.slide-inner--split {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}
.slide-inner--split .split-text { max-width: 480px; }
.slide-inner--split-reverse { direction: rtl; }
.slide-inner--split-reverse > * { direction: ltr; }

.slide-inner--center { text-align: center; }

@media (max-width: 900px) {
  .slide-inner--split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .slide-inner--split .split-text { max-width: 100%; margin: 0 auto; }
  .slide-inner--split-reverse { direction: ltr; }
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: rgba(137, 176, 174, 0.16);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}

.index-mark {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 22px auto 0;
}
.slide-inner--split .lead { margin-left: 0; }
.lead--light { color: rgba(251, 246, 239, 0.78); }

.slide-inner--split p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 480px;
}
.slide--dark p { color: rgba(251, 246, 239, 0.78); }

/* ---------- Buttons ---------- */
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.slide-inner--split .cta-row { justify-content: flex-start; }
.cta-row--center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  min-height: 48px;
}

.btn-coral {
  background: var(--coral);
  color: var(--ink-strong);
  box-shadow: var(--shadow-sm);
}
.btn-coral:hover {
  background: var(--coral-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(52, 54, 62, 0.25);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.slide--dark .btn-ghost {
  color: var(--cream);
  border-color: rgba(251, 246, 239, 0.35);
}

.btn-lg {
  padding: 17px 32px;
  font-size: 16px;
}

.hero-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ---------- Hero ---------- */
.slide--hero .slide-inner { max-width: 640px; text-align: center; margin: 0 auto; }

.hero-logo-center {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}
@media (min-width: 640px) {
  .hero-logo-center { width: 140px; height: 140px; margin-bottom: 24px; }
}
@media (min-width: 900px) {
  .hero-logo-center { width: 180px; height: 180px; margin-bottom: 28px; }
}

/* Hero phone mockup with looping product demo video */
.hero-phone {
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  z-index: 1;
  width: clamp(200px, 20vw, 270px);
}

.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 393 / 852;
  background: var(--ink-strong);
  border-radius: 42px;
  padding: 9px;
  box-shadow: 0 30px 60px rgba(32, 34, 42, 0.32), 0 4px 14px rgba(32, 34, 42, 0.18);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--ink-strong);
  z-index: 2;
}

.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  display: block;
  background: var(--cream-alt);
}

@media (max-width: 900px) {
  .slide--hero { flex-direction: column; gap: 8px; }
  .slide--hero .cta-row { margin-top: 22px; }
  .slide--hero .hero-note { margin-top: 14px; }
  .hero-phone {
    position: static;
    transform: none;
    width: min(34vw, 148px);
    margin: 4px auto 0;
  }
}

@media (max-width: 900px) and (min-height: 750px) {
  .hero-phone { width: min(40vw, 180px); }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
  z-index: 3;
  cursor: pointer;
  animation: bob 2.6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Feature grid ---------- */
.feature-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: left;
}
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card, .trust-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feature-card:hover, .trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card p, .trust-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(137, 176, 174, 0.16);
  color: var(--sage-deep);
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }

.trust-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
}
@media (max-width: 800px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ---------- Loop diagram (problem slide) ---------- */
.split-visual { display: flex; justify-content: center; }

.loop-diagram {
  position: relative;
  width: 300px;
  height: 300px;
  max-width: 100%;
}
.loop-arrows { position: absolute; inset: 0; color: var(--coral); }
.loop-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.3;
  padding: 10px;
}
.loop-node--1 { top: -10px; left: 50%; transform: translateX(-50%); color: var(--coral-dark); }
.loop-node--2 { bottom: 10px; right: -10px; color: var(--sage-deep); }
.loop-node--3 { bottom: 10px; left: -10px; color: var(--ink-soft); }

@media (max-width: 420px) {
  .loop-node { width: 106px; height: 106px; font-size: 13px; }
}

/* ---------- Chart card (dynamics slide) ---------- */
.chart-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 26px 20px;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 380px;
}
.chart-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.chart-dot {
  width: 9px; height: 9px; border-radius: 50%;
  margin-right: -2px;
}
.chart-dot--sage { background: var(--sage); margin-left: 4px; }
.chart-dot--coral { background: var(--coral); margin-left: 12px; }
.chart-svg { width: 100%; height: auto; }
.chart-card-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 4px;
  opacity: 0.7;
}

/* ---------- Practice card ---------- */
.practice-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
  max-width: 380px;
  width: 100%;
}
.practice-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral-dark);
  background: rgba(246, 95, 62, 0.12);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.practice-card-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 22px;
}
.practice-card-actions { display: flex; gap: 10px; }
.pill {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-full);
}
.pill--ghost { border: 1.5px solid rgba(52,54,62,0.18); color: var(--ink-soft); }
.pill--coral { background: var(--coral); color: var(--ink-strong); }

/* ---------- Final CTA ---------- */
.cta-logo {
  margin: 0 auto 26px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.site-footer {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-soft);
  z-index: 2;
}
.site-footer-sep { opacity: 0.6; }

/* ---------- Abstract background blobs ---------- */
.blob {
  position: absolute;
  top: var(--top, 0);
  left: var(--left, 0);
  width: var(--size, 500px);
  height: var(--size, 500px);
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.55;
}
.blob--sage { background: radial-gradient(circle at 35% 35%, rgba(137,176,174,0.65), rgba(137,176,174,0) 70%); }
.blob--coral { background: radial-gradient(circle at 35% 35%, rgba(246,95,62,0.30), rgba(246,95,62,0) 70%); }
.blob--sand { background: radial-gradient(circle at 35% 35%, rgba(205,198,165,0.65), rgba(205,198,165,0) 70%); }
.blob--olive { background: radial-gradient(circle at 35% 35%, rgba(141,159,135,0.55), rgba(141,159,135,0) 70%); }
.blob--sage-deep { background: radial-gradient(circle at 35% 35%, rgba(137,176,174,0.22), rgba(137,176,174,0) 70%); }

.blob-outline {
  position: absolute;
  top: var(--top, 0);
  left: var(--left, 0);
  width: var(--size, 300px);
  height: var(--size, 300px);
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  opacity: 0.14;
}
.blob-outline--light { stroke: var(--cream); opacity: 0.16; }

/* ---------- Mic pulse + waveform background (diary slide) ---------- */
.mic-pulse {
  position: absolute;
  top: 14%;
  right: 10%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-deep);
  opacity: 0.4;
}
.mic-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--sage-deep);
  border-radius: 50%;
  opacity: 0;
  animation: mic-ripple 3.2s ease-out infinite;
}
.mic-ring--delay { animation-delay: 1.6s; }

@keyframes mic-ripple {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.8); opacity: 0; }
}

.bg-waveform {
  position: absolute;
  left: 8%;
  bottom: 12%;
  width: 220px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0.22;
}
.bg-waveform span {
  display: block;
  width: 4px;
  border-radius: var(--radius-full);
  background: var(--olive);
  animation: wave-bounce 1.8s ease-in-out infinite;
}
.bg-waveform span:nth-child(odd) { animation-duration: 1.4s; }
.bg-waveform span:nth-child(3n) { animation-duration: 2.1s; }
.bg-waveform span:nth-child(1) { height: 14px; animation-delay: -1.2s; }
.bg-waveform span:nth-child(2) { height: 28px; animation-delay: -0.9s; }
.bg-waveform span:nth-child(3) { height: 40px; animation-delay: -1.6s; }
.bg-waveform span:nth-child(4) { height: 20px; animation-delay: -0.4s; }
.bg-waveform span:nth-child(5) { height: 34px; animation-delay: -1.1s; }
.bg-waveform span:nth-child(6) { height: 46px; animation-delay: -0.2s; }
.bg-waveform span:nth-child(7) { height: 24px; animation-delay: -1.4s; }
.bg-waveform span:nth-child(8) { height: 38px; animation-delay: -0.7s; }
.bg-waveform span:nth-child(9) { height: 16px; animation-delay: -1.9s; }
.bg-waveform span:nth-child(10) { height: 30px; animation-delay: -0.5s; }
.bg-waveform span:nth-child(11) { height: 44px; animation-delay: -1.3s; }
.bg-waveform span:nth-child(12) { height: 22px; animation-delay: -0.8s; }
.bg-waveform span:nth-child(13) { height: 36px; animation-delay: -1.7s; }
.bg-waveform span:nth-child(14) { height: 18px; animation-delay: -0.3s; }
.bg-waveform span:nth-child(15) { height: 32px; animation-delay: -1.0s; }
.bg-waveform span:nth-child(16) { height: 42px; animation-delay: -0.6s; }
.bg-waveform span:nth-child(17) { height: 20px; animation-delay: -1.5s; }
.bg-waveform span:nth-child(18) { height: 12px; animation-delay: -0.1s; }

@keyframes wave-bounce {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}

@media (max-width: 900px) {
  .mic-pulse { top: 8%; right: 8%; }
  .bg-waveform { display: none; }
}

/* ---------- Telegram-style voice message bubble ---------- */
.chat-bubble {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 34px 20px 12px;
  border-radius: 20px 20px 4px 20px;
  margin-bottom: 22px;
  margin-left: auto;
  max-width: 300px;
}
.chat-bubble--out {
  background: var(--sage);
  color: var(--ink-strong);
}

.voice-play {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--ink-strong);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.voice-wave {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 22px;
  flex: 1;
}
.voice-wave span {
  display: block;
  width: 2.5px;
  border-radius: var(--radius-full);
  background: rgba(32, 34, 42, 0.55);
  animation: voice-bounce 1.6s ease-in-out infinite;
}
.voice-wave span:nth-child(1) { height: 30%; animation-delay: -1.5s; }
.voice-wave span:nth-child(2) { height: 55%; animation-delay: -1.4s; }
.voice-wave span:nth-child(3) { height: 80%; animation-delay: -1.3s; }
.voice-wave span:nth-child(4) { height: 45%; animation-delay: -1.2s; }
.voice-wave span:nth-child(5) { height: 100%; animation-delay: -1.1s; }
.voice-wave span:nth-child(6) { height: 60%; animation-delay: -1.0s; }
.voice-wave span:nth-child(7) { height: 35%; animation-delay: -0.9s; }
.voice-wave span:nth-child(8) { height: 75%; animation-delay: -0.8s; }
.voice-wave span:nth-child(9) { height: 50%; animation-delay: -0.7s; }
.voice-wave span:nth-child(10) { height: 90%; animation-delay: -0.6s; }
.voice-wave span:nth-child(11) { height: 40%; animation-delay: -0.5s; }
.voice-wave span:nth-child(12) { height: 65%; animation-delay: -0.4s; }
.voice-wave span:nth-child(13) { height: 30%; animation-delay: -1.55s; }
.voice-wave span:nth-child(14) { height: 85%; animation-delay: -1.35s; }
.voice-wave span:nth-child(15) { height: 55%; animation-delay: -1.15s; }
.voice-wave span:nth-child(16) { height: 70%; animation-delay: -0.95s; }
.voice-wave span:nth-child(17) { height: 42%; animation-delay: -0.75s; }
.voice-wave span:nth-child(18) { height: 95%; animation-delay: -0.55s; }
.voice-wave span:nth-child(19) { height: 38%; animation-delay: -0.35s; }
.voice-wave span:nth-child(20) { height: 62%; animation-delay: -0.15s; }
.voice-wave span:nth-child(21) { height: 48%; animation-delay: -1.45s; }
.voice-wave span:nth-child(22) { height: 28%; animation-delay: -1.05s; }

@keyframes voice-bounce {
  0%, 100% { transform: scaleY(0.55); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.voice-duration {
  flex: none;
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.chat-meta {
  position: absolute;
  bottom: 6px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  color: rgba(32, 34, 42, 0.55);
}

.chat-tail {
  position: absolute;
  bottom: 0;
  right: -6px;
  width: 16px;
  height: 16px;
  background: var(--sage);
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

.voice-card { width: 100%; max-width: 340px; }

.voice-reply-lead {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.cbt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.cbt-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(137, 176, 174, 0.18);
  color: var(--sage-deep);
}
.voice-reply-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 320px;
}

.dot-field {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(52,54,62,0.10) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 60% 50% at 30% 40%, black, transparent 70%);
  opacity: 0.5;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(3%, -4%) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes float-rotate {
  0%   { transform: rotate(0deg) translateY(0); }
  50%  { transform: rotate(8deg) translateY(-14px); }
  100% { transform: rotate(0deg) translateY(0); }
}
@keyframes float-rotate-slow {
  0%   { transform: rotate(0deg) translateY(0); }
  50%  { transform: rotate(-6deg) translateY(10px); }
  100% { transform: rotate(0deg) translateY(0); }
}

.blob--drift { animation: drift 18s ease-in-out infinite; }
.blob--float { animation: float-rotate 22s ease-in-out infinite; }
.blob--float-slow { animation: float-rotate-slow 26s ease-in-out infinite; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.slide.is-active .reveal {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob--drift, .blob--float, .blob--float-slow, .scroll-cue {
    animation: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Small screens: section padding ---------- */
@media (max-width: 560px) {
  .slide { padding: 100px 20px 64px; }
  .brandbar { top: 10px; left: 10px; right: 10px; }
}
