/* ==========================================================================
   LogosIQ Website V1.0 — styles.css
   Premium enterprise SaaS recruitment intelligence platform.
   Static HTML5 / CSS / vanilla JS. No build step. Cloudflare Pages ready.

   Table of contents
   -----------------------------------------------------------------------
   01. Design tokens (:root)
   02. Reset & base
   03. Typography
   04. Layout primitives (container, section, grid)
   05. Buttons
   06. Header & navigation (desktop + mobile drawer)
   07. Cards
   08. Badges & pills
   09. Trust indicators
   10. Hero
   11. Candidate assessment card (ring, bars, highlights)
   12. Process steps
   13. Feature / list blocks
   14. Icon grid
   15. Pricing
   16. Vision (dark) section
   17. CTA panel
   18. Footer
   19. Forms (inputs, selects, radio/checkbox, file upload, multi-step)
   20. Utilities
   21. Accessibility & motion
   22. Responsive breakpoints
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Brand palette (canonical — from Design System spec) */
  --navy-950: #020817;
  --navy-900: #030B1E;
  --navy-850: #071226;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --green-500: #22C55E;
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --section-bg: #F8FAFC;
  --white: #FFFFFF;

  /* Derived semantic colours */
  --color-text: var(--slate-900);
  --color-text-muted: var(--slate-500);
  --color-text-strong: var(--slate-900);
  --color-heading: var(--slate-900);
  --color-border: var(--slate-200);
  --color-bg: var(--white);
  --color-bg-alt: var(--section-bg);
  --color-primary: var(--blue-600);
  --color-primary-hover: #1D4ED8;
  --color-accent: var(--blue-500);
  --color-success: var(--green-500);

  /* Dark surfaces (hero, vision, footer) */
  --dark-bg: var(--navy-900);
  --dark-bg-deep: var(--navy-950);
  --dark-surface: #08101F;
  --dark-border: rgba(255, 255, 255, 0.10);
  --dark-text: #E6EDF7;
  --dark-text-muted: #93A4BE;

  /* Typography */
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs-hero: clamp(2.6rem, 5.8vw, 4.85rem);     /* ~42px → 78px (V1.2 +8%) */
  --fs-h2: clamp(1.75rem, 3.2vw, 2.5rem);       /* 28px → 40px */
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);         /* 20px → 24px */
  --fs-h4: 1.125rem;                            /* 18px */
  --fs-lead: clamp(1.0625rem, 1.4vw, 1.25rem);  /* 17px → 20px */
  --fs-body: 1rem;                              /* 16px */
  --fs-sm: 0.875rem;                            /* 14px */
  --fs-xs: 0.8125rem;                           /* 13px */
  --lh-tight: 1.05;
  --lh-heading: 1.15;
  --lh-body: 1.65;

  /* Spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;   /* light cards */
  --radius-xl: 20px;   /* dark hero cards */
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-focus: 0 0 0 3px rgba(37, 99, 235, 0.35);

  /* Layout */
  --container-max: 1280px;
  --container-pad: 1.5rem;
  --header-height: 80px;

  /* Motion */
  --transition-fast: 140ms ease;
  --transition-base: 220ms ease;
  --z-header: 100;
  --z-drawer: 200;
}

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

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

img { height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul, ol { list-style: none; padding: 0; }

:where(h1, h2, h3, h4, h5, h6) {
  color: var(--color-heading);
  font-weight: 800;
  line-height: var(--lh-heading);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   03. TYPOGRAPHY
   ========================================================================== */
.display {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}

.h2, h2 { font-size: var(--fs-h2); }
.h3, h3 { font-size: var(--fs-h3); }
.h4, h4 { font-size: var(--fs-h4); font-weight: 700; }

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--color-text-muted);
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

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

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

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

.section {
  padding-block: clamp(4rem, 7vw, 6rem);
}

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

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

/* Dark surfaces: hero, vision, footer only (20% dark / 80% light target) */
.section--dark {
  background: var(--dark-bg);
  color: var(--dark-text);
}
.section--dark :where(h1, h2, h3, h4, h5, h6) { color: var(--white); }
.section--dark .lead,
.section--dark .text-muted { color: var(--dark-text-muted); }

.section__head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-8);
}
.section__head .lead { margin-top: var(--space-3); }

