/* ============================================================
   LUMINARY KETAMINE — Main Stylesheet
   ============================================================ */

/* ── 1. RESET & BOX MODEL ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }

/* ── 2. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-base:     #070c14;
  --bg-surface:  #0d1422;
  --bg-elevated: #131b2e;

  /* Brand */
  --violet:        #7c5cfc;
  --violet-light:  #a48bfd;
  --violet-glow:   rgba(124, 92, 252, 0.30);
  --teal:          #2de8d0;
  --teal-glow:     rgba(45, 232, 208, 0.22);
  --gold:          #f5c842;
  --gold-dark:     #d4a72a;

  /* Text */
  --text-primary:   #eef1f8;
  --text-secondary: #8e9ab8;
  --text-muted:     #50596e;

  /* Structural */
  --glass-bg:     rgba(13, 20, 34, 0.55);
  --glass-border: rgba(124, 92, 252, 0.18);
  --border-subtle:rgba(255, 255, 255, 0.06);

  /* Spacing (8pt) */
  --s1: 0.25rem; --s2: 0.5rem;  --s3: 0.75rem; --s4: 1rem;
  --s5: 1.25rem; --s6: 1.5rem;  --s8: 2rem;    --s10: 2.5rem;
  --s12: 3rem;   --s16: 4rem;   --s20: 5rem;   --s24: 6rem;

  /* Type */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 280ms ease;
  --t-slow: 500ms ease;

  /* Shadows */
  --shadow-card: 0 8px 48px rgba(0, 0, 0, 0.45);
  --glow-violet: 0 0 40px var(--violet-glow);
  --glow-teal:   0 0 40px var(--teal-glow);

  /* Layout */
  --container: 1200px;
  --section-v: var(--s24);
}

/* ── 3. BASE STYLES ───────────────────────────────────────── */
html { font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-base);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── 4. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { color: var(--text-secondary); max-width: 68ch; }
a { color: var(--violet-light); text-decoration: underline; text-underline-offset: 3px; transition: color var(--t-fast); }
a:hover { color: var(--teal); }

strong { color: var(--text-primary); font-weight: 600; }

.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--violet-light) 60%, #f0b8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--s4);
}

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

.section {
  padding: var(--section-v) 0;
}

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s16);
}

.section-header p {
  margin: var(--s4) auto 0;
  font-size: 1.125rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); }

/* ── 6. SKIP LINK (ADA) ───────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s4);
  padding: var(--s3) var(--s6);
  background: var(--teal);
  color: #070c14;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--r-md);
  text-decoration: none;
  z-index: 9999;
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--s4); }

/* ── 7. NAVIGATION ────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--t-base), backdrop-filter var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(7, 12, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--s6);
  max-width: var(--container);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.nav-logo span { color: var(--teal); }
.nav-logo:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: var(--r-sm); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s2);
  list-style: none;
}

.nav-links a {
  display: block;
  padding: var(--s2) var(--s4);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  color: var(--text-primary);
}

.nav-cta { margin-left: var(--s4); }

/* Mobile menu button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s2);
  color: var(--text-primary);
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: rgba(255,255,255,0.06); }
.nav-toggle:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base), width var(--t-base);
}
.hamburger span:nth-child(3) { width: 14px; }

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); width: 22px; }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 12, 20, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  padding: var(--s8) var(--s6);
  gap: var(--s2);
  z-index: 99;
  border-top: 1px solid var(--border-subtle);
}

.nav-drawer.is-open { display: flex; }

.nav-drawer a {
  display: block;
  padding: var(--s4) var(--s4);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-drawer a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-drawer a:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; color: var(--text-primary); }
.nav-drawer .btn { margin-top: var(--s4); align-self: flex-start; }

/* ── 8. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--r-full);
  padding: var(--s3) var(--s8);
  transition: all var(--t-base);
  white-space: nowrap;
  line-height: 1.4;
}

.btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 4px 20px var(--violet-glow);
}
.btn--primary:hover {
  background: var(--violet-light);
  box-shadow: 0 6px 32px var(--violet-glow);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

.btn--teal {
  background: var(--teal);
  color: #070c14;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--teal-glow);
}
.btn--teal:hover {
  background: #56edd9;
  box-shadow: 0 6px 32px var(--teal-glow);
  transform: translateY(-2px);
  color: #070c14;
  text-decoration: none;
}

.btn--outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn--outline:hover {
  background: rgba(45, 232, 208, 0.08);
  transform: translateY(-2px);
  color: var(--teal);
  text-decoration: none;
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-2px);
  color: var(--text-primary);
  text-decoration: none;
}

.btn--lg { padding: var(--s4) var(--s10); font-size: 1.05rem; }
.btn--sm { padding: var(--s2) var(--s5); font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; border-radius: var(--r-lg); }

/* ── 9. GLASS CARDS ───────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--r-lg);
  padding: var(--s8);
  box-shadow: var(--shadow-card);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}

.glass-card:hover {
  border-color: rgba(124, 92, 252, 0.45);
  box-shadow: var(--shadow-card), var(--glow-violet);
  transform: translateY(-4px);
}

.glass-card--teal:hover {
  border-color: rgba(45, 232, 208, 0.45);
  box-shadow: var(--shadow-card), var(--glow-teal);
}

/* ── 10. ORB BACKGROUNDS ──────────────────────────────────── */
.orb-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.orb--violet {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.18) 0%, transparent 70%);
  top: -15%;
  left: -10%;
  animation: orb-drift-a 22s ease-in-out infinite alternate;
}

