/* ==========================================================================
   WHISPERILA — OFFICIAL DESIGN SYSTEM
   Official design tokens, typography, and aesthetics for Whisperila:
   - Primary Background: #FFFFEB (Warm Cream / Lumen)
   - Primary Text / Vast: #1A1A1A (Deep Charcoal / Black)
   - Accent Container: #034F46 (Fathom Green) with #CEF5CA (Mint) accents
   - Accent Pastel: #F0D7FF (Soft Dawn Lavender)
   - Surfaces: #FFFFFF (Crisp White) with subtle #1A1A1A0D borders
   - Headings: 'EB Garamond', Georgia, serif (with signature italic punch)
   - Body: 'Figtree', sans-serif
   - Monospace: 'JetBrains Mono', monospace
   ========================================================================== */

:root {
  /* Whisperila Official Color Palette */
  --base-lumen: #ffffeb;       /* Primary warm cream background */
  --base-lumen-dark: #e4e4d0;  /* Slightly deeper cream */
  --base-vast: #1a1a1a;        /* Core text & dark button surfaces */
  --base-fathom: #034f46;      /* Rich forest green speed section */
  --base-fathom-dark: #023630; /* Darker green for keyboard card */
  --base-dawn: #f0d7ff;        /* Soft pastel lavender */
  --base-mint: #cef5ca;        /* Pale success mint */
  --base-mint-dark: #114e0b;
  --base-white: #ffffff;
  --base-glow: #ffa946;
  --base-flare: #ff6c4c;

  /* Alpha Opacity Layers */
  --alpha-dark-90: #1a1a1ae6;
  --alpha-dark-70: #1a1a1ab3;
  --alpha-dark-50: #1a1a1a80;
  --alpha-dark-30: #1a1a1a4d;
  --alpha-dark-15: #1a1a1a26;
  --alpha-dark-10: #1a1a1a1a;
  --alpha-dark-5:  #1a1a1a0d;

  --alpha-light-90: #ffffebe6;
  --alpha-light-70: #ffffebb3;
  --alpha-light-50: #ffffeb80;
  --alpha-light-30: #ffffeb4d;
  --alpha-light-15: #ffffeb26;
  --alpha-light-10: #ffffeb1a;

  /* Typography */
  --font-serif: 'EB Garamond', Garamond, Georgia, serif;
  --font-sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Border Radius Hierarchy */
  --radius-pill: 9999px;
  --radius-xl: 80px;
  --radius-lg: 60px;
  --radius-md: 40px;
  --radius-sm: 24px;
  --radius-xs: 14px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 700ms;
}

/* ==========================================================================
   BASE RESET & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: var(--base-lumen);
  color: var(--base-vast);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.45;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background-color: var(--base-lumen);
}

::selection {
  background: var(--base-vast);
  color: var(--base-lumen);
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--duration-fast) ease;
}

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

.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* Headings with Signature EB Garamond Italic Punch */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--base-vast);
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.2rem, 7.5vw, 6.25rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.25rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.05;
}

h4 {
  font-size: 1.4rem;
  line-height: 1.2;
}

/* Signature Whisperila Italicized Heading Accent */
h1 em, h2 em, h3 em, h4 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

p {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--alpha-dark-70);
  font-weight: 450;
}

/* Text Center Helper */
.text-center {
  text-align: center;
}

/* ==========================================================================
   BUTTONS & PILL TAGS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--duration-fast) var(--ease-spring);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary Button: Solid Vast Dark Pill */
.btn-primary {
  background-color: var(--base-vast);
  color: var(--base-lumen);
  border: 1px solid var(--base-vast);
}

.btn-primary:hover {
  background-color: #2e2e2e;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(26, 26, 26, 0.25);
}

/* Secondary Button: Clean Outlined Pill */
.btn-secondary {
  background-color: transparent;
  color: var(--base-vast);
  border: 1px solid var(--alpha-dark-30);
}

.btn-secondary:hover {
  border-color: var(--base-vast);
  background-color: rgba(26, 26, 26, 0.04);
}

/* Button on Dark/Green Surface */
.btn-on-dark {
  background-color: var(--base-lumen);
  color: var(--base-fathom);
  border: 1px solid var(--base-lumen);
}

.btn-on-dark:hover {
  background-color: var(--base-white);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.3);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.08rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

/* Pill Badges / Tags */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--alpha-dark-70);
  background-color: transparent;
  border: 1px solid var(--alpha-dark-15);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.tag-pill.tag-green {
  border-color: rgba(206, 245, 202, 0.4);
  color: var(--base-mint);
  background-color: rgba(206, 245, 202, 0.08);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
}

/* ==========================================================================
   FLOATING NAVBAR
   ========================================================================== */
.navbar-container {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
}

.navbar-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 960px;
  height: 56px;
  padding: 6px 10px 6px 18px;
  background-color: rgba(255, 255, 235, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px -4px rgba(26, 26, 26, 0.08);
  transition: all var(--duration-fast) ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--base-vast);
}

.brand-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform var(--duration-fast) var(--ease-spring);
}

.brand-icon-box svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 7px;
}

.nav-brand:hover .brand-icon-box {
  transform: scale(1.08) rotate(-2deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--alpha-dark-70);
  transition: color var(--duration-fast) ease;
}

.nav-link:hover {
  color: var(--base-vast);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--base-vast);
  border-radius: 2px;
  transition: 0.2s ease;
}

/* Base state for mobile menu: hidden on desktop */
.nav-menu-mobile {
  display: none;
}

/* ==========================================================================
   HERO SECTION & WHISPERILA HERO ANIMATION
   ========================================================================== */
