@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

/* =========================================================================
   THUMBDASH: PREMIUM STYLE SYSTEM (SPORTY telemetry LIGHT THEME)
   ========================================================================= */

:root {
  /* Colors - Biquadia Professional Dark Theme */
  --bg-void: #121212;
  --bg-obsidian: #0A0A0A;
  --bg-graphite: #1C1C1E;
  --bg-graphite-warm: #2C2C2E;
  
  --color-primary: #F57C57;        /* Biquadia Coral */
  --color-primary-light: #FF9E81;  /* Lighter Coral */
  --color-accent: #444446;         /* Biquadia Charcoal */
  --color-blue: #F57C57;           /* Coral mapped */
  
  /* Legacy Color Mappings for Page Compatibility */
  --teal: var(--color-primary-light);
  --teal-glow: rgba(245, 124, 87, 0.12);
  --purple: var(--color-accent);
  --purple-glow: rgba(68, 68, 70, 0.3);
  --indigo: var(--color-primary);
  --indigo-glow: rgba(245, 124, 87, 0.12);
  --amber: var(--color-accent);
  --amber-glow: rgba(68, 68, 70, 0.3);
  
  /* Glassmorphism Configuration */
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-hover: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(255, 255, 255, 0.2);
  
  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B5;
  --text-muted: #8E8E93;
  
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-void);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-top: 76px;
}

body.mobile-menu-active {
  overflow: hidden;
}

/* Ambient Background & Moving Orbs */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg-void);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.06;
  mix-blend-mode: multiply;
  pointer-events: none;
  animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-1 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 80%);
  top: -15vw;
  left: -10vw;
  animation-delay: 0s;
}

.orb-2 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 80%);
  top: 30vh;
  right: -10vw;
  animation-delay: -7s;
}

.orb-3 {
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 80%);
  bottom: -15vw;
  left: 20vw;
  animation-delay: -14s;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0.015;
  z-index: -1;
  pointer-events: none;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(6vw, 8vh) scale(1.12) rotate(120deg); }
  100% { transform: translate(-4vw, -5vh) scale(0.95) rotate(240deg); }
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(244, 244, 246, 0.8);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
  z-index: 110;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: block;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s, transform 0.3s;
}

nav a:hover {
  color: var(--text-primary);
}

.nav-btn {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.nav-btn:hover {
  background: #FFFFFF;
  border-color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
  padding: 0;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Overlay backdrop (mobile only, hidden on desktop) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.mobile-menu-active {
  overflow: hidden;
}

/* Nav drawer footer — hidden on desktop, shown inside mobile nav */
.nav-drawer-footer {
  display: none;
}

/* Landing Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

/* Hero Section */
.hero {
  padding: 8rem 0 5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  min-height: 85vh;
}

.hero-text {
  display: flex;
  flex-direction: column;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: rgba(0, 168, 107, 0.08);
  border: 1px solid rgba(0, 168, 107, 0.15);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
  animation: blink 1.5s infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-title span {
  color: var(--color-primary);
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
  font-weight: 400;
}

.btn-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.12s ease;
  border: none;
}

/* Entrance Animations */
.animate-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 
    0 0 0 1px #008f5a,
    0 4px 0 0 #00764a,
    0 8px 12px rgba(0, 168, 107, 0.25);
}

.btn-primary:hover {
  transform: translateY(1px);
  box-shadow: 
    0 0 0 1px #008f5a,
    0 3px 0 0 #00764a,
    0 6px 10px rgba(0, 168, 107, 0.2);
}

.btn-primary:active {
  transform: translateY(4px);
  box-shadow: 
    0 0 0 1px #008f5a,
    0 0px 0 0 #00764a,
    0 2px 4px rgba(0, 168, 107, 0.15);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary);
  border: none;
  box-shadow: 
    0 0 0 1px #D2D5DB,
    0 4px 0 0 #B5B8C0,
    0 8px 12px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background: #FFFFFF;
  border-color: transparent;
  transform: translateY(1px);
  box-shadow: 
    0 0 0 1px #D2D5DB,
    0 3px 0 0 #B5B8C0,
    0 6px 10px rgba(0, 0, 0, 0.04);
}

.btn-secondary:active {
  transform: translateY(4px);
  box-shadow: 
    0 0 0 1px #D2D5DB,
    0 0px 0 0 #B5B8C0,
    0 2px 4px rgba(0, 0, 0, 0.03);
}

/* =========================================================================
   HIGH-FIDELITY CSS DEVICE MOCKUP & TELEMETRY RINGS
   ========================================================================= */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 0;
}

.td-rings {
  position: absolute;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.td-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: 0 0 15px rgba(0, 168, 107, 0.05);
}

.td-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  border-top-color: rgba(0, 168, 107, 0.3);
  border-right-color: rgba(0, 168, 107, 0.1);
  animation: td-spin-clockwise 15s linear infinite;
}

.td-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  border-bottom-color: rgba(255, 107, 53, 0.3);
  border-left-color: rgba(255, 107, 53, 0.1);
  animation: td-spin-counter 20s linear infinite;
}

.td-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  border-top-color: rgba(0, 168, 107, 0.4);
  border-left-color: rgba(0, 168, 107, 0.1);
  animation: td-spin-clockwise 10s linear infinite;
}

