/* ==========================================================================
   Promintal — Design System
   Engineered / precision-intelligence aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand — derived from the existing Promintal blue, elevated */
  --brand-950: #041033;
  --brand-900: #01319b;
  --brand-700: #1058cc;
  --brand-500: #2c7ff0;
  --brand-400: #089ef4;
  --cyan-400: #00e5ff;
  --gradient: linear-gradient(120deg, #089ef4 0%, #00e5ff 100%);
  --gradient-soft: linear-gradient(120deg, rgba(8, 158, 244, 0.16), rgba(0, 229, 255, 0.16));

  /* Ink — dark surfaces */
  --ink-950: #04070f;
  --ink-900: #070b18;
  --ink-800: #0b1224;
  --ink-700: #111a31;
  --ink-600: #1a2542;

  /* Light surfaces — cool neutrals so the blue reads intentional */
  --white: #ffffff;
  --surface: #f6f8fc;
  --surface-2: #eef2f9;
  --line: #e2e9f4;
  --line-strong: #cfdae9;

  /* Text */
  --text-900: #0a0f1c;
  --text-700: #2f3c52;
  --text-500: #55637a;
  --text-400: #7b899c;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(226, 236, 250, 0.72);
  --on-dark-faint: rgba(226, 236, 250, 0.5);

  /* Signal colours for data viz */
  --sig-low: #22c58b;
  --sig-med: #f5b544;
  --sig-high: #f2603c;

  /* Type */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.6rem, 1.4rem + 4.6vw, 4.6rem);
  --fs-h1: clamp(2.2rem, 1.4rem + 3.2vw, 3.5rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 2.2vw, 2.85rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --fs-lede: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-eyebrow: 0.75rem;

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 2.5rem;
  --s-8: 3rem;
  --s-9: 4rem;
  --s-10: 5rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8rem);

  /* Shape */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --container: 1220px;
  --measure: 68ch;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(9, 20, 45, 0.06), 0 1px 3px rgba(9, 20, 45, 0.04);
  --shadow-md: 0 12px 30px -14px rgba(9, 20, 45, 0.28);
  --shadow-lg: 0 30px 70px -30px rgba(9, 20, 45, 0.42);
  --glow: 0 14px 40px -14px rgba(8, 158, 244, 0.65);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 160ms var(--ease);
  --t-med: 280ms var(--ease);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-900);
  font-weight: 600;
  margin: 0 0 var(--s-4);
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.015em; }

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

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

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

ul { margin: 0; padding: 0; list-style: none; }

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

::selection { background: var(--cyan-400); color: var(--ink-950); }

:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--white);
  color: var(--text-900);
  padding: var(--s-3) var(--s-5);
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

.section--dark {
  background: var(--ink-900);
  color: var(--on-dark-muted);
  position: relative;
  overflow: hidden;
}
.section--dark h2,
.section--dark h3 { color: var(--on-dark); }

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

.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--media-right .split__media { order: 2; }

/* --------------------------------------------------------------------------
   4. Type helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: var(--s-4);
}
.section--dark .eyebrow { color: var(--cyan-400); }

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.display { font-size: var(--fs-display); letter-spacing: -0.035em; }

.lede {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--text-500);
  max-width: 56ch;
}
.section--dark .lede { color: var(--on-dark-muted); }

.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.measure { max-width: var(--measure); }

/* --------------------------------------------------------------------------
   5. Chip
   -------------------------------------------------------------------------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--on-dark);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}
.chip__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.18);
}
.chip--light {
  border-color: var(--line);
  background: var(--white);
  color: var(--text-700);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.85rem 1.55rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--gradient);
  color: var(--ink-950);
  box-shadow: var(--glow);
  font-weight: 700;
}
.btn--primary:hover { box-shadow: 0 18px 46px -12px rgba(8, 158, 244, 0.8); }

.btn--dark {
  background: var(--ink-900);
  color: var(--on-dark);
}
.btn--dark:hover { background: var(--ink-700); }

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.04);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }

.btn--outline {
  border-color: var(--line-strong);
  color: var(--text-900);
  background: var(--white);
}
.btn--outline:hover { border-color: var(--brand-500); color: var(--brand-700); }

.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--brand-700);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color var(--t-med), border-color var(--t-med), backdrop-filter var(--t-med);
  border-bottom: 1px solid transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  height: 76px;
}

/* The supplied logo is a light-on-dark lockup only, so the header stays dark in
   every state rather than washing the wordmark out on white. */