.section-hero {
  position: relative;
  min-height: 860px;
  padding-top: 155px;
  padding-bottom: 90px;
  background-color: var(--base-lumen);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-height: 950px) {
  .section-hero {
    min-height: 88vh;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-tag {
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 24px;
  max-width: 900px;
}

.hero-subtitle {
  max-width: 660px;
  margin-bottom: 36px;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--alpha-dark-70);
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 135px;
  margin-bottom: 28px;
}

.cta-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  background-color: var(--base-vast);
  color: var(--base-lumen);
  font-weight: 600;
  font-size: 1.05rem;
  transition: all var(--duration-fast) var(--ease-spring);
  box-shadow: 0 8px 24px -6px rgba(26, 26, 26, 0.2);
}

.cta-download-btn:hover {
  background-color: #2b2b2b;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(26, 26, 26, 0.28);
}

.cta-download-btn svg {
  width: 20px;
  height: 20px;
}

.cta-alt-note {
  font-size: 0.86rem;
  color: var(--alpha-dark-50);
}

.cta-alt-note a {
  color: var(--base-vast);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.hero-specs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--alpha-dark-70);
  margin-bottom: 16px;
}

/* ==========================================================================
   SECTION: LIVE WRITING DEMO CANVAS
   ========================================================================== */
.section-demo {
  position: relative;
  padding: 95px 0 105px;
  background-color: var(--base-lumen);
  background: radial-gradient(circle at 50% 60%, rgba(206, 245, 202, 0.18) 0%, rgba(255, 255, 235, 0) 70%), var(--base-lumen);
  border-top: 1px solid var(--alpha-dark-5);
  overflow: hidden;
}

.demo-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px auto;
}

.demo-section-header .tag-pill {
  margin-bottom: 14px;
}

.demo-section-header h2 {
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--base-vast);
  margin-bottom: 14px;
}

.demo-section-header .section-subtitle {
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--alpha-dark-70);
  margin: 0 auto;
}

.spec-dot-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-dot-item svg {
  color: #15803d;
}

/* ==========================================================================
   WHISPERILA HERO DICTATION ANIMATION & CURVES
   ========================================================================== */
.hero-animation-stage {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Whisperila Speech Words Flowing Ribbon */
.hero-swirl-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.hero-swirl-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.swirl-text-raw {
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 600;
  fill: rgba(26, 26, 26, 0.32);
  letter-spacing: 0.02em;
}

.swirl-text-polished {
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 600;
  fill: #FBF8EE;
  letter-spacing: 0.02em;
}

/* Floating Central Dictation Capsule */
.hero-capsule-wrapper {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 780px;
  margin-top: -30px;
  margin-bottom: -10px;
}

.dictation-floating-pill {
  background-color: var(--base-white);
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 16px 40px -10px rgba(26, 26, 26, 0.12);
  margin-bottom: 20px;
  transition: all var(--duration-fast) ease;
}

/* Pulse audio bars inside pill */
.audio-bars-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  flex-shrink: 0;
}

.audio-bars-wave .bar {
  width: 3.5px;
  height: 8px;
  background-color: var(--base-vast);
  border-radius: 2px;
  animation: audioPulse 1.2s ease-in-out infinite alternate;
}

.audio-bars-wave .bar:nth-child(1) { height: 7px; animation-delay: 0.1s; }
.audio-bars-wave .bar:nth-child(2) { height: 16px; animation-delay: 0.3s; }
.audio-bars-wave .bar:nth-child(3) { height: 22px; animation-delay: 0.15s; }
.audio-bars-wave .bar:nth-child(4) { height: 14px; animation-delay: 0.4s; }
.audio-bars-wave .bar:nth-child(5) { height: 24px; animation-delay: 0.25s; }
.audio-bars-wave .bar:nth-child(6) { height: 18px; animation-delay: 0.35s; }
.audio-bars-wave .bar:nth-child(7) { height: 10px; animation-delay: 0.05s; }
.audio-bars-wave .bar:nth-child(8) { height: 6px; animation-delay: 0.2s; }

@keyframes audioPulse {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.15); }
}

.capsule-live-text {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--base-vast);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.capsule-status-pill {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background-color: #f3f4f6;
  color: var(--alpha-dark-70);
  border: 1px solid var(--alpha-dark-10);
  flex-shrink: 0;
}

.capsule-status-pill.success {
  background-color: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

/* Authentic App Composer Simulation Card */
.hero-app-mockup {
  width: 100%;
  max-width: 820px;
  background-color: var(--base-white);
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px -15px rgba(26, 26, 26, 0.08);
  overflow: hidden;
  text-align: left;
  box-sizing: border-box;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 20px;
  background-color: #fafaf7;
  border-bottom: 1px solid var(--alpha-dark-5);
}

.mockup-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--alpha-dark-70);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.mock-tab-btn.active {
  background-color: var(--base-vast);
  color: var(--base-lumen);
}

.mockup-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-controls .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e5e5e5;
}


.mockup-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

/* Live Voice Demo Stream Bar (Two-line layout so full text is visible on the next line) */
.voice-demo-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 10px 16px;
  background-color: #fafaf7;
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  height: 78px;
  min-height: 78px;
  max-height: 78px;
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: hidden;
}
.voice-demo-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.voice-mic-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--base-vast);
  color: var(--base-lumen);
  flex-shrink: 0;
}
.voice-wave-mini {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 12px;
  flex-shrink: 0;
}
.voice-wave-mini .vbar {
  width: 2px;
  height: 6px;
  background-color: #034F46;
  border-radius: 1px;
  animation: miniVoiceWave 0.9s ease-in-out infinite alternate;
}
.voice-wave-mini .vbar:nth-child(1) { height: 5px; animation-delay: 0.1s; }
.voice-wave-mini .vbar:nth-child(2) { height: 12px; animation-delay: 0.3s; }
.voice-wave-mini .vbar:nth-child(3) { height: 8px; animation-delay: 0.15s; }
.voice-wave-mini .vbar:nth-child(4) { height: 10px; animation-delay: 0.25s; }
@keyframes miniVoiceWave {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.2); }
}
.voice-status-text {
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--alpha-dark-50);
  flex-shrink: 0;
}
.voice-speech-stream {
  font-style: italic;
  color: var(--alpha-dark-90);
  font-size: 0.88rem;
  line-height: 1.35;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100%;
  box-sizing: border-box;
}