/* Generic responsive grid helpers */
.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ==========================================================================
   05. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.9375rem 1.625rem;
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast),
              border-color var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-fast),
              transform var(--transition-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--color-primary);
  color: var(--white);
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

/* Secondary on light backgrounds */
.btn--secondary {
  background: transparent;
  color: var(--color-text-strong);
  border-color: var(--color-border);
}
.btn--secondary:hover { background: var(--slate-100); border-color: var(--slate-500); }

/* Secondary sitting on dark surfaces (hero/footer) */
.btn--ghost-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--ghost-dark:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }

.btn--block { width: 100%; }
.btn--lg { padding: 1.0625rem 1.75rem; font-size: var(--fs-lead); }

/* ==========================================================================
   06. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  background: var(--dark-bg-deep);
  border-bottom: 1px solid var(--dark-border);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

/* Brand / logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.brand__mark { width: 30px; height: 30px; flex-shrink: 0; color: var(--blue-500); }
.brand__name-alt { color: var(--blue-500); }

/* Primary nav (desktop) */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--dark-text-muted);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.nav__link:hover { color: var(--white); }
.nav__link[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--blue-500);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav__actions .btn { padding: 0.6875rem 1.125rem; font-size: var(--fs-sm); }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: var(--z-drawer);
  background: var(--dark-bg-deep);
  padding: var(--space-6) var(--container-pad) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition-base), visibility var(--transition-base);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav__link {
  display: block;
  padding: var(--space-4) var(--space-2);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-text);
  border-bottom: 1px solid var(--dark-border);
}
.mobile-nav__link:hover,
.mobile-nav__link[aria-current="page"] { color: var(--blue-500); }
.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

body.nav-open { overflow: hidden; }

/* ==========================================================================
   07. CARDS
   ========================================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.card--pad-lg { padding: var(--space-7); }
.card--hover { transition: box-shadow var(--transition-base), transform var(--transition-base); }
.card--hover:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card__title { font-size: var(--fs-h4); font-weight: 700; margin-bottom: var(--space-2); }
.card__body { color: var(--color-text-muted); font-size: var(--fs-sm); }

/* Dark card used inside hero */
.card--dark {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  color: var(--dark-text);
}
.card--dark .card__title { color: var(--white); }
.card--dark .card__body { color: var(--dark-text-muted); }

/* ==========================================================================
   08. BADGES & PILLS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--dark-border);
  color: var(--dark-text);
}
.badge--success { color: #4ADE80; border-color: rgba(34, 197, 94, 0.4); }
.badge--info { color: #60A5FA; border-color: rgba(59, 130, 246, 0.4); }
.badge--soon {
  background: var(--slate-100);
  border-color: var(--color-border);
  color: var(--color-text-muted);
}

/* ==========================================================================
   09. TRUST INDICATORS
   ========================================================================== */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-6);
  margin-top: var(--space-6);
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--dark-text-muted);
  max-width: 12ch;
  line-height: 1.35;
}
.trust__item svg { width: 18px; height: 18px; color: var(--blue-500); flex-shrink: 0; }

/* ==========================================================================
   10. HERO
   ========================================================================== */
.hero {
  background: var(--dark-bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 85% 40%, rgba(37, 99, 235, 0.14), transparent 70%);
  color: var(--dark-text);
  padding-block: var(--space-10);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.hero__title {
  color: var(--white);
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}
.hero__title-accent { color: var(--blue-500); display: block; }
.hero__body {
  margin-top: var(--space-5);
  max-width: 46ch;
  font-size: var(--fs-lead);
  color: var(--dark-text-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-7);
}

/* ==========================================================================
   11. CANDIDATE ASSESSMENT CARD
   ========================================================================== */
.assessment { display: flex; flex-direction: column; gap: var(--space-5); }
.assessment__eyebrow {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--dark-text-muted);
}
.assessment__identity { display: flex; align-items: center; gap: var(--space-4); }
.assessment__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--dark-border);
  flex-shrink: 0;
}
.assessment__name { font-size: 1.25rem; font-weight: 700; color: var(--white); }
.assessment__role { font-size: var(--fs-sm); color: var(--dark-text-muted); }
.assessment__meta { font-size: var(--fs-xs); color: var(--dark-text-muted); margin-top: 2px; }
.assessment__badges { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.assessment__panels {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) 1.6fr;
  gap: var(--space-4);
}
.assessment__panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.assessment__panel-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--dark-text-muted);
  margin-bottom: var(--space-3);
}

