/* ═══════════════════════════════════════════
   LME Design Tokens & Component Styles
   ═══════════════════════════════════════════ */

/* ── Type Scale ── */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* ── Spacing ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ── Radius ── */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ── Transitions ── */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Content Widths ── */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* ── Font Families ── */
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  /* ── Glass Effects ── */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 12px;
  --glass-bg-light: rgba(255, 255, 255, 0.7);
  --glass-border-light: rgba(255, 255, 255, 0.5);
}

/* ── LIGHT MODE ── */
:root,
[data-theme='light'] {
  --color-bg: #F7F8FA;
  --color-surface: #FFFFFF;
  --color-surface-2: #F0F2F5;
  --color-surface-offset: #E8EBF0;
  --color-divider: #D8DCE3;
  --color-border: #CDD2DA;

  --color-text: #1B2432;
  --color-text-muted: #5A6578;
  --color-text-faint: #9AA3B3;
  --color-text-inverse: #F0F2F5;

  --color-primary: #1AABB3;
  --color-primary-hover: #158E95;
  --color-primary-active: #107178;
  --color-primary-highlight: #D4F0F2;

  --color-navy: #0F1729;
  --color-navy-light: #1A2744;
  --color-mint: #7BC5AE;

  --shadow-sm: 0 1px 2px rgba(15, 23, 41, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 41, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 41, 0.12);
  --shadow-glow: 0 0 20px rgba(26, 171, 179, 0.15);

  --card-bg: rgba(255, 255, 255, 0.8);
  --card-border: rgba(255, 255, 255, 0.5);
  --card-backdrop: blur(12px);
}

/* ── DARK MODE ── */
[data-theme='dark'] {
  --color-bg: #0B0F1A;
  --color-surface: #111827;
  --color-surface-2: #1A2235;
  --color-surface-offset: #151D2E;
  --color-divider: #1E2A3F;
  --color-border: #283550;

  --color-text: #E8EAF0;
  --color-text-muted: #8E95A8;
  --color-text-faint: #4D5567;
  --color-text-inverse: #1B2432;

  --color-primary: #2CC5CE;
  --color-primary-hover: #3DD8E1;
  --color-primary-active: #1AABB3;
  --color-primary-highlight: #1A2F31;

  --color-navy: #070B14;
  --color-navy-light: #111827;
  --color-mint: #8ED4BF;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(44, 197, 206, 0.2);

  --card-bg: rgba(17, 24, 39, 0.6);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-backdrop: blur(12px);
}

/* System preference fallback removed — light mode is always default.
   Users can toggle to dark via the theme button. */

/* ═══════════════════════════════════════════
   KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════ */

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-25px, 20px) scale(0.95); }
  66% { transform: translate(15px, -25px) scale(1.05); }
}

@keyframes subtle-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(26, 171, 179, 0.3); }
  50% { box-shadow: 0 0 35px rgba(26, 171, 179, 0.5); }
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(26, 171, 179, 0.2); }
  50% { box-shadow: 0 0 16px rgba(26, 171, 179, 0.4); }
}

@keyframes border-rotate {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}

@keyframes cta-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes dot-fade {
  0%, 100% { opacity: 0.03; }
  50% { opacity: 0.06; }
}

/* ═══════════════════════════════════════════
   GLOBAL COMPONENTS
   ═══════════════════════════════════════════ */

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus {
  top: var(--space-2);
}

/* ── Anchor offset for sticky nav ── */
[id] {
  scroll-margin-top: 5.5rem;
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.site-header--scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: oklch(from var(--color-text) l c h / 0.1);
}

.nav-container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0 auto;
}
.nav-links li {
  position: relative;
}
.nav-links a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  white-space: nowrap;
  font-family: var(--font-body);
  transition: all 250ms var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
  background: oklch(from var(--color-primary) l c h / 0.08);
}
.nav-links a.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-links a.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}
.nav-dropdown-toggle svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform var(--transition-interactive), opacity 0.2s;
}
.nav-dropdown:hover .nav-dropdown-toggle svg {
  opacity: 0.8;
}
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 200ms var(--ease-out);
  z-index: 200;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
}
.nav-dropdown-menu a:hover {
  color: var(--color-text);
  background: oklch(from var(--color-primary) l c h / 0.08);
}
.nav-dropdown-menu .dropdown-label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-primary);
  padding: var(--space-1) var(--space-3);
  margin-bottom: var(--space-1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: var(--space-2);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: oklch(from var(--color-primary) l c h / 0.08);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text);
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: all 200ms var(--ease-out);
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px);
}

/* Mobile Nav — Slide-in drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--color-bg);
  z-index: 110;
  overflow-y: auto;
  flex-direction: column;
  border-left: 1px solid var(--color-border);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
  transition: right 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open {
  display: flex !important;
  right: 0;
}

/* Mobile nav header — logo + close */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.mobile-nav-logo img {
  height: 32px;
  width: auto;
}
.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.mobile-nav-close:hover {
  color: var(--color-text);
  background: oklch(from var(--color-primary) l c h / 0.08);
}