/* Simple Textarea Output Surface (Strictly Fixed Dimensions) */
.dictation-textarea-wrapper {
  width: 100%;
  height: 128px;
  min-height: 128px;
  max-height: 128px;
  flex-shrink: 0;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: var(--radius-xs);
  border: 1px solid var(--alpha-dark-10);
  background-color: #ffffff;
}

.dictation-simple-textarea {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  padding: 12px 14px;
  background-color: #ffffff;
  border: none;
  border-radius: var(--radius-xs);
  font-family: var(--font-sans);
  font-size: 0.90rem;
  line-height: 1.45;
  color: var(--base-vast);
  resize: none;
  outline: none;
  box-sizing: border-box;
  white-space: pre-wrap;
  cursor: default;
  overflow-y: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dictation-simple-textarea:focus {
  border-color: rgba(26, 26, 26, 0.25);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.04);
}

.dictation-simple-textarea.is-mono {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
}

.canva-byom-footnote {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  color: #1a1a1a;
  text-align: right;
  margin-top: -4px;
  line-height: 1.3;
}

/* SVG Audio Waveform Bar Animation (Inside Swirl Pill) */
.svg-wave-bar {
  animation: svgAudioPulse 1.1s ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: center;
}
.bar-1 { animation-delay: 0.05s; }
.bar-2 { animation-delay: 0.25s; }
.bar-3 { animation-delay: 0.15s; }
.bar-4 { animation-delay: 0.35s; }
.bar-5 { animation-delay: 0.10s; }
.bar-6 { animation-delay: 0.30s; }
.bar-7 { animation-delay: 0.20s; }
.bar-8 { animation-delay: 0.40s; }
.bar-9 { animation-delay: 0.12s; }
.bar-10 { animation-delay: 0.28s; }

@keyframes svgAudioPulse {
  0% { transform: scaleY(0.4); opacity: 0.7; }
  100% { transform: scaleY(1.15); opacity: 1; }
}

@keyframes blinkCaret {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.mockup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-top: 1px solid var(--alpha-dark-5);
  background-color: #fdfdfc;
  font-size: 0.85rem;
}

.mockup-helper-tip {
  color: var(--alpha-dark-50);
  display: flex;
  align-items: center;
  gap: 6px;
}

kbd {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 2px 7px;
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  color: var(--base-vast);
}

/* ==========================================================================
   PARTNER / APP INTEGRATIONS LOGO MARQUEE
   ========================================================================== */
.section-marquee {
  padding: 30px 0 60px;
  background-color: var(--base-lumen);
  overflow: hidden;
  text-align: center;
}

.marquee-heading {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--alpha-dark-50);
  margin-bottom: 24px;
}

.marquee-strip {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: scrollMarquee 35s linear infinite;
  white-space: nowrap;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.app-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: var(--base-white);
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--base-vast);
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.03);
}

.app-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #034f46;
}

/* ==========================================================================
   STACKED GREEN SPEED SECTION: 4x FASTER THAN TYPING
   Whisperila Speed Container: #034f46, radius 80px, #ffffeb typography
   ========================================================================== */
.section-speed {
  background-color: var(--base-lumen);
  padding: 0 16px 40px;
}

.speed-green-container {
  background-color: var(--base-fathom);
  border-radius: var(--radius-xl);
  color: var(--base-lumen);
  padding: 90px 40px 80px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(3, 79, 70, 0.35);
}

.speed-green-container h2 {
  color: var(--base-lumen);
  margin-bottom: 20px;
}

.speed-green-container h2 em {
  color: var(--base-mint);
}

.speed-green-container .section-subtitle {
  color: var(--alpha-light-70);
  max-width: 640px;
  margin: 0 auto 50px;
  font-size: 1.2rem;
}

/* Speed Cards Grid */
.speed-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto 50px;
}

.speed-byom-footnote {
  font-size: 0.82rem;
  color: var(--alpha-light-70);
  margin-top: -32px;
  margin-bottom: 36px;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
}

/* Traditional Keyboard Card */
.speed-card-kb {
  background-color: var(--base-fathom-dark);
  border: 1px solid rgba(255, 255, 235, 0.12);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  text-align: left;
}

.speed-metric-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 235, 0.1);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.speed-card-kb .speed-name {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--base-lumen);
}

.speed-card-kb .speed-wpm {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--base-mint);
}

.speed-card-kb .speed-body-box {
  flex: 1;
}

.speed-card-kb .speed-body-box p,
.speed-card-kb p,
#kbStreamTicker {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 235, 0.9) !important;
  font-weight: 450;
}

.speed-card-kb .speed-footer-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(206, 245, 202, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 20px;
}

/* Whisperila Fast Card */
.speed-card-whisperila {
  background-color: var(--base-lumen);
  color: var(--base-vast);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  text-align: left;
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.25);
}

.speed-card-whisperila .speed-name {
  color: var(--base-vast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.speed-card-whisperila .speed-wpm {
  color: var(--base-vast);
}

.speed-card-whisperila .speed-body-box {
  color: var(--base-vast);
  font-weight: 500;
}

.speed-card-whisperila .speed-footer-pill {
  color: #047857;
  font-weight: 700;
}

/* Speed Stats Row */
.speed-metrics-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 235, 0.12);
  max-width: 900px;
  margin: 0 auto;
}

.metric-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-large-val {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--base-lumen);
  line-height: 1;
}

