/* =============================================================================
   WORKFUSE — MAIN STYLESHEET v2.0
   Premium enterprise SaaS design system
   Sections: tokens → reset → base → layout → nav → search → i18n → badges →
             countdown → carousels → bento → cards → hero → page-hero →
             split → cta → timeline → forms → footer → scroll → error → legal →
             animations → utilities → responsive
   ============================================================================= */

/* ─── GOOGLE FONTS ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300..900;1,14..32,300..900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────────────────────────  */
.glass-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-soft);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .glass-card {
  background: rgba(30, 41, 59, 0.45);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .glass-card:hover {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(0, 123, 255, 0.3);
}

.breadcrumb-nav {
  margin-bottom: var(--space-6);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-list li a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-list li a:hover {
  color: var(--color-accent);
}

.breadcrumb-list li span {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.breadcrumb-list .separator {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  user-select: none;
}

:root {
  /* ── Brand palette */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;

  /* ── Product accent colors */
  --hr-hue: 239;
  --asset-hue: 38;
  --desk-hue: 142;
  --snap-hue: 270;

  --color-hr: #4f46e5;
  --color-asset: #d97706;
  --color-desk: #16a34a;
  --color-snap: #9333ea;

  /* ── Light mode semantic tokens */
  --color-bg: #fafbff;
  --color-bg-elevated: #ffffff;
  --color-bg-alt: #f1f5fd;
  --color-bg-card: #ffffff;
  --color-bg-surface: #eaf0fb;
  --color-bg-subtle: #f8fafc;
  --color-bg-invert: #0f172a;
  --color-text: #0f172a;
  --color-text-secondary: #334155;
  --color-text-muted: #64748b;
  --color-text-subtle: #94a3b8;
  --color-border: #e2e8f0;
  --color-border-soft: #f1f5f9;
  --color-border-strong: #cbd5e1;
  --color-accent: var(--blue-600);
  --color-accent-hover: var(--blue-700);
  --color-accent-subtle: var(--blue-50);
  --color-accent-muted: var(--blue-100);

  /* ── Status colors */
  --color-live: #16a34a;
  --color-live-bg: #dcfce7;
  --color-demo: #2563eb;
  --color-demo-bg: #dbeafe;
  --color-soon: #d97706;
  --color-soon-bg: #fef9c3;

  /* ── Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 6px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.10), 0 0 0 1px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 0 3px rgba(37, 99, 235, 0.18);
  --shadow-blue: 0 8px 32px rgba(37, 99, 235, 0.24);

  /* ── Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);
  --font-mono: ui-monospace, 'Fira Code', monospace;

  /* ── Fluid type scale */
  --text-xs: clamp(0.70rem, 0.65rem + 0.20vw, 0.78rem);
  --text-sm: clamp(0.815rem, 0.76rem + 0.24vw, 0.90rem);
  --text-base: clamp(0.9375rem, 0.875rem + 0.30vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 0.975rem + 0.42vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.10rem + 0.60vw, 1.5625rem);
  --text-2xl: clamp(1.5rem, 1.20rem + 1.40vw, 2.1875rem);
  --text-3xl: clamp(1.875rem, 1.40rem + 2.30vw, 2.875rem);
  --text-4xl: clamp(2.25rem, 1.60rem + 3.20vw, 3.75rem);
  --text-5xl: clamp(2.875rem, 1.90rem + 4.80vw, 5.25rem);

  /* ── Spacing scale (fluid) */
  --space-1: clamp(0.25rem, 0.20rem + 0.10vw, 0.3125rem);
  --space-2: clamp(0.5rem, 0.45rem + 0.20vw, 0.625rem);
  --space-3: clamp(0.75rem, 0.65rem + 0.40vw, 1rem);
  --space-4: clamp(1rem, 0.85rem + 0.60vw, 1.375rem);
  --space-5: clamp(1.25rem, 1.00rem + 0.90vw, 1.75rem);
  --space-6: clamp(1.5rem, 1.20rem + 1.20vw, 2.25rem);
  --space-8: clamp(2rem, 1.50rem + 2.00vw, 3.25rem);
  --space-10: clamp(2.5rem, 1.75rem + 3.00vw, 4.25rem);
  --space-12: clamp(3rem, 2.00rem + 4.00vw, 5.25rem);
  --space-16: clamp(4rem, 2.50rem + 6.00vw, 7.5rem);
  --space-20: clamp(5rem, 3.00rem + 8.00vw, 10rem);
  --space-24: clamp(6rem, 3.50rem + 10.0vw, 12rem);

  /* ── Layout */
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 5vw, 2.5rem);
  --radius-xs: 0.25rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* ── Transitions */
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1.0);
  --ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1.0);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1.0);
  --ease-expo: cubic-bezier(0.16, 1.0, 0.3, 1.0);
  --transition-fast: 160ms var(--ease-out);
  --transition-base: 260ms var(--ease-out);
  --transition-slow: 420ms var(--ease-out);
  --transition-spring: 520ms var(--ease-spring);
  --transition-expo: 600ms var(--ease-expo);

  /* ── Nav */
  --nav-height: 68px;

  /* ── Z layers */
  --z-dropdown: 500;
  --z-mobile-nav: 900;
  --z-overlay: 1000;
  --z-search: 1100;
  --z-cursor: 9999;
}

