/* ============================================================
   ShadowSelf — Polished Design System
   Inspired by 9router.com — modern, elegant, developer-focused
   ============================================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Backgrounds */
  --bg: #FCF9F6;
  --surface: #ffffff;
  --bgSection: #f0ede8;
  --bgFooter: #e8e4de;

  /* Ink */
  --ink: #1a1917;
  --inkMuted: #555550;
  --inkSubtle: #999990;

  /* Accent */
  --accent: #0d7377;
  --accentHover: #095b5e;
  --accentLight: #e8f3f4;

  /* Borders */
  --bord: #e0dcd6;
  --bordLight: #ede9e3;

  /* Shadows */
  --shadow1: 0 1px 3px rgba(26,25,23,0.06), 0 4px 12px rgba(26,25,23,0.04);
  --shadow2: 0 4px 16px rgba(26,25,23,0.08), 0 12px 40px rgba(26,25,23,0.06);

  /* Radii */
  --radiusCard: 12px;
  --radiusBtn: 8px;

  /* Dark Triad — data only */
  --narcissus: #7c3aed;
  --machiavellian: #d97706;
  --psychopath: #059669;

  /* Spacing */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --space-5xl: 96px;
  --space-6xl: 128px;

  /* Typography */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: clamp(1.125rem, 1.5vw, 1.25rem);
  --text-xl: clamp(1.5rem, 2.5vw, 2rem);
  --text-2xl: clamp(1.75rem, 3vw, 2.5rem);
  --text-3xl: clamp(2rem, 4vw, 3.25rem);
  --text-4xl: clamp(2.25rem, 5vw, 4rem);

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  --tracking-tight: -0.03em;
  --tracking-normal: 0em;
  --tracking-wide: 0.04em;

  --measure-narrow: 45ch;
  --measure-body: 65ch;
  --measure-wide: 75ch;
}

/* --- Base Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--ink);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  line-height: var(--leading-tight);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
}

h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
}

h3 {
  font-size: var(--text-xl);
  font-weight: 600;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

.text-accent { color: var(--accent); }
.text-muted { color: var(--inkMuted); }
.text-subtle { color: var(--inkSubtle); }
.text-narcissus { color: var(--narcissus); }
.text-machiavellian { color: var(--machiavellian); }
.text-psychopath { color: var(--psychopath); }

/* --- Selection --- */
::selection {
  background: var(--accentLight);
  color: var(--ink);
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bord); border-radius: 999px; }

/* --- Focus --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- Container --- */
.container {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 var(--space-lg);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 60px;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(252,249,246,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  border-bottom: 1px solid var(--bordLight);
}

.navbar-inner {
  margin: 0 auto;
  max-width: 1120px;
  height: 100%;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

.navbar-logo:hover { opacity: 0.75; }

.navbar-logo-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  flex-shrink: 0;
}

.navbar-logo-icon .material-symbols-outlined {
  font-size: 16px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.navbar-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--inkMuted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.navbar-link:hover {
  color: var(--ink);
  background: var(--bgSection);
}

.navbar-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radiusBtn);
  font-size: 14px;
  font-weight: 600;
  background: var(--accent);
  color: white;
  text-decoration: none;
  transition: background 0.2s ease;
}

.navbar-cta:hover { background: var(--accentHover); }
.navbar-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.navbar-cta .material-symbols-outlined { font-size: 16px; }

/* Mobile toggle */
.navbar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease;
}

.navbar-toggle:hover { background: var(--bgSection); }
.navbar-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Mobile menu */
.navbar-mobile {
  display: none;
  border-top: 1px solid var(--bordLight);
  background: var(--bg);
  padding: 8px var(--space-lg) 12px;
}

.navbar-mobile.open { display: block; }

