/* ═══════════════════════════════════════════════
   DESIGN TOKENS — from brand-guidelines.pdf
   ═══════════════════════════════════════════════ */

:root {
  /* ── Brand Colors ── */
  --color-palatinate-blue: #2853E0;
  --color-carrot-orange: #E76430;
  --color-egyptian-blue: #0D2F9E;
  --color-pearl-aqua: #7FD5BB;
  --color-shamrock: #61A473;
  --color-satin-gold: #CDA44A;

  /* ── Neutrals ── */
  --color-white: #ffffff;
  --color-ink: #0a1628;
  --color-surface: #f4f6fd;
  --color-rule: #dde4f4;
  --color-rule-strong: #c0cbe8;
  --color-body: #2a3a5c;
  --color-mid: #8fa0c0;
  --color-mid-accessible: #5b6b98;

  /* ── Semantic Aliases ── */
  --color-primary: var(--color-palatinate-blue);
  --color-cta: #C54E1C;
  --color-deep: var(--color-egyptian-blue);
  --color-accent: var(--color-pearl-aqua);
  --color-text: var(--color-ink);
  --color-text-body: var(--color-body);
  --color-text-muted: var(--color-mid-accessible);

  /* ── Typography ── */
  --font-primary: 'Montserrat', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --line-height-tight: 1.1;
  --line-height-snug: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-eyebrow: 0.14em;

  /* ── Spacing Scale ── */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  --section-padding: 56px 0;

  /* ── Layout ── */
  --nav-height: 64px;
  --max-width: 1140px;
  --max-width-narrow: 720px;

  /* ── Borders & Radii ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 100px;

  /* ── Shadows ── */
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 30px rgba(40, 83, 224, 0.08);
  --shadow-lg: 0 16px 48px rgba(40, 83, 224, 0.12);
  --shadow-card-hover: 0 12px 36px rgba(40, 83, 224, 0.14);

  /* ── Transitions ── */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.35s ease;
}


/* ═══════════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════════ */

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

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  text-wrap: balance;
}

p {
  overflow-wrap: break-word;
}


/* ═══════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════ */

body {
  font-family: var(--font-primary);
  font-weight: var(--font-weight-regular);
  font-size: 1rem;
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Headings ── */

h1, .h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}

h2, .h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

h3, .h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-snug);
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

h4, .h4 {
  font-size: clamp(1.0625rem, 1.6vw, 1.2rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-snug);
  color: var(--color-ink);
}

/* ── Body text ── */

p {
  color: var(--color-text-body);
  line-height: var(--line-height-relaxed);
}

.text-large {
  font-size: clamp(1.0625rem, 1.5vw, 1.2rem);
  line-height: var(--line-height-relaxed);
}

.text-small {
  font-size: 0.9rem;
}

.text-xs {
  font-size: 0.8125rem;
}

/* ── Eyebrow / Label ── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.eyebrow::before {
  display: none;
}

.eyebrow--light {
  color: var(--color-pearl-aqua);
}

/* ── Emphasis / Accent ──
   Use Palatinate Blue for emphasis on white backgrounds (4.86:1 contrast).
   Pearl Aqua (#7FD5BB) only on dark backgrounds. */

.accent {
  color: var(--color-cta);
  font-weight: var(--font-weight-semibold);
}

em, .italic {
  font-style: italic;
}

h1 em,
h2 em,
h3 em {
  color: var(--color-primary);
}

/* ── Links ── */

.link {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.link:hover {
  text-decoration: underline;
}

/* ── Pull Quote ── */

.pull-quote {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-ink);
  border-left: 4px solid var(--color-primary);
  padding-left: 1.2rem;
  margin: var(--space-xl) 0;
}

.pull-quote em {
  color: var(--color-primary);
}


/* ═══════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════ */

/* ── Container ── */

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

.container--narrow {
  max-width: var(--max-width-narrow);
}

/* ── Sections ── */

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

.section__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}

.section__inner--narrow {
  max-width: 900px;
}

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

/* Collapse padding between adjacent same-background sections */
.section--surface + .section--surface {
  padding-top: 0;
}

.section:not([class*="--"]) + .section:not([class*="--"]) {
  padding-top: 0;
}

