/* =========================================
   CSS Custom Properties
   ========================================= */
:root {
  --teal: #308E98;
  --teal-light: #3AAAB5;
  --teal-dark: #246D75;
  --teal-glow: rgba(48, 142, 152, 0.35);

  /* Dark mode (default) */
  --bg-primary: #0d0d0f;
  --bg-secondary: #111316;
  --bg-tertiary: #16191e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(48, 142, 152, 0.5);
  --text-primary: #f0f0f2;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-teal: 0 4px 24px rgba(48, 142, 152, 0.25);
  --nav-bg: rgba(13, 13, 15, 0.8);
  --code-bg: rgba(0, 0, 0, 0.4);
}

html.light {
  --bg-primary: #f5f7fa;
  --bg-secondary: #eef1f5;
  --bg-tertiary: #e8ecf2;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-hover: rgba(255, 255, 255, 0.9);
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(48, 142, 152, 0.6);
  --text-primary: #0d0d0f;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-teal: 0 4px 24px rgba(48, 142, 152, 0.2);
  --nav-bg: rgba(245, 247, 250, 0.85);
  --code-bg: rgba(0, 0, 0, 0.06);
}

/* =========================================
   Reset & Base
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--teal-light);
}

img {
  max-width: 100%;
}

/* =========================================
   Utility Classes
   ========================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

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

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

/* Scroll animation base */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* =========================================
   Navigation
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav-logo:hover {
  opacity: 0.85;
  color: var(--text-primary);
}

.logo-img {
  flex-shrink: 0;
  border-radius: 8px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

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

.theme-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.theme-toggle:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.icon-sun { display: none; }
html.light .icon-moon { display: none; }
html.light .icon-sun { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background: var(--teal-light);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(48, 142, 152, 0.4);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 12px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

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

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(48, 142, 152, 0.18) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(48, 142, 152, 0.12) 0%, transparent 70%);
  bottom: 0;
  right: -50px;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(58, 170, 181, 0.1) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -2s;
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
  opacity: 0.4;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-headline .accent {
  color: var(--teal);
  position: relative;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: background 0.3s ease;
}

.stat-item:first-child {
  border-radius: 14px 0 0 14px;
}

.stat-item:last-child {
  border-radius: 0 14px 14px 0;
}

.stat-item + .stat-item {
  border-left: none;
}

.stat-icon {
  font-size: 1.1rem;
}

.stat-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =========================================
   Section spacing
   ========================================= */
section {
  padding: 100px 0;
}

/* =========================================
   How It Works
   ========================================= */
.how-it-works {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-glow), transparent);
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  margin-top: 56px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.step:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.step-number {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-teal);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

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

.step-arrow {
  font-size: 1.5rem;
  color: var(--teal);
  padding: 0 16px;
  opacity: 0.7;
}

/* =========================================
   Modes / Features
   ========================================= */
.modes {
  background: var(--bg-primary);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.mode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mode-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-teal);
  background: var(--surface-hover);
}

.mode-card:hover::before {
  opacity: 1;
}

.mode-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(48, 142, 152, 0.2), rgba(48, 142, 152, 0.08));
  border: 1px solid rgba(48, 142, 152, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.mode-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.mode-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =========================================
   Why Text-Grab (selling points)
   ========================================= */
.why {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(48, 142, 152, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  background: var(--surface-hover);
}

.why-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
}

.why-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.why-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =========================================
   Download Section
   ========================================= */
.download {
  background: var(--bg-primary);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.download-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.download-card.featured {
  border-color: rgba(48, 142, 152, 0.4);
  background: linear-gradient(135deg, rgba(48, 142, 152, 0.08) 0%, var(--surface) 100%);
}

.download-card.featured:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
}

.download-badge {
  display: inline-block;
  background: rgba(48, 142, 152, 0.15);
  color: var(--teal);
  border: 1px solid rgba(48, 142, 152, 0.3);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 20px;
  align-self: flex-start;
}

.download-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.download-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.download-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 6px;
}

.download-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

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

/* Package manager code blocks */
.pkg-commands {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.pkg-row {
  display: flex;
  align-items: center;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.pkg-label {
  padding: 10px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(48, 142, 152, 0.08);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}

.pkg-code {
  flex: 1;
  padding: 10px 14px;
  font-family: 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.82rem;
  color: var(--text-primary);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.copy-btn {
  padding: 8px 12px;
  background: none;
  border: none;
  border-left: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background: var(--surface-hover);
  color: var(--teal);
}

.copy-btn svg {
  width: 15px;
  height: 15px;
  pointer-events: none;
}

.copy-btn.copied {
  color: #4ade80;
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.footer-divider {
  width: 1px;
  height: 16px;
  background: var(--border);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-love {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =========================================
   Mobile Navigation Drawer
   ========================================= */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
}

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

  .nav-hamburger {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 8px;
  }

  .stat-item {
    border-radius: 12px !important;
    border: 1px solid var(--border) !important;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas .btn {
    justify-content: center;
  }

  .modes-grid,
  .why-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 420px) {
  .hero {
    padding: 90px 16px 52px;
  }

  .hero-ctas {
    max-width: 100%;
  }

  .hero-ctas .btn-lg {
    font-size: 0.9rem;
    padding: 12px 18px;
  }
}

/* =========================================
   Hero Text Grab Interaction
   ========================================= */

/* Subtle hint text */
.hero-try-hint {
  margin-top: 24px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  animation: hintFadeIn 2s ease 1.5s both;
  user-select: none;
  pointer-events: none;
}

.hero-try-desktop { display: inline; }
.hero-try-mobile  { display: none; }

@media (hover: none) and (pointer: coarse) {
  .hero-try-desktop { display: none; }
  .hero-try-mobile  { display: inline; }
}

@keyframes hintFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Crosshair cursor while hero drag is active */
.hero.grab-active {
  cursor: crosshair;
}

/* Selection rectangle */
.grab-selection {
  position: fixed;
  border: 2px solid var(--teal);
  background: rgba(48, 142, 152, 0.12);
  pointer-events: none;
  z-index: 200;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(48, 142, 152, 0.25) inset;
  display: none;
}

.grab-selection.active {
  display: block;
}

/* Copy emoji that appears after drag */
.copy-cursor {
  position: fixed;
  font-size: 2.4rem;
  pointer-events: none;
  z-index: 201;
  animation: copyCursorPop 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  user-select: none;
  line-height: 1;
}

@keyframes copyCursorPop {
  0%   { opacity: 0; transform: scale(0.4) translateY(0); }
  30%  { opacity: 1; transform: scale(1.25) translateY(-6px); }
  60%  { opacity: 1; transform: scale(1) translateY(-18px); }
  100% { opacity: 0; transform: scale(0.8) translateY(-32px); }
}

/* Mobile fountain particles */
.copy-particle {
  position: fixed;
  font-size: 2rem;
  pointer-events: none;
  z-index: 201;
  user-select: none;
  line-height: 1;
  transform-origin: center center;
  animation: copyParticle var(--dur, 0.85s) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes copyParticle {
  0%   { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
  70%  { opacity: 0.9; }
  100% { opacity: 0; transform: translate(var(--tx, 0px), var(--ty, -80px)) scale(0.55) rotate(var(--rot, 15deg)); }
}

/* Typing cursor */
.type-cursor {
  color: var(--teal);
  font-weight: 200;
  animation: cursorBlink 0.65s step-end infinite;
}

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