/* Mobile nav body — scrollable links area */
.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-3) var(--space-3);
}

/* Section labels */
.mobile-nav-section {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  padding: var(--space-4) var(--space-3) var(--space-1);
  margin-top: var(--space-1);
}
.mobile-nav-section:first-child {
  margin-top: 0;
}

/* Nav links with icons */
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 180ms var(--ease-out);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-primary);
  background: oklch(from var(--color-primary) l c h / 0.07);
}
.mobile-nav-link.active {
  font-weight: 600;
}

/* Nav link icons */
svg.mobile-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-text-faint);
  transition: color 180ms var(--ease-out);
}
.mobile-nav-link:hover svg.mobile-nav-icon,
.mobile-nav-link.active svg.mobile-nav-icon {
  color: var(--color-primary);
}

/* Sub-items — slightly indented */
.mobile-nav-sub {
  padding-left: calc(var(--space-3) + 18px + var(--space-3));
}
.mobile-nav-sub svg.mobile-nav-icon {
  width: 15px;
  height: 15px;
  opacity: 0.6;
}

/* External link indicator */
svg.mobile-nav-external {
  width: 11px;
  height: 11px;
  opacity: 0.4;
  margin-left: 2px;
  flex-shrink: 0;
}

/* Mobile nav investor link — gold */
.mobile-nav-investor {
  color: #C9A84C !important;
  background: rgba(201, 168, 76, 0.06) !important;
  border: 1px solid rgba(201, 168, 76, 0.18);
  margin-top: var(--space-1);
}
.mobile-nav-investor:hover {
  background: rgba(201, 168, 76, 0.12) !important;
  color: #D4AF37 !important;
}
.mobile-nav-investor svg.mobile-nav-icon {
  color: #C9A84C;
}

/* Mobile nav footer — theme toggle */
.mobile-nav-footer {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}
.mobile-theme-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 180ms var(--ease-out);
  font-family: var(--font-body);
}
.mobile-theme-toggle:hover {
  color: var(--color-text);
  background: oklch(from var(--color-primary) l c h / 0.07);
}
.mobile-theme-toggle svg {
  flex-shrink: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: all 280ms var(--ease-out);
  cursor: pointer;
  border: none;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #22C4CD 0%, #1AABB3 50%, #158E95 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 171, 179, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #2DD4DD 0%, #1AABB3 50%, #107178 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26, 171, 179, 0.4);
}
.btn-primary:active {
  transform: translateY(0);
  background: linear-gradient(135deg, #1AABB3 0%, #107178 100%);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid oklch(from var(--color-text) l c h / 0.2);
  position: relative;
  overflow: hidden;
}
.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26, 171, 179, 0.08), transparent);
  transition: left 0.5s ease;
}
.btn-outline:hover::before {
  left: 100%;
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(26, 171, 179, 0.12);
}
.btn-outline:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  padding: var(--space-2) var(--space-4);
}
.btn-ghost:hover {
  background: oklch(from var(--color-primary) l c h / 0.08);
}

.btn-white {
  background: #fff;
  color: var(--color-navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.btn-white:hover {
  background: #F0F2F5;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* CTA section primary button shimmer */
.cta-section .btn-white {
  animation: none;
}
.cta-section .btn-white::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26, 171, 179, 0.1), transparent);
  animation: shimmer 3s infinite;
}

/* ── Section ── */
.section {
  padding: clamp(var(--space-16), 10vw, var(--space-32)) var(--space-4);
  position: relative;
}
.section-dark {
  background: var(--color-navy);
  color: #E8EAF0;
}
.section-dark .color-muted {
  color: #8E95A8;
}
.section-gray {
  background: var(--color-surface-2);
}

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
}
.container-narrow {
  max-width: var(--content-default);
  margin-inline: auto;
}

/* ── Section Dividers — wave/diagonal shapes between sections ── */
.section-dark + .section,
.section-dark + .section-gray,
.section + .section-dark {
  position: relative;
}

/* ── Section Headings ── */
.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  max-width: 28ch;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-dark .section-title {
  color: #fff;
}
.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
  line-height: 1.75;
}
.section-dark .section-subtitle {
  color: #99A2B8;
}