.section--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.section--deep {
  background: var(--color-deep);
  color: var(--color-white);
}

.section--ink {
  background: var(--color-ink);
  color: var(--color-white);
}

.section--overflow {
  position: relative;
  overflow: hidden;
}

/* ── Section Header ── */

.section-header {
  max-width: var(--max-width);
  margin-inline: auto;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-inline: auto;
}

.section-header p {
  max-width: 560px;
  margin-top: 0.5rem;
}

/* Dark section overrides */
.section--primary h1,
.section--primary h2,
.section--primary h3,
.section--deep h1,
.section--deep h2,
.section--deep h3,
.section--ink h1,
.section--ink h2,
.section--ink h3 {
  color: var(--color-white);
}

.section--primary h2 em,
.section--deep h2 em,
.section--ink h2 em {
  color: var(--color-pearl-aqua);
}

.section--primary .section-header h2,
.section--deep .section-header h2,
.section--ink .section-header h2 {
  color: var(--color-white);
}

.section--primary .section-header p,
.section--deep .section-header p,
.section--ink .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

/* ── Grids ── */

.grid {
  display: grid;
  gap: var(--space-lg);
}

.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--2-1 {
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.grid--sidebar {
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* ── Flex layouts ── */

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-col--sm { gap: 0.8rem; }
.flex-col--md { gap: 0.85rem; }

.flex-center {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Sticky sidebar ── */

.sticky-card {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

/* ── Responsive ── */

@media (max-width: 860px) {
  .grid--2-1,
  .grid--sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --section-padding: 48px 0;
  }

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

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

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .grid--4 {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-weight: var(--font-weight-bold);
  font-size: 0.9375rem;
  line-height: 1;
  padding: 0.78rem 2rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  transform: translateY(-2px);
}

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

/* ── Primary — Orange CTA ── */

.btn--primary {
  background: #c74e1c;
  color: var(--color-white);
  border-color: #c74e1c;
}

.btn--primary:hover {
  background: #a84312;
  border-color: #a84312;
  box-shadow: 0 6px 20px rgba(231, 100, 48, 0.3);
}

.btn--primary:focus-visible {
  outline-color: var(--color-ink);
}

/* ── Secondary — Ghost/border (white text on dark bg) ── */

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--secondary:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

/* ── Secondary Dark — Ghost/border (dark text on light bg) ── */

.btn--secondary-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-rule);
}

.btn--secondary-dark:hover {
  border-color: var(--color-primary);
  background: rgba(40, 83, 224, 0.04);
}

/* ── Outline — Blue border on light bg ── */

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ── Small variant ── */

.btn {
  min-height: 44px;
}

.btn--sm {
  font-size: 0.875rem;
  padding: 0.6rem 1.4rem;
  min-height: 40px;
}

/* ── Mobile: prevent overflow ── */

@media (max-width: 520px) {
  .btn {
    white-space: normal;
    max-width: 100%;
    text-align: center;
  }
}

/* ── Button row ── */

.btn-row {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ── Logo ── */

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  height: clamp(24px, 3vw, 30px);
  width: auto;
  display: block;
  transition: opacity var(--transition-fast);
}

.nav__logo:hover .nav__logo-img {
  opacity: 0.8;
}

/* ── Links ── */

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav__link {
  color: var(--color-body);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav__link:hover {
  color: var(--color-primary);
}

.nav__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav__link--active {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
}

/* ── CTA & Login ── */

.nav__cta {
  background: #c04a18;
  color: var(--color-white);
  padding: 0.48rem 1.3rem;
  border-radius: var(--radius-pill);
  font-weight: var(--font-weight-bold);
  font-size: 0.8125rem;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav__cta:hover {
  background: #a84312;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(231, 100, 48, 0.25);
}

.nav__login {
  border: 1.5px solid var(--color-rule);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  color: var(--color-body);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-medium);
  transition: border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.nav__login:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ── Hamburger ── */

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  flex-shrink: 0;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  position: absolute;
  left: 11px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav__hamburger span:nth-child(1) { top: 12px; }
.nav__hamburger span:nth-child(2) { top: 19px; }
.nav__hamburger span:nth-child(3) { top: 26px; }

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile ── */

@media (max-width: 860px) {
  .nav__hamburger {
    display: block;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem clamp(1.5rem, 4vw, 3rem);
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
    border-top: 1px solid var(--color-rule);
  }

  .nav__links.is-open {
    transform: translateX(0);
  }

  .nav__link,
  .nav__login,
  .nav__cta {
    font-size: 1rem;
    padding: 0.875rem 1rem;
    width: 100%;
    display: block;
    border-radius: 0;
    border: none;
    text-align: left;
  }

  .nav__link {
    border-bottom: 1px solid var(--color-rule);
  }

  .nav__cta {
    margin-top: var(--space-md);
    text-align: center;
    border-radius: var(--radius-pill);
    padding: 0.75rem 2rem;
    width: auto;
  }

  .nav__login {
    border-bottom: 1px solid var(--color-rule);
  }
}

/* ── Body offset for fixed nav ── */

body {
  padding-top: var(--nav-height);
  overflow-x: hidden;
}


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

.footer {
  background: linear-gradient(to bottom, #2550d4 0%, var(--color-primary) 8%, var(--color-primary) 100%);
  padding: clamp(3rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
}

/* ── Top grid ── */

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  max-width: var(--max-width);
  margin-inline: auto;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Brand column ── */

.footer__brand-logo {
  display: inline-block;
  margin-bottom: 0.8rem;
}

.footer__logo-img {
  height: clamp(26px, 3vw, 32px);
  width: auto;
  display: block;
}

.footer__brand-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: var(--font-weight-light);
  line-height: 1.7;
  max-width: 260px;
}

/* ── Link columns ── */

.footer__col-title {
  font-size: 0.6875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}

.footer__col a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 0;
  transition: color var(--transition-fast);
}

.footer__col a:hover {
  color: var(--color-white);
}

/* ── Bottom bar ── */

.footer__bottom {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: var(--font-weight-light);
}

.footer__legal {
  display: flex;
  gap: 1.2rem;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--color-white);
}

/* ── Responsive ── */

@media (max-width: 760px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand-text {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */

/* ── Home Hero ── */

.hero {
  background: var(--color-white);
  min-height: calc(100vh - var(--nav-height));
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 6vw, 6%) clamp(4rem, 8vw, 5rem);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: var(--max-width);
  margin-inline: auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Decorative circles — brand motif on white */
.hero__circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__circle--1 {
  width: clamp(300px, 45vw, 600px);
  height: clamp(300px, 45vw, 600px);
  background: var(--color-primary);
  opacity: 0.06;
  top: -20%;
  right: -10%;
}

.hero__circle--2 {
  width: clamp(140px, 20vw, 280px);
  height: clamp(140px, 20vw, 280px);
  background: var(--color-pearl-aqua);
  opacity: 0.12;
  bottom: -8%;
  right: 22%;
}

.hero__circle--3 {
  width: 100px;
  height: 100px;
  background: var(--color-cta);
  opacity: 0.1;
  top: 22%;
  right: 16%;
}

.hero__circle--4 {
  width: 40px;
  height: 40px;
  background: var(--color-satin-gold);
  opacity: 0.18;
  top: 42%;
  right: 32%;
}

/* Left content */
.hero__content {
  animation: fade-up 0.6s ease both;
}

.hero h1 {
  color: var(--color-ink);
}

.hero h1 em {
  color: var(--color-primary);
}

.hero h1 .accent {
  color: var(--color-cta);
}

.hero__statement {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: var(--font-weight-light);
  font-style: italic;
  color: var(--color-text-body);
  border-left: 3px solid var(--color-primary);
  padding-left: 1.1rem;
  margin: 1.4rem 0 1.2rem;
  line-height: var(--line-height-relaxed);
  max-width: 560px;
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-regular);
  max-width: 500px;
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-xl);
}

/* Right — stat cards on white background */
.hero__cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  animation: fade-up 0.6s ease 0.15s both;
}

.hero-card {
  background: var(--color-surface);
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.hero-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(40, 83, 224, 0.3);
}

.hero-card__label {
  font-size: 0.6875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.hero-card__value {
  font-size: 1.5rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-card__sub {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-regular);
  margin-top: 0.25rem;
}

.hero-card__bar {
  height: 4px;
  background: var(--color-rule);
  border-radius: 2px;
  margin-top: 0.8rem;
  overflow: hidden;
}

.hero-card__fill {
  height: 100%;
  border-radius: 2px;
  background: var(--color-primary);
  transition: width 1s ease 0.5s;
}

/* ── Hero Background Image ── */

.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-white) 10%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0.4) 100%);
}