/* ─── DARK MODE TOKENS ─────────────────────────────────────────────────────── */
[data-theme="dark"] {
  --color-bg: #080e1a;
  --color-bg-elevated: #0d1526;
  --color-bg-alt: #0d1526;
  --color-bg-card: #111d33;
  --color-bg-surface: #172035;
  --color-bg-subtle: #0a1220;
  --color-bg-invert: #f8fafc;
  --color-text: #f1f5f9;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;
  --color-text-subtle: #475569;
  --color-border: #1a2a44;
  --color-border-soft: #111d33;
  --color-border-strong: #243a5e;
  --color-accent: #3b82f6;
  --color-accent-hover: #60a5fa;
  --color-accent-subtle: rgba(59, 130, 246, 0.10);
  --color-accent-muted: rgba(59, 130, 246, 0.16);

  --color-live-bg: rgba(22, 163, 74, 0.15);
  --color-demo-bg: rgba(37, 99, 235, 0.15);
  --color-soon-bg: rgba(217, 119, 6, 0.15);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.40);
  --shadow-sm: 0 1px 8px rgba(0, 0, 0, 0.50);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.60);
  --shadow-xl: 0 20px 64px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 0 3px rgba(59, 130, 246, 0.24);
  --shadow-blue: 0 8px 40px rgba(59, 130, 246, 0.30);
}

/* ─── REDUCED MOTION ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .cursor-dot,
  .cursor-ring,
  .touch-ripple {
    display: none !important;
  }
}

/* ─── RESET & BASE ────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (pointer: fine) {
  body {
    cursor: none;
  }
}

@media (pointer: coarse) {
  body {
    cursor: auto;
  }
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-hover);
}

ul,
ol {
  list-style: none;
}

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

strong {
  font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--color-text);
}

p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ─── ACCESSIBILITY ────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: var(--z-cursor);
  transition: top 0.2s;
  font-size: var(--text-sm);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Screen reader only */
.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;
}

/* ─── LAYOUT ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--narrow {
  max-width: 800px;
}

.container--wide {
  max-width: 1440px;
}

.section {
  padding-block: var(--space-20);
}

.section--sm {
  padding-block: var(--space-12);
}

.section--lg {
  padding-block: var(--space-24);
}

.section--xs {
  padding-block: var(--space-8);
}

/* ── Standard grids */
.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.grid-auto-sm {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--space-5);
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
}

@media (max-width: 960px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 640px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ── Flex utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.items-start {
  align-items: flex-start;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* ─── BENTO GRID ─────────────────────────────────────────────────────────── */
.bento {
  display: grid;
  gap: var(--space-4);
}

.bento--2 {
  grid-template-columns: repeat(2, 1fr);
}

.bento--3 {
  grid-template-columns: repeat(3, 1fr);
}

.bento--4 {
  grid-template-columns: repeat(4, 1fr);
}

.bento--2-1 {
  grid-template-columns: 2fr 1fr;
}

.bento--1-2 {
  grid-template-columns: 1fr 2fr;
}

.bento--masonry {
  grid-template-columns: repeat(4, 1fr);
}

.bento__tile {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.bento__tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-strong);
}

.bento__tile--span2 {
  grid-column: span 2;
}

.bento__tile--span3 {
  grid-column: span 3;
}

.bento__tile--span2-row {
  grid-row: span 2;
}

.bento__tile--accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--blue-700) 100%);
  border-color: transparent;
  color: #fff;
}

.bento__tile--accent h3,
.bento__tile--accent p {
  color: rgba(255, 255, 255, 0.9);
}

.bento__tile--dark {
  background: var(--color-bg-invert);
  border-color: transparent;
  color: #fff;
}

.bento__tile--dark h3 {
  color: #fff;
}

.bento__tile--dark p {
  color: rgba(255, 255, 255, 0.65);
}

.bento__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  flex-shrink: 0;
}

.bento__icon svg {
  width: 22px;
  height: 22px;
}

.bento__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-text);
}

.bento__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  line-height: 1.4;
}

.bento__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 0.07;
}

@media (max-width: 960px) {

  .bento--4,
  .bento--3,
  .bento--masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento__tile--span2,
  .bento__tile--span3 {
    grid-column: span 1;
  }

  .bento__tile--span2-row {
    grid-row: span 1;
  }
}

@media (max-width: 600px) {

  .bento--2,
  .bento--3,
  .bento--4,
  .bento--2-1,
  .bento--1-2,
  .bento--masonry {
    grid-template-columns: 1fr;
  }

  .bento__tile--span2,
  .bento__tile--span3 {
    grid-column: span 1;
  }
}

/* ─── SITE HEADER (sticky wrapper for banner + nav) ──────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  width: 100%;
}

/* ─── ANNOUNCEMENT BANNER — Flash News Ticker ─────────────────────────────── */
.announcement-banner {
  position: relative;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: var(--text-xs);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  height: 38px;
}

.announcement-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  background-size: 200% 100%;
  animation: banner-shimmer 6s linear infinite;
  pointer-events: none;
}

/* Left: pinned "FLASH NEWS" badge */
.announcement-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1e293b;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 1.25rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  color: #94a3b8;
}

.announcement-banner__badge .dot {
  width: 5px;
  height: 5px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 8px #3b82f6;
  animation: dot-pulse 1.5s ease-in-out infinite;
}

/* Pulsing dot inside badge */
.announcement-banner__badge span {
  animation: dot-pulse 1.5s ease-in-out infinite;
  display: inline-block;
}

/* Middle: scrolling ticker track */
.announcement-banner__ticker {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.announcement-banner__ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
}

/* Each news item */
.announcement-banner__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 3rem;
  font-weight: 500;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

.announcement-banner__item strong {
  font-weight: 700;
  color: #fff;
}

/* Separator dash between items */
.announcement-banner__item::before {
  content: '';
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-right: 3rem;
  flex-shrink: 0;
}

.announcement-banner__item:first-child::before {
  display: none;
}

/* Link inside ticker */
.announcement-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
  color: #93c5fd;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(147, 197, 253, 0.4);
  transition: color var(--transition-fast), border-color var(--transition-fast);
  flex-shrink: 0;
}

.announcement-banner__link svg {
  flex-shrink: 0;
}

.announcement-banner__link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

