:root {
  --grain-opacity: 0.035;
}
html { scroll-behavior: smooth; }
body {
  background-color: #f7f5fb;
  transition: background-color 0.4s ease, color 0.4s ease;
}
html.dark body {
  background-color: #08060f;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg,#7c3aed,#4338ca); border-radius: 10px; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.55;
}
html:not(.dark) .aurora { opacity: 0.35; }

@keyframes drift1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(5%, 8%) scale(1.1); }
  66% { transform: translate(-6%, -4%) scale(0.95); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-8%, 6%) scale(1.15); }
}
.blob-a { animation: drift1 22s ease-in-out infinite; }
.blob-b { animation: drift2 18s ease-in-out infinite; }

.orbit-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.25);
}
html:not(.dark) .orbit-ring { border-color: rgba(109, 40, 217, 0.18); }

.orbit-lang-chip {
  font-family:
    'Noto Sans Bengali',
    'Noto Sans Devanagari',
    'Noto Sans Gujarati',
    'Noto Sans Gurmukhi',
    'Noto Sans Kannada',
    'Noto Sans Malayalam',
    'Noto Sans Oriya',
    'Noto Sans Tamil',
    'Noto Sans Telugu',
    'Inter',
    sans-serif;
}

.lang-neon-pill {
  background: var(--neon-bg);
  border: 1px solid var(--neon-border);
  color: var(--neon-text);
  box-shadow: var(--neon-shadow);
}

.lang-neon--en {
  --neon-bg: rgba(34, 211, 238, 0.14);
  --neon-border: rgba(34, 211, 238, 0.45);
  --neon-text: #0e7490;
  --neon-shadow: 0 2px 10px rgba(34, 211, 238, 0.2);
}
.lang-neon--kn {
  --neon-bg: rgba(74, 222, 128, 0.14);
  --neon-border: rgba(74, 222, 128, 0.45);
  --neon-text: #15803d;
  --neon-shadow: 0 2px 10px rgba(74, 222, 128, 0.2);
}
.lang-neon--hi {
  --neon-bg: rgba(251, 146, 60, 0.14);
  --neon-border: rgba(251, 146, 60, 0.45);
  --neon-text: #c2410c;
  --neon-shadow: 0 2px 10px rgba(251, 146, 60, 0.2);
}
.lang-neon--te {
  --neon-bg: rgba(244, 114, 182, 0.14);
  --neon-border: rgba(244, 114, 182, 0.45);
  --neon-text: #be185d;
  --neon-shadow: 0 2px 10px rgba(244, 114, 182, 0.2);
}
.lang-neon--ta {
  --neon-bg: rgba(250, 204, 21, 0.18);
  --neon-border: rgba(250, 204, 21, 0.5);
  --neon-text: #854d0e;
  --neon-shadow: 0 2px 10px rgba(250, 204, 21, 0.25);
}
.lang-neon--mr {
  --neon-bg: rgba(192, 132, 252, 0.14);
  --neon-border: rgba(192, 132, 252, 0.45);
  --neon-text: #7e22ce;
  --neon-shadow: 0 2px 10px rgba(192, 132, 252, 0.2);
}
.lang-neon--bn {
  --neon-bg: rgba(163, 230, 53, 0.14);
  --neon-border: rgba(163, 230, 53, 0.45);
  --neon-text: #4d7c0f;
  --neon-shadow: 0 2px 10px rgba(163, 230, 53, 0.2);
}
.lang-neon--gu {
  --neon-bg: rgba(251, 113, 133, 0.14);
  --neon-border: rgba(251, 113, 133, 0.45);
  --neon-text: #be123c;
  --neon-shadow: 0 2px 10px rgba(251, 113, 133, 0.2);
}
.lang-neon--ml {
  --neon-bg: rgba(45, 212, 191, 0.14);
  --neon-border: rgba(45, 212, 191, 0.45);
  --neon-text: #0f766e;
  --neon-shadow: 0 2px 10px rgba(45, 212, 191, 0.2);
}
.lang-neon--pa {
  --neon-bg: rgba(251, 191, 36, 0.18);
  --neon-border: rgba(251, 191, 36, 0.5);
  --neon-text: #92400e;
  --neon-shadow: 0 2px 10px rgba(251, 191, 36, 0.25);
}
.lang-neon--or {
  --neon-bg: rgba(248, 113, 113, 0.14);
  --neon-border: rgba(248, 113, 113, 0.45);
  --neon-text: #b91c1c;
  --neon-shadow: 0 2px 10px rgba(248, 113, 113, 0.2);
}
.lang-neon--as {
  --neon-bg: rgba(52, 211, 153, 0.14);
  --neon-border: rgba(52, 211, 153, 0.45);
  --neon-text: #047857;
  --neon-shadow: 0 2px 10px rgba(52, 211, 153, 0.2);
}