/* ── Responsive ── */

@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__cards {
    display: none;
  }

  .hero__bg {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
  }
}

/* ═══════════════════════════════════════════════
   INNER PAGE HERO
   ═══════════════════════════════════════════════ */

.hero-page {
  padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 6vw, 6%) clamp(3rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 44vh;
}

/* Default: white background with dark text */
.hero-page {
  background: var(--color-white);
}

/* Keep colored variants for selective use */
.hero-page--primary {
  background: var(--color-primary);
}

.hero-page--deep {
  background: var(--color-deep);
}

.hero-page--ink {
  background: var(--color-ink);
}

.hero-page__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  animation: fade-up 0.5s ease both;
}

/* Default (white bg) text colors */
.hero-page h1 {
  color: var(--color-ink);
  max-width: 860px;
}

.hero-page h1 em {
  color: var(--color-primary);
}

.hero-page__statement {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: var(--font-weight-light);
  font-style: italic;
  color: var(--color-text-body);
  border-left: 3px solid var(--color-primary);
  padding-left: 1.1rem;
  margin-top: 1.4rem;
  line-height: var(--line-height-relaxed);
  max-width: 620px;
}

.hero-page__subtitle {
  font-size: 1rem;
  color: var(--color-text-body);
  font-weight: var(--font-weight-regular);
  max-width: 560px;
  line-height: var(--line-height-relaxed);
  margin-top: 1rem;
}

