:root,
html.dark {
  color-scheme: dark;
  --color-secondary-container: 112 0 255;
  --color-surface: 6 14 32;
  --color-primary-fixed: 0 238 252;
  --color-surface-container-high: 20 31 56;
  --color-on-secondary-fixed-variant: 99 0 226;
  --color-on-secondary-fixed: 65 0 154;
  --color-secondary: 172 137 255;
  --color-surface-container-low: 9 19 40;
  --color-on-error-container: 255 168 163;
  --color-on-primary-container: 0 83 89;
  --color-surface-tint: 143 245 255;
  --color-outline: 109 117 140;
  --color-surface-variant: 25 37 64;
  --color-tertiary-fixed-dim: 255 104 227;
  --color-surface-dim: 6 14 32;
  --color-background: 6 14 32;
  --color-on-error: 73 0 6;
  --color-surface-container-highest: 25 37 64;
  --color-tertiary-container: 255 5 229;
  --color-on-surface-variant: 163 170 196;
  --color-tertiary-dim: 255 89 227;
  --color-inverse-on-surface: 77 85 107;
  --color-primary-container: 0 238 252;
  --color-inverse-primary: 0 106 113;
  --color-inverse-surface: 250 248 255;
  --color-outline-variant: 64 72 93;
  --color-surface-container-lowest: 0 0 0;
  --color-secondary-fixed: 218 201 255;
  --color-secondary-fixed-dim: 206 185 255;
  --color-on-primary: 0 93 99;
  --color-on-tertiary: 66 0 58;
  --color-tertiary: 255 89 227;
  --color-on-tertiary-container: 27 0 23;
  --color-surface-container: 15 25 48;
  --color-on-tertiary-fixed: 51 0 45;
  --color-primary-fixed-dim: 0 222 236;
  --color-error: 255 113 108;
  --color-on-tertiary-fixed-variant: 109 0 97;
  --color-primary-dim: 0 222 236;
  --color-on-background: 222 229 255;
  --color-on-primary-fixed-variant: 0 94 100;
  --color-on-primary-fixed: 0 63 67;
  --color-secondary-dim: 135 76 255;
  --color-error-container: 159 5 25;
  --color-on-surface: 222 229 255;
  --color-on-secondary: 41 0 103;
  --color-surface-bright: 31 43 73;
  --color-primary: 143 245 255;
  --color-tertiary-fixed: 255 133 228;
  --color-on-secondary-container: 248 241 255;
  --color-error-dim: 215 56 59;
  --site-body-bg:
    radial-gradient(circle at top, rgba(143, 245, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #07111f 0%, #060e20 58%, #040914 100%);
  --site-nav-bg: rgba(2, 6, 23, 0.68);
  --site-nav-border: rgba(255, 255, 255, 0.1);
  --site-nav-shadow: 0 24px 56px rgba(8, 145, 178, 0.16);
  --site-hover-bg: rgba(255, 255, 255, 0.05);
  --site-footer-bg: #020617;
  --site-footer-border: rgba(148, 163, 184, 0.22);
  --site-footer-muted: rgb(100, 116, 139);
  --glass-panel-bg: rgba(25, 37, 64, 0.42);
  --focus-ring-color: #8ff5ff;
  --glow-primary: 0 0 12px rgba(143, 245, 255, 0.45);
  --hero-gradient-bg:
    radial-gradient(circle at 20% 20%, rgba(255, 89, 227, 0.12), transparent 26%),
    radial-gradient(circle at 78% 18%, rgba(143, 245, 255, 0.15), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(143, 245, 255, 0.08) 0%, rgba(6, 14, 32, 0) 72%);
  --grid-line: rgba(143, 245, 255, 0.04);
  --art-card-border: rgba(255, 255, 255, 0.12);
  --art-card-bg: rgba(9, 19, 40, 0.95);
  --art-card-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
  --art-card-hover-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
  --pricing-primary-bg: rgba(12, 25, 44, 0.9);
  --pricing-secondary-bg: rgba(25, 37, 64, 0.96);
  --pricing-tertiary-bg: rgba(35, 17, 39, 0.92);
  --pricing-primary-shadow: 0 24px 70px rgba(143, 245, 255, 0.14);
  --pricing-secondary-shadow: 0 24px 70px rgba(172, 137, 255, 0.22);
  --pricing-tertiary-shadow: 0 24px 70px rgba(255, 89, 227, 0.16);
  --shadow-neon: 0 0 20px rgba(143, 245, 255, 0.28);
}

html.light {
  color-scheme: light;
  --color-secondary-container: 224 242 254;
  --color-surface: 248 250 252;
  --color-primary-fixed: 79 70 229;
  --color-surface-container-high: 255 255 255;
  --color-on-secondary-fixed-variant: 12 74 110;
  --color-on-secondary-fixed: 8 47 73;
  --color-secondary: 8 145 178;
  --color-surface-container-low: 243 246 249;
  --color-on-error-container: 127 29 29;
  --color-on-primary-container: 49 46 129;
  --color-surface-tint: 79 70 229;
  --color-outline: 100 116 139;
  --color-surface-variant: 226 232 240;
  --color-tertiary-fixed-dim: 217 119 6;
  --color-surface-dim: 226 232 240;
  --color-background: 246 248 251;
  --color-on-error: 255 255 255;
  --color-surface-container-highest: 226 232 240;
  --color-tertiary-container: 254 243 199;
  --color-on-surface-variant: 71 85 105;
  --color-tertiary-dim: 180 83 9;
  --color-inverse-on-surface: 241 245 249;
  --color-primary-container: 224 231 255;
  --color-inverse-primary: 199 210 254;
  --color-inverse-surface: 15 23 42;
  --color-outline-variant: 203 213 225;
  --color-surface-container-lowest: 255 255 255;
  --color-secondary-fixed: 207 250 254;
  --color-secondary-fixed-dim: 165 243 252;
  --color-on-primary: 255 255 255;
  --color-on-tertiary: 255 255 255;
  --color-tertiary: 180 83 9;
  --color-on-tertiary-container: 120 53 15;
  --color-surface-container: 238 242 247;
  --color-on-tertiary-fixed: 69 26 3;
  --color-primary-fixed-dim: 67 56 202;
  --color-error: 220 38 38;
  --color-on-tertiary-fixed-variant: 120 53 15;
  --color-primary-dim: 67 56 202;
  --color-on-background: 15 23 42;
  --color-on-primary-fixed-variant: 224 231 255;
  --color-on-primary-fixed: 255 255 255;
  --color-secondary-dim: 14 116 144;
  --color-error-container: 254 226 226;
  --color-on-surface: 15 23 42;
  --color-on-secondary: 255 255 255;
  --color-surface-bright: 255 255 255;
  --color-primary: 79 70 229;
  --color-tertiary-fixed: 251 191 36;
  --color-on-secondary-container: 12 74 110;
  --color-error-dim: 185 28 28;
  --site-body-bg:
    radial-gradient(circle at 12% 0%, rgba(79, 70, 229, 0.08), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(8, 145, 178, 0.08), transparent 30%),
    linear-gradient(180deg, #f6f8fb 0%, #ffffff 44%, #f3f6f9 100%);
  --site-nav-bg: rgba(255, 255, 255, 0.86);
  --site-nav-border: rgba(15, 23, 42, 0.1);
  --site-nav-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
  --site-hover-bg: rgba(79, 70, 229, 0.07);
  --site-footer-bg: #ffffff;
  --site-footer-border: rgba(15, 23, 42, 0.1);
  --site-footer-muted: rgb(71, 85, 105);
  --glass-panel-bg: rgba(255, 255, 255, 0.82);
  --focus-ring-color: rgba(79, 70, 229, 0.72);
  --glow-primary: 0 0 0 rgba(79, 70, 229, 0);
  --hero-gradient-bg:
    radial-gradient(circle at 18% 16%, rgba(79, 70, 229, 0.11), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(8, 145, 178, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 248, 251, 0.18));
  --grid-line: rgba(15, 23, 42, 0.055);
  --art-card-border: rgba(15, 23, 42, 0.1);
  --art-card-bg: rgba(255, 255, 255, 0.96);
  --art-card-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  --art-card-hover-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
  --pricing-primary-bg: rgba(255, 255, 255, 0.94);
  --pricing-secondary-bg: rgba(236, 254, 255, 0.96);
  --pricing-tertiary-bg: rgba(255, 251, 235, 0.96);
  --pricing-primary-shadow: 0 24px 64px rgba(79, 70, 229, 0.14);
  --pricing-secondary-shadow: 0 24px 64px rgba(8, 145, 178, 0.13);
  --pricing-tertiary-shadow: 0 24px 64px rgba(180, 83, 9, 0.12);
  --shadow-neon: 0 14px 30px rgba(79, 70, 229, 0.18);
}

html {
  background: rgb(var(--color-background));
}

.site-nav {
  border-color: var(--site-nav-border);
  background: var(--site-nav-bg);
  box-shadow: var(--site-nav-shadow);
}

.nav-link {
  border-bottom: 2px solid transparent;
  color: rgb(var(--color-on-surface-variant));
  padding-bottom: 0.25rem;
}

.nav-link:hover {
  background: var(--site-hover-bg);
  color: rgb(var(--color-primary));
}

.nav-link[data-active="true"] {
  border-color: rgb(var(--color-primary));
  color: rgb(var(--color-primary));
}

.theme-toggle {
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(var(--color-outline-variant) / 0.36);
  border-radius: 0.75rem;
  background: rgb(var(--color-surface-container-high) / 0.72);
  color: rgb(var(--color-on-surface-variant));
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.theme-toggle:hover {
  border-color: rgb(var(--color-primary) / 0.38);
  background: rgb(var(--color-primary) / 0.08);
  color: rgb(var(--color-primary));
  transform: translateY(-1px);
}

.theme-toggle-icon {
  font-size: 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--site-footer-border);
  background: var(--site-footer-bg);
}

.site-footer-title {
  color: rgb(var(--color-on-surface));
}

.site-footer-muted {
  color: var(--site-footer-muted);
}

.site-footer-link {
  color: var(--site-footer-muted);
  opacity: 0.84;
}

.site-footer-link:hover {
  color: rgb(var(--color-primary));
  opacity: 1;
}

.site-footer-divider {
  border-color: var(--site-footer-border);
}

.mini-canvas-surface {
  background:
    radial-gradient(circle at 30% 20%, rgb(var(--color-tertiary) / 0.12), transparent 28%),
    radial-gradient(circle at 70% 30%, rgb(var(--color-primary) / 0.12), transparent 30%),
    linear-gradient(180deg, rgb(var(--color-surface-container-low) / 0.96), rgb(var(--color-surface-container) / 0.98));
}

.mini-canvas-grid {
  background-image:
    linear-gradient(rgb(var(--color-primary) / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--color-primary) / 0.055) 1px, transparent 1px);
  background-size: 24px 24px;
}

.voices-backdrop {
  background:
    radial-gradient(circle at 18% 20%, rgb(var(--color-primary) / 0.12), transparent 26%),
    radial-gradient(circle at 82% 32%, rgb(var(--color-tertiary) / 0.12), transparent 24%),
    linear-gradient(180deg, rgb(var(--color-surface-container-low) / 0.96), rgb(var(--color-surface) / 0.98));
}

html.light .mini-canvas-surface,
html.light .voices-backdrop {
  background:
    radial-gradient(circle at 18% 20%, rgb(var(--color-primary) / 0.08), transparent 28%),
    radial-gradient(circle at 82% 32%, rgb(var(--color-secondary) / 0.08), transparent 26%),
    linear-gradient(180deg, rgb(255 255 255 / 0.92), rgb(var(--color-surface-container-low) / 0.88));
}

html.light .border-white\/5,
html.light .border-white\/8,
html.light .border-white\/10 {
  border-color: rgb(var(--color-outline-variant) / 0.28) !important;
}

html.light .divide-white\/8 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgb(var(--color-outline-variant) / 0.22) !important;
}

html.light .bg-white\/5 {
  background-color: rgb(var(--color-surface-container-low) / 0.78) !important;
}

html.light .bg-black\/20 {
  background-color: rgb(15 23 42 / 0.08) !important;
}