.header__logo { display: block; height: 26px; }
.header__logo img { height: 26px; width: auto; }

.header__nav { margin-left: auto; }

.header__nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
}

.header__nav a {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding-block: 0.4rem;
  transition: color var(--t-fast);
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}
.header__nav a:hover { color: var(--on-dark); }
.header__nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: var(--s-4); }

.header__email {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.header__email svg { width: 15px; height: 15px; opacity: 0.7; }
.header__email:hover { color: var(--on-dark); }

/* Scrolled / solid state */
.header.is-stuck,
body[data-header="solid"] .header {
  background: rgba(7, 11, 24, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.7);
}

/* Solid-header pages need top padding: the header no longer sits over a hero. */
body[data-header="solid"] main > .section:first-child { padding-top: calc(76px + var(--section-y)); }

/* Active nav item */
body[data-page="home"] a[data-nav="home"]::after,
body[data-page="services"] a[data-nav="services"]::after,
body[data-page="about"] a[data-nav="about"]::after,
body[data-page="blog"] a[data-nav="blog"]::after,
body[data-page="assessment"] a[data-nav="assessment"]::after,
body[data-page="contact"] a[data-nav="contact"]::after { transform: scaleX(1); }

/* Burger */
.burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform var(--t-med), opacity var(--t-fast), background-color var(--t-med);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink-950);
  padding: 96px clamp(1.25rem, 5vw, 2.5rem) var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer ul { display: flex; flex-direction: column; gap: var(--s-2); }
.drawer a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--on-dark);
  padding-block: var(--s-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer__foot { margin-top: auto; display: grid; gap: var(--s-4); }
.drawer__foot a.btn { font-size: var(--fs-body); }
.drawer__meta { color: var(--on-dark-faint); font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--ink-950);
  color: var(--on-dark);
  padding-top: clamp(8rem, 6rem + 7vw, 11rem);
  padding-bottom: clamp(4rem, 3rem + 5vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; }

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(0.4) contrast(1.1);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 12%, rgba(8, 158, 244, 0.4), transparent 65%),
    radial-gradient(50% 50% at 12% 8%, rgba(0, 229, 255, 0.18), transparent 60%),
    radial-gradient(80% 70% at 50% 105%, rgba(1, 49, 155, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(4, 7, 15, 0.72) 0%, rgba(4, 7, 15, 0.92) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  color: var(--on-dark);
  font-size: var(--fs-display);
  letter-spacing: -0.035em;
  margin-bottom: var(--s-5);
}

.hero .lede { color: var(--on-dark-muted); margin-bottom: var(--s-6); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__proof p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--on-dark-faint);
}
.hero__proof strong { color: var(--on-dark); font-weight: 600; }

.avatars { display: flex; }
.avatars img {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink-900);
  margin-left: -10px;
  background: var(--ink-700);
}
.avatars img:first-child { margin-left: 0; }

/* Page hero (interior pages) */
.hero--page { padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.hero--page .hero__inner { grid-template-columns: 1fr; max-width: 58rem; }
.hero--page h1 { font-size: var(--fs-h1); }

/* --------------------------------------------------------------------------
   9. Risk intelligence panel (bespoke data-viz component)
   -------------------------------------------------------------------------- */

.panel {
  background: linear-gradient(160deg, rgba(17, 26, 49, 0.94), rgba(7, 11, 24, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--s-5);
}
.panel__title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--on-dark);
  letter-spacing: -0.01em;
}
.panel__status {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sig-low);
  font-weight: 600;
}
.panel__status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(34, 197, 139, 0.2);
}