/* Dark bg overrides (primary/deep/ink) */
.hero-page--primary h1,
.hero-page--deep h1,
.hero-page--ink h1 {
  color: var(--color-white);
}

.hero-page--primary h1 em,
.hero-page--deep h1 em,
.hero-page--ink h1 em {
  color: var(--color-pearl-aqua);
}

.hero-page--primary .hero-page__statement,
.hero-page--deep .hero-page__statement,
.hero-page--ink .hero-page__statement {
  color: rgba(255, 255, 255, 0.85);
  border-left-color: var(--color-pearl-aqua);
}

.hero-page--primary .hero-page__subtitle,
.hero-page--deep .hero-page__subtitle,
.hero-page--ink .hero-page__subtitle {
  color: rgba(255, 255, 255, 0.55);
}

.hero-page--primary .eyebrow--light,
.hero-page--deep .eyebrow--light,
.hero-page--ink .eyebrow--light {
  color: var(--color-pearl-aqua);
}


/* ═══════════════════════════════════════════════
   SECTION-SPECIFIC STYLES
   ═══════════════════════════════════════════════ */

/* ── Trust Band ── */

.trust-band {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-rule);
  padding: clamp(1rem, 2.5vw, 1.6rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-band__label {
  font-size: 0.6875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-muted);
  flex-shrink: 0;
  white-space: nowrap;
}

.trust-band__items {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-band__item {
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-deep);
  white-space: nowrap;
}

.trust-band__logo {
  height: 36px;
  width: auto;
  display: block;
  filter: grayscale(1) opacity(0.6);
  transition: filter var(--transition-base);
}

.trust-band__logo--invert {
  filter: grayscale(1) opacity(0.6) invert(1);
}

.trust-band__logo:hover {
  filter: grayscale(0) opacity(1);
}

.trust-band__logo--invert:hover {
  filter: grayscale(0) opacity(1) invert(1);
}

/* ── Stats Band ── */