/* Right: close button */
.announcement-banner__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast), background var(--transition-fast);
  background: rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(255, 255, 255, 0.10);
  cursor: pointer;
}

.announcement-banner__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.announcement-banner__close svg {
  width: 14px;
  height: 14px;
}

/* Pause animation on hover */
.announcement-banner:hover .announcement-banner__ticker-inner {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes banner-shimmer {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 300% 0%;
  }
}

/* Mobile: slightly taller for readability, badge hidden to save space */
@media (max-width: 640px) {
  .announcement-banner {
    height: 32px;
  }

  .announcement-banner__badge {
    font-size: 0.5rem;
    padding: 0 0.65rem 0 0.65rem;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 0 100%);
    padding-right: 1rem;
  }

  .announcement-banner__item {
    font-size: 0.68rem;
    padding: 0 1.75rem;
  }
}

/* ─── NAVIGATION ──────────────────────────────────────────────────────────── */
.nav {
  position: relative;
  width: 100%;
  height: var(--nav-height);
  background: rgba(250, 251, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-slow), border-color var(--transition-slow), box-shadow var(--transition-slow);
}

[data-theme="dark"] .nav {
  background: rgba(8, 14, 26, 0.85);
  border-bottom-color: var(--color-border);
}

.nav--scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(250, 251, 255, 0.98);
}

[data-theme="dark"] .nav--scrolled {
  background: rgba(8, 14, 26, 0.98);
}

.site-header--scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
  padding-block: 0.75rem;
  padding-inline: 0;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}

.nav__logo:hover .nav__logo-mark {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.50);
}

.nav__logo-mark svg {
  width: 19px;
  height: 19px;
}

.nav__logo-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.04em;
  transition: color var(--transition-fast);
}

.nav__logo-tagline {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-subtle);
  margin-top: 2px;
  white-space: nowrap;
}

.footer__logo-tagline {
  color: rgba(255, 255, 255, 0.4);
}

.nav__logo:hover .nav__logo-text {
  color: var(--color-accent);
}

/* Desktop nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.8rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

.nav__link.active {
  color: var(--color-accent);
}

.nav__link-arrow {
  width: 13px;
  height: 13px;
  transition: transform var(--transition-base);
}

/* Products dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(-10px);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-2xl);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--transition-base);
  z-index: 210;
  min-width: 860px;
  overflow: hidden;
  pointer-events: none;
}

[data-theme="dark"] .nav__dropdown-menu {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.08);
}

.nav__dropdown-content {
  display: flex;
}

/* Left Overview Column */
.nav__dropdown-info {
  width: 42%;
  background: var(--color-bg-alt);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--color-border);
}

[data-theme="dark"] .nav__dropdown-info {
  background: rgba(255, 255, 255, 0.015);
}

.nav__dropdown-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background: var(--color-bg-surface);
}

.nav__dropdown-info-title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.nav__dropdown-info-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.nav__dropdown-info-link {
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform var(--transition-fast);
}

.nav__dropdown-info-link:hover {
  transform: translateX(4px);
  text-decoration: underline;
}

/* Right Items Column */
.nav__dropdown-list {
  flex: 1;
  padding: var(--space-8) var(--space-6);
}

.nav__dropdown-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown--open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__dropdown:hover .nav__link-arrow {
  transform: rotate(180deg);
}

.nav__dropdown-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
}

.nav__dropdown-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-1) var(--space-4);
}

.nav__dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: 0.75rem;
  border-radius: 12px;
  transition: all var(--transition-fast);
  color: var(--color-text);
  text-decoration: none;
}

.nav__dropdown-item:hover {
  background: var(--color-bg-alt);
  transform: translateX(6px);
}

.nav__dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-bg-surface);
}

