/* ============================================================
   HireChat — Production Stylesheet
   Generated from: .planning/website-hub/designs/homepage.html
   brand-tokens.json@1.0.0
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES — DARK DEFAULT (:root)
   ============================================================ */
:root {
  --color-bg: #0C0A09;
  --color-surface: #1C1917;
  --color-surface-elevated: #292524;
  --color-border: #44403C;
  --color-border-strong: #57534E;
  --color-text: #F5F1E8;
  --color-text-muted: #A8A29E;
  --color-primary: #EAB308;
  --color-primary-fg: #0C0A09;
  --color-accent: #5EEAD4;
  --color-accent-fg: #042F2E;
  --color-success: #4ADE80;
  --color-error: #F87171;
  --color-ring: #EAB308;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 2px 6px rgba(0,0,0,0.4);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.5);

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 9999px;

  --space-xs: 5px;
  --space-sm: 10px;
  --space-md: 18px;
  --space-lg: 28px;
  --space-xl: 40px;
  --space-2xl: 56px;
  --space-section: 80px;

  --dur-micro: 150ms;
  --dur-ui: 250ms;
  --dur-chapter: 450ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --font-heading: 'Newsreader', Georgia, serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --font-mono: 'Fira Code', monospace;

  --max-width: 1280px;
  --nav-height: 56px;
}

/* ============================================================
   LIGHT THEME OVERRIDES
   ============================================================ */

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================================
   SKIP NAV
   ============================================================ */
.skip-nav {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-primary);
  color: var(--color-primary-fg);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  transition: top var(--dur-ui) var(--ease);
}
.skip-nav:focus { top: var(--space-sm); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  /* Use CSS class toggle from JS — avoids inline style bypass (CSS-DESIGN.md §8) */
  /* box-shadow is NOT animated directly (CPU-intensive per §8 anti-patterns).
     Instead we transition opacity of a pseudo-element shadow. */
  transition: border-color var(--dur-micro) var(--ease);
}
/* Scrolled state shadow — added by JS class toggle on scroll */
.nav.scrolled {
  border-bottom-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   LOGO THEME SWAP
   ============================================================ */
.logo-img-dark { display: block; }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
}
.nav-logo img { height: 28px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex: 1;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--dur-micro) var(--ease);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover { color: var(--color-text); }
.nav-links a:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 2px; border-radius: var(--radius-sm); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-left: auto;
}
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  padding: var(--space-sm);
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}
.nav-hamburger:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 2px; }

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding-block: var(--space-md);
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--dur-micro) var(--ease);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--color-text); }
.mobile-nav a:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 2px; border-radius: var(--radius-sm); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  padding: 10px var(--space-lg);
  min-height: 44px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  transition: transform var(--dur-micro) var(--ease), background-color var(--dur-micro) var(--ease), border-color var(--dur-micro) var(--ease), filter var(--dur-micro) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 2px; }
/* motion:4: scale(1.02) hover only — no translateY, no shadow growth */
.btn:hover {
  transform: scale(1.02);
  will-change: transform;
}
.btn:active {
  transform: scale(0.98);
  will-change: auto;
}
/* Remove will-change after hover exits (cleanup via selector reset) */
.btn:not(:hover) { will-change: auto; }
.btn-primary { background-color: var(--color-primary); color: var(--color-primary-fg); border-color: var(--color-primary); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline { background-color: transparent; color: var(--color-text); border-color: var(--color-border-strong); }
.btn-outline:hover { border-color: var(--color-text-muted); }
.btn-lg { font-size: 1rem; padding: 14px var(--space-xl); min-height: 52px; }

/* ============================================================
   SHARED SECTION UTILITIES
   ============================================================ */
.section { padding-block: var(--space-section); }
.container { max-width: var(--max-width); margin-inline: auto; padding-inline: var(--space-xl); }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text);
}
.section-sub {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-top: var(--space-lg);
}

/* ============================================================
   SCROLL ENTRANCE — motion:4 (Gentle)
   Entrance: fade + 8px translateY only
   Duration: --dur-chapter (450ms)
   Easing: --ease cubic-bezier(0.4, 0, 0.2, 1)
   Stagger: 50ms increments, capped at 5 levels (250ms max)
   Only opacity + transform animated (GPU-composited)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity var(--dur-chapter) var(--ease),
    transform var(--dur-chapter) var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay classes — 50ms increments per motion:4 spec */
