/* ═══════════════════ FOUNDATION ═══════════════════ */
:root {
  --blue: #0066FF;
  --cyan: #00CCCC;
  --dark-bg: #0a0a1a;
  --card-bg: #12122a;
  --border: rgba(255, 255, 255, 0.06);
  --text: #e0e4f0;
  --text-muted: #8890a8;
  --radius: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--dark-bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════ NAV ═══════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}

.logo img {
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

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

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, rgba(0, 204, 204, 0.08) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

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

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.25);
  color: #6cb4ff;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #0088ee);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(0, 102, 255, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.platform-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ═══════════════════ FEATURES ═══════════════════ */
.features {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 204, 204, 0.1));
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ═══════════════════ DOWNLOAD ═══════════════════ */
.download {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 102, 255, 0.03) 100%);
}

.install-commands {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.install-command {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px 16px;
  align-items: start;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.install-command-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: 6px;
}

.install-command-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.install-command-row code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.85rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  overflow-x: auto;
  white-space: nowrap;
}

.install-command-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.install-command-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.install-command-note a {
  color: #6cb4ff;
  text-decoration: none;
}

.install-command-note a:hover {
  text-decoration: underline;
}

.copy-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 102, 255, 0.08);
  color: #6cb4ff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.copy-btn:hover {
  background: rgba(0, 102, 255, 0.18);
  border-color: rgba(0, 102, 255, 0.35);
  color: #9cc8ff;
}

.copy-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.copy-btn .copy-icon-done {
  display: none;
}

.copy-btn.copied {
  color: #5ee0a8;
  border-color: rgba(94, 224, 168, 0.35);
  background: rgba(94, 224, 168, 0.1);
}

.copy-btn.copied .copy-icon {
  display: none;
}

.copy-btn.copied .copy-icon-done {
  display: block;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1180px) {
  .download-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.download-extras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.extra-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.extra-card:hover {
  border-color: rgba(0, 102, 255, 0.35);
  transform: translateY(-2px);
}

.extra-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #6cb4ff;
  background: rgba(0, 102, 255, 0.1);
}

.extra-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.extra-text strong {
  font-size: 1rem;
  color: var(--text);
}

.extra-text .vt-check {
  align-self: flex-start;
  margin-top: 6px;
}

.extra-action {
  flex: none;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  white-space: nowrap;
}

.extra-badge {
  flex: none;
  height: 44px;
  width: auto;
}

@media (max-width: 900px) {
  .download-extras {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .extra-card {
    flex-wrap: wrap;
  }
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 14px;
  transition: all 0.3s ease;
}

.download-card:hover {
  border-color: rgba(0, 102, 255, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 102, 255, 0.15);
}

.download-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.12), rgba(0, 204, 204, 0.08));
  color: #6cb4ff;
  margin-bottom: 20px;
}

.download-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-format {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.download-req {
  font-size: 11px;
  color: #555;
}

.download-card.chrome .download-icon {
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.15), rgba(15, 157, 88, 0.1));
  color: #4285f4;
}

.hero-stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  /* Four badges: Apple's two on the first row, Chrome and Snap on the second. */
  max-width: 470px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 24px;
  animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-cws {
  display: inline-block;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cws img {
  display: block;
  width: auto;
  height: 62px;
  border-radius: 8px;
}

.hero-snap:hover {
  box-shadow: 0 10px 30px rgba(250, 100, 65, 0.25);
}

.download-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  color: var(--text-muted);
  text-align: center;
}

.download-stores a {
  display: inline-block;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.download-stores a:hover {
  transform: translateY(-2px);
}

.download-stores img {
  display: block;
}

.hero-cws:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(66, 133, 244, 0.25);
}

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-brand img {
  border-radius: 6px;
}

.footer p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer a {
  color: #6cb4ff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .install-command {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .install-command-label {
    padding-top: 0;
  }
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

/* ═══════════════════ PROSE (legal / press) ═══════════════════ */
.page-main {
  padding: 120px 0 80px;
  min-height: 70vh;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 0.75rem;
}

.prose ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.prose a {
  color: #6cb4ff;
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

.prose .meta {
  font-size: 13px;
  color: #555;
  margin-bottom: 2rem;
}

.brand-swatch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  margin: 8px 8px 0 0;
  font-size: 13px;
}

.brand-swatch span {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 2rem 0;
}

.press-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.press-card img {
  border-radius: 16px;
  max-width: 100%;
  height: auto;
}

/* ═══════════════════ ANIMATIONS ═══════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════ DOWNLOAD SAFETY ═══════════════════ */
.vt-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  color: #4ade80;
  background: rgba(48, 209, 88, 0.1);
  border: 1px solid rgba(48, 209, 88, 0.25);
  cursor: pointer;
}

.vt-check:hover,
.vt-check:focus-visible {
  background: rgba(48, 209, 88, 0.18);
  outline: none;
}

.verify {
  margin: 20px 0 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.verify summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.verify summary::-webkit-details-marker {
  display: none;
}

.verify summary::after {
  content: '▸';
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.verify[open] summary::after {
  transform: rotate(90deg);
}

.verify-body {
  padding: 4px 20px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.verify-body p {
  margin: 10px 0;
}

.verify-body a {
  color: #6cb4ff;
}

.verify-body h4 {
  margin: 26px 0 6px;
  color: var(--text);
  font-size: 1rem;
}

.verify-body code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.85em;
}

.verify-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--text);
  font-weight: 600;
}

.verify-pick select {
  flex: 1 1 260px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
  font-weight: 400;
  color-scheme: dark;
}