/* Circular score ring — driven by --score (0–100) via conic-gradient */
.score-ring {
  --score: 86;
  --ring-size: 128px;
  width: var(--ring-size);
  height: var(--ring-size);
  margin: var(--space-2) auto var(--space-3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(closest-side, var(--dark-surface) 78%, transparent 79% 100%),
    conic-gradient(var(--green-500) calc(var(--score) * 1%), rgba(255, 255, 255, 0.10) 0);
}
.score-ring__value { font-size: 1.75rem; font-weight: 800; color: var(--white); }
.assessment__verdict { text-align: center; font-weight: 700; color: var(--green-500); }
.assessment__verdict-note {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--dark-text-muted);
  margin-top: var(--space-1);
}

/* Rating bars */
.rating { display: flex; flex-direction: column; gap: var(--space-4); }
.rating__row { display: flex; flex-direction: column; gap: 0.375rem; }
.rating__head { display: flex; justify-content: space-between; align-items: baseline; }
.rating__label { font-size: var(--fs-sm); color: var(--dark-text); }
.rating__value { font-size: var(--fs-xs); font-weight: 700; }
.rating__value--strong { color: var(--green-500); }
.rating__value--suitable { color: var(--blue-500); }
.rating__track {
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.10);
  overflow: hidden;
}
.rating__fill { height: 100%; border-radius: inherit; }
.rating__fill--strong { background: var(--green-500); }
.rating__fill--suitable { background: var(--blue-500); }

/* Key highlights */
.highlights { display: flex; flex-direction: column; gap: var(--space-3); }
.highlights__item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: var(--fs-sm);
  color: var(--dark-text);
}
.highlights__item svg { width: 18px; height: 18px; color: var(--green-500); flex-shrink: 0; margin-top: 1px; }

.assessment__footnote {
  font-size: var(--fs-xs);
  color: var(--dark-text-muted);
  font-style: italic;
}

/* ==========================================================================
   12. PROCESS STEPS
   ========================================================================== */
.process {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.process__step {
  flex: 1 1 140px;
  max-width: 160px;
  text-align: center;
}
.process__icon {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background: var(--white);
}
.process__icon svg { width: 28px; height: 28px; }
.process__num {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.process__title { font-size: var(--fs-sm); font-weight: 700; margin-bottom: var(--space-2); }
.process__desc { font-size: var(--fs-xs); color: var(--color-text-muted); }
.process__arrow {
  align-self: center;
  color: var(--slate-500);
  flex: 0 0 auto;
  margin-top: 36px;
}
.process__arrow svg { width: 40px; height: 12px; }

/* ==========================================================================
   13. FEATURE / LIST BLOCKS
   ========================================================================== */
.feature-list { display: flex; flex-direction: column; gap: var(--space-5); }
.feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.feature__icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feature__icon svg { width: 20px; height: 20px; }
.feature__title { font-size: var(--fs-body); font-weight: 700; }
.feature__desc { font-size: var(--fs-sm); color: var(--color-text-muted); margin-top: 2px; }

/* Ticked column list (Our approach / Designed for) */
.tick-list { display: flex; flex-direction: column; gap: var(--space-3); }
.tick-list__item {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--color-text);
}
.tick-list__item svg { width: 16px; height: 16px; color: var(--color-success); flex-shrink: 0; margin-top: 3px; }

.approach-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.approach-col__title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

/* ==========================================================================
   14. ICON GRID (Designed for / examples)
   ========================================================================== */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6) var(--space-4);
}
.icon-grid__item { text-align: center; }
.icon-grid__icon {
  width: 44px; height: 44px;
  margin: 0 auto var(--space-2);
  color: var(--color-primary);
  display: grid;
  place-items: center;
}
.icon-grid__icon svg { width: 32px; height: 32px; }
.icon-grid__label { font-size: var(--fs-xs); font-weight: 600; color: var(--color-text); }