/* ── Cards — Glass Morphism ── */
.card {
  background: var(--card-bg);
  backdrop-filter: var(--card-backdrop);
  -webkit-backdrop-filter: var(--card-backdrop);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all 300ms var(--ease-out);
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(26, 171, 179, 0.15), transparent 50%, rgba(123, 197, 174, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(26, 171, 179, 0.12), var(--shadow-md);
  transform: translateY(-3px) scale(1.01);
}
.card:hover::before {
  opacity: 1;
}

/* Icons in cards: subtle animation on hover */
.card:hover .icon-box {
  transform: scale(1.08);
}
.card:hover .icon-box svg {
  filter: drop-shadow(0 0 6px rgba(26, 171, 179, 0.4));
}

.card-dark {
  background: rgba(26, 39, 68, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 300ms var(--ease-out);
  position: relative;
}
.card-dark:hover {
  background: rgba(26, 39, 68, 0.7);
  border-color: rgba(26, 171, 179, 0.2);
  box-shadow: 0 8px 32px rgba(26, 171, 179, 0.1);
  transform: translateY(-3px) scale(1.01);
}

/* ── Grid Layouts ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--space-6);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-6);
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: var(--space-4);
}

/* ── Icon Box ── */
.icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 300ms var(--ease-out);
  position: relative;
}
.icon-box::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 171, 179, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.icon-box svg {
  width: 24px;
  height: 24px;
  transition: filter 300ms var(--ease-out);
}

/* ── Footer — Modernized ── */
.site-footer {
  background: #0D1220;
  color: #E8EAF0;
  padding: var(--space-16) var(--space-4) var(--space-8);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #1AABB3 30%, #7BC5AE 50%, #1AABB3 70%, transparent 100%);
}
.footer-grid {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-8);
}
.footer-brand p {
  color: #8E95A8;
  font-size: var(--text-sm);
  margin-top: var(--space-3);
  max-width: 32ch;
  line-height: 1.75;
}
.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-2);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}
.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: #8E95A8;
  text-decoration: none;
  padding: var(--space-1) 0;
  transition: color 250ms var(--ease-out), transform 250ms var(--ease-out);
}
.footer-col a:hover {
  color: var(--color-primary);
  transform: translateX(2px);
}
.footer-bottom {
  max-width: var(--content-wide);
  margin-inline: auto;
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: #6B7385;
}
.footer-bottom a {
  font-size: var(--text-xs);
  color: #6B7385;
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.footer-bottom a:hover {
  color: var(--color-primary);
}

/* ── Hero Sections — Dramatic with gradient mesh ── */
.hero {
  background: var(--color-navy);
  color: #fff;
  padding: clamp(var(--space-20), 12vw, 10rem) var(--space-4) clamp(var(--space-16), 10vw, var(--space-32));
  position: relative;
  overflow: hidden;
}
/* Animated gradient mesh bg */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 160%;
  height: 200%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(26, 171, 179, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 60%, rgba(123, 197, 174, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 20%, rgba(26, 171, 179, 0.06) 0%, transparent 50%);
  animation: orb-float-1 20s ease-in-out infinite;
  pointer-events: none;
}
/* Second animated orb layer */
.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 80%;
  height: 140%;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(26, 171, 179, 0.1) 0%, transparent 60%);
  animation: orb-float-2 25s ease-in-out infinite;
  pointer-events: none;
}
/* Dot grid overlay */
.hero .hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  animation: dot-fade 8s ease-in-out infinite;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  max-width: 18ch;
  margin-bottom: var(--space-6);
  line-height: 1.08;
  letter-spacing: -0.03em;
  position: relative;
}
/* Glow orb behind headline */
.hero h1::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 20%;
  width: 300px;
  height: 100px;
  background: radial-gradient(ellipse, rgba(26, 171, 179, 0.15) 0%, transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
  filter: blur(40px);
  z-index: -1;
}
.hero p {
  font-size: var(--text-base);
  color: #B0B8CC;
  max-width: 52ch;
  line-height: 1.75;
  margin-bottom: var(--space-4);
}
.hero .hero-highlight {
  color: var(--color-primary);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

/* ── Scroll Reveal Animations — with stagger ── */
.reveal-ready {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children > .reveal-ready:nth-child(1) { transition-delay: 0ms; }
.stagger-children > .reveal-ready:nth-child(2) { transition-delay: 80ms; }
.stagger-children > .reveal-ready:nth-child(3) { transition-delay: 160ms; }
.stagger-children > .reveal-ready:nth-child(4) { transition-delay: 240ms; }
.stagger-children > .reveal-ready:nth-child(5) { transition-delay: 320ms; }
.stagger-children > .reveal-ready:nth-child(6) { transition-delay: 400ms; }

/* ── Trust Strip — Glass Cards ── */
.trust-strip {
  padding: var(--space-10) var(--space-4);
  background: var(--color-surface-2);
  position: relative;
}
.trust-items {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: var(--space-4);
  text-align: left;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 250ms var(--ease-out);
}
.trust-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
/* Separator pseudo-element between trust items on desktop */
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(-0.5 * var(--space-4));
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--color-divider);
}
.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
  filter: drop-shadow(0 0 6px rgba(26, 171, 179, 0.3));
}
.trust-item span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