@keyframes td-spin-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes td-spin-counter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.td-hero-device {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 575px; /* Fixed height for absolute carousel images */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.td-hero-device:hover {
  transform: translateY(-12px);
}

.td-hero-device img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.td-hero-device img.active {
  opacity: 1;
  transform: scale(1);
}

.td-hero-device:hover img.active {
  filter: drop-shadow(0 30px 60px rgba(0, 168, 107, 0.15));
}

/* Keystroke Ticker Divider */
.waveform-section {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 3rem 0;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  height: 48px;
  box-sizing: content-box;
}

.wave-bar {
  width: 6px;
  height: 36px;
  background: var(--color-primary);
  border-radius: 4px;
  transform: scaleY(0.4);
  opacity: 0.15;
  animation: td-ticker-pulse 1.8s ease-in-out infinite alternate;
}

.wave-bar:nth-child(even) {
  background: var(--color-accent);
}

@keyframes td-ticker-pulse {
  0% {
    transform: scaleY(0.4);
    opacity: 0.15;
  }
  100% {
    transform: scaleY(1.2);
    opacity: 0.85;
  }
}

/* Wave delay classes for randomized telemetry effect */
.wave-bar:nth-child(1) { animation-delay: 0.00s; }
.wave-bar:nth-child(2) { animation-delay: 0.08s; }
.wave-bar:nth-child(3) { animation-delay: 0.16s; }
.wave-bar:nth-child(4) { animation-delay: 0.24s; }
.wave-bar:nth-child(5) { animation-delay: 0.32s; }
.wave-bar:nth-child(6) { animation-delay: 0.40s; }
.wave-bar:nth-child(7) { animation-delay: 0.48s; }
.wave-bar:nth-child(8) { animation-delay: 0.56s; }
.wave-bar:nth-child(9) { animation-delay: 0.64s; }
.wave-bar:nth-child(10) { animation-delay: 0.72s; }
.wave-bar:nth-child(11) { animation-delay: 0.80s; }
.wave-bar:nth-child(12) { animation-delay: 0.88s; }

/* Section Titles */
.section-title-wrap {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Bento Grid Features */
.features {
  padding: 5rem 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-5px);
  background: var(--glass-hover);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 15px rgba(61, 139, 110, 0.03);
}

.bento-6 { grid-column: span 6; }
.bento-4 { grid-column: span 4; }
.bento-8 { grid-column: span 8; }
.bento-12 { grid-column: span 12; }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--color-primary-light);
  transition: all 0.3s ease;
}

.glass-card:hover .card-icon {
  background: rgba(61, 139, 110, 0.15);
  border-color: rgba(61, 139, 110, 0.3);
  color: var(--color-primary-light);
  transform: scale(1.05);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.card-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Card Specific Layouts */
.flex-card-content {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  height: 100%;
}

.flex-card-text {
  flex: 1.2;
}

.flex-card-visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Date Pill Simulation Grid */
.date-pill-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.date-pill-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-void);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  transition: all 0.3s ease;
}

.date-pill-row:hover {
  background: #FFFFFF;
  border-color: var(--color-primary);
  transform: translateX(2px);
}

.date-pill-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  min-width: 96px; /* Increased from 85px to fit "Accuracy" */
  text-align: center;
}