.navbar-mobile-enter {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.navbar-mobile-enter-start {
  opacity: 0;
  transform: translateY(-4px);
}
.navbar-mobile-enter-end {
  opacity: 1;
  transform: translateY(0);
}
.navbar-mobile-leave {
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.navbar-mobile-leave-start {
  opacity: 1;
  transform: translateY(0);
}
.navbar-mobile-leave-end {
  opacity: 0;
  transform: translateY(-4px);
}

.navbar-mobile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--inkMuted);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.navbar-mobile-link:hover {
  background: var(--bgSection);
  color: var(--ink);
}

.navbar-mobile-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.navbar-mobile-cta {
  background: var(--bgSection);
  color: var(--ink);
  font-weight: 600;
}

.navbar-mobile-divider {
  border: none;
  border-top: 1px solid var(--bordLight);
  margin: 4px 0;
}

@media (max-width: 767px) {
  .navbar-links { display: none; }
  .navbar-cta { display: none; }
  .navbar-toggle { display: flex; }
  .navbar-mobile { display: block; }
  .navbar-mobile:not(.open) { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.section-hero {
  padding: var(--space-6xl) 0 var(--space-5xl);
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Decorative background symbol */
.section-hero::before {
  content: "⌘";
  position: absolute;
  top: -5%;
  right: -5%;
  font-size: clamp(20rem, 40vw, 50rem);
  font-weight: 800;
  color: var(--ink);
  opacity: 0.03;
  line-height: 1;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
}

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

.hero-subheadline {
  font-size: var(--text-lg);
  color: var(--inkMuted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
  max-width: 50ch;
}

/* Terminal block */
.terminal-block {
  background: #1a1917;
  border-radius: var(--radiusCard);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-xl);
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.08);
}

.terminal-prompt {
  color: #0d7377;
  flex-shrink: 0;
  font-weight: 600;
}

.terminal-command {
  color: #e0dcd6;
}

.terminal-comment {
  color: #555550;
  font-style: italic;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: #0d7377;
  animation: blink 1s step-end infinite;
  margin-left: 4px;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Hero CTA buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radiusBtn);
  font-weight: 600;
  font-size: 14px;
  font-family: 'Inter', system-ui, sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  background: var(--accent);
  color: white;
  text-decoration: none;
}

.btn-primary:hover { background: var(--accentHover); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radiusBtn);
  font-weight: 500;
  font-size: 14px;
  font-family: 'Inter', system-ui, sans-serif;
  border: 1px solid var(--bord);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  background: transparent;
  color: var(--inkMuted);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Stat pills */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--bordLight);
  font-size: var(--text-xs);
  color: var(--inkMuted);
  font-weight: 500;
}

.stat-pill strong {
  color: var(--ink);
  font-weight: 600;
}

/* Hero image / mockup */
.hero-visual {
  position: relative;
}

.dashboard-mockup {
  background: #1a1917;
  border-radius: var(--radiusCard);
  overflow: hidden;
  box-shadow: var(--shadow2);
  border: 1px solid rgba(255,255,255,0.06);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-body {
  padding: 20px;
}

.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-row:last-child { border-bottom: none; }

.mockup-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  font-family: 'JetBrains Mono', monospace;
}

.mockup-bar {
  height: 6px;
  border-radius: 999px;
  width: 60%;
}

.mockup-bar.narcissus { background: #7c3aed; width: 75%; }
.mockup-bar.machiavellian { background: #d97706; width: 60%; }
.mockup-bar.psychopath { background: #059669; width: 35%; }

.mockup-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-badge {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  font-family: 'JetBrains Mono', monospace;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
}

.mockup-score {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--space-5xl) 0;
}

.section-alt {
  padding: var(--space-5xl) 0;
  background: var(--bgSection);
}

.section-heading {
  text-align: center;
  max-width: var(--measure-narrow);
  margin: 0 auto var(--space-3xl);
}

.section-heading h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  margin-bottom: var(--space-sm);
}

.section-heading p {
  font-size: var(--text-base);
  color: var(--inkMuted);
  line-height: var(--leading-normal);
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--bordLight);
  border-radius: var(--radiusCard);
  padding: var(--space-xl);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow1);
}

.feature-card:hover {
  border-color: var(--bord);
  box-shadow: var(--shadow2);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accentLight);
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.feature-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--ink);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--inkMuted);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.67% + var(--space-xl));
  right: calc(16.67% + var(--space-xl));
  height: 1px;
  background: var(--bordLight);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-number {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--bordLight);
  line-height: 1;
  margin-bottom: var(--space-sm);
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.04em;
}

.step-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--ink);
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--inkMuted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-sm);
}