.panel__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-5);
  align-items: center;
}

/* Readiness ring */
.ring { position: relative; width: 116px; height: 116px; flex-shrink: 0; }
.ring svg { transform: rotate(-90deg); }
.ring__track { stroke: rgba(255, 255, 255, 0.09); }
.ring__value { stroke: url(#ringGradient); stroke-linecap: round; }
.ring__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.ring__num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--on-dark);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ring__cap {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-top: 3px;
}

/* Heat map */
.heat { display: grid; gap: var(--s-3); }
.heat__grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
}
.heat__cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
}
.heat__cell[data-level="1"] { background: rgba(34, 197, 139, 0.55); }
.heat__cell[data-level="2"] { background: rgba(34, 197, 139, 0.85); }
.heat__cell[data-level="3"] { background: rgba(245, 181, 68, 0.75); }
.heat__cell[data-level="4"] { background: rgba(242, 96, 60, 0.8); }

.heat__legend {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  font-size: 0.6875rem;
  color: var(--on-dark-faint);
}
.heat__legend span { display: inline-flex; align-items: center; gap: 6px; }
.heat__legend i {
  width: 8px; height: 8px;
  border-radius: 2px;
  display: block;
}

.panel__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.panel__metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
}
.panel__metric span {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}

/* --------------------------------------------------------------------------
   10. Trust strip
   -------------------------------------------------------------------------- */

.trust {
  border-block: 1px solid var(--line);
  background: var(--white);
  padding-block: var(--s-6);
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.trust__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-400);
  font-weight: 600;
}
.trust__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
}
.trust__items li {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-500);
}

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card__index {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand-500);
  letter-spacing: 0.1em;
}

.card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-content: center;
  border-radius: var(--r-sm);
  background: var(--gradient-soft);
  color: var(--brand-700);
  margin-bottom: var(--s-2);
}
.card__icon svg { width: 21px; height: 21px; }

.card p { color: var(--text-500); font-size: var(--fs-sm); }

.card__list {
  display: grid;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.card__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--fs-sm);
  color: var(--text-500);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-400);
}

/* Dark variant */
.card--dark {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}
.card--dark:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.055); }
.card--dark h3 { color: var(--on-dark); }
.card--dark p { color: var(--on-dark-muted); }
.card--dark .card__list { border-top-color: rgba(255, 255, 255, 0.1); }
.card--dark .card__list li { color: var(--on-dark-muted); }
.card--dark .card__icon { background: rgba(8, 158, 244, 0.14); color: var(--cyan-400); }

/* Media card (trainings / blog) */
.media-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  transition: transform var(--t-med), box-shadow var(--t-med);
  height: 100%;
}
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.media-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.media-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.media-card:hover .media-card__img img { transform: scale(1.05); }
.media-card__body { padding: clamp(1.25rem, 2vw, 1.75rem); display: grid; gap: var(--s-3); }
.media-card__body p { color: var(--text-500); font-size: var(--fs-sm); }

/* Wide / featured variant — image beside copy */
.media-card--wide {
  flex-direction: row;
  align-items: stretch;
}
.media-card--wide .media-card__img { flex: 0 0 46%; aspect-ratio: auto; }
.media-card--wide .media-card__body {
  flex: 1;
  align-content: center;
  padding: clamp(1.75rem, 3vw, 3rem);
  gap: var(--s-4);
}
.media-card--wide .article__meta { margin-bottom: 0; }
.media-card--wide h2 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2rem); }
.media-card--wide .media-card__body p { font-size: var(--fs-body); }

@media (max-width: 820px) {
  .media-card--wide { flex-direction: column; }
  .media-card--wide .media-card__img { flex: none; aspect-ratio: 16 / 10; }
}