.nav__dropdown-icon--hr { background: #eef2ff; color: #4f46e5; }
.nav__dropdown-icon--asset { background: #fffbeb; color: #d97706; }
.nav__dropdown-icon--desk { background: #f0fdf4; color: #16a34a; }
.nav__dropdown-icon--snap { background: #faf5ff; color: #9333ea; }

[data-theme="dark"] .nav__dropdown-icon--hr { background: rgba(79, 70, 229, 0.12); }
[data-theme="dark"] .nav__dropdown-icon--asset { background: rgba(217, 119, 6, 0.12); }
[data-theme="dark"] .nav__dropdown-icon--desk { background: rgba(22, 163, 74, 0.12); }
[data-theme="dark"] .nav__dropdown-icon--snap { background: rgba(147, 51, 234, 0.12); }

.nav__dropdown-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

.nav__dropdown-desc {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Header link arrow rotation */
.nav__link--dropdown:hover svg,
.nav__dropdown:hover .nav__link--dropdown svg {
  transform: rotate(180deg);
}

.nav__dropdown-icon svg {
  width: 18px;
  height: 18px;
}

.nav__dropdown-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  display: block;
  margin-bottom: 0.125rem;
}

.nav__dropdown-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.45;
}

.nav__dropdown-status {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
}

/* ── Button styled as a nav link (dropdown trigger) */
.nav__link--dropdown {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.8rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
  line-height: inherit;
}

.nav__link--dropdown:hover {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

.nav__link--home {
  font-weight: 600;
}

/* Rotate chevron when dropdown is open */
.nav__dropdown:hover .nav__link-arrow,
.nav__dropdown--open .nav__link-arrow {
  transform: rotate(180deg);
}

.nav__dropdown:hover .nav__link--dropdown {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

/* Narrow dropdown variant for Tools (1-column) */
.nav__dropdown-menu--narrow {
  min-width: 280px;
}

/* 1-column dropdown grid */
.nav__dropdown-grid--1col {
  grid-template-columns: 1fr;
}

/* "All Products" item styling */
.nav__dropdown-item--all {
  border-top: 1px solid var(--color-border);
  margin-top: 0.25rem;
  padding-top: 0.875rem;
}

/* "Open SnapFuse" external link item */
.nav__dropdown-item--launch {
  border-top: 1px solid var(--color-border);
  margin-top: 0.25rem;
}

/* Active indicator for current page nav link (Desktop & Mobile) */
.nav__link.active,
.nav__link--dropdown.active,
.mobile-nav__link.active,
.mobile-nav__product.active {
  color: var(--color-accent) !important;
  font-weight: 600;
}

/* Scrolled header styling — glass intensifies */
.site-header--scrolled .nav {
  box-shadow: 0 4px 24px rgba(8, 14, 26, 0.08);
  background: rgba(250, 251, 255, 0.98);
  border-bottom-color: var(--color-border);
}

[data-theme="dark"] .site-header--scrolled .nav {
  background: rgba(8, 14, 26, 0.98);
}

/* Premium nav CTA */
.nav__cta {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 100%);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  color: #fff !important;
}

.nav__cta:hover {
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
  color: #fff !important;
}

/* Nav actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Theme toggle */
.btn-theme {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: color var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
  background: none;
  border: none;
}

.btn-theme:hover {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

.btn-theme svg {
  width: 17px;
  height: 17px;
  transition: transform 0.4s var(--ease-spring);
}

.btn-theme:hover svg {
  transform: rotate(12deg);
}

[data-theme="light"] .icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: none;
}

/* Language toggle */
.btn-lang {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
}

.btn-lang:hover {
  color: var(--color-text);
  background: var(--color-bg-alt);
  border-color: var(--color-border-strong);
}

.btn-lang svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Search button */
.btn-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-search:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-search svg {
  width: 14px;
  height: 14px;
}

.btn-search__shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  font-size: 10px;
  font-family: var(--font-mono);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 0.125rem 0.375rem;
  color: var(--color-text-subtle);
}

/* Hamburger */
.btn-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.btn-hamburger:hover {
  background: var(--color-bg-alt);
}

.hamburger-bar {
  width: 18px;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast), width var(--transition-base);
  transform-origin: center;
  display: block;
}

.btn-hamburger.open .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-hamburger.open .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.btn-hamburger.open .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 90vw);
  background: var(--color-bg-elevated);
  border-left: 1px solid var(--color-border);
  z-index: var(--z-mobile-nav);
  transform: translateX(100%);
  transition: transform var(--transition-expo);
  overflow-y: auto;
  padding: var(--space-6);
  padding-top: calc(var(--site-header-height, 108px) + var(--space-2));
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: var(--shadow-xl);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: calc(var(--z-mobile-nav) - 1);
}