/* ── Workflow Steps — with connecting lines and gradient numbers ── */
.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: var(--space-4);
  counter-reset: step;
  position: relative;
}
.workflow-step {
  counter-increment: step;
  text-align: left;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  transition: all 300ms var(--ease-out);
}
.workflow-step:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(26, 171, 179, 0.2);
  box-shadow: 0 0 24px rgba(26, 171, 179, 0.1);
  transform: translateY(-3px);
}
/* Number circle with gradient fill */
.workflow-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #22C4CD 0%, #1AABB3 50%, #158E95 100%);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: var(--space-4);
  box-shadow: 0 2px 8px rgba(26, 171, 179, 0.3);
}
/* Connecting line between steps */
.workflow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25px;
  right: calc(-1 * var(--space-4) / 2 - 10px);
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, rgba(26, 171, 179, 0.4), rgba(26, 171, 179, 0.1));
  pointer-events: none;
}
.workflow-step h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
  letter-spacing: 0.01em;
}
.workflow-step p {
  font-size: var(--text-xs);
  color: #8E95A8;
  line-height: 1.7;
}

/* ── Page Hero (interior pages) — with mesh ── */
.page-hero {
  background: var(--color-navy);
  color: #fff;
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-4) clamp(var(--space-12), 6vw, var(--space-20));
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 160%;
  height: 200%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(26, 171, 179, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(123, 197, 174, 0.06) 0%, transparent 60%);
  animation: orb-float-1 20s ease-in-out infinite;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  max-width: 22ch;
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
}
.page-hero p {
  font-size: var(--text-base);
  color: #B0B8CC;
  max-width: 56ch;
  line-height: 1.75;
}

/* ── Feature Cards with Icon ── */
.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.feature-card .icon-box {
  margin-bottom: var(--space-1);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ── CTA Section — animated gradient ── */
.cta-section {
  background: linear-gradient(135deg, #22C4CD 0%, #1AABB3 25%, #158E95 50%, #107178 75%, #1AABB3 100%);
  background-size: 200% 200%;
  animation: cta-gradient-shift 8s ease-in-out infinite;
  color: #fff;
  padding: clamp(var(--space-16), 10vw, 8rem) var(--space-4);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  max-width: 30ch;
  margin-inline: auto;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.cta-section p {
  font-size: var(--text-base);
  color: oklch(1 0 0 / 0.85);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* ── Form Styles ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.form-input,
.form-textarea {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-family: var(--font-body);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.15), 0 0 16px rgba(26, 171, 179, 0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── Stat Cards ── */
.stat-card {
  text-align: center;
  padding: var(--space-6);
}
.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ── Tags / Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background: oklch(from var(--color-primary) l c h / 0.12);
  color: var(--color-primary);
  animation: badge-glow 3s ease-in-out infinite;
}
.badge-coming-soon {
  background: oklch(from var(--color-mint) l c h / 0.15);
  color: var(--color-mint);
  animation: none;
}

/* ── MIXI AI Card — Animated Border Gradient ── */
.mixi-card-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1.5px;
  background: linear-gradient(135deg, #1AABB3, #7BC5AE, #1AABB3, #158E95);
  background-size: 300% 300%;
  animation: gradient-shift 6s ease-in-out infinite;
}
.mixi-card-wrapper > div {
  border-radius: calc(var(--radius-xl) - 1.5px);
}

/* ── Section wave divider ── */
.section-wave-divider {
  position: relative;
  margin-top: -1px;
  height: 48px;
  overflow: hidden;
  pointer-events: none;
}
.section-wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Responsive Inline Grids ── */
@media (max-width: 768px) {
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns: 1fr auto"] {
    grid-template-columns: 1fr !important;
  }
  .trust-item:not(:last-child)::after {
    display: none;
  }
  .workflow-step:not(:last-child)::after {
    display: none;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .nav-actions .btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(1.75rem, 1rem + 3vw, 2.5rem);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════
   ENHANCED NAV DROPDOWNS (with icons + descriptions)
   ═══════════════════════════════════════════ */

/* Enhanced dropdown menu — wider, with item descriptions */
.nav-dropdown-menu.dropdown-enhanced {
  min-width: 260px;
  padding: var(--space-3);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  transition: all 200ms var(--ease-out);
}
.dropdown-item:hover {
  background: oklch(from var(--color-primary) l c h / 0.08);
  color: var(--color-text) !important;
}
.dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: oklch(from var(--color-primary) l c h / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 1px;
}
.dropdown-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dropdown-item-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}
.dropdown-item-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}
.dropdown-item:hover .dropdown-item-title {
  color: var(--color-primary);
}
.dropdown-item-external {
  display: flex;
  align-items: center;
  gap: 3px;
}
.dropdown-item-external svg {
  opacity: 0.5;
  width: 11px;
  height: 11px;
}

/* Investor Access nav link — lock icon style */
.nav-investor-link {
  display: inline-flex !important;
  align-items: center;
  gap: var(--space-1) !important;
  padding: var(--space-2) var(--space-3) !important;
  font-size: var(--text-sm) !important;
  font-weight: 600 !important;
  color: var(--color-primary) !important;
  border: 1px solid oklch(from var(--color-primary) l c h / 0.25) !important;
  border-radius: var(--radius-full) !important;
  background: oklch(from var(--color-primary) l c h / 0.06) !important;
  transition: all 200ms var(--ease-out) !important;
}
.nav-investor-link:hover {
  background: oklch(from var(--color-primary) l c h / 0.14) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}
.nav-investor-link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Mobile nav investor link — see base mobile nav styles */

/* ═══════════════════════════════════════════
   HERO LOGO BRANDING
   ═══════════════════════════════════════════ */

.hero-logo-wrap {
  display: inline-block;
  margin-bottom: var(--space-8);
  position: relative;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -16px -24px;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(26, 171, 179, 0.22) 0%, transparent 70%);
  filter: blur(20px);
  border-radius: 50%;
  pointer-events: none;
  animation: glow-pulse 3s ease-in-out infinite;
}
.hero-logo-wrap img {
  height: 80px;
  width: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 16px rgba(26, 171, 179, 0.3));
}

/* Nav logo 48px */
.nav-logo img {
  height: 48px !important;
}

/* Footer logo 48px + tagline */
.footer-brand img {
  height: 48px !important;
}
.footer-brand-tagline {
  font-size: var(--text-xs);
  color: #6B8BA4;
  letter-spacing: 0.04em;
  font-style: italic;
  margin-top: var(--space-1);
  margin-bottom: var(--space-3);
}

/* ═══════════════════════════════════════════
   TEAM HEADSHOT CARDS
   ═══════════════════════════════════════════ */

.team-card {
  background: var(--card-bg);
  backdrop-filter: var(--card-backdrop);
  -webkit-backdrop-filter: var(--card-backdrop);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: left;
  transition: all 300ms var(--ease-out);
  position: relative;
}
.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(26, 171, 179, 0.2), transparent 50%, rgba(123, 197, 174, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}
.team-card:hover {
  box-shadow: 0 8px 32px rgba(26, 171, 179, 0.12), var(--shadow-md);
  transform: translateY(-3px);
}
.team-card:hover::before {
  opacity: 1;
}
.team-headshot-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}
.team-headshot-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #7BC5AE 50%, var(--color-primary) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease-in-out infinite;
}
.team-headshot-wrap img {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--color-surface-2);
}