.stats-band {
  background: var(--color-surface);
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stats-band__item {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.stats-band__value {
  display: block;
  font-size: 1.7rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.03em;
}

.stats-band__label {
  font-size: 0.6875rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stats-band__divider {
  width: 1px;
  height: 34px;
  background: var(--color-rule);
  flex-shrink: 0;
}

/* ── Market Context / Stat Cards ── */

.stat-card {
  background: var(--color-white);
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-md);
  padding: clamp(1.1rem, 2.5vw, 1.4rem);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(40, 83, 224, 0.3);
}

.stat-card__number {
  font-size: 2.2rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.stat-card p {
  font-size: 0.9rem;
  color: var(--color-text-body);
  line-height: 1.55;
}

.stat-card__source {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.45rem;
  font-weight: var(--font-weight-medium);
}

/* ── "Why" / Principle Cards ── */

.why-card {
  background: var(--color-surface);
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.why-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(40, 83, 224, 0.2);
}

.why-card__num {
  font-size: 1.2rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
}

.why-card h3 {
  color: var(--color-ink);
  margin-bottom: 0.25rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--color-text-body);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
}

/* Dark bg variant for why-cards */
.section--ink .why-card,
.section--deep .why-card,
.section--primary .why-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.section--ink .why-card:hover,
.section--deep .why-card:hover,
.section--primary .why-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.section--ink .why-card__num,
.section--deep .why-card__num,
.section--primary .why-card__num {
  color: var(--color-pearl-aqua);
}

.section--ink .why-card h3,
.section--deep .why-card h3,
.section--primary .why-card h3 {
  color: var(--color-white);
}

.section--ink .why-card p,
.section--deep .why-card p,
.section--primary .why-card p {
  color: rgba(255, 255, 255, 0.75);
  font-weight: var(--font-weight-regular);
}

/* ── Mission Cards (large number decorative) ── */

.mission-card {
  background: var(--color-surface);
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.mission-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(40, 83, 224, 0.2);
}

.mission-card__num {
  font-size: 2rem;
  font-weight: var(--font-weight-extrabold);
  color: rgba(40, 83, 224, 0.7);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.mission-card h3 {
  margin-bottom: 0.4rem;
}

.mission-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Audience / "For" Cards ── */

.for-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.2rem) clamp(1.4rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.for-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.for-card--employer  { background: var(--color-primary); }
.for-card--workforce { background: var(--color-deep); }
.for-card--provider  { background: var(--color-ink); }

.for-card__circle {
  position: absolute;
  border-radius: 50%;
  right: -40px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  opacity: 0.12;
}

.for-card--employer .for-card__circle  { background: var(--color-pearl-aqua); }
.for-card--workforce .for-card__circle { background: var(--color-cta); }
.for-card--provider .for-card__circle  { background: var(--color-primary); }

.for-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
}

.for-card--employer .for-card__tag  { background: rgba(127, 213, 187, 0.2); color: var(--color-white); }
.for-card--workforce .for-card__tag { background: rgba(231, 100, 48, 0.2); color: #f4a07a; }
.for-card--provider .for-card__tag  { background: rgba(40, 83, 224, 0.25); color: #a0b4f4; }

.for-card h3 {
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 0.6rem;
}

.for-card > p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-weight: var(--font-weight-regular);
  margin-bottom: 1.5rem;
}

.for-card__list li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.for-card__list li::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background: rgba(127, 213, 187, 0.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='7' viewBox='0 0 24 24' fill='none' stroke='%237FD5BB' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center/7px;
}

/* ── Impact Cards ── */

.impact-card {
  background: var(--color-surface);
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.3rem;
  text-align: center;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.impact-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(40, 83, 224, 0.3);
}

.impact-card__value {
  display: block;
  font-size: 2.2rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.impact-card p {
  font-size: 0.9rem;
  color: var(--color-text-body);
  font-weight: var(--font-weight-regular);
  line-height: 1.55;
}

/* ── Social Proof Row ── */

.proof-item {
  background: var(--color-white);
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-deep);
  min-width: 140px;
  transition: box-shadow var(--transition-base);
}

.proof-item:hover {
  box-shadow: var(--shadow-sm);
}

.proof-item__logo {
  height: 32px;
  width: auto;
  display: block;
  margin: 0 auto 0.6rem;
  object-fit: contain;
}

.proof-item span {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ── CTA Banner ── */

.cta-banner {
  background: var(--color-ink);
  padding: var(--section-padding);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 0.8rem;
}

.cta-banner h2 em {
  color: var(--color-pearl-aqua);
}

.cta-banner p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
  line-height: var(--line-height-relaxed);
  font-weight: var(--font-weight-light);
}

.cta-banner .btn-row {
  justify-content: center;
}

/* ── Feature List ── */

.feature-list li {
  font-size: 0.9375rem;
  color: var(--color-text-body);
  padding: 0.65rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border-bottom: 1.5px solid var(--color-rule-strong);
}

.feature-list li:last-child {
  border: none;
}

.feature-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background: rgba(97, 164, 115, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%2361A473' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center/8px;
}

/* ── Founder Card ── */

.founder-card {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.2rem;
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-egyptian-blue) 100%);
}

.founder-card__initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: var(--font-weight-extrabold);
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: -4px;
}