.stat-large-val em {
  font-style: italic;
  color: var(--base-mint);
}

.stat-small-desc {
  font-size: 0.88rem;
  color: var(--alpha-light-70);
}

/* ==========================================================================
   FEATURE SHOWCASE (WHISPERILA BENTO CARDS)
   ========================================================================== */
.section-features {
  position: relative;
  overflow: hidden;
  padding: 100px 0 70px;
  background-color: var(--base-lumen);
}

.section-head-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-head-wrap .tag-pill {
  margin-bottom: 18px;
}

.section-head-wrap h2 {
  margin-bottom: 20px;
}

.features-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.bento-card {
  background-color: var(--base-white);
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-md);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px -10px rgba(26, 26, 26, 0.05);
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -12px rgba(26, 26, 26, 0.09);
}

.bento-card-top {
  margin-bottom: 28px;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--base-lumen);
  border: 1px solid var(--alpha-dark-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--base-vast);
}

.bento-title {
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--alpha-dark-70);
}

/* Interactive Language Pills */
.interactive-lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.lang-pill {
  background-color: #fafaf7;
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--alpha-dark-70);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.lang-pill.active {
  background-color: var(--base-vast);
  color: var(--base-lumen);
  border-color: var(--base-vast);
}

.lang-preview-box {
  background-color: var(--base-lumen);
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-flag {
  font-size: 1.4rem;
}

.lang-text {
  font-size: 0.98rem;
  font-style: italic;
  color: var(--base-vast);
  transition: opacity var(--duration-fast) ease;
}

/* Vocabulary Custom Words List */
.vocab-demo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vocab-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: #fafaf7;
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-xs);
  font-size: 0.92rem;
}

.v-spoken {
  color: var(--alpha-dark-50);
  font-style: italic;
}

.v-arrow {
  color: var(--alpha-dark-30);
}

.v-learned {
  font-weight: 600;
  color: var(--base-vast);
}

.v-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background-color: #ecfdf5;
  color: #047857;
}

/* Tone Style Tabs */
.style-switch-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.style-tab-btn {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: #fafaf7;
  border: 1px solid var(--alpha-dark-10);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--alpha-dark-70);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.style-tab-btn.active {
  background-color: var(--base-vast);
  color: var(--base-lumen);
  border-color: var(--base-vast);
}

.style-preview-container {
  background-color: #fafaf7;
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.style-ctx-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--alpha-dark-50);
  display: block;
  margin-bottom: 6px;
}

.style-preview-text {
  font-size: 0.98rem;
  color: var(--base-vast);
  line-height: 1.5;
  transition: opacity var(--duration-fast) ease;
}

/* Snippets Expansion */
.snippet-box {
  background-color: #fafaf7;
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.snippet-trigger-phrase {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--alpha-dark-70);
}

.snippet-result-code {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  background-color: var(--base-white);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--alpha-dark-10);
  color: #034f46;
  font-weight: 500;
}

/* ==========================================================================
   AI MEETING NOTETAKER SECTION
   ========================================================================== */
.section-notetaker {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background-color: var(--base-lumen);
}

.notetaker-card-surface {
  background-color: var(--base-white);
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: 0 20px 50px -15px rgba(26, 26, 26, 0.07);
}

.notetaker-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.notetaker-info-side .tag-pill {
  margin-bottom: 18px;
}

.notetaker-info-side h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.0rem);
  line-height: 0.98;
  margin-bottom: 22px;
}

.notetaker-info-side .section-subtitle {
  font-size: 1.18rem;
  line-height: 1.62;
  color: var(--alpha-dark-70);
  margin-bottom: 32px;
}

.notetaker-bullets {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 38px;
}

.nt-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.nt-check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #ecfdf5;
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.nt-check-icon svg {
  width: 15px;
  height: 15px;
}

.nt-bullet-text strong {
  display: block;
  font-size: 1.15rem;
  color: var(--base-vast);
  margin-bottom: 4px;
  font-weight: 700;
}

.nt-bullet-text span {
  display: block;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--alpha-dark-70);
}

.notetaker-info-side .btn {
  font-size: 1.04rem;
  padding: 14px 28px;
}

/* Simulated Meeting Notetaker Window */
.notetaker-sim-window {
  background-color: #fafaf7;
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(26, 26, 26, 0.08);
}

.nt-win-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  background-color: #f2f2ee;
  border-bottom: 1px solid var(--alpha-dark-10);
  font-size: 0.88rem;
  font-weight: 600;
}

.nt-win-live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--base-vast);
}

.nt-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #dc2626;
  animation: liveBlink 1.5s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.nt-chat-dialog {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nt-chat-msg {
  padding: 14px 18px;
  border-radius: var(--radius-xs);
  font-size: 1.0rem;
  line-height: 1.5;
}

.nt-chat-msg.me {
  background-color: var(--base-white);
  border: 1px solid var(--alpha-dark-10);
  margin-right: 24px;
}

.nt-chat-msg.them {
  background-color: #eef2ff;
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin-left: 24px;
}

.nt-speaker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
  color: var(--alpha-dark-50);
}

.nt-summary-box {
  margin: 16px 20px 20px;
  padding: 20px;
  background-color: var(--base-white);
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-xs);
}

.nt-summary-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--base-vast);
  margin-bottom: 12px;
}

.nt-summary-tasks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nt-task-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--base-vast);
  cursor: pointer;
}

.nt-task-checkbox input {
  accent-color: var(--base-vast);
}

/* ==========================================================================
   COMPARISON MATRIX: ALL PRO FEATURES $0 VS PAID SUBSCRIPTIONS
   ========================================================================== */
.section-compare {
  padding: 90px 0;
  background-color: var(--base-lumen);
}

.table-scroll-hint {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--alpha-dark-50);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .table-scroll-hint {
    display: flex;
  }
}