/* Stealth mode team member */
.stealth-headshot::before {
  background: linear-gradient(135deg, #8B95A5 0%, #A0AABB 50%, #8B95A5 100%);
  background-size: 200% 200%;
  opacity: 0.5;
}
.stealth-avatar {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-text-faint);
}
.stealth-avatar svg {
  width: 100%;
  height: 100%;
}
.stealth-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-faint);
  filter: blur(4px);
  user-select: none;
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════
   MIXI MED BANNER
   ═══════════════════════════════════════════ */

.miximed-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, #0F2444 100%);
  border: 1px solid rgba(26, 171, 179, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-6);
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: all 300ms var(--ease-out);
}
.miximed-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(26, 171, 179, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.miximed-banner:hover {
  border-color: rgba(26, 171, 179, 0.4);
  box-shadow: 0 8px 32px rgba(26, 171, 179, 0.12);
  transform: translateY(-2px);
}
.miximed-banner-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.miximed-banner-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.miximed-banner-content {}
.miximed-banner-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
}
.miximed-banner-content p {
  font-size: var(--text-sm);
  color: #8E95A8;
  line-height: 1.7;
  max-width: 52ch;
}
.miximed-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: linear-gradient(135deg, #22C4CD 0%, #1AABB3 50%, #158E95 100%);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(26, 171, 179, 0.3);
  transition: all 280ms var(--ease-out);
}
.miximed-banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26, 171, 179, 0.4);
}
.miximed-banner-cta svg {
  width: 14px;
  height: 14px;
}

/* ═══════════════════════════════════════════
   INVESTOR PORTAL — FINANCIAL SECTIONS
   ═══════════════════════════════════════════ */

.investor-section {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.investor-section-header {
  margin-bottom: var(--space-8);
}
.investor-section-header .section-eyebrow {
  margin-bottom: var(--space-2);
}
.investor-section-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}
.investor-section-header p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 64ch;
}

/* Revenue model cards */
.revenue-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.revenue-model-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all 250ms var(--ease-out);
}
.revenue-model-card:hover {
  border-color: oklch(from var(--color-primary) l c h / 0.3);
  box-shadow: 0 4px 20px rgba(26, 171, 179, 0.08);
}
.revenue-model-card .rm-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: oklch(from var(--color-primary) l c h / 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.revenue-model-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.revenue-model-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Revenue bar chart */
.revenue-chart {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.revenue-chart-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}
.chart-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.chart-bar-row {
  display: grid;
  grid-template-columns: 56px 1fr 100px;
  align-items: center;
  gap: var(--space-3);
}
.chart-bar-label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-muted);
  text-align: right;
}
.chart-bar-track {
  height: 28px;
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}
.chart-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #1AABB3 0%, #22C4CD 60%, #7BC5AE 100%);
  box-shadow: 0 2px 8px rgba(26, 171, 179, 0.25);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.chart-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
}
.chart-bar-value {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-display);
}