/* ==========================================================================
   15. PRICING
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}
.price-card { display: flex; flex-direction: column; }
.price-card--featured {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
}
.price-card__tier { font-size: var(--fs-h4); font-weight: 700; }
.price-card__amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: var(--space-3) 0;
}
.price-card__desc { font-size: var(--fs-sm); color: var(--color-text-muted); }
.price-card__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin: var(--space-5) 0 var(--space-2);
}
.price-card .tick-list { margin-top: var(--space-2); }
.pricing-footnotes {
  margin-top: var(--space-6);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* ==========================================================================
   16. VISION (DARK) SECTION
   ========================================================================== */
.vision {
  background: var(--dark-bg);
  background-image:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(37, 99, 235, 0.12), transparent 70%);
  color: var(--dark-text);
}
.vision__headline {
  color: var(--blue-500);
  font-size: var(--fs-h2);
  margin: var(--space-3) 0 var(--space-8);
}
.vision__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.vision__card {
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}
.vision__card svg { width: 32px; height: 32px; color: var(--blue-500); margin: 0 auto var(--space-3); }
.vision__card-label { font-size: var(--fs-sm); font-weight: 600; color: var(--white); }

/* ==========================================================================
   17. CTA PANEL
   ========================================================================== */
.cta-panel {
  background: var(--slate-100);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.cta-panel__title { font-size: var(--fs-h3); }
.cta-panel__body { font-size: var(--fs-sm); color: var(--color-text-muted); margin-top: var(--space-2); max-width: 46ch; }
.cta-panel__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ==========================================================================
   18. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark-bg-deep);
  color: var(--dark-text-muted);
  padding-block: var(--space-9) var(--space-6);
  border-top: 1px solid var(--dark-border);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--space-6);
}
.site-footer__brand .brand { margin-bottom: var(--space-3); }
.site-footer__tagline { font-size: var(--fs-sm); color: var(--dark-text-muted); max-width: 34ch; }
.footer-col__title {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark-text);
  margin-bottom: var(--space-4);
}
.footer-col__list { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col__link {
  font-size: var(--fs-sm);
  color: var(--dark-text-muted);
  transition: color var(--transition-fast);
}
.footer-col__link:hover { color: var(--white); }
.site-footer__bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
}

/* ==========================================================================
   19. FORMS
   ========================================================================== */
.form { display: flex; flex-direction: column; gap: var(--space-5); }
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.field { display: flex; flex-direction: column; gap: 0.4375rem; }
.field--full { grid-column: 1 / -1; }

.label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-strong);
}
.label .req { color: var(--blue-600); margin-left: 2px; }
.field__hint { font-size: var(--fs-xs); color: var(--color-text-muted); }

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.input::placeholder,
.textarea::placeholder { color: var(--slate-500); }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: var(--shadow-focus);
}
.textarea { min-height: 140px; resize: vertical; }
.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='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}

/* Choice controls */
.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: var(--fs-sm);
  color: var(--color-text);
  cursor: pointer;
}
.choice input[type="checkbox"],
.choice input[type="radio"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--blue-600);
  flex-shrink: 0;
  cursor: pointer;
}
.choice-group { display: flex; flex-direction: column; gap: var(--space-3); }
.choice-group--inline { flex-direction: row; flex-wrap: wrap; gap: var(--space-4); }

/* Multi-select / tag chips */
.chip-set { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.75rem;
  font-size: var(--fs-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--white);
  cursor: pointer;
  user-select: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.chip[aria-pressed="true"] {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--blue-500);
  color: var(--color-primary);
}

/* File upload */
.file-upload {
  border: 1.5px dashed var(--slate-500);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  background: var(--slate-100);
  transition: border-color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
}
.file-upload.is-dragover { border-color: var(--blue-500); background: rgba(37, 99, 235, 0.06); }
.file-upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-upload__icon { color: var(--color-primary); margin: 0 auto var(--space-3); }
.file-upload__icon svg { width: 32px; height: 32px; }
.file-upload__prompt { font-weight: 600; }
.file-upload__meta { font-size: var(--fs-xs); color: var(--color-text-muted); margin-top: var(--space-2); }
.file-upload__filename { font-size: var(--fs-sm); font-weight: 600; color: var(--color-text); margin-top: var(--space-3); }