.reveal-d1 { transition-delay: 50ms; }
.reveal-d2 { transition-delay: 100ms; }
.reveal-d3 { transition-delay: 150ms; }
.reveal-d4 { transition-delay: 200ms; }
.reveal-d5 { transition-delay: 250ms; }

/* ============================================================
   KEYFRAMES
   ============================================================ */

/* Live recording dot — ambient pulse, stays within motion:4 */
@keyframes blink-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(0.8); }
}

/* Hero ambient gradient drift — very slow, barely perceptible */
@keyframes hero-glow-drift {
  0%, 100% { opacity: 0.07; transform: translateX(-50%) translateY(0px); }
  50%       { opacity: 0.10; transform: translateX(-50%) translateY(-12px); }
}

/* Final CTA glow drift */
@keyframes cta-glow-drift {
  0%, 100% { opacity: 0.05; transform: translateX(-50%) translateY(0px); }
  50%       { opacity: 0.08; transform: translateX(-50%) translateY(8px); }
}

/* Pricing amount swap — fade out then in */
@keyframes price-fade-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-4px); }
}
@keyframes price-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   REDUCED MOTION — ALL animations instant, transforms removed
   Classes still added by IntersectionObserver (state change),
   but transitions are 0.01ms so visually instant.
   ============================================================ */
@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;
  }
  /* Reveal elements: skip transform, just show */
  .reveal {
    opacity: 1;
    transform: none;
  }
  /* Mockups: show immediately */
  .mockup {
    opacity: 1;
    transform: none;
  }
  /* Hero glow: disable drift animation */
  .hero::before,
  .final-cta::before {
    animation: none;
  }
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: calc(var(--nav-height) + var(--space-2xl)) var(--space-section);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(234,179,8,0.07) 0%, transparent 60%);
  pointer-events: none;
  /* Gentle ambient drift — 10s cycle, barely perceptible (motion:4 ambient) */
  animation: hero-glow-drift 10s ease-in-out infinite;
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; margin-inline: auto; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid rgba(234,179,8,0.35);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}
.hero-trust {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}
.trust-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-border-strong);
  display: inline-block;
}

/* ============================================================
   2. PRODUCT TOUR
   ============================================================ */
.tour {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

/* Progress dots wrapper — sticky on desktop */
.tour-dots-wrap {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
}
.tour-dots {
  position: sticky;
  top: calc(var(--nav-height) + 40vh);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  pointer-events: all;
  opacity: 0;
  transition: opacity var(--dur-chapter) var(--ease);
}
.tour-dots.visible {
  opacity: 1;
}
.tour-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease), transform var(--dur-ui) var(--ease);
}
.tour-dot.active { background: var(--color-primary); transform: scale(1.5); }
.tour-dot:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 3px; }

.tour-step {
  min-height: 100vh;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-section);
}
.tour-step:first-of-type { border-top: none; }
.tour-step-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  width: 100%;
}
.tour-text { max-width: 460px; }
.tour-step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}
.tour-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-lg);
}
.tour-text p { font-size: 1.0625rem; color: var(--color-text-muted); line-height: 1.7; }

/* Mockup shell */
.mockup {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-chapter) var(--ease), transform var(--dur-chapter) var(--ease);
}
.mockup.visible { opacity: 1; transform: translateY(0); }