/* --------------------------------------------------------------------------
   12. Process timeline
   -------------------------------------------------------------------------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.process__step {
  position: relative;
  padding-top: var(--s-6);
}
.process__step::before {
  content: "";
  position: absolute;
  top: 11px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-400), rgba(8, 158, 244, 0.12));
}
.process__step::after {
  content: "";
  position: absolute;
  top: 6px; left: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(8, 158, 244, 0.16);
}
.process__num {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brand-500);
  display: block;
  margin-bottom: var(--s-2);
}
.process__step h3 { margin-bottom: var(--s-2); }
.process__step p { font-size: var(--fs-sm); color: var(--text-500); }

.section--dark .process__step p { color: var(--on-dark-muted); }
.section--dark .process__num { color: var(--cyan-400); }

/* --------------------------------------------------------------------------
   13. Stats
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.stat { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.section--dark .stat { border-top-color: rgba(255, 255, 255, 0.14); }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-900);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--s-2);
}
.section--dark .stat__num { color: var(--on-dark); }

.stat__label {
  font-size: var(--fs-sm);
  color: var(--text-500);
}
.section--dark .stat__label { color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   14. Testimonials
   -------------------------------------------------------------------------- */

.quote {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  height: 100%;
  transition: box-shadow var(--t-med), transform var(--t-med);
}
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.quote__mark {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 0.6;
  color: var(--brand-400);
  opacity: 0.35;
}
.quote p {
  font-size: var(--fs-body);
  color: var(--text-700);
  margin: 0;
}
.quote--feature p { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); line-height: 1.5; color: var(--text-900); }

.quote__person {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.quote__person img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
}
.quote__person strong { display: block; font-size: var(--fs-sm); color: var(--text-900); }
.quote__person span { font-size: var(--fs-xs); color: var(--text-400); }

/* --------------------------------------------------------------------------
   15. Feature split media
   -------------------------------------------------------------------------- */

.frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
}
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.frame--tall img { aspect-ratio: 3 / 4; }

.frame__badge {
  position: absolute;
  left: var(--s-4);
  bottom: var(--s-4);
  right: var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  background: rgba(7, 11, 24, 0.72);
  backdrop-filter: blur(10px);
  color: var(--on-dark);
  font-size: var(--fs-xs);
}
.frame__badge strong { color: var(--on-dark); font-size: var(--fs-sm); display: block; }
.frame__badge span { color: var(--on-dark-faint); }

.checks { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.checks li {
  position: relative;
  padding-left: 2rem;
  color: var(--text-500);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gradient-soft);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 6px; top: 0.5em;
  width: 8px; height: 5px;
  border-left: 1.5px solid var(--brand-700);
  border-bottom: 1.5px solid var(--brand-700);
  transform: rotate(-45deg);
}
.section--dark .checks li { color: var(--on-dark-muted); }
.section--dark .checks li::after { border-color: var(--cyan-400); }

/* --------------------------------------------------------------------------
   16. CTA
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--ink-950);
  color: var(--on-dark);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 15%, rgba(8, 158, 244, 0.35), transparent 65%),
    radial-gradient(60% 90% at 10% 90%, rgba(1, 49, 155, 0.5), transparent 65%);
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent);
}
.cta h2 { color: var(--on-dark); }
.cta .lede { color: var(--on-dark-muted); }
.cta__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.cta__aside { display: grid; gap: var(--s-4); }
.cta__fact {
  padding: var(--s-4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
}
.cta__fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--on-dark);
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.cta__fact span { font-size: var(--fs-xs); color: var(--on-dark-faint); }

/* Promo band — light-touch entry point to the readiness assessment */
.promo {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 140% at 100% 0%, rgba(8, 158, 244, 0.09), transparent 60%),
    var(--white);
}
.promo__copy h2 { font-size: var(--fs-h2); margin-bottom: var(--s-4); }
.promo__copy p { color: var(--text-500); max-width: 44rem; }
.promo__note { margin-top: var(--s-5); font-size: var(--fs-xs); color: var(--text-400); }