/* Conditional fields (revealed via JS) */
[data-conditional] { display: none; }
[data-conditional].is-visible { display: flex; }

/* Multi-step wizard */
.form-steps { display: flex; flex-direction: column; gap: var(--space-6); }
.form-step { display: none; }
.form-step.is-active { display: block; }
.step-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.step-indicator__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}
.step-indicator__num {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.step-indicator__item.is-active .step-indicator__num {
  background: var(--color-primary);
  color: var(--white);
  border-color: var(--color-primary);
}
.step-indicator__item.is-complete .step-indicator__num {
  background: var(--green-500);
  color: var(--white);
  border-color: var(--green-500);
}
.form-nav { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-6); }

/* Validation + messages */
.input.is-invalid,
.select.is-invalid,
.textarea.is-invalid { border-color: #DC2626; }
.field__error {
  font-size: var(--fs-xs);
  color: #DC2626;
  display: none;
}
.field__error.is-visible { display: block; }

.form-message {
  padding: var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  display: none;
}
.form-message.is-visible { display: block; }
.form-message--success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #15803D;
}
.form-message--error {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #B91C1C;
}

/* ==========================================================================
   20. UTILITIES
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-6 { margin-bottom: var(--space-6); }
.flow > * + * { margin-top: var(--space-4); }

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  z-index: 300;
  background: var(--white);
  color: var(--color-primary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition-base);
}
.skip-link:focus { top: var(--space-4); }

/* ==========================================================================
   21. ACCESSIBILITY & MOTION
   ========================================================================== */