.comparison-table-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  overflow-x: auto;
  background-color: var(--base-white);
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: 0 15px 40px -10px rgba(26, 26, 26, 0.06);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--alpha-dark-5);
  font-size: 0.95rem;
}

.comparison-table th {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--alpha-dark-70);
  font-size: 0.95rem;
  background-color: transparent;
}

.comparison-table th.col-highlight {
  background-color: #fafaf7;
  border-radius: 12px 12px 0 0;
  color: var(--base-vast);
}

.comparison-table td.cell-highlight {
  background-color: #fafaf7;
  font-weight: 600;
  color: var(--base-vast);
}

.table-brand-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.free-tag-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background-color: var(--base-vast);
  color: var(--base-lumen);
}

.feature-title-cell {
  font-weight: 600;
  color: var(--base-vast);
}

.check-green-text {
  color: #047857;
  font-weight: 700;
}

.cross-muted-text {
  color: var(--alpha-dark-50);
}

/* ==========================================================================
   PRIVACY SECTION: YOUR VOICE STAYS YOURS
   ========================================================================== */
.section-privacy {
  padding: 90px 0;
  background-color: var(--base-lumen);
}

.privacy-container-box {
  background-color: var(--base-white);
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-lg);
  padding: 70px 50px;
  box-shadow: 0 20px 50px -15px rgba(26, 26, 26, 0.06);
  text-align: center;
}

.privacy-container-box .tag-pill {
  margin-bottom: 20px;
}

.privacy-container-box h2 {
  margin-bottom: 20px;
}

.privacy-container-box .section-subtitle {
  margin-bottom: 50px;
}

.privacy-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}

.privacy-item-card {
  background-color: #fafaf7;
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
}

.priv-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.priv-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--base-vast);
  margin-bottom: 8px;
}

.priv-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--alpha-dark-70);
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.section-faq {
  padding: 90px 0 110px;
  background-color: var(--base-lumen);
}

.faq-accordion-box {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item-card {
  background-color: var(--base-white);
  border: 1px solid var(--alpha-dark-10);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--duration-fast) ease;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--base-vast);
  text-align: left;
  cursor: pointer;
}

.faq-icon-cross {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--alpha-dark-50);
  transition: transform var(--duration-fast) ease;
}

.faq-answer-pane {
  display: none;
  padding: 0 28px 24px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--alpha-dark-70);
}

.faq-item-card.active {
  border-color: var(--alpha-dark-30);
  box-shadow: 0 10px 24px -10px rgba(26, 26, 26, 0.08);
}

.faq-item-card.active .faq-answer-pane {
  display: block;
}

.faq-item-card.active .faq-icon-cross {
  transform: rotate(45deg);
}

/* ==========================================================================
   FINAL FULL-BLEED PRE-CTA
   "You have a way with words. Now, two."
   ========================================================================== */
.section-final-cta {
  padding: 0 16px 50px;
  background-color: var(--base-lumen);
}

.final-cta-container {
  background-color: var(--base-vast);
  border-radius: var(--radius-xl);
  color: var(--base-lumen);
  padding: 90px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(26, 26, 26, 0.35);
}

.final-cta-container .tag-pill {
  border-color: rgba(255, 255, 235, 0.2);
  color: var(--alpha-light-70);
  margin-bottom: 24px;
}

.final-cta-container h2 {
  color: var(--base-lumen);
  margin-bottom: 20px;
}

.final-cta-container h2 em {
  color: var(--base-dawn);
}

.final-cta-container p {
  color: var(--alpha-light-70);
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 1.2rem;
}

.final-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.final-note-text {
  font-size: 0.88rem;
  color: var(--alpha-light-50);
}

/* ==========================================================================
   STICKY BOTTOM PILL DOWNLOAD BAR
   ========================================================================== */
.sticky-download-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 999;
  width: 90%;
  max-width: 640px;
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--base-lumen);
  padding: 10px 14px 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--ease-spring);
}

.sticky-download-bar.visible {
  transform: translateX(-50%) translateY(0);
}

.sticky-inner-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.sticky-sub {
  font-size: 0.84rem;
  color: var(--alpha-light-70);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 70px 0 40px;
  background-color: var(--base-lumen);
  border-top: 1px solid var(--alpha-dark-10);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-side h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--base-vast);
  margin-bottom: 12px;
}

.footer-brand-side p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--alpha-dark-70);
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--base-vast);
  margin-bottom: 16px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a,
.footer-spec-item {
  font-size: 0.92rem;
  color: var(--alpha-dark-70);
}

.footer-col-links a:hover {
  color: var(--base-vast);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--alpha-dark-5);
  font-size: 0.85rem;
  color: var(--alpha-dark-50);
}

/* ==========================================================================
   STAGGERED SCROLL REVEALS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */
.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
}

@media (max-width: 991px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu-mobile {
    position: absolute;
    top: 66px;
    left: 20px;
    right: 20px;
    background-color: rgba(251, 248, 238, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--alpha-dark-10);
    border-radius: var(--radius-sm);
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 1001;
    pointer-events: auto;
  }

  .nav-menu-mobile.open {
    display: flex;
  }

  .hero-swirl-container {
    opacity: 0.6;
  }

  .hero-specs-row {
    margin-bottom: 40px;
  }

  .hero-app-mockup {
    max-width: 100%;
  }

  .dictation-textarea-wrapper {
    height: 128px;
    min-height: 128px;
    max-height: 128px;
  }

  .speed-cards-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto 40px;
  }

  .features-bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card {
    padding: 36px 30px;
  }

  .notetaker-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .notetaker-card-surface {
    padding: 40px 30px;
    border-radius: 36px;
  }

  .privacy-container-box {
    padding: 50px 30px;
    border-radius: 36px;
  }

  .privacy-grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .speed-green-container {
    border-radius: var(--radius-lg);
    padding: 60px 30px;
  }

  .final-cta-container {
    border-radius: var(--radius-lg);
    padding: 60px 30px;
  }

  /* Elastic Stack wrap on tablets to prevent clipping */
  .elastic-stack-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 16px 0 24px;
    max-width: 600px;
    margin: 0 auto;
    overflow: visible;
  }

  .elastic-stack-item {
    margin-left: 0 !important;
    transform: none !important;
    flex: 0 1 170px;
    width: 170px;
    box-sizing: border-box;
  }
}