.founder-card__caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
}

.founder-card__name {
  font-size: 0.9rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  margin-bottom: 0.1rem;
}

.founder-card__role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ── Tag Pills (inline badges) ── */

.tag-pill {
  font-size: 0.6875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
}

.tag-pill--blue   { background: rgba(40, 83, 224, 0.1); color: var(--color-primary); }
.tag-pill--green  { background: rgba(97, 164, 115, 0.12); color: #356b47; }
.tag-pill--orange { background: rgba(231, 100, 48, 0.1); color: #a84312; }

/* ── Stat Row (founder sidebar) ── */

.stat-row {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
  padding: 0.9rem 0;
}

.stat-row__item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-deep);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-row__item span {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Timeline ── */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin-top: var(--space-xl);
}

.timeline__line {
  position: absolute;
  left: 22px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--color-rule);
}

.timeline__item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.2rem;
  position: relative;
}

.timeline__marker {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.timeline__content {
  padding-top: 0.5rem;
}

.timeline__label {
  font-size: 0.6875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.timeline__content h3 {
  font-size: 1.0625rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.35rem;
}

.timeline__content p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── Dashboard Mockup ── */

.dashboard-mock {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.dashboard-mock__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  position: relative;
}

.dashboard-mock__logo {
  font-weight: var(--font-weight-extrabold);
  font-size: 0.9rem;
  color: var(--color-white);
  letter-spacing: -0.04em;
}

.dashboard-mock__tabs {
  display: flex;
  gap: 0.5rem;
}

.dashboard-mock__tab {
  font-size: 0.6rem;
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.5);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.dashboard-mock__tab--active {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.dashboard-mock__title {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: var(--font-weight-medium);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dashboard-mock__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.dashboard-mock__stat {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 0.7rem;
  text-align: center;
}

.dashboard-mock__stat strong {
  display: block;
  font-size: 0.95rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-pearl-aqua);
  letter-spacing: -0.5px;
}

.dashboard-mock__stat span {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.42);
  font-weight: var(--font-weight-medium);
}

.dashboard-mock__bar {
  margin-bottom: 0.5rem;
  position: relative;
}

.dashboard-mock__bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.25rem;
  font-weight: var(--font-weight-medium);
}

.dashboard-mock__bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.dashboard-mock__bar-fill {
  height: 100%;
  border-radius: 3px;
}

/* ── Regulation Card (inline variant) ── */

.reg-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.3rem;
}

.reg-card__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  flex-shrink: 0;
}

.reg-card h3 {
  font-size: 1rem;
  color: var(--color-deep);
  margin-bottom: 0.2rem;
}

.reg-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ── Intro / Lead Paragraphs ── */

.lead-text {
  font-size: 1.0625rem;
  font-weight: var(--font-weight-light);
  font-style: italic;
  color: var(--color-deep);
  line-height: 1.78;
  margin-bottom: 1.4rem;
}

.body-text {
  margin-bottom: 1.4rem;
}

.body-text--strong {
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
}

/* ── Section Image (inline, within content) ── */

.section-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.10);
}

.section-image__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Image Band (full-width break) ── */

.image-band {
  width: 100%;
  max-height: clamp(240px, 50vh, 480px);
  overflow: hidden;
}

.image-band__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Platform Preview Image ── */

.platform-preview {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.platform-preview__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Device Showcase ── */

.device-showcase {
  background: var(--color-surface);
  padding: var(--space-2xl) clamp(1.5rem, 6vw, 6%);
  text-align: center;
}

.device-showcase__inner {
  max-width: 800px;
  margin-inline: auto;
}

.device-showcase__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Screenshot Grid ── */

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.screenshot-grid__item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.10);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.screenshot-grid__item:hover {
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.15);
  transform: translateY(-2px);
}