/* The open list is drawn by the browser: give it the page's dark colours so the text stays readable. */
.verify-pick select option {
  background: #141a2e;
  color: #e8ecf5;
}

.verify-pick select option:disabled {
  color: #7d86a3;
}

.verify-pick select option:checked {
  background: #0066ff;
  color: #fff;
}

.verify-cmd {
  margin-top: 14px;
}

.verify-cmd-label {
  margin: 0 0 6px !important;
  font-size: 0.9rem;
}

.verify-links {
  font-size: 0.85rem;
}

.verify-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-top: 4px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
}

.verify-tabs button {
  padding: 6px 14px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.verify-tabs button[aria-selected='true'] {
  background: var(--blue);
  color: #fff;
}

/* ═══════════════════ FEATURE ICONS (drawn once) ═══════════════════ */
/* The icons are SVG paths. Without JavaScript they show complete. */
.feature-icon {
  color: #6cb4ff;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.feature-icon svg .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.feature-icon svg .pop {
  transform-box: fill-box;
  transform-origin: center;
}

.feature-icon svg text {
  fill: currentColor;
  stroke: none;
  font: 700 7.5px var(--font);
}

.feature-icon svg .dot {
  fill: currentColor;
  stroke: none;
}

/* site.js adds .anim to the grid, then .is-in to each card once it is in view. */
.features-grid.anim .feature-card .draw {
  stroke-dashoffset: 1;
}

.features-grid.anim .feature-card .pop {
  opacity: 0;
  transform: scale(0.4);
}

.features-grid.anim .feature-card.is-in .draw {
  animation: fs-draw 1s ease-out forwards;
}

.features-grid.anim .feature-card.is-in .pop {
  animation: fs-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.8s forwards;
}

@keyframes fs-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fs-pop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ═══════════════════ FEATURE ICONS: NEON GLOW ═══════════════════ */
/* The icon colour cycles slowly through neon tones; the stroke and the glow follow it (currentColor). */
@keyframes fs-neon {
  0%, 100% { color: #00f0ff; }
  14% { color: #ff2bd6; }
  28% { color: #39ff14; }
  42% { color: #fff200; }
  56% { color: #ff7a1a; }
  70% { color: #b26bff; }
  84% { color: #0096ff; }
}

/* The glow only while the mouse is over the card (the halo in icons-glow.js follows the same rule). */
.feature-card:hover .feature-icon {
  animation: fs-neon 12s linear infinite;
  box-shadow: 0 0 18px -4px currentColor;
}

.feature-card:hover .feature-icon svg {
  filter: drop-shadow(0 0 2px currentColor) drop-shadow(0 0 7px currentColor);
}

/* The cards do not all change colour at once. */
.feature-card:nth-child(4n + 2) .feature-icon { animation-delay: -4s; }
.feature-card:nth-child(4n + 3) .feature-icon { animation-delay: -8s; }
.feature-card:nth-child(4n + 4) .feature-icon { animation-delay: -2s; }

@media (prefers-reduced-motion: reduce) {
  .feature-icon {
    animation: none;
  }
}

/* With 19 feature cards the last one sits alone in its row on the desktop grid: centre it. */
@media (min-width: 769px) {
  .features-grid .feature-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

/* ═══════════════════ NEON STORE BADGES AND PILLS ═══════════════════ */
/* The colour cycles like the feature icons; the glow follows it (currentColor). */
.footer-stores {
  position: relative;
  isolation: isolate;
}

/* The WebGL aurora behind the footer badges (stores-glow.js). */
.stores-glow {
  position: absolute;
  left: -48px;
  top: -34px;
  width: calc(100% + 96px);
  height: calc(100% + 68px);
  z-index: -1;
  pointer-events: none;
}

.footer-stores .hero-cws {
  animation: fs-neon 12s linear infinite;
  box-shadow: 0 0 16px -2px currentColor;
}

.footer-stores .hero-cws {
  box-shadow: 0 0 22px 2px currentColor, 0 0 6px currentColor;
}


/* A light sweep across each badge, like light on glass. */
.footer-stores .hero-cws {
  position: relative;
  overflow: hidden;
  color: #00f0ff;
}

.footer-stores .hero-cws::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: fs-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}

.footer-stores .hero-cws:nth-child(2)::after { animation-delay: 1.1s; }
.footer-stores .hero-cws:nth-child(3)::after { animation-delay: 2.2s; }
.footer-stores .hero-cws:nth-child(4)::after { animation-delay: 3.3s; }

@keyframes fs-shine {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .footer-stores .hero-cws {
    animation: none;
  }

  .footer-stores .hero-cws::after {
    display: none;
  }
}

/* ═══════════════════ FEATURE ICONS: WEBGL NEON HALO (icons-glow.js) ═══════════════════ */
/* One WebGL canvas over the features grid draws a soft neon halo, a rim light and a slow light
   sweep around every icon tile. It sits above the card backgrounds but below the icon tiles and
   the card text, so the text stays crisp. Without WebGL or with reduced motion there is no canvas
   and these rules change nothing visible. */
.features {
  position: relative;
  isolation: isolate;
}

.icons-glow {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
}

.feature-card {
  position: relative;
  top: 0;
}

/* Lift on hover with top instead of transform: a transform would make the card its own layer and
   hide the halo under the card background. Same 4 px lift, same transition. */
.feature-card:hover {
  transform: none;
  top: -4px;
}

.feature-icon,
.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 2;
}

/* The footer aurora canvas (stores-glow.js) reaches 48 px past the badges; on a phone that is past
   the screen edge and made the page 24 px wider than the screen. Clip it at the footer edges. */
.footer {
  overflow-x: clip;
}