html.dark .lang-neon--en {
  --neon-bg: rgba(34, 211, 238, 0.22);
  --neon-border: rgba(34, 211, 238, 0.65);
  --neon-text: #a5f3fc;
  --neon-shadow: 0 0 14px rgba(34, 211, 238, 0.45), 0 0 4px rgba(34, 211, 238, 0.3);
}
html.dark .lang-neon--kn {
  --neon-bg: rgba(74, 222, 128, 0.22);
  --neon-border: rgba(74, 222, 128, 0.65);
  --neon-text: #bbf7d0;
  --neon-shadow: 0 0 14px rgba(74, 222, 128, 0.45), 0 0 4px rgba(74, 222, 128, 0.3);
}
html.dark .lang-neon--hi {
  --neon-bg: rgba(251, 146, 60, 0.22);
  --neon-border: rgba(251, 146, 60, 0.65);
  --neon-text: #fed7aa;
  --neon-shadow: 0 0 14px rgba(251, 146, 60, 0.45), 0 0 4px rgba(251, 146, 60, 0.3);
}
html.dark .lang-neon--te {
  --neon-bg: rgba(244, 114, 182, 0.22);
  --neon-border: rgba(244, 114, 182, 0.65);
  --neon-text: #fbcfe8;
  --neon-shadow: 0 0 14px rgba(244, 114, 182, 0.45), 0 0 4px rgba(244, 114, 182, 0.3);
}
html.dark .lang-neon--ta {
  --neon-bg: rgba(250, 204, 21, 0.25);
  --neon-border: rgba(250, 204, 21, 0.7);
  --neon-text: #fef9c3;
  --neon-shadow: 0 0 14px rgba(250, 204, 21, 0.5), 0 0 4px rgba(250, 204, 21, 0.35);
}
html.dark .lang-neon--mr {
  --neon-bg: rgba(192, 132, 252, 0.22);
  --neon-border: rgba(192, 132, 252, 0.65);
  --neon-text: #e9d5ff;
  --neon-shadow: 0 0 14px rgba(192, 132, 252, 0.45), 0 0 4px rgba(192, 132, 252, 0.3);
}
html.dark .lang-neon--bn {
  --neon-bg: rgba(163, 230, 53, 0.22);
  --neon-border: rgba(163, 230, 53, 0.65);
  --neon-text: #ecfccb;
  --neon-shadow: 0 0 14px rgba(163, 230, 53, 0.45), 0 0 4px rgba(163, 230, 53, 0.3);
}
html.dark .lang-neon--gu {
  --neon-bg: rgba(251, 113, 133, 0.22);
  --neon-border: rgba(251, 113, 133, 0.65);
  --neon-text: #fecdd3;
  --neon-shadow: 0 0 14px rgba(251, 113, 133, 0.45), 0 0 4px rgba(251, 113, 133, 0.3);
}
html.dark .lang-neon--ml {
  --neon-bg: rgba(45, 212, 191, 0.22);
  --neon-border: rgba(45, 212, 191, 0.65);
  --neon-text: #99f6e4;
  --neon-shadow: 0 0 14px rgba(45, 212, 191, 0.45), 0 0 4px rgba(45, 212, 191, 0.3);
}
html.dark .lang-neon--pa {
  --neon-bg: rgba(251, 191, 36, 0.25);
  --neon-border: rgba(251, 191, 36, 0.7);
  --neon-text: #fef3c7;
  --neon-shadow: 0 0 14px rgba(251, 191, 36, 0.5), 0 0 4px rgba(251, 191, 36, 0.35);
}
html.dark .lang-neon--or {
  --neon-bg: rgba(248, 113, 113, 0.22);
  --neon-border: rgba(248, 113, 113, 0.65);
  --neon-text: #fecaca;
  --neon-shadow: 0 0 14px rgba(248, 113, 113, 0.45), 0 0 4px rgba(248, 113, 113, 0.3);
}
html.dark .lang-neon--as {
  --neon-bg: rgba(52, 211, 153, 0.22);
  --neon-border: rgba(52, 211, 153, 0.65);
  --neon-text: #a7f3d0;
  --neon-shadow: 0 0 14px rgba(52, 211, 153, 0.45), 0 0 4px rgba(52, 211, 153, 0.3);
}