.orb--teal {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 232, 208, 0.14) 0%, transparent 70%);
  bottom: 5%;
  right: -8%;
  animation: orb-drift-b 28s ease-in-out infinite alternate;
}

.orb--soft {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 184, 255, 0.08) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation: orb-drift-a 18s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(80px, 50px) scale(1.12); }
}
@keyframes orb-drift-b {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-60px, -40px) scale(1.08); }
}

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

/* ── 11. PAGE WRAPPER ─────────────────────────────────────── */
.page-wrapper {
  position: relative;
  z-index: 1;
}

/* ── 12. HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 var(--s24);
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(45, 232, 208, 0.1);
  border: 1px solid rgba(45, 232, 208, 0.25);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-full);
  margin-bottom: var(--s6);
}
.hero-badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge::before { animation: none; }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--s6);
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 52ch;
  margin-bottom: var(--s8);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
  align-items: center;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--s6);
}

.hero-ship-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-ship-img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  border: 1px solid rgba(124, 92, 252, 0.25);
  box-shadow:
    0 0 0 1px rgba(45, 232, 208, 0.12),
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(124, 92, 252, 0.2);
  animation: ship-float 6s ease-in-out infinite;
  display: block;
}

.hero-ship-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 60% 70%, rgba(245, 120, 30, 0.18) 0%, rgba(124, 92, 252, 0.12) 50%, transparent 75%);
  filter: blur(24px);
  pointer-events: none;
  z-index: -1;
  animation: ship-float 6s ease-in-out infinite;
}

@keyframes ship-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(0.6deg); }
  66%       { transform: translateY(-5px) rotate(-0.4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ship-img,
  .hero-ship-glow { animation: none; }
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
  width: 100%;
  max-width: 520px;
}

.hero-stat {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s2);
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: var(--s1);
}

/* ── 13. TRUST BAR ────────────────────────────────────────── */
.trust-bar {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--s6) 0;
  background: var(--bg-surface);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s10);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-icon {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ── 14. CONDITIONS GRID ──────────────────────────────────── */
.condition-card {
  text-align: center;
  padding: var(--s8) var(--s6);
}

.condition-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--s4);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(124,92,252,0.2), rgba(45,232,208,0.2));
  border: 1px solid var(--glass-border);
}

.condition-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--s2);
  font-weight: 600;
}

.condition-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: none;
}

/* ── 15. PROCESS STEPS ────────────────────────────────────── */
.process-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s6);
  align-items: start;
  counter-increment: step;
}

.step-number {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 4px 16px var(--violet-glow);
}

.step-content h3 { font-size: 1.2rem; margin-bottom: var(--s2); }
.step-content p { font-size: 0.95rem; max-width: none; }

/* Alternate process layout (horizontal for homepage teaser) */
.process-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s8);
  position: relative;
}

.process-preview::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(16.67% + 26px);
  right: calc(16.67% + 26px);
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  opacity: 0.4;
}

.preview-step { text-align: center; padding: var(--s8) var(--s4); }
.preview-step .step-number { margin: 0 auto var(--s5); }
.preview-step h3 { font-size: 1.1rem; margin-bottom: var(--s2); }
.preview-step p { font-size: 0.875rem; max-width: none; }