/* Profitability timeline */
.profitability-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: var(--space-4);
}
.timeline-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}
.timeline-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1AABB3, #7BC5AE);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}
.timeline-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Market opportunity */
.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.market-stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.market-stat-card .market-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-2);
}
.market-stat-card .market-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
  letter-spacing: -0.02em;
}
.market-stat-card .market-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.market-chart-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin-top: var(--space-4);
}
@media (max-width: 640px) {
  .market-grid {
    grid-template-columns: 1fr;
  }
}

/* Exit strategy + use of funds */
.exit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--space-4);
}
.exit-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.exit-card .exit-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: oklch(from var(--color-primary) l c h / 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.exit-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.exit-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Responsive fix for miximed-banner */
@media (max-width: 768px) {
  .miximed-banner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .miximed-banner-cta {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ENHANCEMENT BLOCK — v2 Major Enhancement
   Mobile, Nav, Investor Portal, Branding, Icons, Polish
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. GLOBAL POLISH ── */

html {
  scroll-behavior: smooth;
}

/* Better focus states */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* 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;
  }
}

/* Images max-width */
img {
  max-width: 100%;
  height: auto;
}

/* Hero text shadow for readability */
.hero h1 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ── 2. NAV — FROSTED GLASS HEADER ── */

/* Enhanced frosted glass effect */
.site-header {
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
}

/* Underline slide-in on nav links */
.nav-links a:not(.nav-investor-link) {
  position: relative;
}
.nav-links a:not(.nav-investor-link)::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: var(--space-3);
  right: var(--space-3);
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
  border-radius: 1px;
}
.nav-links a:not(.nav-investor-link):hover::after,
.nav-links a:not(.nav-investor-link).active::after {
  transform: scaleX(1);
}
/* Remove duplicate hover background for active underline style */
.nav-links a:not(.nav-investor-link):hover {
  background: oklch(from var(--color-primary) l c h / 0.06);
}

/* Dropdown: bigger icons, better slide + fade */
.nav-dropdown-menu {
  transform: translateY(-6px);
  transition: opacity 200ms var(--ease-out), visibility 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  transform: translateY(4px);
}

/* Dropdown item icons — slightly larger */
.dropdown-item-icon {
  width: 36px;
  height: 36px;
}
.dropdown-item-icon svg {
  width: 18px;
  height: 18px;
}

/* GOLD investor access button — makes it feel exclusive */
.nav-investor-link {
  color: #C9A84C !important;
  border-color: rgba(201, 168, 76, 0.35) !important;
  background: rgba(201, 168, 76, 0.08) !important;
}
.nav-investor-link:hover {
  color: #D4AF37 !important;
  background: rgba(201, 168, 76, 0.15) !important;
  border-color: rgba(201, 168, 76, 0.6) !important;
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.2) !important;
}
.nav-investor-link svg {
  color: #C9A84C;
}

/* Mobile nav gold investor link — see base styles above */

/* ── 3. MOBILE NAV — ENHANCED OVERLAY ── */

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 20, 0.65);
  backdrop-filter: blur(2px);
  z-index: 105;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hamburger to X transition — already handled but enhance */
.hamburger span {
  transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── 4. HERO LOGO — LARGER WITH GLOW ── */

.hero-logo-wrap img {
  height: 100px;
  width: auto;
}

/* ── 5. ICON BOX — GRADIENT BACKGROUND ── */

.icon-box {
  background: linear-gradient(135deg,
    oklch(from var(--color-primary) l c h / 0.12) 0%,
    oklch(from var(--color-mint) l c h / 0.08) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  width: 52px;
  height: 52px;
}
.icon-box svg {
  width: 26px;
  height: 26px;
}

/* Trust strip icons — larger */
.trust-item svg {
  width: 24px;
  height: 24px;
}

/* ── 6. CARD HOVER SHIMMER EFFECT ── */

.card,
.revenue-model-card,
.exit-card,
.timeline-item,
.portal-card {
  overflow: hidden;
}
.card::after,
.revenue-model-card::after,
.exit-card::after,
.timeline-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26, 171, 179, 0.06), transparent);
  pointer-events: none;
  transform: skewX(-20deg);
  transition: left 0s;
}
.card:hover::after,
.revenue-model-card:hover::after,
.exit-card:hover::after,
.timeline-item:hover::after {
  left: 150%;
  transition: left 0.5s ease;
}

/* Teal section divider accent lines */
.investor-section {
  border-top: 1px solid var(--color-divider);
  position: relative;
}
.investor-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
}

/* ── 7. BACK TO TOP BUTTON ── */