.screenshot-grid__item--wide {
  grid-column: 1 / -1;
}

.screenshot-grid__item img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-grid__label {
  padding: 0.6rem 0.75rem;
  background: var(--color-surface);
  color: var(--color-body);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.03em;
}

@media (max-width: 520px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
  }
  .screenshot-grid__item--wide {
    grid-column: auto;
  }
}


/* ═══════════════════════════════════════════════
   CARDS — modules, dimensions, badges, generic
   ═══════════════════════════════════════════════ */

/* ── Generic Card ── */

.card {
  background: var(--color-white);
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base),
    border-color var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: rgba(40, 83, 224, 0.3);
}

/* ── Module Cards ── */

.module-card {
  background: var(--color-white);
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.4rem, 2.5vw, 1.8rem);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.module-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(40, 83, 224, 0.3);
}

.module-card__screenshot {
  overflow: hidden;
  margin: -2rem -1.8rem 1.2rem;
  border-bottom: 1px solid var(--color-rule);
}

.module-card__screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.module-card h3 {
  margin-bottom: 0.5rem;
}

.module-card > p {
  font-size: 0.9375rem;
  margin-bottom: 1.2rem;
}

.module-card__features li {
  font-size: 0.875rem;
  color: var(--color-text-body);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.module-card__features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* ── Dimension Cards (ontology) ──
   Light-background variant (default) */

.dimension-card {
  background: var(--color-white);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.2rem;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.dimension-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(40, 83, 224, 0.2);
}

.dimension-card__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: 0.6875rem;
  font-weight: var(--font-weight-extrabold);
  letter-spacing: 0.03em;
  margin-bottom: 0.8rem;
  color: var(--color-white);
}

.dimension-card__pill--ed { background: var(--color-primary); }
.dimension-card__pill--gr { background: #3f7e53; }
.dimension-card__pill--di { background: #3d60d4; }
.dimension-card__pill--lc { background: #c24e1c; }
.dimension-card__pill--re { background: #5a6a8a; }
.dimension-card__pill--hs { background: #7a6220; }

.dimension-card h3 {
  font-size: 1rem;
  color: var(--color-ink);
  margin-bottom: 0.35rem;
}

.dimension-card p {
  font-size: 0.9rem;
  color: var(--color-text-body);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
}

/* ── Badge Level Cards ── */

.badge-card {
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.1rem, 2vw, 1.4rem);
  text-align: center;
  background: var(--color-white);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.badge-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: rgba(40, 83, 224, 0.3);
}

.badge-card__shape {
  width: 64px;
  height: 64px;
  border-radius: 14px 14px 0 0;
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.badge-card__shape::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.badge-card__shape--1 { background: var(--color-primary); }
.badge-card__shape--2 { background: #1e43c7; }
.badge-card__shape--3 { background: #1535ae; }
.badge-card__shape--4 { background: var(--color-deep); }

.badge-card__level {
  font-size: 1.5rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  position: relative;
  z-index: 1;
}

.badge-card__progress {
  height: 4px;
  background: var(--color-rule);
  border-radius: var(--radius-pill);
  margin: 0.8rem 1rem 0.5rem;
  overflow: hidden;
}

.badge-card__progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  transition: width var(--transition-slow);
}

.badge-card h3 {
  font-size: 1rem;
  color: var(--color-deep);
  margin-bottom: 0.4rem;
}

.badge-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
}

/* ── Community / Link Cards ── */

.community-card {
  display: block;
  background: var(--color-white);
  border: 2px solid var(--color-rule-strong);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  position: relative;
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.community-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(40, 83, 224, 0.2);
}

.community-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: var(--shadow-card-hover);
}

.community-card::after {
  content: '\2197';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.community-card:hover::after {
  color: var(--color-primary);
}

.community-card__type {
  font-size: 0.6875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
}

.community-card__type--body    { background: rgba(40, 83, 224, 0.08); color: var(--color-primary); }
.community-card__type--cscs    { background: rgba(13, 47, 158, 0.08); color: var(--color-deep); }
.community-card__type--reg     { background: rgba(97, 164, 115, 0.1); color: #356b47; }
.community-card__type--safety  { background: rgba(231, 100, 48, 0.08); color: #a84312; }
.community-card__type--tech    { background: rgba(127, 213, 187, 0.12); color: #1a6350; }
.community-card__type--industry { background: rgba(205, 164, 74, 0.1); color: #8a6c1e; }

.community-card h3 {
  font-size: 1rem;
  color: var(--color-deep);
  margin-bottom: 0.3rem;
  line-height: var(--line-height-snug);
  padding-right: 1.5rem;
}

.community-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Contact Cards (routing grid) ── */

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  transform: translateY(-40px);
}

.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-rule);
  border-radius: 16px;
  padding: 32px;
  border-top: 4px solid var(--color-rule);
}

.contact-card--orange { border-top-color: var(--color-carrot-orange); }
.contact-card--aqua { border-top-color: var(--color-pearl-aqua); }
.contact-card--blue { border-top-color: var(--color-palatinate-blue); }

.contact-card__icon { font-size: 1.5rem; display: block; margin-bottom: 12px; }
.contact-card__eyebrow { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-mid); margin-bottom: 8px; }
.contact-card h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.contact-card p { font-size: 0.88rem; color: var(--color-body); line-height: 1.6; margin-bottom: 16px; }

/* ── Card Heading Weight ──
   Heavier h3 in card contexts for engineering aesthetic */

.card h3,
.module-card h3,
.stat-card h3,
.why-card h3,
.mission-card h3,
.impact-card h3 {
  font-weight: var(--font-weight-extrabold);
}


/* ═══════════════════════════════════════════════
   BLOG / NEWS
   ═══════════════════════════════════════════════ */

/* ── Post Card (listing) ── */

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1.5px solid var(--color-rule);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  text-decoration: none;
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base),
    border-color var(--transition-base);
}

.post-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: rgba(40, 83, 224, 0.2);
}

.post-card__category {
  font-size: 0.6875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(40, 83, 224, 0.08);
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-bottom: 0.8rem;
}

.post-card__title {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-deep);
  line-height: var(--line-height-snug);
  margin-bottom: 0.6rem;
}

.post-card__excerpt {
  font-size: 0.9375rem;
  color: var(--color-text-body);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}

.post-card__date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  margin-top: auto;
}