/* ==========================================================================
   TABLET & MOBILE BREAKPOINT (768px): Name displayed in small size
   ========================================================================== */
@media (max-width: 768px) {
  /* Brand text displayed in compact small size on mobile/tablet */
  .nav-brand-text {
    display: inline-block !important;
    font-size: 0.90rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--base-vast);
    white-space: nowrap;
    line-height: 1;
  }

  .nav-brand {
    gap: 8px;
    flex-shrink: 0;
  }

  .navbar-container {
    top: 12px;
    padding: 0 14px;
  }

  .navbar-pill {
    height: 50px;
    padding: 4px 8px 4px 12px;
  }

  .brand-icon-box {
    width: 32px;
    height: 32px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn-sm {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .mobile-toggle {
    width: 32px;
    height: 32px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: clamp(2.4rem, 8.5vw, 3.8rem);
    line-height: 0.95;
  }

  h2 {
    font-size: clamp(2.0rem, 6.5vw, 2.9rem);
    line-height: 1.02;
  }

  .section-head-wrap {
    margin-bottom: 40px;
  }

  .section-features {
    padding: 70px 0 40px;
  }

  .section-speed {
    padding: 0 14px 30px;
  }

  .section-notetaker {
    padding: 60px 0;
  }

  .section-compare {
    padding: 60px 0;
  }

  .section-privacy {
    padding: 60px 0;
  }

  .section-faq {
    padding: 60px 0 80px;
  }

  .section-final-cta {
    padding: 0 14px 40px;
  }

  .section-hero {
    min-height: auto;
    padding-top: 115px;
    padding-bottom: 55px;
  }

  .hero-cta-box {
    margin-top: 24px;
    margin-bottom: 20px;
  }

  .hero-swirl-container {
    display: none !important;
  }
}

/* ==========================================================================
   MOBILE PHONES (640px)
   ========================================================================== */
@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(2.2rem, 9.2vw, 3.2rem);
  }

  .hero-subtitle {
    font-size: 1.0rem;
    line-height: 1.5;
  }

  .tag-pill.hero-tag {
    font-size: 0.70rem;
    padding: 5px 12px;
    white-space: normal;
    text-align: center;
    max-width: 95%;
  }

  .cta-download-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.98rem;
  }

  .hero-specs-row {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
  }

  .section-demo {
    padding: 60px 0 70px;
  }

  .hero-animation-stage {
    min-height: auto;
    width: 100%;
  }

  .hero-app-mockup {
    border-radius: 18px;
  }

  .mockup-header {
    padding: 10px 12px;
  }

  .mockup-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 4px;
  }

  .mockup-tabs::-webkit-scrollbar {
    display: none;
  }

  .mock-tab-btn {
    padding: 6px 10px;
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  .mockup-body {
    padding: 14px 12px;
    gap: 10px;
  }

  /* Two-line voice demo bar with full visibility of spoken text on mobile */
  .voice-demo-bar {
    height: 78px;
    min-height: 78px;
    max-height: 78px;
    padding: 8px 12px;
    gap: 4px;
    margin-bottom: 0;
    box-sizing: border-box;
  }

  .voice-status-text {
    font-size: 0.70rem;
  }

  .voice-speech-stream {
    font-size: 0.80rem;
    line-height: 1.32;
    -webkit-line-clamp: 2;
    min-width: 0;
  }

  /* Compact height writing textarea avoiding empty void on mobile */
  .dictation-textarea-wrapper {
    height: 132px;
    min-height: 132px;
    max-height: 132px;
    flex-shrink: 0;
  }

  .dictation-simple-textarea {
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    font-size: 0.84rem;
    padding: 10px 12px;
    line-height: 1.42;
  }

  .canva-byom-footnote {
    font-size: 0.70rem;
    margin-top: -3px;
    text-align: right;
  }

  .mockup-footer {
    padding: 10px 12px;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .mockup-helper-tip {
    font-size: 0.78rem;
    justify-content: center;
  }

  #btnReplayVoiceDemo {
    width: 100%;
    justify-content: center;
  }

  .mockup-controls {
    display: none;
  }

  /* Speed Section Container on Mobile */
  .speed-green-container {
    padding: 40px 18px 32px;
    border-radius: 26px;
  }

  .speed-card-kb,
  .speed-card-whisperila {
    padding: 24px 18px;
    min-height: auto;
    border-radius: 20px;
  }

  .speed-card-kb .speed-name,
  .speed-card-whisperila .speed-name {
    font-size: 1.05rem;
  }

  .speed-card-kb .speed-wpm,
  .speed-card-whisperila .speed-wpm {
    font-size: 1.6rem;
  }

  .speed-byom-footnote {
    margin-top: -24px;
    margin-bottom: 24px;
    font-size: 0.76rem;
  }

  .speed-metrics-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 24px;
  }

  .stat-large-val {
    font-size: 2rem;
  }

  /* Bento Cards on Mobile */
  .bento-card {
    padding: 24px 18px;
    border-radius: 20px;
  }

  /* Clean 2-column responsive grid for Elastic Stack on Mobile (prevents cards & text from getting cut off) */
  .elastic-stack-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px 0 20px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    overflow: visible;
    box-sizing: border-box;
  }

  .elastic-stack-wrap::-webkit-scrollbar {
    display: none;
  }

  .elastic-stack-item {
    width: 100%;
    min-height: 94px;
    height: auto;
    margin-left: 0 !important;
    padding: 14px 10px;
    box-sizing: border-box;
    transform: none !important;
    flex: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .elastic-stack-item:hover,
  .elastic-stack-item.is-hovered {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.12);
  }

  /* 5th card spans full width across both columns as the local privacy badge */
  .elastic-stack-item:last-child {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
  }

  .elastic-stack-item:last-child .elastic-icon-badge {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .elastic-stack-item:last-child .elastic-item-title {
    margin-bottom: 0;
  }

  .elastic-stack-item:last-child .elastic-item-sub {
    margin-top: 0;
    margin-left: 6px;
  }

  .elastic-item-title {
    font-size: 0.85rem;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    line-height: 1.25;
  }

  .elastic-item-sub {
    font-size: 0.72rem;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
    margin-top: 3px;
  }

  /* Notetaker on Mobile */
  .notetaker-card-surface {
    padding: 28px 18px;
    border-radius: 22px;
  }

  .notetaker-info-side .section-subtitle {
    font-size: 1.08rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .nt-bullet-text strong {
    font-size: 1.06rem;
  }

  .nt-bullet-text span {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .notetaker-sim-window {
    border-radius: 14px;
  }

  .nt-chat-dialog {
    padding: 14px;
    gap: 10px;
  }

  .nt-chat-msg {
    font-size: 0.94rem;
    padding: 10px 14px;
  }

  .nt-chat-msg.me {
    margin-right: 8px;
  }

  .nt-chat-msg.them {
    margin-left: 8px;
  }

  .nt-summary-box {
    margin: 12px 14px 16px;
    padding: 14px;
  }

  .nt-task-checkbox {
    font-size: 0.90rem;
  }

  /* Comparison Table on Mobile */
  .comparison-table-wrapper {
    padding: 16px 12px;
    border-radius: 18px;
  }

  .comparison-table {
    min-width: 540px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 12px;
    font-size: 0.84rem;
  }

  /* Privacy on Mobile */
  .privacy-container-box {
    padding: 36px 16px;
    border-radius: 22px;
  }

  .privacy-grid-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .privacy-item-card {
    padding: 20px 16px;
  }

  /* FAQ on Mobile */
  .faq-question-btn {
    padding: 16px 18px;
    font-size: 0.98rem;
  }

  .faq-answer-pane {
    padding: 0 18px 18px;
    font-size: 0.92rem;
  }

  /* Final CTA Container on Mobile */
  .final-cta-container {
    padding: 44px 18px;
    border-radius: 26px;
  }

  .final-cta-container p {
    font-size: 1.05rem;
  }

  .final-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .final-btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer on Mobile */
  .site-footer {
    padding: 50px 0 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-display-reveal {
    margin-top: 28px;
    padding-top: 20px;
    gap: 10px;
    justify-content: center;
  }

  .footer-brand-emblem svg {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .footer-display-title {
    font-size: clamp(1.5rem, 7.2vw, 2.6rem);
    letter-spacing: -0.025em;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Completely hide bottom floating bar on mobile/tablet */
  .sticky-download-bar {
    display: none !important;
  }
}

/* ==========================================================================
   EXTRA SMALL MOBILE SCREENS (480px and below)
   ========================================================================== */
@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .navbar-container {
    top: 8px;
    padding: 0 10px;
  }

  .navbar-pill {
    height: 48px;
    padding: 4px 6px 4px 10px;
  }

  .brand-icon-box {
    width: 28px;
    height: 28px;
  }

  .nav-brand-text {
    font-size: 0.82rem;
    letter-spacing: -0.015em;
  }

  .nav-brand {
    gap: 6px;
  }

  .nav-actions .btn-sm {
    padding: 6px 11px;
    font-size: 0.78rem;
  }

  .hero-title {
    font-size: clamp(2.0rem, 8.8vw, 2.6rem);
  }

  .voice-demo-bar {
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    padding: 6px 10px;
  }

  .dictation-textarea-wrapper {
    height: 132px;
    min-height: 132px;
    max-height: 132px;
  }

  .dictation-simple-textarea {
    font-size: 0.82rem;
    padding: 10px 12px;
  }

  .stat-large-val {
    font-size: 1.75rem;
  }

  .footer-display-title {
    font-size: clamp(1.3rem, 6.6vw, 2.0rem);
  }

  /* Elastic Stack fine-tuning on compact mobile devices */
  .elastic-stack-wrap {
    gap: 10px;
    padding: 8px 0 16px;
  }

  .elastic-stack-item {
    padding: 12px 8px;
    min-height: 88px;
  }

  .elastic-item-title {
    font-size: 0.82rem;
  }

  .elastic-item-sub {
    font-size: 0.68rem;
  }

  .elastic-stack-item:last-child {
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 10px 12px;
  }
}

@media (max-width: 340px) {
  .elastic-stack-wrap {
    grid-template-columns: 1fr;
  }

  .nav-brand-text {
    font-size: 0.76rem;
  }

  .nav-brand {
    gap: 5px;
  }
}

/* ==========================================================================
   VENGEANCE UI ANIMATION EFFECTS
   1. Animated Footer (ASCII canvas + unmasking headline)
   2. Elastic Stack (Spring physics card stacking)
   3. Pixelated Image Trail (Cursor-following polygon slices)
   4. Liquid Text (Turbulence & displacement wave)
   5. ASCII Glitch Ripple (Scramble wave on hover)
   6. Scroll Dissolve Reveal (Edge-glow dissolve)
   ========================================================================== */

/* 1. ANIMATED FOOTER */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
  background-color: var(--base-lumen);
  border-top: 1px solid var(--alpha-dark-10);
}

.footer-ascii-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.75;
  z-index: 1;
}

.footer-ascii-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.footer-display-reveal {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  overflow: visible;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 36px);
  width: 100%;
  box-sizing: border-box;
}

.footer-brand-emblem {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(32px) scale(0.92);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s ease;
  flex-shrink: 0;
}

.footer-brand-emblem svg {
  width: clamp(40px, 7.2vw, 76px);
  height: clamp(40px, 7.2vw, 76px);
  border-radius: clamp(10px, 1.7vw, 18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: block;
}

.footer-display-reveal.revealed .footer-brand-emblem {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.footer-display-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 7.8vw, 7.2rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--base-vast);
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.015em;
  user-select: none;
  overflow: hidden;
  box-sizing: border-box;
}

.af-char {
  display: inline-block;
  transform: translateY(125%);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.footer-display-reveal.revealed .af-char,
.footer-display-title.revealed .af-char {
  transform: translateY(0);
}

/* 2. ELASTIC STACK (Vengeance UI Elastic Stack with custom spring curve) */
.elastic-stack-section {
  padding: 40px 0 30px;
  text-align: center;
}

.elastic-stack-header {
  margin-bottom: 24px;
}

.elastic-stack-header h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--base-vast);
  margin-bottom: 8px;
}