:where(a, button, input, select, textarea, .chip, [tabindex]):focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
/* On dark surfaces, brighten the focus ring for contrast */
.section--dark :focus-visible,
.hero :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.mobile-nav :focus-visible {
  outline-color: #93C5FD;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   22. RESPONSIVE BREAKPOINTS
   Desktop-first cascade: 1024 (laptop) → 768 (tablet) → 640/430 (mobile)
   ========================================================================== */

/* Laptop and below */
@media (max-width: 1024px) {
  .approach-cols { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* Tablet: collapse nav to hamburger, stack hero */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .hero__actions .btn { flex: 1 1 auto; }

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

  .process { gap: var(--space-4); }
  .process__arrow { display: none; }
  .process__step { flex-basis: calc(33.333% - var(--space-4)); max-width: none; }
}

/* Small tablet / large phone */
@media (max-width: 768px) {
  :root { --container-pad: 1.25rem; }

  .section { padding-block: var(--space-9); }
  .approach-cols { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .vision__cards { grid-template-columns: repeat(2, 1fr); }

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

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

  .cta-panel { flex-direction: column; align-items: flex-start; }
  .cta-panel__actions { width: 100%; }
  .cta-panel__actions .btn { flex: 1 1 auto; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Phones: 430 / 390 / 375 */
@media (max-width: 480px) {
  :root { --container-pad: 1rem; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .process__step { flex-basis: calc(50% - var(--space-4)); }

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

  .card,
  .card--dark { padding: var(--space-5); }

  .assessment__panels { grid-template-columns: 1fr; }
  .step-indicator { gap: var(--space-1); }
  .step-indicator__label { display: none; }
}

/* Guarantee integrity at the smallest supported width (375px) */
@media (max-width: 375px) {
  .brand { font-size: 1.25rem; }
  .hero__title { font-size: 2.25rem; }
}

/* ==========================================================================
   23. INTERIOR PAGES (about / solutions / security / resources / etc.)
   Shared components for pages beyond the homepage.
   ========================================================================== */

/* Compact dark hero for interior pages (used with .section--dark) */
.page-hero { padding-block: var(--space-9); }
.page-hero .eyebrow { color: var(--blue-500); margin-bottom: var(--space-3); }
.page-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-hero .lead { max-width: 62ch; margin-top: var(--space-4); }

/* Section intro aligned left (interior content sections) */
.section__head--left { text-align: left; margin-inline: 0; }

/* Card with a leading square icon (solutions / security / resources) */
.topic-card__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  color: var(--color-primary);
  display: grid; place-items: center;
  margin-bottom: var(--space-4);
}
.topic-card__icon svg { width: 24px; height: 24px; }
.topic-card__examples { font-size: var(--fs-sm); color: var(--color-text-muted); margin-top: var(--space-3); }

/* About: "remembers the person" source-of-truth model */
.principle {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.model {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-7);
}
.model__node {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  white-space: nowrap;
}
.model__node--anchor {
  background: var(--slate-900);
  color: var(--white);
  border-color: var(--slate-900);
}
.model__arrow { color: var(--slate-500); display: inline-flex; }
.model__arrow svg { width: 22px; height: 22px; }

/* Resources: coming-soon placeholder card */
.resource-card { display: flex; flex-direction: column; gap: var(--space-4); height: 100%; }
.resource-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

/* Privacy / note callout */
.callout {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--blue-500);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.note {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-6);
}

@media (max-width: 900px) {
  .model__node { white-space: normal; }
}

/* ==========================================================================
   24. LEGAL PAGES
   ========================================================================== */
.legal { max-width: 780px; }
.legal h2 {
  font-size: var(--fs-h3);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.legal h2:first-of-type { margin-top: 0; }
.legal p { color: var(--slate-700); margin-bottom: var(--space-4); }
.legal a { color: var(--blue-600); text-decoration: underline; }
.legal-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: var(--space-4);
  color: var(--slate-700);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.callout--warn { border-left-color: #D97706; background: #FFFBEB; }
.callout--warn p { color: #92400E; margin: 0; }

/* Contact aside */
.contact-aside { font-size: var(--fs-sm); color: var(--color-text-muted); margin-top: var(--space-5); }
.contact-aside a { color: var(--blue-600); }

/* ==========================================================================
   25. V1.2 REFINEMENTS
   ========================================================================== */

/* ---- Candidate assessment card: enterprise dashboard treatment ---------- */
.assessment__topline { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.assessment__chip {
  font-size: var(--fs-xs);
  color: var(--dark-text-muted);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  white-space: nowrap;
}
.assessment__divider { height: 1px; background: var(--dark-border); margin-block: var(--space-1); }
.assessment__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark-text-muted);
  margin-bottom: var(--space-4);
}
.assessment__grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) 1.6fr;
  gap: var(--space-6);
  align-items: start;
}
.assessment__score { text-align: center; }
.assessment__summary { border-left: 1px solid var(--dark-border); padding-left: var(--space-6); }
.assessment__summary .assessment__label { text-align: left; }
.assessment .score-ring__value { font-size: 2.1rem; }
.assessment__verdict-note { text-align: center; font-size: var(--fs-xs); color: var(--dark-text-muted); margin-top: var(--space-2); }
@media (max-width: 480px) {
  .assessment__grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .assessment__summary { border-left: 0; padding-left: 0; }
}

/* ---- Interactive product preview ---------------------------------------- */
.preview { max-width: 980px; margin-inline: auto; }
.preview__steps {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-2); margin-bottom: var(--space-7); flex-wrap: wrap;
}
.preview__step { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); color: var(--color-text-muted); }
.preview__step-num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--color-border); display: grid; place-items: center;
  font-weight: 700; font-size: var(--fs-xs); transition: all var(--transition-base);
}
.preview__step.is-active { color: var(--color-text); font-weight: 600; }
.preview__step.is-active .preview__step-num { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.preview__step.is-done .preview__step-num { background: var(--green-500); color: #fff; border-color: var(--green-500); }
.preview__connector { width: 24px; height: 1px; background: var(--color-border); }
.preview__stage { display: none; }
.preview__stage.is-active { display: block; animation: preview-in .32s ease both; }
@keyframes preview-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.preview__panel {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-7); box-shadow: var(--shadow-sm);
}
.preview__actions { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); flex-wrap: wrap; }
.preview__footnote { text-align: center; font-size: var(--fs-xs); color: var(--color-text-muted); font-style: italic; margin-top: var(--space-4); }