.step-code {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: var(--text-xs);
  background: var(--bgSection);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--bordLight);
}

/* ============================================================
   INTEGRATION LOGOS (Marquee)
   ============================================================ */
.section-integrations {
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.integration-heading {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--inkSubtle);
  font-weight: 500;
  margin-bottom: var(--space-xl);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
  display: flex;
  gap: var(--space-2xl);
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--surface);
  border: 1px solid var(--bordLight);
  border-radius: var(--radiusBtn);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--inkSubtle);
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-item:hover {
  color: var(--ink);
  border-color: var(--bord);
}

.marquee-item .brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   TESTIMONIALS (Marquee)
   ============================================================ */
.testimonials-section {
  padding: var(--space-5xl) 0;
  overflow: hidden;
}

.testimonials-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.testimonials-track {
  display: flex;
  gap: var(--space-lg);
  width: max-content;
  animation: testimonialScroll 40s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonials-track.reverse {
  animation: testimonialScrollReverse 40s linear infinite;
}

.testimonials-track.reverse:hover {
  animation-play-state: paused;
}

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

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

.testimonial-card {
  width: 320px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--bordLight);
  border-radius: var(--radiusCard);
  padding: var(--space-lg);
  box-shadow: var(--shadow1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  border-color: var(--bord);
  box-shadow: var(--shadow2);
}

.testimonial-quote {
  font-size: var(--text-sm);
  color: var(--inkMuted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--accentLight);
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--inkSubtle);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.section-cta {
  padding: var(--space-5xl) 0;
  background: var(--bgSection);
  text-align: center;
}

.cta-headline {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-lg);
  color: var(--ink);
}

.cta-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.cta-benefit {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--inkMuted);
}

.cta-benefit .check-icon {
  color: var(--accent);
  font-weight: 700;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: var(--radiusBtn);
  font-weight: 600;
  font-size: 15px;
  font-family: 'Inter', system-ui, sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  background: var(--accent);
  color: white;
  text-decoration: none;
}

.cta-btn:hover {
  background: var(--accentHover);
  transform: translateY(-1px);
}

/* ============================================================
   FOOTER — Bolder
   ============================================================ */
.footer {
  position: relative;
  overflow: hidden;
  background: #1a1917;
  border-top: none;
}

.footer-bg-symbol {
  position: absolute;
  bottom: -8%;
  right: -4%;
  font-size: clamp(18rem, 35vw, 42rem);
  font-weight: 800;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
  user-select: none;
}

.footer-inner {
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-4xl);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FCF9F6;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

.footer-logo:hover { opacity: 0.7; }

.footer-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  flex-shrink: 0;
}

.footer-logo-icon .material-symbols-outlined { font-size: 18px; }

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 38ch;
}

.footer-heading {
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.footer-copyright {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-copyright p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   CARDS (General)
   ============================================================ */
.card {
  background: var(--surface);
  border-radius: var(--radiusCard);
  border: 1px solid var(--bordLight);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow1);
}

.card:hover {
  border-color: var(--bord);
  box-shadow: var(--shadow2);
}

.card-flat {
  background: var(--bgSection);
  border: none;
  border-radius: var(--radiusCard);
}

/* Progress bars */
.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--bordLight);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.8s ease;
}

/* ============================================================
   QUIZ — Bolder Redesign
   Inspired by wwiqtest.com — confident, spacious, mobile-first
   ============================================================ */
.quiz-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  padding: 80px 0 48px;
}

.quiz-container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.quiz-app {
  width: 100%;
}

/* --- Progress Header --- */
.quiz-progress-header {
  margin-bottom: 48px;
}