.elastic-stack-header p {
  font-size: 0.95rem;
  color: var(--alpha-dark-70);
  max-width: 540px;
  margin: 0 auto;
}

.elastic-stack-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 36px;
  position: relative;
  touch-action: pan-y;
  max-width: 1000px;
  margin: 0 auto;
}

.elastic-stack-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 175px;
  height: 98px;
  padding: 12px 16px;
  background-color: var(--base-white);
  border: 1.5px solid rgba(26, 26, 26, 0.12);
  border-radius: var(--radius-sm);
  margin-left: -28px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition-property: transform, box-shadow, z-index, border-color, background-color;
  transition-duration: 650ms, 650ms, 0ms, 250ms, 250ms;
  transition-timing-function: linear(0, 0.79 14.4%, 1.026 22.4%, 1.164 31.2%, 1.207 38.2%, 1.208 46.2%, 1.033 80%, 1);
  user-select: none;
  transform-origin: center center;
}

.elastic-stack-item:first-child {
  margin-left: 0;
}

.elastic-stack-item:hover,
.elastic-stack-item.is-hovered {
  border-color: var(--base-vast);
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.22);
  background-color: #ffffff;
}

.elastic-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: rgba(26, 26, 26, 0.05);
  color: var(--base-vast);
  margin-bottom: 6px;
}