.orbit-chip-arm {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 5;
}

.orbit-chip-level {
  width: max-content;
}

@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-slow-rev { to { transform: rotate(-360deg); } }
.spin-28 { animation: spin-slow 28s linear infinite; }
.spin-40 { animation: spin-slow-rev 40s linear infinite; }
.spin-60 { animation: spin-slow 60s linear infinite; }

.chip-counter-28 { animation: spin-slow-rev 28s linear infinite; }
.chip-counter-40-rev { animation: spin-slow 40s linear infinite; }
.chip-counter-60 { animation: spin-slow-rev 60s linear infinite; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 40px 6px rgba(124,58,237,0.45), 0 0 0 0 rgba(34,211,238,0.0); }
  50% { box-shadow: 0 0 70px 14px rgba(124,58,237,0.65), 0 0 30px 4px rgba(34,211,238,0.25); }
}
.orb-glow { animation: pulse-glow 4s ease-in-out infinite; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float { animation: float-y 6s ease-in-out infinite; }

.grad-text {
  background-image: linear-gradient(100deg, #a78bfa 0%, #818cf8 35%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

.sheen {
  position: relative;
  overflow: hidden;
}
.sheen::before {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.sheen:hover::before { left: 150%; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track {
  animation: marquee 32s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

.magnetic-btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glow-border {
  position: relative;
  border: 1px solid rgba(124,58,237,0.18);
}
html.dark .glow-border { border-color: rgba(167,139,250,0.14); }
.glow-border::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(167,139,250,0), rgba(167,139,250,0.55), rgba(34,211,238,0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.glow-border:hover::after { opacity: 1; }

.tabular { font-variant-numeric: tabular-nums; }

.scroller { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.scroller > * { scroll-snap-align: start; }
.scroller::-webkit-scrollbar { height: 8px; }

@keyframes beam-sweep {
  0% { transform: translateX(-120%) rotate(8deg); }
  100% { transform: translateX(220%) rotate(8deg); }
}
.beam {
  position: absolute;
  top: -20%;
  width: 30%;
  height: 140%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: beam-sweep 5s ease-in-out infinite;
}

.lang-fade { animation: fadeswap 7s ease-in-out infinite; }
@keyframes fadeswap {
  0%, 11% { opacity: 1; transform: translateY(0); }
  16%, 100% { opacity: 0; transform: translateY(-6px); }
}

.homepage-lang-dropdown {
  padding: 6px 28px 6px 10px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  color: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237c3aed' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
html.dark .homepage-lang-dropdown {
  background-color: rgba(19, 16, 43, 0.8);
  border-color: rgba(167, 139, 250, 0.2);
}

.homepage-lang-dropdown--drawer {
  width: 100%;
  min-height: 44px;
  padding: 10px 28px 10px 12px;
  font-size: 0.95rem;
}

/* Safe area + mobile body padding for bottom nav */
.homepage-site-header {
  padding-top: env(safe-area-inset-top, 0px);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: #ffffff;
  padding: 2px;
  flex-shrink: 0;
}
html.dark .theme-toggle {
  border-color: rgba(167, 139, 250, 0.28);
  background: rgba(19, 16, 43, 0.95);
  box-shadow: inset 0 1px 0 rgba(167, 139, 250, 0.08);
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.375rem;
  color: #64748b;
  transition: background-color 0.15s ease, color 0.15s ease;
}
html.dark .theme-toggle-btn {
  color: rgba(196, 181, 253, 0.55);
}
.theme-toggle-btn:hover {
  color: #334155;
}
html.dark .theme-toggle-btn:hover {
  color: #f5f3ff;
}
.theme-toggle-active {
  background-color: #dbeafe;
  color: #1e3a8a;
}
html.dark .theme-toggle-active {
  background-color: rgba(124, 58, 237, 0.5);
  color: #faf5ff;
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.22);
}

.mobile-drawer-theme {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0;
}

body.homepage-has-bottom-nav {
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
  body.homepage-has-bottom-nav {
    padding-bottom: 0;
  }
}

/* Mobile utility drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(8, 6, 15, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1410;
  height: 100%;
  width: min(320px, 88vw);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.97);
  border-left: 1px solid rgba(167, 139, 250, 0.2);
  box-shadow: -12px 0 40px rgba(76, 29, 149, 0.12);
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html.dark .mobile-drawer {
  background: rgba(11, 10, 31, 0.98);
  border-left-color: rgba(167, 139, 250, 0.12);
}
.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}
.mobile-drawer-link:hover {
  background: rgba(124, 58, 237, 0.08);
}

.mobile-drawer-close {
  min-height: 44px;
  min-width: 44px;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(167, 139, 250, 0.25);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.mobile-menu-btn {
  min-height: 44px;
  min-width: 44px;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  border: 1px solid rgba(167, 139, 250, 0.25);
  background: rgba(124, 58, 237, 0.06);
  color: inherit;
  cursor: pointer;
}

/* Sticky bottom navigation */
.homepage-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(167, 139, 250, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html.dark .homepage-bottom-nav {
  background: rgba(11, 10, 31, 0.95);
  border-top-color: rgba(167, 139, 250, 0.12);
}

.homepage-bottom-link {
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(76, 29, 149, 0.65);
  transition: color 0.2s ease;
}
html.dark .homepage-bottom-link {
  color: rgba(196, 181, 253, 0.65);
}
.homepage-bottom-link.active,
.homepage-bottom-link--cta {
  color: #7c3aed;
}
html.dark .homepage-bottom-link.active,
html.dark .homepage-bottom-link--cta {
  color: #a78bfa;
}
.homepage-bottom-link--cta {
  font-weight: 700;
}

@media (min-width: 1024px) {
  .homepage-bottom-nav {
    display: none !important;
  }
  body.homepage-has-bottom-nav {
    padding-bottom: 0;
  }
}

.homepage-bottom-spacer {
  height: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

/* Demo grid expand ribbon */
.demo-more-wrap {
  position: relative;
  margin-top: 1rem;
}
.demo-more-wrap.is-collapsed {
  max-height: 9.5rem;
  overflow: hidden;
}
@media (min-width: 640px) {
  .demo-more-wrap.is-collapsed {
    max-height: 11rem;
  }
}
@media (min-width: 1024px) {
  .demo-more-wrap.is-collapsed {
    max-height: 12.5rem;
  }
}
.demo-more-wrap.is-expanded {
  max-height: none;
  overflow: visible;
}
.demo-more-wrap.is-collapsed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(247, 245, 251, 0.55) 35%,
    rgba(247, 245, 251, 0.92) 100%
  );
}
html.dark .demo-more-wrap.is-collapsed::before {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(8, 6, 15, 0.55) 35%,
    rgba(8, 6, 15, 0.92) 100%
  );
}
.demo-more-wrap.is-expanded::before {
  display: none;
}
.demo-expand-ribbon {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: rgba(247, 245, 251, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}
html.dark .demo-expand-ribbon {
  background: rgba(8, 6, 15, 0.35);
}
.demo-expand-ribbon:hover,
.demo-expand-ribbon:focus-visible {
  background: rgba(247, 245, 251, 0.5);
  outline: none;
}
html.dark .demo-expand-ribbon:hover,
html.dark .demo-expand-ribbon:focus-visible {
  background: rgba(8, 6, 15, 0.5);
}
.demo-expand-ribbon-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6d28d9;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(124, 58, 237, 0.25);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
}
html.dark .demo-expand-ribbon-label {
  color: #c4b5fd;
  background: rgba(30, 27, 46, 0.85);
  border-color: rgba(167, 139, 250, 0.25);
}
.demo-more-wrap.is-expanded .demo-expand-ribbon {
  display: none;
}

.customer-card-monogram {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.customer-card-photo {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2);
}

.customer-card-name {
  color: inherit;
  text-decoration: none;
}

/* Pricing plan cards — match demo/customer card layout */
.pricing-plans-grid {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.pricing-plan-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.pricing-plan-card--featured {
  position: relative;
  isolation: isolate;
}

.pricing-plan-card__decor {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.pricing-plan-card__body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.pricing-plan-card .pricing-promo-badge,
.pricing-plan-card .pricing-plan-included-note {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Pricing plan cards — struck-through standard price */
.pricing-plan-standard-price {
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
  color: #dc2626;
}
html.dark .pricing-plan-standard-price {
  color: #f87171;
}
.pricing-plan-standard-price--highlight {
  color: #fca5a5;
}

.pricing-promo-badge {
  display: inline-block;
  margin-top: 0.5rem;
  max-width: 100%;
  border-radius: 9999px;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
html.dark .pricing-promo-badge {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}
.pricing-promo-badge--highlight {
  color: #ecfdf5;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
}
html.dark .pricing-promo-badge--highlight {
  color: #d1fae5;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-plan-included-note {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #047857;
}
html.dark .pricing-plan-included-note {
  color: #6ee7b7;
}
.pricing-plan-card .pricing-promo-badge--highlight + .pricing-plan-included-note {
  color: #d1fae5;
}
html.dark .pricing-plan-card .pricing-promo-badge--highlight + .pricing-plan-included-note {
  color: #a7f3d0;
}
.pricing-plan-standard-price + .pricing-promo-badge {
  margin-top: 0.625rem;
}

/* Pricing feature comparison table */
.pricing-compare-wrap {
  border-radius: 1.5rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.06);
  -webkit-overflow-scrolling: touch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
html.dark .pricing-compare-wrap {
  border-color: rgba(167, 139, 250, 0.15);
  background: rgba(30, 27, 46, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.pricing-compare {
  border-collapse: collapse;
  border-spacing: 0;
}

.pricing-compare thead th {
  padding: 1rem 1.25rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  color: #4c1d95;
  border-bottom: 2px solid rgba(139, 92, 246, 0.15);
  vertical-align: bottom;
}
html.dark .pricing-compare thead th {
  color: #c4b5fd;
  border-bottom-color: rgba(167, 139, 250, 0.15);
}

.pricing-compare-feature-col {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 11rem;
  max-width: 20rem;
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: #374151;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  vertical-align: middle;
}
html.dark .pricing-compare-feature-col {
  color: rgba(237, 233, 254, 0.85);
  background: rgba(30, 27, 46, 0.95);
  border-bottom-color: rgba(167, 139, 250, 0.1);
}
.pricing-compare thead .pricing-compare-feature-col {
  background: rgba(247, 245, 251, 0.98);
  border-bottom-width: 2px;
}
html.dark .pricing-compare thead .pricing-compare-feature-col {
  background: rgba(20, 18, 32, 0.98);
}

.pricing-compare-plan-col {
  min-width: 6.5rem;
  width: 18%;
}

.pricing-compare-plan-col--highlight,
.pricing-compare-cell.pricing-compare-plan-col--highlight {
  background: rgba(124, 58, 237, 0.04);
}
html.dark .pricing-compare-plan-col--highlight,
html.dark .pricing-compare-cell.pricing-compare-plan-col--highlight {
  background: rgba(124, 58, 237, 0.1);
}

.pricing-compare-cell {
  padding: 0.875rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  vertical-align: middle;
}
html.dark .pricing-compare-cell {
  border-bottom-color: rgba(167, 139, 250, 0.1);
}

.pricing-compare tbody tr:last-child .pricing-compare-feature-col,
.pricing-compare tbody tr:last-child .pricing-compare-cell {
  border-bottom: none;
}

.pricing-compare tbody tr:nth-child(even) .pricing-compare-cell:not(.pricing-compare-plan-col--highlight) {
  background: rgba(247, 245, 251, 0.4);
}
html.dark .pricing-compare tbody tr:nth-child(even) .pricing-compare-cell:not(.pricing-compare-plan-col--highlight) {
  background: rgba(255, 255, 255, 0.02);
}
.pricing-compare tbody tr:nth-child(even) .pricing-compare-feature-col {
  background: rgba(247, 245, 251, 0.98);
}
html.dark .pricing-compare tbody tr:nth-child(even) .pricing-compare-feature-col {
  background: rgba(24, 22, 38, 0.98);
}

.pricing-compare-check {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  color: #16a34a;
}
html.dark .pricing-compare-check {
  color: #4ade80;
}

.pricing-compare-dash {
  display: inline-block;
  font-size: 1.125rem;
  line-height: 1;
  color: #d1d5db;
  font-weight: 300;
}
html.dark .pricing-compare-dash {
  color: rgba(196, 181, 253, 0.3);
}

.pricing-compare-included {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.375rem;
}

.pricing-compare-free {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
html.dark .pricing-compare-free {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.25);
}

@media (max-width: 639px) {
  .pricing-compare thead th {
    padding: 0.75rem 0.625rem;
    font-size: 0.8125rem;
  }
  .pricing-compare-feature-col {
    min-width: 9rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
  }
  .pricing-compare-cell {
    padding: 0.625rem 0.5rem;
  }
  .pricing-compare-free {
    font-size: 0.625rem;
    padding: 0.1rem 0.4rem;
  }
  .pricing-promo-badge {
    font-size: 0.625rem;
    padding: 0.2rem 0.5rem;
  }
  .pricing-plan-included-note {
    font-size: 0.6875rem;
  }
}

.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;
}

@media (min-width: 1024px) {
  .pricing-compare-feature-col {
    min-width: 16rem;
  }
}

.customer-card-cta {
  color: #7c3aed;
  text-decoration: none;
}
html.dark .customer-card-cta {
  color: #c4b5fd;
}

/* Mobile hero language pills */
.hero-lang-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
}
.hero-lang-pill {
  border-radius: 9999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
}

/* Lighter aurora on mobile */
@media (max-width: 1023px) {
  .aurora .blob-b,
  .aurora .blob-a:nth-child(3) {
    display: none;
  }
  .aurora {
    opacity: 0.3;
  }
  .grain {
    opacity: 0.02;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

a:focus-visible, button:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Legal pages (privacy / terms) */
.legal-homepage-tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(76, 29, 149, 0.65);
  transition: color 0.2s, background 0.2s;
}
.dark .legal-homepage-tab {
  color: rgba(196, 181, 253, 0.65);
}
.legal-homepage-tab:hover {
  color: #6d28d9;
  background: rgba(139, 92, 246, 0.08);
}
.dark .legal-homepage-tab:hover {
  color: #e9d5ff;
  background: rgba(139, 92, 246, 0.12);
}
.legal-homepage-tab.is-active {
  color: #5b21b6;
  background: rgba(139, 92, 246, 0.14);
}
.dark .legal-homepage-tab.is-active {
  color: #f3e8ff;
  background: rgba(139, 92, 246, 0.22);
}

.legal-homepage-content h1 {
  font-family: var(--font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #1e1b4b;
}
.dark .legal-homepage-content h1 {
  color: #f5f3ff;
}

.legal-homepage-content .last-updated {
  font-size: 0.875rem;
  color: rgba(76, 29, 149, 0.55);
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
}
.dark .legal-homepage-content .last-updated {
  color: rgba(196, 181, 253, 0.55);
  border-bottom-color: rgba(139, 92, 246, 0.2);
}

.legal-homepage-content h2 {
  font-family: var(--font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #4c1d95;
}
.dark .legal-homepage-content h2 {
  color: #ddd6fe;
}
.legal-homepage-content h2:first-of-type {
  margin-top: 1.25rem;
}

.legal-homepage-content p,
.legal-homepage-content li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(30, 27, 75, 0.82);
}
.dark .legal-homepage-content p,
.dark .legal-homepage-content li {
  color: rgba(237, 233, 254, 0.82);
}

.legal-homepage-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.75rem 0 1rem;
}
.legal-homepage-content ul li + li {
  margin-top: 0.375rem;
}

.legal-homepage-content a {
  color: #7c3aed;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.legal-homepage-content a:hover {
  color: #5b21b6;
}
.dark .legal-homepage-content a {
  color: #c4b5fd;
}
.dark .legal-homepage-content a:hover {
  color: #ede9fe;
}