.promo__pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.promo__pillars li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: var(--fs-sm);
  color: var(--text-700);
}
.promo__pillars span {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  color: var(--brand-400);
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--ink-950);
  color: var(--on-dark-muted);
  padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem) var(--s-6);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__logo img { height: 30px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--s-4); }
.footer p { font-size: var(--fs-sm); color: var(--on-dark-faint); }

.footer h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: var(--s-4);
  font-weight: 600;
}
.footer__links { display: grid; gap: var(--s-3); }
.footer__links a { font-size: var(--fs-sm); color: var(--on-dark-faint); transition: color var(--t-fast); }
.footer__links a:hover { color: var(--on-dark); }

.footer__contact { display: grid; gap: var(--s-3); font-size: var(--fs-sm); }
.footer__contact a { color: var(--on-dark-muted); }
.footer__contact a:hover { color: var(--on-dark); }
.footer__contact div { display: flex; gap: var(--s-3); }
.footer__contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--brand-400); }

.socials { display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.socials a {
  width: 38px; height: 38px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--on-dark-muted);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.socials a:hover { background: rgba(255, 255, 255, 0.1); color: var(--on-dark); border-color: rgba(255, 255, 255, 0.3); }
.socials svg { width: 16px; height: 16px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding-top: var(--s-5);
  font-size: var(--fs-xs);
  color: var(--on-dark-faint);
}

/* --------------------------------------------------------------------------
   18. Forms
   -------------------------------------------------------------------------- */

.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.field--full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: var(--s-2);
  letter-spacing: 0.01em;
}

input, textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--text-900);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
input::placeholder, textarea::placeholder { color: var(--text-400); }

input:focus, textarea:focus, select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(8, 158, 244, 0.14);
}
textarea { resize: vertical; min-height: 132px; }

.field-error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--sig-high);
  margin-top: var(--s-2);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--sig-high); background: rgba(242, 96, 60, 0.04); }
.field.has-error .field-error { display: block; }

.form-note { font-size: var(--fs-xs); color: var(--text-400); }

.form-status {
  display: none;
  margin-top: var(--s-4);
  padding: var(--s-4);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  border: 1px solid transparent;
}
.form-status.is-success {
  display: block;
  background: rgba(34, 197, 139, 0.08);
  border-color: rgba(34, 197, 139, 0.3);
  color: #0d7a52;
}
.form-status.is-error {
  display: block;
  background: rgba(242, 96, 60, 0.07);
  border-color: rgba(242, 96, 60, 0.3);
  color: #b8371c;
}

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* Contact info list */
.info-list { display: grid; gap: var(--s-5); }
.info-item { display: flex; gap: var(--s-4); }
.info-item__icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: grid;
  place-content: center;
  border-radius: var(--r-sm);
  background: var(--gradient-soft);
  color: var(--brand-700);
}
.info-item__icon svg { width: 19px; height: 19px; }
.info-item h3 { font-size: var(--fs-sm); margin-bottom: 2px; }
.info-item p, .info-item a { font-size: var(--fs-sm); color: var(--text-500); margin: 0; }
.info-item a:hover { color: var(--brand-700); }

/* --------------------------------------------------------------------------
   19. Article
   -------------------------------------------------------------------------- */

.article { max-width: 46rem; margin-inline: auto; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--text-400);
  margin-bottom: var(--s-5);
}
.article__meta span { display: inline-flex; align-items: center; gap: var(--s-2); }
.article__meta i {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
  display: block;
}
.article__hero {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  aspect-ratio: 16 / 9;
}
.article__hero img { width: 100%; height: 100%; object-fit: cover; }

.prose { font-size: 1.09rem; line-height: 1.75; color: var(--text-700); }
.prose h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.85rem);
  margin-top: var(--s-8);
  margin-bottom: var(--s-4);
}
.prose p { margin-bottom: var(--s-5); }
.prose > p:first-of-type {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-900);
}
.prose blockquote {
  margin: var(--s-7) 0;
  padding: var(--s-5) var(--s-6);
  border-left: 3px solid var(--brand-400);
  background: var(--surface);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--text-900);
}
.prose blockquote p { margin: 0; }