/* ── 16. WHY US CARDS ─────────────────────────────────────── */
.why-card { display: flex; flex-direction: column; gap: var(--s3); }
.why-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: var(--s2);
}
.why-card h3 { font-size: 1.1rem; }
.why-card p { font-size: 0.9rem; max-width: none; }

/* ── 17. TESTIMONIALS ─────────────────────────────────────── */
.testimonial-card { display: flex; flex-direction: column; gap: var(--s4); }

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.7;
  max-width: none;
  font-style: italic;
}

.testimonial-quote::before { content: '\201C'; color: var(--teal); font-size: 1.5em; line-height: 0; vertical-align: -0.3em; margin-right: 2px; }
.testimonial-quote::after  { content: '\201D'; color: var(--teal); font-size: 1.5em; line-height: 0; vertical-align: -0.3em; margin-left: 2px; }

.testimonial-attr { font-size: 0.85rem; color: var(--text-muted); }

/* ── 18. CTA BANNER ───────────────────────────────────────── */
.cta-banner {
  padding: var(--s24) 0;
  background: linear-gradient(135deg, rgba(124,92,252,0.15) 0%, rgba(45,232,208,0.08) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
}

.cta-banner h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: var(--s4); }
.cta-banner p { font-size: 1.1rem; max-width: 56ch; margin: 0 auto var(--s8); }
.cta-banner .btn-group { display: flex; gap: var(--s4); justify-content: center; flex-wrap: wrap; }

/* ── 19. PAGE HERO (inner pages) ──────────────────────────── */
.page-hero {
  padding: calc(72px + var(--s20)) 0 var(--s20);
  text-align: center;
  position: relative;
}

.page-hero h1 { margin-bottom: var(--s4); }
.page-hero p { font-size: 1.15rem; max-width: 60ch; margin: 0 auto; }

/* ── 20. ABOUT PAGE ───────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: var(--s12);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--violet), var(--teal));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--s8);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--s12) + 14px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--bg-base);
  box-shadow: 0 0 8px var(--teal-glow);
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: var(--s2);
}

.timeline-item h3 { font-size: 1.05rem; margin-bottom: var(--s2); }
.timeline-item p { font-size: 0.9rem; max-width: none; }

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
}

.comparison-table th,
.comparison-table td {
  padding: var(--s4) var(--s6);
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.comparison-table th {
  background: rgba(124, 92, 252, 0.1);
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.comparison-table td { color: var(--text-secondary); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(255,255,255,0.02); }

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg);
}

/* Badge */
.badge {
  display: inline-block;
  padding: var(--s1) var(--s3);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge--approved { background: rgba(45,232,122,0.12); color: #2de87a; border: 1px solid rgba(45,232,122,0.25); }
.badge--off-label { background: rgba(245,200,66,0.12); color: #f5c842; border: 1px solid rgba(245,200,66,0.25); }

/* ── 21. OUR PROCESS PAGE ─────────────────────────────────── */
.process-full-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s8);
  align-items: start;
}

.step-num-large {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--violet), rgba(45,232,208,0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 20px var(--violet-glow);
  flex-shrink: 0;
}

.step-body h3 { font-size: 1.3rem; margin-bottom: var(--s3); }
.step-body p { font-size: 0.975rem; max-width: none; margin-bottom: var(--s4); }

.step-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.step-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.step-checklist li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── 22. FAQ PAGE ─────────────────────────────────────────── */
.faq-category { margin-bottom: var(--s12); }
.faq-category-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-light);
  padding-bottom: var(--s4);
  margin-bottom: var(--s4);
  border-bottom: 1px solid var(--glass-border);
}

.accordion-item { border-bottom: 1px solid var(--border-subtle); }

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: var(--s5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color var(--t-fast);
}

.accordion-trigger:hover { color: var(--teal); }
.accordion-trigger:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: var(--r-sm); color: var(--teal); }

.accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--t-base), color var(--t-fast);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
  color: var(--teal);
}

.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.accordion-panel.is-open { max-height: 800px; }

.accordion-panel p {
  padding-bottom: var(--s5);
  font-size: 0.95rem;
  max-width: none;
}

@media (prefers-reduced-motion: reduce) {
  .accordion-panel { transition: none; }
}