/* Resume mock (stage 1) */
.mock-resume__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-4); margin-bottom: var(--space-5); flex-wrap: wrap; }
.mock-resume__name { font-size: var(--fs-h3); font-weight: 700; }
.mock-resume__sub { color: var(--color-text-muted); font-size: var(--fs-sm); margin-top: 2px; }
.mock-section + .mock-section { margin-top: var(--space-5); }
.mock-section__label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); margin-bottom: var(--space-2); }
.mock-entry { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--fs-sm); }
.mock-entry + .mock-entry { margin-top: var(--space-2); }
.mock-entry__role { font-weight: 600; }
.mock-entry__meta { color: var(--color-text-muted); white-space: nowrap; }
.tag-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag { display: inline-flex; padding: 0.3125rem 0.6875rem; font-size: var(--fs-xs); font-weight: 500; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--slate-100); color: var(--color-text); }

/* Extracted info (stage 2) */
.extract-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.extract-block__label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-primary); margin-bottom: var(--space-3); }
.extract-block__body { font-size: var(--fs-sm); color: var(--color-text); }
.extract-block__body .mock-entry { margin-bottom: var(--space-2); }
@media (max-width: 600px) { .extract-grid { grid-template-columns: 1fr; gap: var(--space-5); } }

/* Assessment screen (stage 3) — light dashboard */
.assess { display: flex; flex-direction: column; gap: var(--space-6); }
.assess__header { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.score-ring--light {
  --ring-size: 116px;
  background:
    radial-gradient(closest-side, #fff 78%, transparent 79% 100%),
    conic-gradient(var(--green-500) calc(var(--score) * 1%), var(--slate-200) 0);
}
.score-ring--light .score-ring__value { color: var(--slate-900); font-size: 1.6rem; }
.assess__verdict { font-weight: 700; color: var(--green-500); font-size: var(--fs-h4); }
.assess__verdict-sub { font-size: var(--fs-sm); color: var(--color-text-muted); }
.assess__review {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem;
  background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E;
  border-radius: var(--radius-pill); padding: 0.4375rem 0.875rem; font-size: var(--fs-sm); font-weight: 600;
}
.assess__review svg { width: 16px; height: 16px; }
.assess__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.assess__block { border-top: 1px solid var(--color-border); padding-top: var(--space-4); }
.assess__block-label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); margin-bottom: var(--space-3); }
.assess__block .rating__label { color: var(--color-text); }
.assess__block .rating__track { background: var(--slate-200); }
.assess__block p { font-size: var(--fs-sm); color: var(--color-text); }
.assess__list { display: flex; flex-direction: column; gap: var(--space-2); }
.assess__list-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: var(--fs-sm); }
.assess__list-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.assess__list-item--good svg { color: var(--green-500); }
.assess__list-item--note svg { color: var(--slate-500); }
.assess__reco {
  display: flex; align-items: center; gap: 0.625rem;
  background: rgba(37, 99, 235, 0.06); border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-md); padding: var(--space-4) var(--space-5);
  font-weight: 600; color: var(--color-text);
}
.assess__reco svg { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; }
@media (max-width: 600px) {
  .assess__grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .assess__review { margin-left: 0; }
}

/* ---- How LogosIQ Works page: business workflow --------------------------- */
.workflow { display: flex; flex-direction: column; gap: var(--space-7); max-width: 820px; margin-inline: auto; }
.workflow__step { display: grid; grid-template-columns: 64px 1fr; gap: var(--space-5); align-items: start; }
.workflow__icon {
  position: relative; width: 60px; height: 60px; border-radius: var(--radius-md);
  background: var(--slate-100); color: var(--color-primary); display: grid; place-items: center;
}
.workflow__icon svg { width: 28px; height: 28px; }
.workflow__num {
  position: absolute; top: -8px; left: -8px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--color-primary); color: #fff; font-size: var(--fs-xs); font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
}
.workflow__title { font-size: var(--fs-h4); font-weight: 700; }
.workflow__body { color: var(--color-text-muted); margin-top: var(--space-2); font-size: var(--fs-body); }
@media (max-width: 480px) {
  .workflow__step { grid-template-columns: 48px 1fr; gap: var(--space-4); }
  .workflow__icon { width: 46px; height: 46px; }
  .workflow__icon svg { width: 22px; height: 22px; }
}