.quiz-progress-info {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.quiz-step-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--inkMuted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.quiz-step-current {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.quiz-step-total {
  font-size: 14px;
  font-weight: 500;
  color: var(--inkSubtle);
}

.quiz-progress-track {
  width: 100%;
  height: 4px;
  background: var(--bordLight);
  border-radius: 999px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Step Content --- */
.quiz-step-content {
  animation: quizFadeIn 0.35s ease both;
}

@keyframes quizFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Question Number --- */
.quiz-q-number {
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--bordLight);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  user-select: none;
}

/* --- Question Text --- */
.quiz-question {
  font-size: clamp(1.25rem, 3.5vw, 1.625rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 32px;
  letter-spacing: -0.02em;
  max-width: 55ch;
  text-wrap: balance;
}

.quiz-question-sub {
  font-size: 15px;
  color: var(--inkMuted);
  line-height: 1.6;
  margin: -20px 0 32px;
  max-width: 45ch;
}

/* --- Options --- */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 2px solid var(--bordLight);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-family: 'Inter', system-ui, sans-serif;
  position: relative;
}

.quiz-option:hover {
  border-color: var(--accent);
  background: var(--accentLight);
  transform: translateX(4px);
}

.quiz-option:active {
  transform: translateX(2px) scale(0.995);
}

.quiz-option.is-selected {
  border-color: var(--accent);
  background: var(--accentLight);
  box-shadow: 0 0 0 1px var(--accent);
}

.quiz-option-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bgSection);
  color: var(--inkMuted);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.2s ease;
  font-family: 'Inter', system-ui, sans-serif;
}

.quiz-option:hover .quiz-option-marker {
  background: var(--accent);
  color: white;
}

.quiz-option.is-selected .quiz-option-marker {
  background: var(--accent);
  color: white;
}

.quiz-option-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  flex: 1;
}

.quiz-option-check {
  color: var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* --- Navigation --- */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  line-height: 1;
}

.quiz-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.quiz-btn-primary {
  background: var(--accent);
  color: white;
  min-width: 140px;
}

.quiz-btn-primary:hover {
  background: var(--accentHover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,115,119,0.25);
}

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

.quiz-btn-primary.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.quiz-btn-ghost {
  background: transparent;
  color: var(--inkMuted);
  padding: 14px 20px;
}

.quiz-btn-ghost:hover {
  color: var(--ink);
  background: var(--bgSection);
}

.quiz-btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --- Identity Form --- */
.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quiz-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.quiz-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 2px solid var(--bordLight);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-family: 'Inter', system-ui, sans-serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quiz-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,115,119,0.1);
}

.quiz-input::placeholder {
  color: var(--inkSubtle);
}

.quiz-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.quiz-btn-submit {
  min-width: 180px;
}

/* --- Loading State --- */
.quiz-loading {
  text-align: center;
  padding: 60px 0;
}

.quiz-loading-card {
  max-width: 320px;
  margin: 0 auto;
  padding: 40px 32px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--bordLight);
  box-shadow: var(--shadow1);
}

.quiz-loading-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.quiz-loading-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  animation: quizPulse 1.4s ease-in-out infinite;
}

.quiz-loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.quiz-loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes quizPulse {
  0%, 80%, 100% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.quiz-loading-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--inkMuted);
  margin-bottom: 20px;
}

.quiz-loading-bar {
  width: 100%;
  height: 4px;
  background: var(--bordLight);
  border-radius: 999px;
  overflow: hidden;
}

.quiz-loading-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  animation: quizIndeterminate 1.5s ease-in-out infinite;
  width: 40%;
}

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