.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(26, 171, 179, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
  z-index: 80;
  text-decoration: none;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  box-shadow: 0 8px 28px rgba(26, 171, 179, 0.5);
  transform: translateY(-3px);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ── 8. INVESTOR PORTAL — GOLD THEME ── */

/* Gold color variables for portal */
:root {
  --color-gold: #C9A84C;
  --color-gold-light: #D4AF37;
  --color-gold-dim: rgba(201, 168, 76, 0.15);
  --color-gold-border: rgba(201, 168, 76, 0.3);
}

/* Premium Gate Card Redesign */
.investor-gate {
  min-height: 100vh;
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}

/* Animated particle/grid bg on gate */
.investor-gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 40%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(26, 171, 179, 0.04) 0%, transparent 50%);
  pointer-events: none;
  animation: orb-float-1 20s ease-in-out infinite;
}
.investor-gate::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.02) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Premium gate card */
.investor-gate-card {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: calc(var(--radius-xl) + 4px);
  padding: var(--space-12) var(--space-10);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

/* Gold top accent bar */
.investor-gate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #C9A84C 30%, #D4AF37 50%, #C9A84C 70%, transparent 100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* Gate badge */
.investor-gate-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: var(--space-5);
}

/* Animated lock icon on gate */
.gate-lock-icon {
  color: #C9A84C !important;
  opacity: 1 !important;
  animation: glow-pulse-gold 3s ease-in-out infinite;
}
@keyframes glow-pulse-gold {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.3)); }
  50% { filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.6)); }
}

/* Gate card headings on dark bg */
.investor-gate-card h1 {
  color: #fff !important;
  font-size: var(--text-xl) !important;
}
.investor-gate-card .gate-sub {
  color: #8E95A8 !important;
}

/* Gate input */
.gate-input {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(201, 168, 76, 0.35) !important;
  color: #1B2432 !important;
}
.gate-input::placeholder {
  color: #8E95A8;
}
.gate-input:focus {
  border-color: #C9A84C !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15) !important;
}

/* Gate submit button — gold */
#gateSubmit {
  background: linear-gradient(135deg, #D4AF37 0%, #C9A84C 50%, #A8871D 100%) !important;
  color: #0F1729 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3) !important;
}
#gateSubmit:hover {
  background: linear-gradient(135deg, #E0BB3F 0%, #D4AF37 50%, #B8971E 100%) !important;
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.45) !important;
  transform: translateY(-2px);
}

/* Portal dashboard — gold accents */
.portal-card-icon {
  background: rgba(201, 168, 76, 0.1) !important;
  color: #C9A84C !important;
}
.portal-card:hover {
  border-color: rgba(201, 168, 76, 0.35) !important;
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.12), var(--shadow-md) !important;
}
.portal-card .card-action {
  color: #C9A84C !important;
}

/* Confidential watermark badge */
.investor-confidential-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C9A84C;
}

/* Key metrics row */
.investor-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
@media (max-width: 1024px) {
  .investor-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .investor-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.investor-metric-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid #C9A84C;
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 250ms var(--ease-out);
}
.investor-metric-card:hover {
  border-top-color: #D4AF37;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.12);
  transform: translateY(-2px);
}
.investor-metric-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: #C9A84C;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-1);
}
.investor-metric-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Portal section with gold accent divider */
.portal-section-nav {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}
.portal-section-nav a {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  transition: all 200ms var(--ease-out);
}
.portal-section-nav a:hover {
  color: #C9A84C;
  border-color: rgba(201, 168, 76, 0.4);
  background: rgba(201, 168, 76, 0.06);
}

/* Portal welcome pill — gold */
.portal-welcome {
  background: rgba(201, 168, 76, 0.1) !important;
  color: #C9A84C !important;
  border: 1px solid rgba(201, 168, 76, 0.2);
}
.portal-welcome svg {
  color: #C9A84C !important;
}