.article__foot {
  margin-top: var(--s-9);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   20. Motion
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }
.reveal[data-delay="4"] { transition-delay: 360ms; }

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

/* --------------------------------------------------------------------------
   21. Risk readiness assessment
   -------------------------------------------------------------------------- */

.rra { max-width: 54rem; }

.rra__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  color: var(--text-500);
}
.rra__facts strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-900);
  margin-right: var(--s-2);
}
.rra__facts span { color: var(--text-400); }

.rra__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.rra__card h2 { font-size: var(--fs-h3); margin-bottom: var(--s-5); }
.rra__intro-copy { color: var(--text-500); font-size: var(--fs-sm); margin-bottom: var(--s-6); }
.rra__optional { font-weight: 400; color: var(--text-400); }

/* Progress */
.rra__progress { margin-bottom: var(--s-5); }
.rra__progress-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  font-size: var(--fs-xs);
  color: var(--text-500);
  margin-bottom: var(--s-2);
}
.rra__bar {
  position: relative;
  height: 5px;
  background: var(--surface-2);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.rra__bar i {
  display: block;
  height: 100%;
  background: var(--gradient);
  border-radius: inherit;
  transition: width var(--t-med);
}
.rra__bar--lg { height: 8px; background: var(--line); }

/* Questions */
.rra__q {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: var(--s-6) 0 0;
}
.rra__q + .rra__q { margin-top: var(--s-6); }
.rra__q.is-missing { border-top-color: var(--sig-high); }

/* Floated full-width legend, so the fieldset border draws above it rather than
   through it — the default legend "notch" behaviour. */
.rra__q legend {
  float: left;
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.075rem;
  line-height: 1.35;
  color: var(--text-900);
  letter-spacing: -0.015em;
  padding: 0;
  margin-bottom: var(--s-4);
}
.rra__q-num {
  font-size: var(--fs-xs);
  color: var(--brand-500);
  letter-spacing: 0.08em;
  margin-right: var(--s-2);
}

.rra__opts { clear: both; display: grid; gap: var(--s-2); }

.rra__opt {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: 0.75rem 0.9rem;
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--text-700);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.rra__opt:hover { border-color: var(--line-strong); background: var(--white); }
.rra__opt input { position: absolute; opacity: 0; width: 0; height: 0; }

.rra__opt-mark {
  width: 17px; height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.rra__opt.is-selected {
  border-color: var(--brand-400);
  background: rgba(8, 158, 244, 0.05);
  color: var(--text-900);
}
.rra__opt.is-selected .rra__opt-mark {
  border-color: var(--brand-500);
  box-shadow: inset 0 0 0 4px var(--brand-500);
}
.rra__opt:focus-within { box-shadow: 0 0 0 4px rgba(8, 158, 244, 0.14); border-color: var(--brand-400); }

.rra__error {
  margin: var(--s-5) 0 0;
  font-size: var(--fs-sm);
  color: var(--sig-high);
}

.rra__nav {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.rra__resume { margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--text-400); }
.rra__linkbtn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--brand-700);
  text-decoration: underline;
  cursor: pointer;
}

/* Results */
.rra__results {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.rra__score {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--ink-900);
  background-image: radial-gradient(60% 120% at 12% 0%, rgba(8, 158, 244, 0.28), transparent 60%);
}
.rra__score h2 { color: var(--on-dark); font-size: var(--fs-h2); margin-bottom: var(--s-3); }
/* Headings are focused programmatically as a scroll target, not as a control. */
.rra h2[tabindex="-1"]:focus { outline: none; }
.rra__score p { color: var(--on-dark-muted); font-size: var(--fs-sm); }
.rra__score .eyebrow { color: var(--cyan-400); }