/* ---- Mockup internals: Step 1 ---- */
.dropzone {
  border: 2px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  margin-bottom: var(--space-lg);
}
.dz-icon { width: 36px; height: 36px; color: var(--color-text-muted); margin: 0 auto var(--space-md); }
.dz-label { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.5; }
.dz-label strong { color: var(--color-primary); }
.profile-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.profile-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-md);
}
.p-avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: var(--color-primary-fg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.p-name { font-size: 0.9375rem; font-weight: 600; }
.p-role { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 1px; }
.p-summary { font-size: 0.8125rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: var(--space-md); }
.skill-tags { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.skill-tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: var(--radius-full);
  background: var(--color-surface-elevated); border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.skill-tag.hi {
  background: rgba(94,234,212,0.1); border-color: var(--color-accent); color: var(--color-accent);
}
.comp-section-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text-muted); margin-bottom: var(--space-sm);
}
.comp-chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-lg); }
.comp-chip {
  font-size: 0.7rem; font-weight: 600; padding: 3px 10px;
  border-radius: var(--radius-full); border: 1px solid var(--color-border);
}
.comp-chip.gold { background: rgba(234,179,8,0.12); border-color: var(--color-primary); color: var(--color-primary); }
.comp-chip.teal { background: rgba(94,234,212,0.1); border-color: var(--color-accent); color: var(--color-accent); }
.comp-chip.neutral { background: var(--color-surface-elevated); border-color: var(--color-border); color: var(--color-text-muted); }
.q-cards { display: flex; flex-direction: column; gap: var(--space-sm); }
.q-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--space-md);
}
.q-tag { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 4px; }
.q-text { font-size: 0.875rem; color: var(--color-text); line-height: 1.55; }

/* ---- Mockup internals: Step 3 ---- */
.interview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.i-panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.i-panel-head {
  padding: 8px var(--space-md); border-bottom: 1px solid var(--color-border);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text-muted); display: flex; align-items: center; gap: var(--space-sm);
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--color-error);
  animation: blink-pulse 1.4s ease-in-out infinite; flex-shrink: 0;
}
.transcript-list { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); }
.t-entry { font-size: 0.75rem; line-height: 1.5; }
.t-speaker { font-weight: 700; font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.t-speaker.int { color: var(--color-primary); }
.t-speaker.cand { color: var(--color-accent); }
.t-ts { font-family: var(--font-mono); font-size: 0.6rem; color: var(--color-text-muted); margin-left: 6px; font-weight: 400; }
.t-text { color: var(--color-text-muted); }
.checklist { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); }
.cl-item { display: flex; align-items: flex-start; gap: var(--space-sm); font-size: 0.75rem; color: var(--color-text-muted); line-height: 1.4; }
.cl-box {
  width: 16px; height: 16px; border-radius: 3px; border: 1.5px solid var(--color-border-strong);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.cl-box.done { background: var(--color-success); border-color: var(--color-success); color: #052E16; }
.cl-box svg { width: 10px; height: 10px; }
.rec-bar {
  padding: 6px var(--space-md); border-top: 1px solid var(--color-border);
  display: flex; align-items: center; gap: var(--space-sm);
}
.rec-btn {
  width: 28px; height: 28px; border-radius: 50%; background: var(--color-error);
  border: none; display: flex; align-items: center; justify-content: center;
}
.rec-btn svg { width: 12px; height: 12px; color: white; }
.rec-timer { font-family: var(--font-mono); font-size: 0.75rem; color: var(--color-text-muted); }

/* ---- Mockup internals: Step 4 ---- */
.score-strip {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-md) var(--space-lg);
  display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-md);
}
.ss-name { font-size: 0.875rem; font-weight: 600; }
.ss-right { display: flex; align-items: center; gap: var(--space-md); }
.ss-score { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--color-success); }
.hire-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--radius-full);
  background: rgba(74,222,128,0.12); border: 1px solid var(--color-success); color: var(--color-success);
}
.comp-bars { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-md); }
.cb-row { display: flex; flex-direction: column; gap: 4px; }
.cb-labels { display: flex; justify-content: space-between; align-items: center; }
.cb-name { font-size: 0.75rem; font-weight: 600; color: var(--color-text); }
.cb-val { font-family: var(--font-mono); font-size: 0.65rem; color: var(--color-text-muted); }
.cb-track {
  height: 6px; background: var(--color-surface); border-radius: var(--radius-full);
  overflow: hidden; border: 1px solid var(--color-border);
}
.cb-fill { height: 100%; border-radius: var(--radius-full); background: var(--color-primary); }
.cb-fill.teal { background: var(--color-accent); }
.cb-fill.green { background: var(--color-success); }
.evidence-block {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent); border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
}
.ev-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-sm); }
.ev-quote { font-size: 0.8125rem; color: var(--color-text-muted); line-height: 1.6; font-style: italic; }

/* ============================================================
   4. FEATURES
   ============================================================ */