/* Pitch deck download button style */
.download-action {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: linear-gradient(135deg, #8B6F1E 0%, #A07D24 100%);
  color: #FFFFFF !important;
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 250ms var(--ease-out);
  box-shadow: 0 2px 8px rgba(139, 111, 30, 0.3);
  letter-spacing: 0.02em;
}
.download-action:hover {
  background: linear-gradient(135deg, #A07D24 0%, #B8922E 100%);
  box-shadow: 0 4px 20px rgba(139, 111, 30, 0.45);
  transform: translateY(-2px);
  gap: var(--space-3);
}

/* Portal disclaimer — bordered card */
.portal-disclaimer {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid rgba(201, 168, 76, 0.5);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-xs) !important;
  color: var(--color-text-muted) !important;
  text-align: left !important;
  max-width: none !important;
  margin-top: var(--space-12) !important;
}

/* Revenue bars — gold in investor context */
.investor-portal .chart-bar-fill {
  background: linear-gradient(90deg, #C9A84C 0%, #D4AF37 60%, #E0C060 100%);
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
}
.investor-portal .chart-bar-value {
  color: #C9A84C;
}
.investor-portal .timeline-item::before {
  background: linear-gradient(90deg, #C9A84C, #D4AF37);
}
.investor-portal .timeline-year {
  color: #C9A84C;
}
.investor-portal .market-stat-card .market-value {
  color: #C9A84C;
}
.investor-portal .revenue-model-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
}
.investor-portal .exit-card .exit-icon {
  background: rgba(201, 168, 76, 0.1);
  color: #C9A84C;
}

/* Executive summary card */
.investor-exec-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-10);
  position: relative;
  overflow: hidden;
}
.investor-exec-summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #C9A84C, #D4AF37, transparent);
}
.investor-exec-summary h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.investor-exec-summary p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Investor page hero — gold-accented */
.investor-portal .page-hero {
  background: linear-gradient(135deg, #0B0F1A 0%, #0F1729 50%, #0D1625 100%);
}

/* ── 9. COMPREHENSIVE MOBILE MEDIA QUERIES ── */

/* --- 768px breakpoint --- */
@media (max-width: 768px) {

  /* Inline grid overrides for 1fr 1fr layouts */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns: 1fr auto"],
  [style*="grid-template-columns: auto 1fr auto"] {
    grid-template-columns: 1fr !important;
  }

  /* Hero sizing */
  .hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    max-width: 100%;
  }
  .hero p {
    font-size: var(--text-sm);
    max-width: 100%;
  }
  .hero {
    padding: var(--space-16) var(--space-4) var(--space-12);
  }

  /* Hero logo */
  .hero-logo-wrap img {
    height: 72px;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    max-width: 100%;
  }
  .page-hero h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    max-width: 100%;
  }

  /* Grids */
  .grid-2 {
    grid-template-columns: 1fr !important;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Cards full-width */
  .card, .portal-card, .revenue-model-card, .exit-card {
    padding: var(--space-5);
  }

  /* Buttons — full-width on small screens when stacked */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer grid */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-6);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  /* Trust strip */
  .trust-items {
    grid-template-columns: 1fr 1fr;
  }
  .trust-item:not(:last-child)::after {
    display: none;
  }

  /* Workflow */
  .workflow {
    grid-template-columns: 1fr;
  }
  .workflow-step:not(:last-child)::after {
    display: none;
  }

  /* Sections */
  .section {
    padding: var(--space-12) var(--space-4);
  }

  /* MIXI card — force stacking */
  .mixi-card-wrapper > div {
    grid-template-columns: 1fr !important;
  }

  /* Portal metrics */
  .investor-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  /* Chart bar rows */
  .chart-bar-row {
    grid-template-columns: 48px 1fr 90px;
    gap: var(--space-2);
  }

  /* Market grid */
  .market-grid {
    grid-template-columns: 1fr !important;
  }

  /* Page hero */
  .page-hero {
    padding: var(--space-12) var(--space-4) var(--space-10);
  }

  /* Back to top — slightly smaller on mobile */
  .back-to-top {
    bottom: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
  }

  /* CTA section buttons */
  .cta-section [style*="display: flex"] {
    flex-direction: column;
    align-items: center;
  }
}

/* --- 480px breakpoint --- */
@media (max-width: 480px) {

  /* Hero */
  .hero h1 {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }
  .hero-logo-wrap img {
    height: 60px;
  }

  /* Trust strip single column */
  .trust-items {
    grid-template-columns: 1fr;
  }

  /* Grid to single column */
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr !important;
  }

  /* Metrics 2-col still OK at 480 */
  .investor-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .investor-metric-value {
    font-size: var(--text-lg);
  }

  /* Chart bar labels smaller */
  .chart-bar-row {
    grid-template-columns: 44px 1fr 80px;
    font-size: var(--text-xs);
  }

  /* Gate card padding */
  .investor-gate-card {
    padding: var(--space-8) var(--space-6) !important;
  }

  /* Section padding */
  .section {
    padding: var(--space-10) var(--space-3);
  }

  /* Buttons */
  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
  }

  /* Footer */
  .footer-grid {
    gap: var(--space-8);
  }

  /* Nav container padding */
  .nav-container {
    padding: var(--space-3) var(--space-3);
  }
}


/* Ensure mobile nav is hidden on desktop — only show on mobile */
@media (min-width: 1025px) {
  .mobile-nav {
    display: none !important;
  }
  .mobile-nav-overlay {
    display: none !important;
  }
}

/* ── Fix investor contact section mobile ── */
.investor-contact-section {
  grid-template-columns: 1fr auto;
}
@media (max-width: 768px) {
  .investor-contact-section {
    grid-template-columns: 1fr !important;
  }
  .investor-contact-section > div:last-child {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ── Section teal accent divider ── */
.section + .section-gray,
.section-gray + .section {
  position: relative;
}
.section + .section-gray::before,
.section-gray + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* ── Workflow numbered step labels ── */
.workflow-step::before {
  font-size: 10px;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

/* ── Footer social link improvements ── */
.footer-col a {
  gap: var(--space-2);
}