.rra__ring { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.rra__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.rra__ring-track { stroke: rgba(255, 255, 255, 0.1); }
.rra__ring-value { stroke: url(#rraGradient); stroke-linecap: round; }
.rra__ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1;
}
.rra__ring-label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--on-dark);
  letter-spacing: -0.04em;
}
.rra__ring-label span { font-size: var(--fs-xs); color: var(--on-dark-faint); }

.rra__meta {
  margin-top: var(--s-4);
  font-size: var(--fs-xs);
  color: var(--on-dark-faint);
}

.rra__section {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.rra__section h3 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-400); margin-bottom: var(--s-5); }
.rra__section-lede {
  margin: calc(var(--s-5) * -1 + var(--s-2)) 0 var(--s-5);
  font-size: var(--fs-sm);
  color: var(--text-500);
  max-width: 46rem;
}

/* Radar — pillar profile against the typical profile */
.rra__radar { display: grid; justify-items: center; gap: var(--s-4); }
.rra__radar svg { width: 100%; max-width: 380px; height: auto; overflow: visible; }
.rra__radar-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.rra__radar-spoke { stroke: var(--line); stroke-width: 1; }
.rra__radar-bench {
  fill: none;
  stroke: var(--text-400);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}
.rra__radar-you {
  fill: url(#rraRadarFill);
  stroke: var(--brand-400);
  stroke-width: 2;
  stroke-linejoin: round;
}
.rra__radar-dot { fill: var(--brand-400); }
.rra__radar-label {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  fill: var(--text-700);
}
.rra__radar-value { font-size: 16px; fill: var(--brand-700); }

.rra__legend {
  display: flex;
  gap: var(--s-5);
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--text-500);
}
.rra__legend li { display: flex; align-items: center; gap: var(--s-2); }
.rra__key { width: 18px; height: 0; border-top: 2px solid var(--brand-400); }
.rra__key--bench { border-top-style: dashed; border-top-color: var(--text-400); }

.rra__pillars { display: grid; gap: var(--s-6); }
.rra__pillar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-4);
  margin-bottom: var(--s-2);
}
.rra__pillar-head strong { font-family: var(--font-display); color: var(--text-900); }
.rra__pillar-head span { font-family: var(--font-display); font-size: 1.15rem; color: var(--text-900); }
.rra__pillar-head i { font-style: normal; font-size: var(--fs-xs); color: var(--text-400); }
.rra__pillar-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  margin: var(--s-2) 0 0;
  font-size: var(--fs-xs);
  color: var(--text-400);
}

/* Tick marking the typical score on a pillar bar */
.rra__bench {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 2px;
  margin-left: -1px;
  background: var(--text-900);
  opacity: 0.45;
}

.rra__delta { font-weight: 600; }
.rra__delta--up { color: var(--sig-low); }
.rra__delta--down { color: var(--sig-high); }

/* Which answers dragged a pillar down */
.rra__drags {
  list-style: none;
  padding: 0;
  margin: var(--s-3) 0 0;
  display: grid;
  gap: var(--s-2);
}
.rra__drags li {
  display: flex;
  gap: var(--s-3);
  font-size: var(--fs-xs);
  color: var(--text-500);
  line-height: 1.5;
}
.rra__drag-score {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: var(--r-pill);
  background: rgba(224, 78, 78, 0.12);
  color: var(--sig-high);
}
.rra__drags-none {
  margin: var(--s-3) 0 0;
  font-size: var(--fs-xs);
  color: var(--sig-low);
}

/* Sector module result */
.rra__module {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-6);
  align-items: start;
  padding: var(--s-5);
  background: var(--surface);
  border-radius: var(--r-md);
}
.rra__module-score { text-align: center; }
.rra__module-score strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--text-900);
}
.rra__module-score span { font-size: var(--fs-xs); color: var(--text-400); }
.rra__module-score em {
  display: block;
  margin-top: var(--s-2);
  font-style: normal;
  font-size: var(--fs-xs);
  color: var(--text-500);
}
.rra__module-copy > p:first-child { margin: 0; font-size: var(--fs-sm); color: var(--text-700); }