.mobile-nav-backdrop.visible {
  display: block;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.mobile-nav__link:hover {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

/* .mobile-nav__products — defined at end of file with full accordion styles */

.mobile-nav__product {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0.875rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mobile-nav__product:hover {
  background: var(--color-bg-alt);
}

.mobile-nav__product-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-nav__product-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.mobile-nav__product-desc {
  font-size: 11px;
  color: var(--color-text-subtle);
  line-height: 1.3;
}

.mobile-nav__section {
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
}

.mobile-nav__cta {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Reading progress bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  z-index: calc(var(--z-mobile-nav) + 10);
  transition: width 0.1s linear;
}

/* ─── SEARCH OVERLAY (Command Palette) ───────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-search);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--site-header-height, 108px) + 0.75rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 26, 0.50);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-modal {
  position: relative;
  width: min(640px, calc(100vw - 2rem));
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(-16px) scale(0.98);
  transition: transform var(--transition-expo);
}

.search-overlay.open .search-modal {
  transform: translateY(0) scale(1);
}

.search-modal__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.search-modal__icon {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.search-modal__icon svg {
  width: 18px;
  height: 18px;
}

.search-modal__input {
  flex: 1;
  border: none;
  background: none;
  font-size: var(--text-base);
  color: var(--color-text);
  outline: none;
  line-height: 1.5;
}

.search-modal__input::placeholder {
  color: var(--color-text-subtle);
}

.search-modal__kbd {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  font-size: 11px;
  font-family: var(--font-mono);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.5rem;
  color: var(--color-text-subtle);
}

.search-results {
  max-height: min(480px, 60vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.5rem;
}

.search-results::-webkit-scrollbar {
  width: 4px;
}

.search-results::-webkit-scrollbar-track {
  background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 2px;
}

.search-category {
  padding: 0.5rem 0.75rem 0.375rem;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-subtle);
  margin-top: 0.25rem;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
  text-decoration: none;
}

.search-result:hover,
.search-result--active {
  background: var(--color-accent-subtle);
}

.search-result__icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.search-result__icon svg {
  width: 16px;
  height: 16px;
}

.search-result__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.search-result__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 0.125rem;
  line-height: 1.4;
}

.search-result__page {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  margin-left: auto;
  flex-shrink: 0;
}

mark {
  background: rgba(37, 99, 235, 0.15);
  color: var(--color-accent);
  border-radius: 2px;
  padding: 0 2px;
}

.search-empty {
  padding: var(--space-8) var(--space-6);
  text-align: center;
  color: var(--color-text-muted);
}

.search-empty svg {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-3);
  color: var(--color-text-subtle);
}

.search-empty h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--color-text);
}

.search-empty p {
  font-size: var(--text-sm);
}

.search-footer {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 0.625rem 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.search-footer kbd {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-text-muted);
}

.search-footer__hint {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ─── LANGUAGE PANEL ─────────────────────────────────────────────────────── */
.lang-panel {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lang-panel.open {
  opacity: 1;
  visibility: visible;
}

.lang-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

.lang-panel__modal {
  position: relative;
  width: 320px;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  margin-top: calc(var(--site-header-height, 108px) + 0.5rem);
  margin-right: var(--container-pad);
  box-shadow: var(--shadow-xl);
  padding: var(--space-4);
  transform: translateY(-8px);
  transition: transform var(--transition-expo);
}

.lang-panel.open .lang-panel__modal {
  transform: translateY(0);
}

.lang-panel__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  padding: 0.375rem 0.5rem;
  margin-bottom: var(--space-2);
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--color-text);
  background: var(--color-bg-alt);
}

.lang-btn.active {
  color: var(--color-accent);
  background: var(--color-accent-subtle);
  font-weight: 600;
}

.lang-btn__flag {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.lang-btn__name {
  flex: 1;
}

.lang-btn__native {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.lang-btn .check {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  display: none;
}

.lang-btn.active .check {
  display: block;
}

/* ─── STATUS BADGES ──────────────────────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
  white-space: nowrap;
}

.status-badge--live {
  background: var(--color-live-bg);
  color: var(--color-live);
}

.status-badge--demo {
  background: var(--color-demo-bg);
  color: var(--color-demo);
}

.status-badge--soon {
  background: var(--color-soon-bg);
  color: var(--color-soon);
}

.status-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.status-badge--live .status-badge__dot {
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.75);
  }
}

/* Eyebrow / section label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-3xl);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.65;
}

.section-head {
  margin-bottom: var(--space-12);
}

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

.section-head--center .section-subtitle {
  margin-inline: auto;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
  padding: 0.6rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-subtle);
}

.btn--ghost {
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  background: var(--color-bg-surface);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn--white {
  background: #fff;
  color: var(--blue-700);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.btn--white:hover {
  background: var(--blue-50);
  box-shadow: var(--shadow-md);
  color: var(--blue-800);
}

.btn--lg {
  padding: 0.8rem 1.75rem;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 0.4rem 0.875rem;
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}

.btn--xl {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
  border-width: 2px;
}

/* ─── LAUNCH COUNTDOWN ────────────────────────────────────────────────────── */
.countdown {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.countdown__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-accent);
  background: var(--color-accent-subtle);
  border: 1px solid var(--color-accent-muted);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.25rem;
  min-width: 5rem;
  text-align: center;
  transition: transform 0.3s var(--ease-spring);
}

.countdown__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.countdown__sep {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-text-subtle);
  padding-bottom: 1.5rem;
  align-self: flex-start;
  margin-top: 0.75rem;
}

/* ─── CAROUSEL / SLIDER ───────────────────────────────────────────────────── */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel__track-wrapper {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.carousel__track {
  display: flex;
  gap: var(--space-5);
  transition: transform var(--transition-expo);
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 auto;
  width: calc((100% - var(--space-5) * 2) / 3);
}

.carousel__slide--full {
  width: 100%;
}

.carousel__slide--half {
  width: calc((100% - var(--space-5)) / 2);
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.carousel__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.carousel__btn:hover:not(:disabled) {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel__btn svg {
  width: 18px;
  height: 18px;
}

.carousel__dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 var(--space-3);
}

.carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border-strong);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.carousel__dot.active {
  width: 20px;
  border-radius: 3px;
  background: var(--color-accent);
}

@media (max-width: 960px) {
  .carousel__slide {
    width: calc((100% - var(--space-5)) / 2);
  }
}

@media (max-width: 640px) {

  .carousel__slide,
  .carousel__slide--half {
    width: 88%;
  }
}

/* ─── PRODUCT CARDS ───────────────────────────────────────────────────────── */
.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-strong);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--product-color, var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.product-card--hr {
  --product-color: var(--color-hr);
}

.product-card--asset {
  --product-color: var(--color-asset);
}

.product-card--desk {
  --product-color: var(--color-desk);
}

.product-card--snap {
  --product-color: var(--color-snap);
}

.product-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.product-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-card__icon--hr {
  background: #eef2ff;
  color: #4f46e5;
}

.product-card__icon--asset {
  background: #fffbeb;
  color: #d97706;
}

.product-card__icon--desk {
  background: #f0fdf4;
  color: #16a34a;
}

.product-card__icon--snap {
  background: #faf5ff;
  color: #9333ea;
}

[data-theme="dark"] .product-card__icon--hr {
  background: rgba(79, 70, 229, 0.12);
}

[data-theme="dark"] .product-card__icon--asset {
  background: rgba(217, 119, 6, 0.12);
}

[data-theme="dark"] .product-card__icon--desk {
  background: rgba(22, 163, 74, 0.12);
}

[data-theme="dark"] .product-card__icon--snap {
  background: rgba(147, 51, 234, 0.12);
}

.product-card__icon svg {
  width: 24px;
  height: 24px;
}

.product-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.product-card__cta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-top: auto;
}

.product-card__cta svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.product-card:hover .product-card__cta svg {
  transform: translateX(3px);
}

/* ─── FEATURE CARDS ───────────────────────────────────────────────────────── */
.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ─── SPLIT LAYOUT ────────────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse>* {
  direction: ltr;
}

.split--2-3 {
  grid-template-columns: 2fr 3fr;
}

.split--3-2 {
  grid-template-columns: 3fr 2fr;
}

@media (max-width: 900px) {

  .split,
  .split--2-3,
  .split--3-2 {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .split--reverse>* {
    direction: ltr;
  }
}

/* ─── CTA BAND ────────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 50%, var(--blue-500) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
}

.cta-band__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.75);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.cta-band__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cta-band__orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.cta-band__orb--1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -80px;
}

.cta-band__orb--2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: -60px;
}

/* ─── HERO SOLID THEME ────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: calc(85svh - var(--site-header-height, 108px));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--space-10);
  /* Balanced gap to header */
  padding-bottom: var(--space-20);
  background: #ffffff;
  text-align: center;
}

[data-theme="dark"] .hero {
  background: #05091c;
  /* Solid dark navy */
}

/* ── Dotted World Map Background ──────────────── */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Using a simplified dotted pattern that feels like a map */
.hero__dotted-map {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  /* Reduced opacity */
  background-image:
    radial-gradient(circle at center, #007bff 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  /* Applying a mask to shape it like a world (simplified circular/global fade) */
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

[data-theme="dark"] .hero__dotted-map {
  opacity: 0.12;
  background-image: radial-gradient(circle at center, #5badff 1.5px, transparent 1.5px);
}

/* ── Enterprise Suite Layout ── */
.products-grid {
  margin-top: var(--space-8);
}

/* ── Content ─────────────────────────────────────── */
.hero__center {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Badge (Solid) ── */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #007bff;
  background: rgba(0, 123, 255, 0.06);
  border: 1px solid rgba(0, 123, 255, 0.15);
  border-radius: 999px;
  padding: 0.45rem 1.25rem;
  margin-bottom: var(--space-8);
}

[data-theme="dark"] .hero__badge {
  color: #5badff;
  background: rgba(0, 123, 255, 0.12);
  border-color: rgba(0, 123, 255, 0.25);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #007bff;
}

[data-theme="dark"] .hero__badge-dot {
  background: #5badff;
}

/* ── Headline Styling ── */
.hero__title {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: #0b0f1e;
  margin-bottom: var(--space-6);
}

[data-theme="dark"] .hero__title {
  color: #ffffff;
}

/* The static accent becomes solid color */
.hero__title-accent {
  color: #007bff;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  justify-content: center;
}

[data-theme="dark"] .hero__title-accent {
  color: #5badff;
}

/* ── Typewriter Styling ── */
.hero__typewriter {
  color: #007bff;
  position: relative;
  border-right: 2.5px solid #007bff;
  /* The cursor */
  padding-right: 5px;
  animation: blink-cursor 0.75s step-end infinite;
  white-space: nowrap;
}

[data-theme="dark"] .hero__typewriter {
  color: #5badff;
  border-color: #5badff;
}

@keyframes blink-cursor {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: currentColor
  }
}

/* ── Subtitle (Solid) ── */
.hero__subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.2rem);
  color: #576070;
  line-height: 1.6;
  max-width: 55ch;
  margin-bottom: var(--space-10);
  font-weight: 400;
}

[data-theme="dark"] .hero__subtitle {
  color: #b4bccb;
}

/* ── Premium Buttons ── */
.hero__cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  background: #007bff;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.hero__cta-primary:hover {
  background: #006ce0;
}