/* ---- Footer meta (Australia / Version) ---------------------------------- */
.site-footer__meta { display: flex; gap: var(--space-4); flex-wrap: wrap; align-items: center; }
.site-footer__meta span { display: inline-flex; align-items: center; }

/* ==========================================================================
   26. V1.2 RESPONSIVE FIXES
   ========================================================================== */
/* Collapse desktop nav to the hamburger a little earlier so the wider V1.2
   buttons never crowd the header at ~1024px (same items, no nav change). */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Long CTA labels inside pricing cards wrap and go full width on phones. */
@media (max-width: 600px) {
  .price-card .btn { width: 100%; white-space: normal; }
}

/* Long email addresses in the footer wrap instead of forcing overflow. */
.footer-col__link { overflow-wrap: anywhere; }

/* ==========================================================================
   27. V1.3 ENTERPRISE POLISH — micro-interactions, reveal, confirmations
   ========================================================================== */
:root { --ease-premium: cubic-bezier(0.22, 1, 0.36, 1); }

/* Premium button easing + a touch more lift feedback */
.btn { transition:
  background-color var(--transition-fast),
  border-color var(--transition-fast),
  color var(--transition-fast),
  box-shadow 0.25s var(--ease-premium),
  transform 0.18s var(--ease-premium); }
.btn--primary:hover { transform: translateY(-1px); }

/* Card hover: 3px lift + softer, larger shadow */
.card--hover { transition: box-shadow 0.28s var(--ease-premium), transform 0.28s var(--ease-premium); }
.card--hover:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(2, 8, 23, 0.10); }

/* Icons ease subtly on their card's hover */
.topic-card__icon svg, .workflow__icon svg { transition: transform 0.28s var(--ease-premium); }
.card--hover:hover .topic-card__icon svg { transform: translateY(-2px) scale(1.04); }
.workflow__step:hover .workflow__icon svg { transform: translateY(-2px) scale(1.04); }

/* Navigation links transition smoothly */
.nav__link, .footer-col__link, .mobile-nav__link { transition: color var(--transition-fast); }
.nav__link::after { transition: width 0.25s var(--ease-premium), opacity 0.25s var(--ease-premium); }

/* Reveal on scroll (progressive-enhancement: only active when JS present) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease-premium), transform 0.6s var(--ease-premium); will-change: opacity, transform; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Animated assessment bars now carry a numeric value */
.rating__fill { transition: width 1s var(--ease-premium); }
.rating__value { font-variant-numeric: tabular-nums; }

/* Score ring count-up: value uses tabular numerals to avoid width jitter */
.score-ring__value { font-variant-numeric: tabular-nums; }

/* ---- Confirmation states (contact + candidate) -------------------------- */
.confirm { max-width: 640px; }
.confirm__badge {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: var(--space-5);
  background: rgba(34, 197, 94, 0.12); color: var(--green-500);
}
.confirm__badge svg { width: 30px; height: 30px; }
.confirm__title { font-size: var(--fs-h3); font-weight: 700; margin-bottom: var(--space-3); }
.confirm__body { color: var(--color-text-muted); }
.confirm__steps { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.confirm__step {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) 0; font-weight: 500; color: var(--color-text);
  border-top: 1px solid var(--color-border);
}
.confirm__step:first-child { border-top: 0; }
.confirm__step-check {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--slate-100); color: var(--slate-500);
  transition: background-color 0.3s var(--ease-premium), color 0.3s var(--ease-premium);
}
.confirm__step-check svg { width: 15px; height: 15px; }
.js .confirm__step { opacity: 0.5; transition: opacity 0.4s var(--ease-premium); }
.confirm__step.is-done { opacity: 1; }
.confirm__step.is-done .confirm__step-check { background: var(--green-500); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rating__fill { transition: none !important; }
  .card--hover:hover, .btn--primary:hover { transform: none !important; }
  .js .confirm__step { opacity: 1 !important; }
}

/* Bars reset to 0 when JS present, then animate to data-bar target */
.js .rating__fill[data-bar] { width: 0; }