/* --- Responsive: Mobile --- */
@media (max-width: 640px) {
  .quiz-section {
    padding: 72px 0 32px;
    align-items: flex-start;
  }

  .quiz-container {
    padding: 0 16px;
  }

  .quiz-progress-header {
    margin-bottom: 36px;
  }

  .quiz-step-current {
    font-size: 24px;
  }

  .quiz-q-number {
    font-size: clamp(3rem, 15vw, 4.5rem);
    margin-bottom: 4px;
  }

  .quiz-question {
    font-size: clamp(1.125rem, 4.5vw, 1.375rem);
    margin-bottom: 24px;
  }

  .quiz-question-sub {
    font-size: 14px;
    margin: -16px 0 24px;
  }

  .quiz-option {
    padding: 14px 16px;
    gap: 12px;
    border-radius: 12px;
  }

  .quiz-option-marker {
    width: 32px;
    height: 32px;
    font-size: 12px;
    border-radius: 8px;
  }

  .quiz-option-label {
    font-size: 14px;
  }

  .quiz-nav {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .quiz-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
  }

  .quiz-btn-ghost {
    justify-content: center;
  }

  .quiz-btn-primary {
    min-width: unset;
  }

  .quiz-form-actions {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .quiz-btn-submit {
    width: 100%;
    min-width: unset;
  }

  .quiz-input {
    padding: 14px 16px;
    font-size: 16px; /* Prevent iOS zoom */
  }

  .quiz-loading {
    padding: 40px 0;
  }

  .quiz-loading-card {
    padding: 32px 24px;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .quiz-step-content {
    animation: none;
  }

  .quiz-progress-fill {
    transition: none;
  }

  .quiz-option {
    transition: none;
  }

  .quiz-option:hover {
    transform: none;
  }

  .quiz-option:active {
    transform: none;
  }

  .quiz-btn-primary:hover {
    transform: none;
    box-shadow: none;
  }

  .quiz-loading-dot {
    animation: none;
    opacity: 0.6;
  }

  .quiz-loading-fill {
    animation: none;
    width: 60%;
  }
}


/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in-up {
  opacity: 0;
}

.fade-in-up.is-visible {
  animation: fadeInUp 0.5s ease both;
  will-change: transform, opacity;
}

.fade-in-up-delayed {
  opacity: 0;
}

.fade-in-up-delayed.is-visible {
  animation: fadeInUp 0.5s ease both;
  animation-delay: 0.15s;
  will-change: transform, opacity;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lineReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.self-start { align-self: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hidden { display: none; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-xs { max-width: 20rem; }
.max-w-3xl { max-width: 48rem; }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: 3rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.leading-snug { line-height: var(--leading-snug); }
.leading-normal { line-height: var(--leading-normal); }
.leading-relaxed { line-height: var(--leading-relaxed); }
.tracking-tight { letter-spacing: var(--tracking-tight); }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }
.no-underline { text-decoration: none; }
.list-none { list-style: none; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }
.overflow-hidden { overflow: hidden; }
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.border-none { border: none; }
.block { display: block; }
.bg-transparent { background: transparent; }
.select-none { user-select: none; }
.opacity-50 { opacity: 0.5; }
.blur-sm { filter: blur(4px); }
.align-middle { vertical-align: middle; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Spacing */
.gap-1 { gap: var(--space-2xs); }
.gap-1\.5 { gap: 6px; }
.gap-2 { gap: var(--space-xs); }
.gap-3 { gap: var(--space-sm); }
.gap-4 { gap: var(--space-md); }
.gap-5 { gap: var(--space-lg); }
.gap-6 { gap: var(--space-xl); }
.gap-8 { gap: var(--space-2xl); }
.gap-10 { gap: var(--space-3xl); }

.mt-0\.5 { margin-top: 2px; }
.mt-1 { margin-top: var(--space-2xs); }
.mt-2 { margin-top: var(--space-xs); }
.mt-3 { margin-top: var(--space-sm); }
.mt-4 { margin-top: var(--space-md); }
.mt-5 { margin-top: var(--space-lg); }
.mt-6 { margin-top: var(--space-xl); }
.mt-8 { margin-top: var(--space-2xl); }
.mt-10 { margin-top: var(--space-3xl); }
.mt-12 { margin-top: var(--space-4xl); }
.mt-16 { margin-top: var(--space-5xl); }

.mb-1\.5 { margin-bottom: 6px; }
.mb-2 { margin-bottom: var(--space-xs); }
.mb-3 { margin-bottom: var(--space-sm); }
.mb-4 { margin-bottom: var(--space-md); }
.mb-5 { margin-bottom: var(--space-lg); }
.mb-6 { margin-bottom: var(--space-xl); }
.mb-8 { margin-bottom: var(--space-2xl); }
.mb-10 { margin-bottom: var(--space-3xl); }
.mb-12 { margin-bottom: var(--space-4xl); }

.pt-2 { padding-top: var(--space-xs); }
.pt-14 { padding-top: 56px; }
.pt-16 { padding-top: 60px; }
.pt-24 { padding-top: 96px; }
.pt-4 { padding-top: var(--space-md); }
.pb-16 { padding-bottom: 64px; }
.p-4 { padding: var(--space-md); }
.p-5 { padding: var(--space-lg); }
.p-6 { padding: var(--space-xl); }
.p-7 { padding: var(--space-2xl); }
.p-8 { padding: var(--space-3xl); }
.p-10 { padding: var(--space-4xl); }
.px-3 { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-4 { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-5 { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.px-6 { padding-left: var(--space-xl); padding-right: var(--space-xl); }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-1\.5 { padding-top: 6px; padding-bottom: 6px; }
.py-2 { padding-top: var(--space-xs); padding-bottom: var(--space-xs); }
.py-3 { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-20 { padding-top: 80px; padding-bottom: 80px; }
.py-10 { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }

.space-y-2 > * + * { margin-top: var(--space-xs); }
.space-y-3 > * + * { margin-top: var(--space-sm); }
.space-y-4 > * + * { margin-top: var(--space-md); }
.space-y-5 > * + * { margin-top: var(--space-lg); }
.space-y-6 > * + * { margin-top: var(--space-xl); }

/* Alpine.js cloak */
[x-cloak] { display: none !important; }

/* Body text orphans prevention */
p, li, .text-body { text-wrap: pretty; }

/* ============================================================
   RESPONSIVE — Tablet (768px+)
   ============================================================ */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:flex-col { flex-direction: column; }
  .md\:items-start { align-items: flex-start; }
  .md\:gap-2 { gap: var(--space-xs); }
  .md\:min-w-\[120px\] { min-width: 120px; }
  .md\:p-8 { padding: var(--space-3xl); }
  .md\:p-10 { padding: var(--space-3xl); }
  .md\:order-none { order: 0; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\:col-span-2 { grid-column: span 2; }
  .md\:text-4xl { font-size: var(--text-4xl); }
}

/* ============================================================
   RESPONSIVE — Mobile (<768px)
   ============================================================ */
@media (max-width: 767px) {
  .section { padding: var(--space-3xl) 0; }
  .section-alt { padding: var(--space-3xl) 0; }
  .section-hero { padding: var(--space-4xl) 0 var(--space-3xl); }
  .section-heading { margin-bottom: var(--space-xl); }
  .container { padding: 0 var(--space-md); }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-visual {
    display: none;
  }

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

  .steps-container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .steps-container::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-inner {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-bg-symbol {
    display: none;
  }

  .testimonial-card {
    width: 280px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .navbar-mobile-enter,
  .navbar-mobile-leave {
    transition: none;
  }

  .marquee-track,
  .testimonials-track {
    animation: none !important;
  }

  .terminal-cursor {
    animation: none;
    opacity: 1;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .no-print { display: none !important; }
  body { background: white !important; }
}

/* ============================================================
   BACKWARD COMPATIBILITY STUBS
   ============================================================ */
/* Old variable aliases */
:root {
  --textMain: var(--ink);
  --textMuted: var(--inkMuted);
  --textSubtle: var(--inkSubtle);
  --accent-50: #e8f3f4;
  --accent-100: #d0e7e9;
  --accent-200: #c5e0e2;
  --accent-300: #9acbce;
  --accent-400: #4fa8ad;
  --accent-500: #0d7377;
  --accent-600: #095b5e;
  --accent-700: #064346;
  --brand-50: #f8fafc;
  --brand-100: #f1f5f9;
  --brand-200: #e2e8f0;
  --brand-300: #cbd5e1;
  --brand-400: #94a3b8;
  --brand-500: #64748b;
  --brand-600: #475569;
  --brand-700: #334155;
  --warm-50: #fffbeb;
  --warm-100: #fef3c7;
  --warm-200: #fde68a;
  --warm-300: #fcd34d;
  --warm-400: #fbbf24;
  --warm-500: #f59e0b;
  --warm-600: #d97706;
  --narcissus-light: #ede9fe;
  --machiavellian-light: #fef3c7;
  --psychopath-light: #d1fae5;
  --success: #059669;
  --warning: #d97706;
  --error: #dc2626;
  --warmBg: var(--bg);
  --warmBord: var(--bordLight);
  --bgAlt: #e8e4de;
  --accentBorder: #c5e0e2;
}

.section-heading-left {
  margin-bottom: var(--space-2xl);
}
.section-heading-left h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--ink);
  margin-bottom: var(--space-xs);
}
.section-heading-left p {
  font-size: var(--text-base);
  color: var(--inkMuted);
  line-height: var(--leading-normal);
  max-width: var(--measure-body);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--inkMuted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  border: none;
  background: transparent;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--ink); background: var(--bgSection); }
.card-hover { transition: border-color 0.2s ease; }
.card-hover:hover { border-color: var(--bord); }
.card-elevated { border: 1px solid var(--bordLight); }
.shadow-sm { box-shadow: 0 1px 2px rgba(26,25,23,0.04); }
.shadow-md { box-shadow: 0 4px 6px rgba(26,25,23,0.06); }
.shadow-glow { box-shadow: none; }
.shadow-xl { box-shadow: var(--shadow2); }
.hover\:shadow-sm:hover { box-shadow: 0 1px 2px rgba(26,25,23,0.04); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px rgba(26,25,23,0.06); }
.hover\:shadow-xl:hover { box-shadow: var(--shadow2); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.badge-success { background: #d1fae5; color: var(--psychopath); }
.badge-warning { background: #fef3c7; color: var(--machiavellian); }
.badge-error { background: #fef2f2; color: #dc2626; }
.badge-neutral { background: #f1f5f9; color: #475569; }
.bg-gradient-hero { background: var(--bg); }
.bg-gradient-quiz { background: var(--bg); }
.bg-gradient-paywall { background: var(--bg); }
.bg-gradient-result { background: var(--bg); }
.bg-gradient-admin { background: var(--bg); }
.bg-dots { background: none; }
.pulse-dot { animation: pulseDot 1.4s ease-in-out infinite; }
.pulse-dot:nth-child(2) { animation-delay: 0.2s; }
.pulse-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulseDot {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.1); }
}
.text-gradient { color: var(--accent); }
.text-gradient-machiavellian { color: var(--machiavellian); }
.hover-scale { transition: transform 0.2s ease; }
.hover-scale:hover { transform: scale(1.02); }
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.w-1\.5 { width: 6px; }
.h-1\.5 { height: 6px; }
.w-3 { width: 12px; }
.h-3 { height: 12px; }
.w-4 { width: 16px; }
.h-4 { height: 16px; }
.w-7 { width: 28px; }
.h-7 { height: 28px; }
.w-9 { width: 36px; }
.h-9 { height: 36px; }
.w-10 { width: 40px; }
.h-10 { height: 40px; }
.w-11 { width: 44px; }
.h-11 { height: 44px; }
.w-12 { width: 48px; }
.h-12 { height: 48px; }
.w-14 { width: 56px; }
.h-14 { height: 56px; }
.w-16 { width: 64px; }
.h-16 { height: 64px; }
.w-20 { width: 80px; }
.h-20 { height: 80px; }
.w-48 { width: 192px; }
.h-48 { height: 192px; }
.rotate-45 { transform: rotate(45deg); }
.z-50 { z-index: 50; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.inline-flex { display: inline-flex; }
.min-h-screen { min-height: 100vh; }
.duration-150 { }
.duration-200 { }
.duration-300 { }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
.transition-all { transition: all 0.2s ease; }
.bg-accent { background: var(--accent); }
.bg-accent-light { background: var(--accentLight); }
.bg-surface { background: var(--surface); }
.bg-bg { background: var(--bgSection); }
.border-b { border-bottom: 1px solid var(--bordLight); }
.border-light { border-color: var(--bordLight); }
.border-default { border-color: var(--bord); }
.text-white { color: white; }
.measure-narrow { max-width: var(--measure-narrow); }
.measure-body { max-width: var(--measure-body); }
.measure-wide { max-width: var(--measure-wide); }
.input-field {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--bordLight);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-family: 'Inter', system-ui, sans-serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,115,119,0.1);
}
.input-field::placeholder { color: var(--inkSubtle); }
.ring-1 { box-shadow: 0 0 0 1px var(--accent-200); }
.accent-\[var\(--accent-500\)\] { accent-color: var(--accent-500); }
.max-w-\[640px\] { max-width: 640px; }
.max-w-\[768px\] { max-width: 768px; }
.max-w-\[1280px\] { max-width: 1280px; }

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: var(--space-2xl); padding-right: var(--space-2xl); }
}