/* content-visibility: auto skips rendering of below-fold sections until they
   approach the viewport. contain-intrinsic-size preserves scroll height. */
.features,
.pricing,
.about,
.social-proof,
.faq,
.contact,
.final-cta {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

.features { padding-block: var(--space-section); }
.features-head { text-align: center; margin-bottom: var(--space-2xl); }
.features-head .section-sub { margin-inline: auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  contain: content;
}
.feat-card {
  background: var(--color-surface);
  padding: var(--space-2xl) var(--space-xl);
  /* motion:4: background + border-color only — no translateY, no scale, no shadow growth */
  transition:
    background-color var(--dur-micro) var(--ease),
    border-color var(--dur-micro) var(--ease);
}
.feat-card:hover {
  background: var(--color-surface-elevated);
}
.feat-icon { width: 36px; height: 36px; color: var(--color-primary); margin-bottom: var(--space-lg); }
.feat-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--color-text); margin-bottom: var(--space-sm);
}
.feat-card p { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.65; }

/* ============================================================
   5. PRICING
   ============================================================ */
.pricing { padding-block: var(--space-section); }
.pricing-head { text-align: center; margin-bottom: var(--space-2xl); }
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-top: var(--space-xl);
}
.t-opt {
  font-size: 0.8125rem; font-weight: 600;
  padding: 10px 16px; border-radius: var(--radius-full); border: none;
  background: transparent; color: var(--color-text-muted);
  cursor: pointer; min-height: 44px;
  transition: background-color var(--dur-micro) var(--ease), color var(--dur-micro) var(--ease);
  display: inline-flex; align-items: center; gap: var(--space-sm);
}
.t-opt.active { background: var(--color-surface-elevated); color: var(--color-text); }
.t-opt:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 2px; }
.save-badge {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-accent); padding: 2px 6px; border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
  contain: content;
}
.p-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  /* motion:4: border-color only, no scale, no shadow animation */
  transition: border-color var(--dur-micro) var(--ease);
}
.p-card:hover { border-color: var(--color-border-strong); }
.p-card.featured { border-color: var(--color-primary); }
.p-card.featured:hover { border-color: var(--color-primary); }
.p-featured-label {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--color-primary); color: var(--color-primary-fg);
  padding: 3px 14px; border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.p-tier {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-text-muted); margin-bottom: var(--space-lg);
}
.p-price { margin-bottom: var(--space-lg); }
.p-amount {
  font-family: var(--font-heading); font-size: 3rem; font-weight: 700;
  letter-spacing: -0.03em; color: var(--color-text); line-height: 1;
  /* Pricing swap animation — motion:4 uses --dur-ui (250ms) */
  transition: opacity var(--dur-ui) var(--ease), transform var(--dur-ui) var(--ease);
  display: inline-block;
}
/* JS adds .price-updating to trigger exit, then removes it on entry */
.p-amount.price-updating {
  opacity: 0;
  transform: translateY(-4px);
}
.p-per { font-size: 0.875rem; color: var(--color-text-muted); margin-left: 4px; }
.p-annual {
  font-size: 0.75rem; color: var(--color-text-muted); margin-top: var(--space-xs); min-height: 18px;
  transition: opacity var(--dur-ui) var(--ease);
}
.p-annual.price-updating { opacity: 0; }
.p-divider { height: 1px; background: var(--color-border); margin-block: var(--space-lg); }
.p-features { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-xl); }
.p-feat {
  display: flex; align-items: flex-start; gap: var(--space-sm);
  font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.5;
}
.p-check { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--color-success); }

/* ============================================================
   6. ABOUT
   ============================================================ */
.about {
  padding-block: var(--space-section);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.about-story p { font-size: 1.0625rem; color: var(--color-text-muted); line-height: 1.75; }
.about-story p + p { margin-top: var(--space-lg); }
.about-story blockquote {
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-lg);
  margin-block: var(--space-xl);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
}
.value-cards { display: flex; flex-direction: column; gap: var(--space-md); }
.val-card {
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl); background: var(--color-bg);
  transition: border-color var(--dur-ui) var(--ease);
}
.val-card:hover { border-color: var(--color-border-strong); }
.val-card h3 {
  font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 600;
  color: var(--color-text); margin-bottom: var(--space-xs);
}
.val-card p { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; }