.hero__cta-ghost {
  display: inline-flex;
  align-items: center;
  color: #576070;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 1.5rem;
}

[data-theme="dark"] .hero__cta-ghost {
  color: #b4bccb;
}

.hero__cta-ghost:hover {
  color: #007bff;
}

/* Removing any gradients that could be in common buttons if they have them */
.btn--primary {
  background-image: none !important;
}

/* Responsive fixes */
@media (max-width: 640px) {
  .hero__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero__title-accent {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: var(--space-3);
  }

  .hero__rotating-wrapper {
    height: 1.1em;
  }
}


/* ─── PRODUCTS BENTO (homepage 3-product layout) ─────────────────────────── */
.products-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.products-bento__footer {
  margin-top: var(--space-8);
}

@media (max-width: 960px) {
  .products-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .products-bento {
    grid-template-columns: 1fr;
  }
}

/* ─── PAGE HERO ───────────────────────────────────────────────────────────── */
.page-hero {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-muted), transparent);
}

.page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-hero__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: var(--space-4);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 54ch;
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  font-size: var(--text-xs);
  margin-bottom: var(--space-4);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb__current {
  color: var(--color-text-subtle);
  font-weight: 500;
}

.breadcrumb__sep {
  color: var(--color-text-subtle);
}

/* ─── TESTIMONIALS ────────────────────────────────────────────────────────── */
.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.testimonial-card__quote {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-card__quote::before {
  content: '\201C';
  color: var(--color-accent);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 0.1em;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ─── STAT CARDS ──────────────────────────────────────────────────────────── */
.stat-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  text-align: center;
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ─── TIMELINE ────────────────────────────────────────────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0;
  position: relative;
}

.timeline__item--left {
  grid-column: 1;
  text-align: right;
  padding-right: var(--space-6);
}

.timeline__item--right {
  grid-column: 3;
  text-align: left;
  padding-left: var(--space-6);
}

.timeline__node {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 3px var(--color-accent-muted);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.timeline__dot--future {
  background: var(--color-text-subtle);
  box-shadow: 0 0 0 3px var(--color-bg-surface);
}

.timeline__dot--current {
  animation: dot-pulse 2s ease-in-out infinite;
}

.timeline__line {
  width: 2px;
  flex: 1;
  min-height: 60px;
  background: linear-gradient(to bottom, var(--color-accent-muted), var(--color-border));
  margin-top: 4px;
}

.timeline__year {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.375rem;
}

.timeline__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.timeline__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.timeline--simple {
  gap: var(--space-6);
}

.timeline--simple .timeline__item {
  display: flex;
  gap: var(--space-5);
  grid-template-columns: none;
}

.timeline--simple .timeline__node {
  flex-direction: column;
  align-items: center;
  width: 40px;
  flex-shrink: 0;
}

.timeline--simple .timeline__content {
  flex: 1;
  padding-top: 0;
}

/* ─── FORMS ───────────────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.form-label--required::after {
  content: ' *';
  color: #ef4444;
  font-weight: 700;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  color: var(--color-text);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  outline: none;
  line-height: 1.5;
}

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-control::placeholder {
  color: var(--color-text-subtle);
}

.form-control.error {
  border-color: #ef4444;
}

.form-control.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-error {
  font-size: var(--text-xs);
  color: #ef4444;
  font-weight: 500;
  display: none;
}

.form-control.error~.form-error {
  display: block;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

select.form-control {
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-8);
}

.form-success.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.form-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success__icon svg {
  width: 28px;
  height: 28px;
}

/* ─── DEMO / CALENDAR CTA ─────────────────────────────────────────────────── */
.demo-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.demo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.demo-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

.demo-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--color-bg-invert);
  color: rgba(255, 255, 255, 0.65);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

[data-theme="dark"] .footer {
  background: #060b16;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .footer__top {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}


.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  margin-bottom: var(--space-4);
}

.footer__brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
  max-width: 30ch;
  margin-bottom: var(--space-5);
}