.elastic-item-title {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--base-vast);
  white-space: nowrap;
}

.elastic-item-sub {
  font-size: 0.72rem;
  color: var(--alpha-dark-70);
  font-family: var(--font-mono);
  white-space: nowrap;
}

/* 3. PIXELATED IMAGE TRAIL */
.pixelated-trail-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 15;
}

.pixel-trail-card {
  position: absolute;
  width: 175px;
  height: 48px;
  border-radius: var(--radius-pill);
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  will-change: left, top, opacity, transform;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.12));
  border: 1px solid rgba(26, 26, 26, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 20;
}

.pixel-trail-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.pixel-trail-meta {
  min-width: 0;
  flex: 1;
}

.pixel-trail-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.74rem;
  line-height: 1.15;
  color: var(--base-vast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pixel-trail-sub {
  font-size: 0.62rem;
  color: #034F46;
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
}

/* 4. LIQUID TEXT */
.liquid-heading {
  display: inline-block;
  transition: filter 0.25s ease;
  will-change: filter;
}

.liquid-heading.is-liquid {
  filter: url(#liquidFilter);
}

/* 5. ASCII GLITCH RIPPLE */
.ascii-ripple {
  display: inline-flex;
  align-items: center;
  font-variant-ligatures: none;
  cursor: pointer;
}

/* 6. SCROLL DISSOLVE REVEAL */
.scroll-dissolve {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  filter: blur(4px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.scroll-dissolve.dissolved {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* Lang flag badge */
.lang-flag-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--base-vast);
  background-color: rgba(26, 26, 26, 0.08);
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.snippet-trigger-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--alpha-dark-70);
  font-size: 0.84rem;
  font-weight: 600;
}

/* ==========================================================================
   CODE CANVAS & COPY BUTTON COMPONENT (TERMINAL / DEVELOPER SHORTCUTS)
   ========================================================================== */
.code-canvas {
  background-color: #18181a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.35);
  margin-top: 12px;
  width: 100%;
}

.code-canvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-canvas-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.code-canvas-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.code-canvas-dot.dot-red {
  background-color: #ff5f56;
}

.code-canvas-dot.dot-yellow {
  background-color: #ffbd2e;
}

.code-canvas-dot.dot-green {
  background-color: #27c93f;
}

.code-canvas-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 235, 0.55);
}

.code-canvas-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--base-lumen);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  line-height: 1;
}

.code-canvas-copy-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.code-canvas-copy-btn:active {
  transform: translateY(0);
}

.code-canvas-copy-btn.copied {
  background-color: rgba(206, 245, 202, 0.18);
  border-color: rgba(206, 245, 202, 0.45);
  color: var(--base-mint);
}

.code-canvas-body {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.code-canvas-body::-webkit-scrollbar {
  height: 6px;
}

.code-canvas-body::-webkit-scrollbar-track {
  background: transparent;
}

.code-canvas-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.code-canvas-body code {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--base-lumen);
  white-space: nowrap;
}

.code-canvas-prompt {
  color: var(--base-glow);
  font-weight: 600;
  margin-right: 10px;
  user-select: none;
}

.code-canvas-command {
  color: #ffffff;
  letter-spacing: 0.01em;
}