/* ============================================================
   7. SOCIAL PROOF
   ============================================================ */
.social-proof { padding-block: var(--space-section); }
.sp-head { text-align: center; margin-bottom: var(--space-2xl); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  contain: content;
}
.testi-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: var(--space-2xl);
  display: flex; flex-direction: column; gap: var(--space-lg);
  /* motion:4: border-color transition only on hover */
  transition: border-color var(--dur-micro) var(--ease);
}
.testi-card:hover { border-color: var(--color-border-strong); }
.testi-stars { display: flex; gap: 3px; color: var(--color-primary); }
.star { width: 14px; height: 14px; }
.testi-quote {
  font-family: var(--font-heading); font-size: 1.0625rem; font-style: italic;
  color: var(--color-text); line-height: 1.65; flex: 1;
}
.testi-author {
  display: flex; align-items: center; gap: var(--space-md);
  padding-top: var(--space-lg); border-top: 1px solid var(--color-border);
}
.testi-avatar {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  background: var(--color-surface-elevated); border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem; color: var(--color-text-muted); flex-shrink: 0;
}
.testi-name { font-size: 0.875rem; font-weight: 600; }
.testi-title { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 1px; }

/* ============================================================
   8. FAQ
   ============================================================ */
.faq {
  padding-block: var(--space-section);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.faq-inner { max-width: 720px; margin-inline: auto; contain: content; }
.faq-head { text-align: center; margin-bottom: var(--space-2xl); }
details { border-bottom: 1px solid var(--color-border); }
details:first-of-type { border-top: 1px solid var(--color-border); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg);
  padding: var(--space-lg) 0; cursor: pointer; list-style: none;
  font-size: 1rem; font-weight: 600; color: var(--color-text);
  transition: color var(--dur-micro) var(--ease); min-height: 44px;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--color-primary); }
summary:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 2px; border-radius: var(--radius-sm); }
.faq-chevron {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--color-text-muted);
  /* motion:4: chevron rotation at --dur-ui (250ms) */
  transition: transform var(--dur-ui) var(--ease), color var(--dur-micro) var(--ease);
}
details[open] .faq-chevron { transform: rotate(180deg); }
details[open] summary .faq-chevron { color: var(--color-primary); }

/* FAQ answer reveal — grid-template-rows trick avoids animating height:auto.
   CSS-DESIGN.md §8: animating height causes layout thrashing.
   The .faq-answer-wrap wrapper is injected by JS around .faq-answer.
   Native <details> open attribute drives the grid row expansion via [open] selector.

   Note: native <details> hides non-summary children when closed. We keep
   the grid animation as progressive enhancement — the native hide/show still
   works if the wrapper is not yet injected. */
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  /* motion:4: --dur-ui (250ms) for accordion, ease-default */
  transition: grid-template-rows var(--dur-ui) var(--ease);
  overflow: hidden;
}
details[open] .faq-answer-wrap {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  /* min-height: 0 is required for grid 0fr → 1fr to collapse correctly */
  overflow: hidden;
  min-height: 0;
}
.faq-answer { padding-bottom: var(--space-lg); font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.7; }

/* ============================================================
   9. CONTACT
   ============================================================ */
.contact { padding-block: var(--space-section); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
.contact-panel h3 {
  font-family: var(--font-heading); font-size: 1.375rem; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: var(--space-sm);
}
.contact-panel > p { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: var(--space-xl); }
.form-field { margin-bottom: var(--space-md); }
.form-label {
  display: block; font-size: 0.8125rem; font-weight: 600;
  color: var(--color-text-muted); margin-bottom: var(--space-xs); letter-spacing: 0.02em;
}
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 10px var(--space-md);
  font-family: var(--font-body); font-size: 0.9375rem; color: var(--color-text);
  transition: border-color var(--dur-micro) var(--ease); min-height: 44px;
  -webkit-appearance: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: 2px solid var(--color-ring); outline-offset: 2px; border-color: var(--color-ring);
}
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--color-border-strong); }

/* ============================================================
   10. FINAL CTA
   ============================================================ */