.rra__disclaimer {
  margin: 0;
  padding: 0 clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  font-size: var(--fs-xs);
  color: var(--text-400);
}
.rra__bench-line { margin-top: var(--s-3); font-size: var(--fs-sm); }
.rra__hint { margin: var(--s-2) 0 0; font-size: var(--fs-xs); color: var(--text-400); }

.rra__actions { display: grid; gap: var(--s-5); list-style: none; padding: 0; margin: 0; }
.rra__actions li { display: flex; gap: var(--s-4); }
.rra__actions strong { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-700); margin-bottom: var(--s-1); }
.rra__actions p { margin: 0; font-size: var(--fs-sm); color: var(--text-700); }
.rra__action-num {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--text-400);
  flex-shrink: 0;
  padding-top: 2px;
}
.rra__sector-note {
  margin: var(--s-6) 0 0;
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--brand-400);
  background: var(--surface);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: var(--fs-sm);
  color: var(--text-700);
}

.rra__after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin-top: var(--s-5);
}
.rra__after h3 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.rra__after p { font-size: var(--fs-sm); color: var(--text-500); margin-bottom: var(--s-5); }
.rra__card--next { background: var(--surface); box-shadow: none; }
.rra__tools { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* Pillar explainer list */
.rra__pillars-list { display: grid; gap: var(--s-5); list-style: none; padding: 0; margin: 0; }
.rra__pillars-list li {
  display: flex;
  gap: var(--s-4);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.rra__pillars-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.rra__pillars-list span {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--cyan-400);
  flex-shrink: 0;
}
.rra__pillars-list h3 { font-size: var(--fs-sm); margin-bottom: var(--s-1); }
.rra__pillars-list p { font-size: var(--fs-sm); color: var(--on-dark-muted); margin: 0; }

/* Print — the report only */
@media print {
  .header, .drawer, .footer, .skip-link,
  .rra__explainer, .rra__after, .rra__facts { display: none !important; }

  body { background: var(--white); }
  .section { padding-block: 0; }
  .rra, .container { max-width: none; padding: 0; }

  .rra__results { border: 0; box-shadow: none; }
  .rra__score {
    background: var(--white);
    color: var(--text-900);
    padding-inline: 0;
    border-bottom: 2px solid var(--text-900);
  }
  .rra__score h2, .rra__ring-label strong { color: var(--text-900); }
  .rra__score p, .rra__meta, .rra__ring-label span { color: var(--text-700); }
  .rra__ring-track { stroke: var(--line); }
  .rra__section { padding-inline: 0; }
  .rra__disclaimer { padding-inline: 0; }
  .rra__bench-line { color: var(--text-700); }
  .rra__bar, .rra__bar i, .rra__bench, .rra__ring-value,
  .rra__radar-you, .rra__radar-dot, .rra__drag-score {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  /* Keep each pillar and its detail on one page */
  .rra__pillar, .rra__module, .rra__actions li { break-inside: avoid; }
  .rra__section { break-inside: avoid-page; }
}

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { max-width: 520px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .promo { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-7); }
}

@media (max-width: 880px) {
  .header__nav, .header__email { display: none; }
  .burger { display: flex; }
  .header__actions .btn--primary { display: none; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
  .field-grid { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .rra__after { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .panel__body { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .panel__foot { grid-template-columns: 1fr; gap: var(--s-3); }
  .panel__metric { display: flex; align-items: baseline; gap: var(--s-3); }
  .process { grid-template-columns: 1fr; }
  .trust__inner { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .hero__proof { flex-direction: column; align-items: flex-start; }
  .rra__score { flex-direction: column; align-items: flex-start; }
  .rra__module { grid-template-columns: 1fr; gap: var(--s-4); }
  .rra__module-score { text-align: left; display: flex; align-items: baseline; gap: var(--s-2); }
  .rra__module-score em { margin: 0; }
  .rra__nav { flex-direction: column-reverse; }
  .rra__nav .btn { justify-content: center; }
}