/* ── 23. NEW PATIENT FORM ─────────────────────────────────── */
.form-notice {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  background: rgba(245, 200, 66, 0.08);
  border: 1px solid rgba(245, 200, 66, 0.25);
  border-radius: var(--r-md);
  padding: var(--s5) var(--s6);
  margin-bottom: var(--s8);
}

.form-notice-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-notice p {
  font-size: 0.9rem;
  color: rgba(245, 200, 66, 0.85);
  max-width: none;
}

.form-notice strong { color: var(--gold); }

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

.form-group { display: flex; flex-direction: column; gap: var(--s2); }
.form-group--full { grid-column: 1 / -1; }

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

label .required {
  color: #f55a5a;
  margin-left: var(--s1);
  aria-hidden: true;
}

label .hint {
  font-weight: 400;
  color: var(--text-muted);
  margin-left: var(--s2);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  background: rgba(13, 20, 34, 0.7);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s4);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder { color: var(--text-muted); }

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--violet-light);
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.2);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #f55a5a;
  box-shadow: 0 0 0 3px rgba(245,90,90,0.15);
}

.field-error {
  font-size: 0.8rem;
  color: #f55a5a;
  display: none;
}
.field-error.is-visible { display: block; }

select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238e9ab8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--s4) center; padding-right: var(--s10); cursor: pointer; }

select option { background: var(--bg-elevated); }

textarea { resize: vertical; min-height: 110px; }

.char-counter { font-size: 0.78rem; color: var(--text-muted); text-align: right; }

.checkbox-group { display: flex; flex-direction: column; gap: var(--s3); }

.checkbox-label,
.radio-label {
  display: flex;
  align-items: center;
  gap: var(--s3);
  cursor: pointer;
  font-size: 0.925rem;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.checkbox-label:hover, .radio-label:hover { color: var(--text-primary); }

.checkbox-label input,
.radio-label input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--violet);
  cursor: pointer;
}

.radio-group { display: flex; flex-wrap: wrap; gap: var(--s4); }

.form-divider {
  grid-column: 1 / -1;
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: var(--s2) 0;
}

.form-submit-area { margin-top: var(--s6); }

.form-success {
  display: none;
  text-align: center;
  padding: var(--s12) var(--s8);
}
.form-success.is-visible { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: var(--s4); }
.form-success h2 { margin-bottom: var(--s3); }
.form-success p { margin: 0 auto; max-width: 50ch; }

/* ── 24. FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: var(--s16) 0 var(--s8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s10);
  margin-bottom: var(--s12);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: var(--s4);
  max-width: 30ch;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s5);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s3); }

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--teal); }
.footer-col a:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 2px; }

.footer-bottom {
  padding-top: var(--s6);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: var(--s6);
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-crisis {
  display: flex;
  align-items: center;
  gap: var(--s3);
  background: rgba(245,90,90,0.08);
  border: 1px solid rgba(245,90,90,0.2);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s5);
  font-size: 0.85rem;
  color: #f88;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 25. SCROLL REVEAL ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--left { transform: translateX(-24px); }
.reveal--left.is-visible { transform: translateX(0); }
.reveal--right { transform: translateX(24px); }
.reveal--right.is-visible { transform: translateX(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--left, .reveal--right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── 26. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
}

@media (max-width: 768px) {
  :root { --section-v: var(--s16); }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { align-items: center; }
  .hero-stat-row { grid-template-columns: repeat(2, 1fr); }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .process-preview { grid-template-columns: 1fr; }
  .process-preview::before { display: none; }
  .process-full-step { grid-template-columns: 1fr; }
  .step-num-large { width: 52px; height: 52px; font-size: 1.2rem; }

  .form-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  .trust-bar-inner { gap: var(--s6); justify-content: flex-start; }

  .section-header { margin-bottom: var(--s10); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--s4); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .cta-banner .btn-group { flex-direction: column; align-items: center; }
  .radio-group { flex-direction: column; }
  .comparison-table th:last-child,
  .comparison-table td:last-child { display: none; }
}

/* ── 27. PRINT ────────────────────────────────────────────── */
@media print {
  .site-nav, .orb-field, .cta-banner, .site-footer { display: none; }
  body { background: white; color: black; }
  .glass-card { border: 1px solid #ccc; box-shadow: none; }
}

/* ── 28. HIGH-CONTRAST / FORCED COLORS ───────────────────── */
@media (forced-colors: active) {
  .btn--primary, .btn--teal { forced-color-adjust: none; }
  .glass-card { border: 2px solid ButtonText; }
}