.final-cta {
  padding-block: var(--space-section);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
}
.final-cta::before {
  content: '';
  position: absolute; bottom: -20%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(234,179,8,0.05) 0%, transparent 65%);
  pointer-events: none;
  animation: cta-glow-drift 12s ease-in-out infinite;
}
.final-cta-inner { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.15;
  margin-bottom: var(--space-xl);
}
.final-cta-btns {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-md); flex-wrap: wrap; margin-bottom: var(--space-lg);
}
.final-cta-trust { font-size: 0.8rem; color: var(--color-text-muted); }

/* ============================================================
   11. FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--color-border); padding-block: var(--space-2xl) var(--space-xl); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl); margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl); border-bottom: 1px solid var(--color-border);
}
.footer-brand img { height: 24px; margin-bottom: var(--space-md); }
.footer-tagline { font-size: 0.875rem; color: var(--color-text-muted); line-height: 1.6; max-width: 220px; }
.footer-col-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-text-muted); margin-bottom: var(--space-lg);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-links a {
  font-size: 0.875rem; color: var(--color-text-muted);
  transition: color var(--dur-micro) var(--ease);
  min-height: 44px; display: flex; align-items: center;
}
.footer-links a:hover { color: var(--color-text); }
.footer-links a:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 2px; border-radius: var(--radius-sm); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-md); }
.footer-copy { font-size: 0.8125rem; color: var(--color-text-muted); }

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 1100px) {
  .tour-dots-wrap { display: none; }
}
@media (max-width: 768px) {
  :root { --space-section: 56px; }
  .nav-links { display: none; }
  .nav-hamburger { display: inline-flex; }
  .nav-inner { padding-inline: var(--space-lg); }
  .container { padding-inline: var(--space-lg); }
  .hero h1 { font-size: 2.25rem; }
  .tour-step-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .interview-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — 599px (small tablet / large mobile)
   ============================================================ */
@media (max-width: 599px) {
  .contact-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .final-cta-btns { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   RESPONSIVE — 375px (small mobile)
   ============================================================ */
@media (max-width: 400px) {
  .container { padding-inline: var(--space-md); }
  .nav-inner { padding-inline: var(--space-md); }
  .tour-step-inner { padding-inline: var(--space-md); }
}

/* ============================================================
   FROM THE BLOG — homepage section
   ============================================================ */
.from-blog {}
.blog-head { margin-bottom: var(--space-2xl); }
.blog-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}
.blog-card-home {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur-micro) var(--ease), transform var(--dur-micro) var(--ease), box-shadow var(--dur-micro) var(--ease);
}
.blog-card-home:hover {
  border-color: var(--color-border-strong);
  transform: scale(1.02);
}
.blog-card-home-body { padding: var(--space-lg); display: flex; flex-direction: column; height: 100%; }
.blog-card-home-meta { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); }
.blog-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  border: 1px solid;
}
.blog-badge--hiring { color: var(--color-primary); border-color: rgba(234,179,8,0.35); background: rgba(234,179,8,0.07); }
.blog-badge--interview { color: var(--color-accent); border-color: rgba(94,234,212,0.3); background: rgba(94,234,212,0.06); }
.blog-badge--research { color: #a78bfa; border-color: rgba(167,139,250,0.3); background: rgba(167,139,250,0.06); }
.blog-card-date { font-size: 0.75rem; color: var(--color-text-muted); }
.blog-card-home-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  transition: color var(--dur-micro) var(--ease);
}
.blog-card-home:hover .blog-card-home-title { color: var(--color-primary); }
.blog-card-home-title a { display: block; }
.blog-card-home-title a:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 2px; border-radius: var(--radius-sm); }
.blog-card-home-excerpt {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: var(--space-lg);
}
.blog-card-home-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
  transition: gap var(--dur-micro) var(--ease);
  min-height: 44px;
}
.blog-card-home-link:hover { gap: var(--space-sm); }
.blog-card-home-link:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 2px; border-radius: var(--radius-sm); }
.blog-view-all-wrap { text-align: center; }

@media (max-width: 768px) {
  .blog-grid-home { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .blog-grid-home { grid-template-columns: repeat(2, 1fr); }
  .blog-grid-home .blog-card-home:last-child { display: none; }
}