.date-pill-badge.today {
  background: rgba(0, 168, 107, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(0, 168, 107, 0.25);
}

.date-pill-badge.tomorrow {
  background: rgba(255, 107, 53, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(255, 107, 53, 0.25);
}

.date-pill-badge.relative {
  background: rgba(91, 127, 166, 0.1);
  color: var(--color-blue);
  border: 1px solid rgba(91, 127, 166, 0.25);
}

.date-pill-desc {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Interactive Demo Widget */
.demo-section {
  padding: 5rem 0;
}

.demo-box {
  background: rgba(18, 19, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.demo-presets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.demo-intro {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.preset-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.5rem;
  border-radius: 20px;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preset-btn:hover, .preset-btn.active {
  background: rgba(61, 139, 110, 0.08);
  border-color: rgba(61, 139, 110, 0.4);
  transform: translateX(4px);
}

.preset-btn .play-icon {
  opacity: 0;
  color: var(--color-primary-light);
  transition: all 0.3s;
}

.preset-btn:hover .play-icon, .preset-btn.active .play-icon {
  opacity: 1;
}

/* Demo Simulation Panel */
.demo-sim-panel {
  background: rgba(9, 10, 15, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 0.75rem;
}

.sim-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sim-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

.sim-dot.active {
  background-color: var(--color-primary-light);
  box-shadow: 0 0 6px var(--color-primary-light);
  animation: blink 1s infinite;
}

.sim-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sim-waveform {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 40px;
}

.sim-waveform .wave-bar {
  animation-duration: 0.6s;
  height: 8px;
  background: linear-gradient(to top, var(--color-primary), var(--color-primary-light));
}

.sim-waveform.active {
  display: flex;
}

.sim-transcript-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 14px;
  min-height: 70px;
}

.transcript-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.transcript-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
}

.sim-result-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s;
}

.sim-result-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.result-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.result-card.reminder {
  border-left: 3px solid var(--color-accent);
}

.result-card.calendar {
  border-left: 3px solid var(--color-primary);
}

.result-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-card.reminder .result-icon {
  background: rgba(184, 147, 90, 0.1);
  color: var(--color-accent);
}

.result-card.calendar .result-icon {
  background: rgba(61, 139, 110, 0.1);
  color: var(--color-primary);
}

.result-info {
  flex: 1;
}

.result-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.result-time {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.result-tag {
  font-size: 0.7rem;
  background: rgba(255,255,255,0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 100px;
  color: var(--text-secondary);
}

.sim-processing {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 15, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sim-processing.visible {
  opacity: 1;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(61, 139, 110, 0.1);
  border-top-color: var(--color-primary-light);
  border-radius: 50%;
  animation: spin 0.8s infinite linear;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.processing-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Premium Download CTA Banner */
.banner {
  margin: 6rem 0;
  background: linear-gradient(135deg, rgba(0, 168, 107, 0.06) 0%, rgba(255, 107, 53, 0.03) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 4rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.banner-content {
  max-width: 650px;
}

.banner-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.banner-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.banner-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.banner-bullets li {
  font-size: 0.95rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.banner-bullets svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.banner-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cta-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  padding: 1.25rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.qr-code {
  width: 120px;
  height: 120px;
  background: #FFFFFF;
  padding: 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code svg {
  width: 100%;
  height: 100%;
}

.qr-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* FAQ Accordion Component */
.faq-section {
  padding: 5rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--glass-border);
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
}

.faq-toggle {
  display: none;
}

.faq-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  background: transparent;
  transition: background 0.3s;
}

.faq-label:hover {
  background: rgba(255, 255, 255, 0.4);
}

.faq-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: transform 0.3s;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 2rem;
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.6;
}

.faq-toggle:checked ~ .faq-content {
  max-height: 250px;
  padding-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.faq-toggle:checked ~ .faq-label .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

/* Specs Table */
.specs-section {
  padding: 5rem 0;
}

.specs-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--glass-border);
}

.specs-table td {
  padding: 1.5rem 2rem;
}

.specs-table td:first-child {
  color: var(--color-primary);
  font-weight: 600;
  font-family: var(--font-display);
  width: 35%;
}

.specs-table td:last-child {
  color: var(--text-secondary);
  text-align: right;
}

/* Policy Content (Privacy / Support Docs) */
.policy-page {
  padding: 10rem 0 6rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.policy-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1rem;
}

.policy-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem 0;
}

.policy-body p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.policy-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.policy-body li {
  margin-bottom: 0.5rem;
}

/* Footer styling */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 3rem 0;
  background: rgba(228, 230, 235, 0.4);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================================================================
   RESPONSIVENESS & MEDIA QUERIES (ROCK-SOLID MOBILE INTERFACE)
   ========================================================================= */

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 6rem;
    gap: 3rem;
  }
  
  .badge {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .btn-group {
    justify-content: center;
  }
  
  .demo-box {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
  
  .banner {
    flex-direction: column;
    text-align: center;
    padding: 3.5rem 2rem;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  /* Collapsible Navigation & Mobile Toggle */
  .nav-container {
    padding: 1.25rem 1.5rem;
  }
  
  .hamburger {
    display: flex;
  }

  /* Overlay backdrop */
  .nav-overlay {
    opacity: 0;
    pointer-events: none;
  }
  .nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  nav {
    position: fixed;
    top: 76px;
    right: -100%;
    width: min(280px, 80vw);
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    background: rgba(20, 22, 30, 0.94);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 115;
  }
  
  nav.active {
    right: 0;
  }

  /* Menu Items */
  nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: 100%;
    padding: 0.5rem 1.5rem;
    flex: 0 1 auto;
  }

  nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  nav li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s, padding-left 0.2s;
  }

  nav a:hover {
    color: #fff;
    padding-left: 0.75rem;
  }

  nav a::after {
    display: none;
  }

  nav .nav-btn {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1rem 0.5rem;
    color: var(--color-primary-light);
  }

  nav .nav-btn:hover {
    background: transparent;
    transform: none;
    color: var(--color-primary-light);
  }

  /* Drawer Footer */
  .nav-drawer-footer {
    display: block;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
    flex-shrink: 0;
  }

  .nav-drawer-cta {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
  }

  .nav-drawer-cta:hover {
    background: var(--color-primary-light);
  }
  
  /* Hero section adjustments */
  .hero {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
    gap: 2rem;
  }
  
  .hero-text {
    position: relative;
    z-index: 10;
  }
  
  .hero-visual {
    margin-top: 1.5rem;
    transform: scale(0.9);
    z-index: 2;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
  }
  
  .hero-description {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .section-title-wrap {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Bento Grid Stacking */
  .bento-6, .bento-4, .bento-8 {
    grid-column: span 12;
  }
  
  .glass-card {
    padding: 2rem 1.25rem;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .flex-card-content {
    flex-direction: column;
    gap: 1.75rem;
  }
  
  .flex-card-text {
    width: 100%;
  }
  
  .flex-card-visual {
    width: 100%;
  }

  /* Interactive Demo Box - Mobile scrollable selector */
  .demo-box {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  .demo-presets {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .demo-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .demo-intro {
    margin-bottom: 1.25rem;
    text-align: center;
  }

  .demo-presets-scroll {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0.25rem;
    margin-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .demo-presets-scroll::-webkit-scrollbar {
    display: none;
  }

  .preset-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    white-space: nowrap;
  }

  .preset-btn .play-icon {
    display: none;
  }

  .demo-sim-panel {
    padding: 1.5rem 1.25rem;
    min-height: auto;
  }

  .sim-waveform {
    height: 30px;
  }

  /* Technical Specs block collapse */
  .specs-table {
    display: block;
  }
  
  .specs-table tr {
    display: block;
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0.5rem;
  }
  
  .specs-table td {
    display: block;
    width: 100% !important;
    padding: 0.25rem 0;
    text-align: left !important;
  }

  .specs-table td:first-child {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }

  .specs-table td:last-child {
    font-size: 0.95rem;
  }

  /* Premium Banner bullets and stack */
  .banner {
    padding: 3rem 1.5rem;
  }

  .banner-title {
    font-size: 2rem;
  }

  .banner-bullets {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  /* Footer responsive stack */
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .sim-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .result-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }

  .result-tag {
    align-self: flex-start;
  }

  .btn {
    width: 100%;
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 360px) {
  .phone-mockup {
    width: 260px;
    height: 530px;
    border-radius: 38px;
    padding: 8px;
    border-width: 3px;
  }
  .phone-bezel {
    border-radius: 30px;
  }
  .phone-screen {
    padding: 2.8rem 1rem 1.2rem 1rem;
  }
  .phone-mic-btn {
    width: 64px;
    height: 64px;
  }
  .phone-pulse-ring {
    width: 64px;
    height: 64px;
  }
}


/* --- CSS PORTED FROM SQUARESPACE SNIPPET --- */

  /* =========================================================================
     THUMBDASH — Speed Typing Game with Local AI
     Design Theme: Sporty. Mechanical. Athletic. Telemetry.
     Colors: Kelly Green, Velocity Tangerine, Crisp Light Gray, Ink Black.
     ========================================================================= */

  @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&family=Share+Tech+Mono&display=swap');

  .td-page {
    --dash-page: #F4F4F6;
    --dash-page-dim: #E4E6EB;
    --dash-deep: #1A1D20;
    --dash-keycap: #D2D5DB;
    --dash-green: #00A86B;
    --dash-green-glow: rgba(0, 168, 107, 0.25);
    --dash-green-dim: rgba(0, 168, 107, 0.08);
    --dash-hot: #FF6B35;
    --dash-hot-glow: rgba(255, 107, 53, 0.25);
    --dash-hot-dim: rgba(255, 107, 53, 0.08);
    --dash-red: #E63946;
    --dash-dim: #888C95;

    --text: #1A1D20;
    --text-soft: #4A4D50;
    --text-dim: #888C95;
    --line: rgba(26, 29, 32, 0.08);
    --glass: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(26, 29, 32, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.85);

    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--dash-page);
    margin: 0 calc(50% - 50vw);
    padding: 0;
    overflow-x: clip;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    position: relative;
  }

  .td-page *,
  .td-page *::before,
  .td-page *::after {
    box-sizing: border-box;
  }

  /* ---- Ambient BG ---- */
  .td-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .td-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    animation: td_orbDrift 28s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
  }

  .td-bg-orb:nth-child(1) {
    width: 55vw;
    height: 55vw;
    background: var(--dash-green);
    top: -20vw;
    left: -12vw;
  }

  .td-bg-orb:nth-child(2) {
    width: 40vw;
    height: 40vw;
    background: var(--dash-hot);
    top: 45%;
    right: -18vw;
    animation-delay: -7s;
  }

  .td-bg-orb:nth-child(3) {
    width: 45vw;
    height: 45vw;
    background: var(--dash-keycap);
    bottom: -20vw;
    left: 25%;
    animation-delay: -14s;
  }

  @keyframes td_orbDrift {
    0% {
      transform: translate(0, 0) scale(1);
    }
    33% {
      transform: translate(6vw, 10vw) scale(1.12);
    }
    66% {
      transform: translate(-7vw, 3vw) scale(0.88);
    }
    100% {
      transform: translate(2vw, -5vw) scale(1.06);
    }
  }

  .td-noise {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)"/%3E%3C/svg%3E');
    opacity: 0.02;
    mix-blend-mode: overlay;
  }

  /* ---- Container ---- */
  .td-wrap {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5vw;
  }

  /* ---- Shared Typography ---- */
  .td-eyebrow {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dash-green);
    margin: 0 0 0.5rem;
  }

  .td-h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
    line-height: 1.15;
    color: var(--dash-deep);
  }

  .td-para {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.65;
    margin: 0;
  }

  /* ---- Mechanical Keycap Buttons ---- */
  .td-btn-keycap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 2rem 1.1rem;
    border-radius: 16px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    border: none;
    font-family: inherit;
  }

  .td-btn-solid {
    background: var(--dash-green);
    color: #fff !important;
    box-shadow: 0 5px 0 var(--dash-deep), 0 10px 20px var(--dash-green-glow);
  }

  .td-btn-solid:hover {
    transform: translateY(1px);
    box-shadow: 0 4px 0 var(--dash-deep), 0 8px 16px var(--dash-green-glow);
  }

  .td-btn-solid:active {
    transform: translateY(5px);
    box-shadow: 0 0px 0 var(--dash-deep), 0 2px 4px rgba(0, 168, 107, 0.1);
  }

  .td-btn-ghost {
    background: var(--dash-page-dim);
    color: var(--dash-deep) !important;
    box-shadow: 0 5px 0 var(--dash-keycap), 0 10px 20px rgba(0, 0, 0, 0.05);
  }

  .td-btn-ghost:hover {
    transform: translateY(1px);
    box-shadow: 0 4px 0 var(--dash-keycap), 0 8px 16px rgba(0, 0, 0, 0.06);
  }

  .td-btn-ghost:active {
    transform: translateY(5px);
    box-shadow: 0 0px 0 var(--dash-keycap), 0 2px 4px rgba(0, 0, 0, 0.02);
  }

  /* ════════════════════════════════════════════════════=========
     SECTION 1 — HERO
     ════════════════════════════════════════════════════========= */
  .td-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4vw;
    align-items: center;
    min-height: 85vh;
    padding: 4vw 0;
  }

  @media(max-width: 900px) {
    .td-hero {
      grid-template-columns: 1fr;
      text-align: center;
      min-height: auto;
      padding: 8vw 0 4vw;
    }
    .td-hero-text {
      order: 1;
    }
    .td-hero-visual {
      order: 2;
    }
    .td-hero-actions {
      justify-content: center;
    }
  }

  .td-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 100px;
    border: 1px solid rgba(0, 168, 107, 0.2);
    background: var(--dash-green-dim);
    color: var(--dash-green);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
  }

  .td-hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--dash-green);
    animation: td_blink 2s infinite ease-in-out;
  }

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

  .td-hero-title {
    font-size: clamp(2.5rem, 6.5vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 0 0 1.2rem;
    color: var(--dash-deep);
  }

  .td-hero-title em {
    font-style: normal;
    color: var(--dash-green);
  }

  .td-hero-sub {
    max-width: 520px;
    margin: 0 0 2.2rem;
    font-size: 1.05rem;
    color: var(--text-soft);
    line-height: 1.65;
  }

  @media(max-width: 900px) {
    .td-hero-sub {
      margin-left: auto;
      margin-right: auto;
    }
  }

  .td-hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }

  /* --- Hero Visual --- */
  .td-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }



  /* ════════════════════════════════════════════════════=========
     KEYSTROKE TICKER DIVIDER
     ════════════════════════════════════════════════════========= */
  .td-ticker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 5vw 0;
    height: 40px;
  }

  .td-ticker-bar {
    width: 4px;
    background: var(--dash-green);
    border-radius: 3px;
    animation: td_tickerAnim 1.2s infinite ease-in-out alternate;
    opacity: 0.75;
  }

  .td-ticker-bar:nth-child(even) {
    background: var(--dash-hot);
  }

  @keyframes td_tickerAnim {
    0% { height: 8px; opacity: 0.2; }
    100% { height: 45px; opacity: 1; }
  }

  /* ════════════════════════════════════════════════════=========
     SECTION 2 — STAT TICKERS
     ════════════════════════════════════════════════════========= */
  .td-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 4vw 0 6vw;
  }

  .td-stat-card {
    text-align: center;
    padding: 28px 16px;
  }

  .td-stat-value {
    font-family: 'Share Tech Mono', monospace;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--dash-green);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    font-variant-numeric: tabular-nums;
  }

  .td-stat-card:nth-child(2) .td-stat-value {
    color: var(--dash-hot);
  }

  .td-stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    position: relative;
    z-index: 2;
  }

  /* ════════════════════════════════════════════════════=========
     SECTION 3 — BENTO GRID (Features)
     ════════════════════════════════════════════════════========= */
  .td-bento-header {
    text-align: center;
    margin-bottom: 3.5rem;
  }

  .td-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(260px, auto);
    gap: 20px;
    margin-bottom: 2rem;
  }

  .bento-feature { grid-column: span 6; }
  .bento-large { grid-column: span 8; }
  .bento-small { grid-column: span 4; }

  @media(max-width: 900px) {
    .bento-feature, .bento-large, .bento-small {
      grid-column: span 12;
    }
  }

  .td-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--dash-green-dim);
    color: var(--dash-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 168, 107, 0.15);
  }

  .td-card-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }

  .td-glass-card:nth-child(even) .td-card-icon {
    background: var(--dash-hot-dim);
    color: var(--dash-hot);
    border: 1px solid rgba(255, 107, 53, 0.15);
  }

  .td-card-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
  }

  .td-card-desc {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
  }

  /* Bento large: side-by-side layout */
  .bento-large .td-card-content {
    display: flex;
    gap: 36px;
    align-items: center;
    height: 100%;
  }

  .bento-large .td-card-text {
    flex: 1.1;
  }

  .bento-large .td-card-image {
    flex: 0.9;
    display: flex;
    justify-content: flex-end;
  }

  .bento-large .td-card-image img {
    max-width: 100%;
    border-radius: 20px;
    border: 1px solid var(--dash-keycap);
    box-shadow: 0 15px 35px rgba(26, 29, 32, 0.08);
    transform: rotate(2deg) translateY(8px);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .bento-large:hover .td-card-image img {
    transform: rotate(0deg) translateY(0) scale(1.04);
  }

  @media(max-width: 768px) {
    .bento-large .td-card-content {
      flex-direction: column;
      align-items: flex-start;
    }
    .bento-large .td-card-image {
      justify-content: center;
      width: 100%;
      margin-top: 16px;
    }
  }

  /* ════════════════════════════════════════════════════=========
     SECTION 4 — TELEMETRY / LOOP PIPELINE (Game telemetry Loop)
     ════════════════════════════════════════════════════========= */
  .td-pipeline {
    margin: 6vw 0;
  }

  .td-pipeline-header {
    text-align: center;
    margin-bottom: 3.5rem;
  }

  .td-pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
  }

  .td-pipe-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 140px;
    transition: opacity 0.5s, transform 0.5s;
    opacity: 0.35;
    transform: scale(0.92);
  }

  .td-pipe-stage.active {
    opacity: 1;
    transform: scale(1);
  }

  .td-pipe-dot {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--dash-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px var(--dash-green-glow);
    transition: box-shadow 0.5s;
  }

  .td-pipe-stage.active .td-pipe-dot {
    box-shadow: 0 6px 20px var(--dash-green-glow);
  }

  .td-pipe-stage:nth-child(even) .td-pipe-dot {
    background: var(--dash-hot);
  }

  .td-pipe-stage.active:nth-child(even) .td-pipe-dot {
    box-shadow: 0 6px 20px var(--dash-hot-glow);
  }

  .td-pipe-dot svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }

  .td-pipe-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
  }

  .td-pipe-sublabel {
    font-size: 0.72rem;
    color: var(--text-dim);
  }

  .td-pipe-arrow {
    display: flex;
    align-items: center;
    margin: 0 -4px;
    color: var(--dash-keycap);
    font-size: 1.4rem;
    font-weight: 400;
    transition: opacity 0.5s;
  }

  .td-pipe-row {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  @media(max-width: 700px) {
    .td-pipeline-flow {
      flex-direction: column;
      gap: 16px;
    }
    .td-pipe-arrow {
      transform: rotate(90deg);
      margin: 0;
    }
  }

  /* ════════════════════════════════════════════════════=========
     SECTION 5 — GAME MODES SHOWCASE
     ════════════════════════════════════════════════════========= */
  .td-modes {
    margin: 6vw 0;
  }

  .td-modes-header {
    text-align: center;
    margin-bottom: 3rem;
  }

  .td-modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }

  .td-mode-card {
    text-align: left;
    padding: 32px 28px;
    border-top: 3px solid var(--dash-keycap);
  }

  .td-mode-card:hover {
    border-top-color: var(--dash-green);
  }

  .td-mode-card:nth-child(even):hover {
    border-top-color: var(--dash-hot);
  }

  .td-mode-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--dash-green);
  }

  .td-mode-card:nth-child(even) .td-mode-icon {
    color: var(--dash-hot);
  }

  .td-mode-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }

  .td-mode-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 10px 0;
  }

  .td-mode-desc {
    font-size: 0.88rem;
    color: var(--text-soft);
    line-height: 1.55;
    margin: 0;
  }

  /* ════════════════════════════════════════════════════=========
     SECTION 6 — SCROLL GALLERY (App Screenshots)
     ════════════════════════════════════════════════════========= */
  .td-gallery-section {
    margin: 6vw 0;
  }

  .td-gallery-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .td-gallery-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 28px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 16px 5vw 56px 5vw;
    margin: 0 -5vw;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .td-gallery-track::-webkit-scrollbar {
    display: none;
  }

  .td-gallery-item {
    flex: 0 0 min(300px, 82vw);
    min-width: 0;
    scroll-snap-align: center;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s;
    filter: brightness(0.95);
  }

  .td-gallery-item img {
    width: 100%;
    border-radius: 36px;
    border: 3px solid var(--dash-keycap);
    box-shadow: 0 20px 45px rgba(26, 29, 32, 0.08);
  }

  .td-gallery-item:hover {
    transform: translateY(-12px) scale(1.02);
    filter: brightness(1.0);
  }

  .td-gallery-item:hover img {
    box-shadow: 0 30px 65px rgba(26, 29, 32, 0.12);
    border-color: var(--dash-green);
  }

  .td-gallery-item:nth-child(even):hover img {
    border-color: var(--dash-hot);
  }

  /* ════════════════════════════════════════════════════=========
     SECTION 7 — INTERACTIVE QUIZ — "What Type of Typer Are You?"
     ════════════════════════════════════════════════════========= */
  .td-quiz {
    margin: 6vw 0;
  }

  .td-quiz-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .td-quiz-card {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 32px;
  }

  .td-quiz-q {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    line-height: 1.3;
  }

  .td-quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .td-quiz-opt {
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.4);
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-family: inherit;
  }

  .td-quiz-opt:hover {
    border-color: var(--dash-green);
    background: var(--dash-green-dim);
    color: var(--text);
    transform: translateX(6px);
  }

  .td-quiz-result {
    display: none;
    position: relative;
    z-index: 2;
  }

  .td-quiz-result.show {
    display: block;
  }

  .td-quiz-result-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--dash-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px var(--dash-green-glow);
  }

  .td-quiz-result-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }

  .td-quiz-result-name {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--dash-green);
  }

  .td-quiz-result-desc {
    font-size: 0.95rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .td-quiz-reset {
    padding: 10px 24px;
    border-radius: 100px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text-soft);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
  }

  .td-quiz-reset:hover {
    border-color: var(--dash-green);
    color: var(--dash-green);
    background: var(--dash-green-dim);
  }

  .td-quiz-progress {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 24px;
    letter-spacing: 0.06em;
    position: relative;
    z-index: 2;
  }

  /* ════════════════════════════════════════════════════=========
     SECTION 8 — COMPARISON TABLE
     ════════════════════════════════════════════════════========= */
  .td-compare {
    margin: 6vw 0;
  }

  .td-compare-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .td-compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
  }

  .td-compare-table thead th {
    padding: 18px 20px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    background: rgba(26, 29, 32, 0.02);
  }

  .td-compare-table thead th:first-child {
    width: 32%;
  }

  .td-compare-table thead th:last-child {
    text-align: center;
    color: var(--dash-green);
    background: var(--dash-green-dim);
  }

  .td-compare-table tbody td {
    padding: 16px 20px;
    border-top: 1px solid var(--line);
    font-size: 0.88rem;
    color: var(--text-soft);
    line-height: 1.5;
    vertical-align: middle;
  }

  .td-compare-table tbody td:first-child {
    font-weight: 700;
    color: var(--text);
    font-size: 0.85rem;
  }

  .td-compare-table tbody td:last-child {
    color: var(--dash-green);
    font-weight: 700;
    text-align: center;
    background: rgba(0, 168, 107, 0.02);
  }

  .td-check {
    color: var(--dash-green);
    font-weight: 700;
  }

  .td-cross {
    color: var(--text-dim);
  }

  @media(max-width: 640px) {
    .td-compare-table thead th,
    .td-compare-table tbody td {
      padding: 12px 14px;
      font-size: 0.78rem;
    }
  }

  /* ════════════════════════════════════════════════════=========
     SECTION 9 — TECH SPECS
     ════════════════════════════════════════════════════========= */
  .td-specs {
    margin: 6vw 0;
  }

  .td-specs-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .td-table {
    width: 100%;
    border-collapse: collapse;
  }

  .td-table tr {
    border-bottom: 1px solid var(--line);
  }

  .td-table tr:last-child {
    border-bottom: none;
  }

  .td-table td {
    padding: 22px 28px;
    vertical-align: middle;
  }

  .td-table td:first-child {
    width: 32%;
    color: var(--dash-green);
    font-weight: 700;
    font-size: 0.95rem;
  }

  .td-table td:last-child {
    color: var(--text);
    text-align: right;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  @media(max-width: 600px) {
    .td-table td {
      display: block;
      width: 100% !important;
      padding: 14px 20px;
    }
    .td-table td:first-child {
      padding-bottom: 4px;
    }
    .td-table td:last-child {
      padding-top: 0;
      text-align: left;
    }
  }

  /* ════════════════════════════════════════════════════=========
     SECTION 10 — PRIVACY
     ════════════════════════════════════════════════════========= */
  .td-privacy {
    margin: 6vw 0;
  }

  .td-privacy-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .td-privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  @media(max-width: 768px) {
    .td-privacy-grid {
      grid-template-columns: 1fr;
    }
  }

  .td-privacy-detail {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
  }

  .td-privacy-detail h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 1.8rem 0 0.8rem;
    position: relative;
    z-index: 2;
    color: var(--dash-deep);
  }

  .td-privacy-detail h3:first-child {
    margin-top: 0;
  }

  .td-privacy-detail ul {
    padding-left: 1.2rem;
    margin: 0 0 1.2rem;
    color: var(--text-soft);
    line-height: 1.7;
    position: relative;
    z-index: 2;
  }

  .td-privacy-detail li {
    margin-bottom: 0.4rem;
  }

  .td-privacy-detail li strong {
    color: var(--text);
  }

  .td-privacy-detail .td-para {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
  }

  .td-privacy-detail a {
    color: var(--dash-green);
    text-decoration: none;
    font-weight: 600;
  }

  .td-privacy-detail a:hover {
    text-decoration: underline;
  }

  /* ════════════════════════════════════════════════════=========
     SECTION 11 — FAQ
     ════════════════════════════════════════════════════========= */
  .td-faq {
    margin: 6vw 0;
  }

  .td-faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .td-faq-list {
    max-width: 720px;
    margin: 0 auto;
  }

  .td-faq-q {
    display: none;
  }

  .td-faq-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    cursor: pointer;
    border-bottom: 1px solid var(--line);
    transition: color 0.2s;
  }

  .td-faq-label:hover {
    color: var(--dash-green);
  }

  .td-faq-label-text {
    font-weight: 700;
    font-size: 0.98rem;
    padding-right: 1rem;
    color: var(--dash-deep);
  }

  .td-faq-label:hover .td-faq-label-text {
    color: var(--dash-green);
  }

  .td-faq-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--dash-green);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .td-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.65;
  }

  .td-faq-a p {
    margin: 0;
  }

  .td-faq-q:checked ~ .td-faq-a {
    max-height: 600px;
    padding: 0.9rem 0 1.2rem;
  }

  .td-faq-q:checked ~ .td-faq-label .td-faq-chevron {
    transform: rotate(180deg);
  }

  /* ════════════════════════════════════════════════════=========
     SECTION 12 — FOOTER
     ════════════════════════════════════════════════════========= */
  .td-footer {
    padding: 3vw 0 4vw;
    text-align: center;
    border-top: 1px solid var(--line);
  }

  .td-footer-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    display: block;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.3s;
  }

  .td-footer-icon:hover {
    opacity: 1;
    transform: scale(1.05);
  }

  .td-footer-brand {
    font-size: 1.15rem;
    font-weight: 850;
    margin-bottom: 0.3rem;
    color: var(--dash-deep);
  }

  .td-footer-by {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 0.8rem;
  }

  .td-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    font-size: 0.8rem;
  }

  .td-footer-links a {
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 600;
  }

  .td-footer-links a:hover {
    color: var(--dash-green);
  }

  /* ════════════════════════════════════════════════════=========
     BACK TO TOP BUTTON
     ════════════════════════════════════════════════════========= */
  .td-back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dash-green);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--dash-green-glow);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
  }

  .td-back-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .td-back-top:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 28px var(--dash-green-glow);
  }

  .td-back-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* ---- Glass card background effects ---- */
  .td-glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.4s, border-color 0.4s;
    box-shadow: 0 8px 32px rgba(26, 29, 32, 0.02);
  }

  .td-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
  }

  .td-glass-card:hover {
    transform: translateY(-6px);
    background: var(--glass-hover);
    border-color: rgba(26, 29, 32, 0.15);
    box-shadow: 0 16px 40px rgba(26, 29, 32, 0.06);
  }

  .td-glass-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05) 55%, transparent 100%);
    transform: rotate(25deg);
    transition: all 0.6s;
    pointer-events: none;
    z-index: 1;
  }

  .td-glass-card:hover::after {
    top: -50%;
    left: -50%;
  }

  /* ---- Scroll Reveal ---- */
  .td-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
  }

  .td-reveal.on {
    opacity: 1;
    transform: translateY(0);
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* ---- Sticky Nav Bar ---- */
  .td-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(244, 244, 246, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 29, 32, 0.06);
    padding: 0 max(5vw, env(safe-area-inset-left));
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
  }

  .td-nav.visible {
    transform: translateY(0);
  }

  .td-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: var(--dash-deep);
  }

  .td-nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .td-nav-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--dash-deep);
  }

  .td-nav-cta {
    padding: 0.5rem 1.2rem 0.7rem;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 800;
    background: var(--dash-green);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 3px 0 var(--dash-deep), 0 6px 12px var(--dash-green-glow);
    transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    min-height: 44px;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .td-nav-cta:active {
    transform: translateY(3px);
    box-shadow: 0 0px 0 var(--dash-deep), 0 1px 4px rgba(0, 168, 107, 0.1);
  }

  @media(max-width: 500px) {
    .td-nav-name { display: none; }
    .td-nav-cta { font-size: 0.75rem; padding: 0.4rem 1rem 0.6rem; }
  }

  /* ---- Hero Rating Badge ---- */
  .td-hero-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-soft);
    margin-top: 0.6rem;
  }

  .td-hero-stars {
    color: var(--dash-hot);
    letter-spacing: 2px;
    font-size: 0.95rem;
  }

  @media(max-width: 900px) {
    .td-hero-rating { justify-content: center; }
  }

  /* ---- Pipeline Pulse Animation ---- */
  @keyframes td_pipePulse {
    0% { transform: scaleX(0.85); color: var(--dash-keycap); }
    50% { transform: scaleX(1.15); color: var(--dash-green); }
    100% { transform: scaleX(0.85); color: var(--dash-keycap); }
  }

  .td-pipe-arrow {
    transition: color 0.4s, transform 0.3s;
  }

  .td-pipe-arrow.active-arrow {
    color: var(--dash-green);
    animation: td_pipeArrowGlow 1.2s ease-in-out infinite;
  }

  @keyframes td_pipeArrowGlow {
    0%, 100% { text-shadow: 0 0 0 transparent; }
    50% { text-shadow: 0 0 12px var(--dash-green-glow); }
  }

  /* ---- Gallery Pagination Dots ---- */
  .td-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: -20px;
    padding-bottom: 32px;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .td-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dash-keycap);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    min-width: 10px;
    min-height: 10px;
  }

  .td-gallery-dot.active {
    background: var(--dash-green);
    transform: scale(1.4);
    box-shadow: 0 0 10px var(--dash-green-glow);
  }

  .td-gallery-dot:hover {
    background: var(--dash-green);
  }

  @media(max-width: 600px) {
    .td-gallery-dot { min-width: 14px; min-height: 14px; width: 14px; height: 14px; }
  }

  /* ---- Animated SVG Checkmarks ---- */
  .td-check {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .td-check-svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-right: 2px;
  }

  .td-check-svg circle {
    fill: none;
    stroke: var(--dash-green);
    stroke-width: 2;
  }

  .td-check-svg path {
    fill: none;
    stroke: var(--dash-green);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 22;
    stroke-dashoffset: 22;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .td-check-svg.animated path {
    stroke-dashoffset: 0;
  }

  /* ---- CTA Banner ---- */
  .td-cta-banner {
    margin: 6vw 0;
    text-align: center;
    padding: 56px 5vw;
    background: linear-gradient(135deg, var(--dash-green), #008c56);
    border-radius: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
  }

  .td-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
  }

  .td-cta-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
  }

  .td-cta-banner-heading {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin: 0 0 0.6rem;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 2;
    color: #fff;
  }

  .td-cta-banner-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 1.8rem;
    position: relative;
    z-index: 2;
    line-height: 1.5;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .td-cta-banner .td-btn-keycap {
    position: relative;
    z-index: 2;
    background: #fff;
    color: var(--dash-green) !important;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .td-cta-banner .td-btn-keycap:hover {
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.12);
  }

  .td-cta-banner .td-btn-keycap:active {
    transform: translateY(5px);
    box-shadow: 0 0px 0 rgba(0, 0, 0, 0.1);
  }

  @media(max-width: 500px) {
    .td-cta-banner { padding: 40px 20px; border-radius: 20px; }
  }

  /* ---- reduced-motion ---- */
  @media (prefers-reduced-motion: reduce) {
    .td-bg-orb,
    .td-ring,
    .td-ticker-bar,
    .td-pipe-arrow.active-arrow {
      animation: none !important;
    }
    .td-reveal {
      transition: none !important;
      opacity: 1 !important;
      transform: translateY(0) !important;
    }
    .td-glass-card,
    .td-glass-card::after,
    .td-glass-card:hover,
    .td-glass-card:hover::after {
      transition: none !important;
    }
    .td-hero-device,
    .td-hero-visual:hover .td-hero-device {
      transition: none !important;
      transform: none !important;
    }
    .td-gallery-item:hover,
    .td-gallery-item:hover img {
      transition: none !important;
      transform: none !important;
    }
    .bento-large:hover .td-card-image img {
      transition: none !important;
      transform: none !important;
    }
    .td-back-top { transition: none !important; }
    .td-back-top.visible { opacity: 1; transform: translateY(0); }
    .td-hero-badge-dot { animation: none !important; opacity: 1; }
    .td-nav { transition: none !important; }
    .td-nav.visible { transform: translateY(0); }
    .td-check-svg path { transition: none !important; }
    .td-check-svg.animated path { stroke-dashoffset: 0; }
    .td-gallery-dot { transition: none !important; }
    .td-btn-keycap { transition: none !important; }
  }

  /* Squarespace compatibility override */
  .page-section, #page {
    background-color: transparent !important;
  }
</style>