/* ── Post Content (article body) ── */

.post-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-body);
}

.post-content h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--color-deep);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.post-content h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--color-deep);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.post-content p {
  margin-bottom: 1.4rem;
}

.post-content strong {
  font-weight: var(--font-weight-bold);
  color: var(--color-ink);
}

.post-content a {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-content a:hover {
  color: var(--color-deep);
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.4rem;
  padding-left: 1.5rem;
}

.post-content ul {
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content li {
  margin-bottom: 0.4rem;
}

.post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding-left: 1.2rem;
  margin: var(--space-xl) 0;
  font-style: italic;
  color: var(--color-deep);
  font-weight: var(--font-weight-medium);
}

.post-content img {
  border-radius: var(--radius-md);
  margin: var(--space-xl) 0;
}

/* ── Pagination ── */

.pagination {
  margin-top: var(--space-2xl);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
}


/* ═══════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════ */

/* ── Text alignment ── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* ── Colors ── */
.text-white  { color: var(--color-white); }
.text-accent { color: var(--color-pearl-aqua); }
.text-muted  { color: var(--color-text-muted); }
.text-ink    { color: var(--color-ink); }

/* ── Spacing ── */
.mt-0  { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ── Max widths ── */
.max-w-narrow  { max-width: var(--max-width-narrow); }
.max-w-content { max-width: var(--max-width); }
.max-w-text    { max-width: 520px; }
.max-w-prose   { max-width: 480px; }
.mx-auto       { margin-inline: auto; }

/* ── Focus States ── */

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ── Skip Link ── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-md);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ── Accessibility ── */
.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;
}

/* ── Animations ── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  animation: fade-up 0.6s ease both;
}

.animate-fade-in {
  animation: fade-in 0.5s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── Decorative Circles (brand motif) ── */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* ── Tag / Pill Row ── */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
}

/* ── Mobile Sticky CTA ── */

.mobile-cta {
  display: none;
}

@media (max-width: 860px) {
  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    text-align: center;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .mobile-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