.footer__social {
  display: flex;
  gap: 0.625rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
  text-decoration: none;
  line-height: 1.5;
}

.footer__link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.28);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__legal-link {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__legal-link:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer__launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-full);
  padding: 0.375rem 0.875rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(147, 197, 253, 0.9);
  margin-bottom: var(--space-5);
}

/* ─── SCROLL TO TOP ──────────────────────────────────────────────────────── */
/* ─── SCROLL TO TOP: NEW MODERN GLASS SQUIRCLE ─── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 220;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), 
              visibility 0.4s var(--ease-out), 
              transform 0.4s var(--ease-out);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top__btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 123, 255, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0f1e;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.3s var(--ease-out);
  padding: 0;
}

[data-theme="dark"] .scroll-top__btn {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.scroll-top__btn:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(0, 123, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .scroll-top__btn:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(0, 123, 255, 0.4);
}

/* Exterior Progress Border — expanded and shifted right */
.scroll-top__progress-svg {
  position: absolute;
  top: -12px;
  right: -24px;
  bottom: -12px;
  left: 0px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  pointer-events: none;
  overflow: visible;
  transform: rotate(-90deg);
}

.scroll-top__progress-track {
  stroke: rgba(0, 123, 255, 0.08);
  stroke-width: 2.2;
}

[data-theme="dark"] .scroll-top__progress-track {
  stroke: rgba(255, 255, 255, 0.05);
}

.scroll-top__progress-fill {
  stroke: #007bff;
  stroke-width: 2.2;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.15s linear;
}

.scroll-top__icon {
  width: 17px;
  height: 17px;
  position: relative;
  z-index: 1;
}

.scroll-top__icon svg {
  width: 100%;
  height: 100%;
}

.scroll-top__icon {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.scroll-top__icon svg {
  width: 16px;
  height: 16px;
}

/* Legacy aliases */
.scroll-top__svg {
  position: absolute;
  inset: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  transform: rotate(-90deg);
  pointer-events: none;
}

.scroll-top__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 2.5;
}

.scroll-top__fill {
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}

/* ─── CUSTOM CURSOR (desktop) ─────────────────────────────────────────────── */
@media (pointer: fine) {
  .cursor-dot {
    position: fixed;
    width: 5px;
    height: 5px;
    background: var(--color-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transform: translate(-50%, -50%);
    transition: opacity var(--transition-fast), width var(--transition-fast), height var(--transition-fast);
    mix-blend-mode: multiply;
  }

  [data-theme="dark"] .cursor-dot {
    mix-blend-mode: screen;
  }

  .cursor-ring {
    position: fixed;
    width: 28px;
    height: 28px;
    border: 1.5px solid rgba(37, 99, 235, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: calc(var(--z-cursor) - 1);
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-expo), height 0.3s var(--ease-expo), opacity var(--transition-base), border-color var(--transition-fast);
  }

  .cursor-ring--hover {
    width: 44px;
    height: 44px;
    border-color: rgba(37, 99, 235, 0.3);
  }
}

/* ─── TOUCH RIPPLE (mobile) ───────────────────────────────────────────────── */
.touch-ripple {
  position: fixed;
  pointer-events: none;
  z-index: var(--z-cursor);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  animation: touch-ripple-anim 0.6s var(--ease-expo) forwards;
}

@keyframes touch-ripple-anim {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

/* ─── ERROR PAGE ──────────────────────────────────────────────────────────── */
.error-page {
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-12) var(--container-pad);
  gap: var(--space-5);
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ─── LEGAL CONTENT ──────────────────────────────────────────────────────── */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
}

.legal-content h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
  color: var(--color-text-secondary);
}

.legal-content p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}

.legal-content ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-left: 1.25rem;
  margin-bottom: var(--space-4);
}

.legal-content li {
  list-style: disc;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}

.legal-content a {
  font-weight: 500;
}

/* ─── SCROLL REVEALS ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-expo), transform 0.6s var(--ease-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s var(--ease-expo), transform 0.6s var(--ease-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s var(--ease-expo), transform 0.6s var(--ease-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s var(--ease-expo), transform 0.6s var(--ease-expo);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal--delay-1 {
  transition-delay: 0.08s;
}

.reveal--delay-2 {
  transition-delay: 0.16s;
}

.reveal--delay-3 {
  transition-delay: 0.24s;
}

.reveal--delay-4 {
  transition-delay: 0.32s;
}

.reveal--delay-5 {
  transition-delay: 0.40s;
}

/* ─── UTILITIES ──────────────────────────────────────────────────────────── */
.text-xs {
  font-size: var(--text-xs);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-base {
  font-size: var(--text-base);
}

.text-lg {
  font-size: var(--text-lg);
}

.text-xl {
  font-size: var(--text-xl);
}

.text-2xl {
  font-size: var(--text-2xl);
}

.text-3xl {
  font-size: var(--text-3xl);
}

.text-4xl {
  font-size: var(--text-4xl);
}

.text-5xl {
  font-size: var(--text-5xl);
}

.font-display {
  font-family: var(--font-display);
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

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

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

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

.text-muted {
  color: var(--color-text-muted);
}

.text-subtle {
  color: var(--color-text-subtle);
}

.text-accent {
  color: var(--color-accent);
}

.text-secondary {
  color: var(--color-text-secondary);
}

.text-white {
  color: #fff;
}

.bg-alt {
  background: var(--color-bg-alt);
}

.bg-card {
  background: var(--color-bg-card);
}

.bg-surface {
  background: var(--color-bg-surface);
}

.rounded-sm {
  border-radius: var(--radius-sm);
}

.rounded-md {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-2xl {
  border-radius: var(--radius-2xl);
}

.rounded {
  border-radius: var(--radius-full);
}

.border {
  border: 1px solid var(--color-border);
}

.shadow {
  box-shadow: var(--shadow-md);
}

.w-full {
  width: 100%;
}

.max-w-prose {
  max-width: 65ch;
}

.overflow-hidden {
  overflow: hidden;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.hide-mobile {
  display: none !important;
}

.hide-desktop {
  display: block !important;
}

.flex-hide-mobile {
  display: none !important;
}

.flex-hide-desktop {
  display: flex !important;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: block !important;
  }

  .hide-desktop {
    display: none !important;
  }

  .flex-hide-mobile {
    display: flex !important;
  }

  .flex-hide-desktop {
    display: none !important;
  }
}

/* ─── TAG/CHIP ────────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.275rem 0.75rem;
}

.chip--accent {
  color: var(--color-accent);
  background: var(--color-accent-subtle);
  border-color: var(--color-accent-muted);
}

.chip--hr {
  color: var(--color-hr);
  background: #eef2ff;
  border-color: rgba(79, 70, 229, 0.2);
}

.chip--asset {
  color: var(--color-asset);
  background: #fffbeb;
  border-color: rgba(217, 119, 6, 0.2);
}

.chip--desk {
  color: var(--color-desk);
  background: #f0fdf4;
  border-color: rgba(22, 163, 74, 0.2);
}

.chip--snap {
  color: var(--color-snap);
  background: #faf5ff;
  border-color: rgba(147, 51, 234, 0.2);
}

[data-theme="dark"] .chip--hr {
  background: rgba(79, 70, 229, 0.10);
}

[data-theme="dark"] .chip--asset {
  background: rgba(217, 119, 6, 0.10);
}

[data-theme="dark"] .chip--desk {
  background: rgba(22, 163, 74, 0.10);
}

[data-theme="dark"] .chip--snap {
  background: rgba(147, 51, 234, 0.10);
}

/* ─── CHECK LIST ─────────────────────────────────────────────────────────── */
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.check-item__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.check-item__icon svg {
  width: 11px;
  height: 11px;
}

/* ─── SECTION DIVIDER ────────────────────────────────────────────────────── */
.divider,
.section-divider {
  height: 1px;
  background: var(--color-border);
  margin-block: var(--space-4);
}

.section-divider--gradient {
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  border: none;
}

/* ─── RESPONSIVE GLOBAL ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .btn-hamburger {
    display: flex;
  }

  .nav__links {
    display: none;
  }

  .nav__actions .btn-search .btn-search__shortcut {
    display: none;
  }

  .nav__actions .btn-lang {
    display: none;
  }

  .nav__actions>.btn {
    display: none;
  }

  .hero__title {
    font-size: clamp(2rem, 7vw, var(--text-5xl));
  }

  .hero__subtitle {
    font-size: var(--text-base);
  }

  /* Countdown: 2-column grid on mobile */
  .countdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    justify-items: center;
  }

  .countdown__sep {
    display: none;
  }

  /* Full-width CTAs on mobile */
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .cta-band__actions .btn {
    flex: 1 1 180px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav__actions .btn-search {
    display: none;
  }

  .bento__number {
    font-size: var(--text-3xl);
  }

  .countdown__number {
    min-width: 4rem;
    padding: 0.5rem 0.875rem;
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }

  .cta-band {
    padding: var(--space-8) var(--space-5);
  }

  .page-hero {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

  .hero {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }

  .section {
    padding-block: var(--space-10);
  }

  .hero__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .section-title {
    font-size: var(--text-2xl);
  }
}

/* ─── MOBILE NAV THEME BUTTON STYLING ────────────────────────────────────── */
.btn-theme-mobile {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  flex-shrink: 0;
}

.btn-theme-mobile:hover {
  color: var(--color-text);
  background: var(--color-bg-surface);
}

.btn-theme-mobile svg {
  width: 17px;
  height: 17px;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  gap: var(--space-4);
  transition: color var(--transition-fast);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '';
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-answer {
  padding-bottom: var(--space-5);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.faq-answer p {
  margin-bottom: var(--space-3);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.faq-answer li {
  list-style: disc;
}

.faq-answer a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ─── PROSE (legal pages) ────────────────────────────────────────────────── */
.prose {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-muted);
}

.prose p {
  margin-bottom: var(--space-5);
}

.prose h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.prose h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.prose ul {
  padding-left: 1.5rem;
  margin-bottom: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.prose li {
  list-style: disc;
}

.prose a {
  color: var(--color-accent);
  text-decoration: underline;
}

.prose strong {
  color: var(--color-text);
}

/* ─── FORM INPUTS ────────────────────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: var(--color-text-subtle);
}

.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-muted);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px;
  padding-right: 2.5rem;
}

[data-theme="dark"] .form-input {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
  color: var(--color-text);
}

/* ─── MOBILE NAV ACCORDION (Products + Tools) ────────────────────────────── */
.mobile-nav__products {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease-out), padding 0.2s;
  padding: 0 0 0 var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav__products.open {
  max-height: 400px;
  padding-bottom: 0.5rem;
}