/* ============================================================
   PRAGMA AI — Design System
   Institutional · Editorial · B2B
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ─── Tokens ────────────────────────────────────────────── */
:root {
  /* Background tiers */
  --bg:            #F8F7F3;
  --surface:       #FFFFFF;
  --tint:          #EFEDE5;
  --tint-strong:   #E5E3D9;
  --dark:          #0D2B40;
  --dark-mid:      #112F47;

  /* Text */
  --ink:           #111110;
  --ink-muted:     #55554F;
  --ink-subtle:    #9B9B93;
  --ink-inv:       #F0EFE9;
  --ink-inv-muted: #B8B5AA;

  /* Brand */
  --brand:         #0D3B58;
  --brand-mid:     #1A5A84;
  --brand-tint:    #EAF3F9;

  /* Accent (CTAs, highlights) */
  --accent:        #E8801A;
  --accent-hover:  #D0711A;
  --accent-tint:   #FEF4E8;

  /* Borders */
  --border:        #DDD9CD;
  --border-strong: #C0BDB0;

  /* Typography */
  --f-serif:  'Spectral', Georgia, 'Times New Roman', serif;
  --f-sans:   'DM Sans', system-ui, -apple-system, sans-serif;

  /* Scale */
  --fs-xs:   0.6875rem;  /* 11px */
  --fs-sm:   0.8125rem;  /* 13px */
  --fs-base: 1rem;       /* 16px */
  --fs-md:   1.0625rem;  /* 17px */
  --fs-lg:   1.1875rem;  /* 19px */
  --fs-xl:   1.375rem;   /* 22px */
  --fs-2xl:  1.625rem;   /* 26px */
  --fs-3xl:  2rem;       /* 32px */
  --fs-4xl:  2.5rem;     /* 40px */
  --fs-5xl:  3.25rem;    /* 52px */
  --fs-6xl:  4rem;       /* 64px */
  --fs-7xl:  5rem;       /* 80px */

  /* Spacing */
  --s2:  0.5rem;
  --s3:  0.75rem;
  --s4:  1rem;
  --s5:  1.25rem;
  --s6:  1.5rem;
  --s8:  2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;
  --s32: 8rem;

  /* Radius */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   20px;
  --r-full: 9999px;

  /* Max width */
  --mw: 1200px;
  --mw-narrow: 720px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
  --mid:  260ms;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--mw);
  margin-inline: auto;
  padding-inline: var(--s8);
}
.container--narrow {
  max-width: var(--mw-narrow);
  margin-inline: auto;
  padding-inline: var(--s8);
}

/* ─── Typography ─────────────────────────────────────────── */
.t-eyebrow {
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.t-eyebrow--brand { color: var(--brand-mid); }
.t-eyebrow--accent { color: var(--accent); }
.t-eyebrow--inv { color: var(--ink-inv-muted); }

.t-h1 {
  font-family: var(--f-serif);
  font-size: clamp(var(--fs-4xl), 5.5vw, var(--fs-7xl));
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.t-h2 {
  font-family: var(--f-serif);
  font-size: clamp(var(--fs-3xl), 3.5vw, var(--fs-5xl));
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.t-h3 {
  font-family: var(--f-serif);
  font-size: clamp(var(--fs-2xl), 2.5vw, var(--fs-4xl));
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.t-h4 {
  font-family: var(--f-sans);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.t-lead {
  font-family: var(--f-sans);
  font-size: clamp(var(--fs-md), 1.5vw, var(--fs-xl));
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-muted);
}
.t-body { font-size: var(--fs-base); line-height: 1.7; color: var(--ink-muted); }
.t-small { font-size: var(--fs-sm); color: var(--ink-subtle); }

.t-inv { color: var(--ink-inv) !important; }
.t-inv-muted { color: var(--ink-inv-muted) !important; }
.t-brand { color: var(--brand); }
.t-accent { color: var(--accent); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.8125rem 1.5rem;
  border-radius: var(--r-md);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
              border-color var(--fast) var(--ease), transform var(--fast) var(--ease),
              box-shadow var(--fast) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(194, 77, 24, 0.25);
}
.btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
}
.btn--secondary:hover {
  background: var(--tint);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.btn--brand {
  background: var(--brand);
  color: #fff;
  border: 1.5px solid var(--brand);
}
.btn--brand:hover {
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink-inv);
  border: 1.5px solid rgba(240,239,233,0.35);
}
.btn--ghost:hover {
  background: rgba(240,239,233,0.1);
  border-color: rgba(240,239,233,0.6);
}
.btn--ghost-brand {
  background: transparent;
  color: var(--ink-inv);
  border: 1.5px solid rgba(240,239,233,0.35);
}
.btn--ghost-brand:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}
.btn--lg {
  font-size: var(--fs-base);
  padding: 1rem 2rem;
}

/* ─── Tags / Pills ───────────────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3em 0.75em;
  border-radius: var(--r-full);
  background: var(--tint);
  color: var(--ink-muted);
  white-space: nowrap;
}
.tag--brand { background: var(--brand-tint); color: var(--brand); }
.tag--accent { background: var(--accent-tint); color: var(--accent); }
.tag--dark { background: rgba(255,255,255,0.12); color: var(--ink-inv-muted); }

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--s8);
  height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo-mark {
  width: 42px;
  height: 28px;
  flex-shrink: 0;
}
.nav__logo-name {
  font-family: var(--f-serif);
  font-size: 25px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-be {
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
}
.logo-ai {
  color: var(--accent);
  font-family: var(--f-sans);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.01em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.nav__link {
  font-family: var(--f-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-muted);
  padding: var(--s2) var(--s4);
  border-radius: var(--r-md);
  transition: color var(--fast), background var(--fast);
  white-space: nowrap;
}
.nav__link:hover { color: var(--ink); background: var(--tint); }
.nav__link--active { color: var(--ink); }
.nav__cta { flex-shrink: 0; margin-left: auto; }
.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--s2);
  margin-left: auto;
}
.nav__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--mid) var(--ease), opacity var(--mid);
}

/* ─── Section anatomy ────────────────────────────────────── */
.section {
  padding-block: var(--s24);
}
.section--sm { padding-block: var(--s16); }
.section--lg { padding-block: var(--s32); }
.section--bg { background: var(--bg); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); }
.section--brand { background: var(--brand); }
.section--surface { background: var(--surface); }

.section__header {
  margin-bottom: var(--s12);
}
.section__header--center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--s12);
}
.section__eyebrow { margin-bottom: var(--s4); }
.section__title { margin-bottom: var(--s4); }
.section__body {
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 560px;
  margin-top: var(--s4);
}
.section__body--wide { max-width: 720px; }

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  transition: transform var(--mid) var(--ease), box-shadow var(--mid) var(--ease), border-color var(--mid);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(17,17,16,0.08), 0 2px 8px rgba(17,17,16,0.04);
  border-color: var(--border-strong);
}
.card--course {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.card__tag { margin-bottom: var(--s2); }
.card__title {
  font-family: var(--f-serif);
  font-size: var(--fs-2xl);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: var(--s2);
}
.card__body {
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-muted);
  flex: 1;
}
.card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding-top: var(--s6);
  border-top: 1px solid var(--border);
  margin-top: var(--s6);
}
.card__meta-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
}
.card__meta-icon {
  width: 16px;
  height: 16px;
  color: var(--ink-subtle);
  flex-shrink: 0;
}
.card__footer {
  padding-top: var(--s6);
  margin-top: auto;
}
.card--tint { background: var(--tint); border-color: transparent; }
.card--brand {
  background: var(--brand-tint);
  border-color: rgba(13,59,88,0.12);
}

/* ─── Grid helpers ───────────────────────────────────────── */
.grid { display: grid; gap: var(--s6); }
.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: 2fr 1fr; }
.grid--1-2 { grid-template-columns: 1fr 2fr; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  background: var(--bg);
  padding-top: var(--s24);
  padding-bottom: 0;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--s16);
  align-items: center;
}
.hero__eyebrow { margin-bottom: var(--s6); }
.hero__headline {
  margin-bottom: var(--s6);
  color: var(--ink);
}
.hero__sub {
  font-size: clamp(var(--fs-base), 1.4vw, var(--fs-lg));
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 520px;
  margin-bottom: var(--s8);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s12);
}
.hero__graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: var(--s16);
}
.hero__strip {
  border-top: 1px solid var(--border);
  margin-top: var(--s12);
  padding-block: var(--s5);
  display: flex;
  align-items: center;
  gap: var(--s6);
  flex-wrap: wrap;
}
.hero__strip-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  white-space: nowrap;
}
.hero__strip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.hero__strip-tags span {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  padding: 0.2em 0.6em;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
}

/* ─── Statement block ────────────────────────────────────── */
.statement {
  text-align: center;
  padding-block: var(--s24);
}
.statement__main {
  font-family: var(--f-serif);
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: var(--s6);
}
.statement__main em {
  font-style: italic;
  color: var(--ink-muted);
}
.statement__body {
  font-size: var(--fs-lg);
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 580px;
  margin-inline: auto;
}

/* ─── Pillar list ────────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s1) var(--s6);
  margin-top: var(--s12);
}
.pillar {
  padding: var(--s6);
  border-left: 2px solid var(--border);
  transition: border-color var(--fast);
}
.pillar:hover { border-color: var(--accent); }
.pillar__num {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-subtle);
  margin-bottom: var(--s3);
}
.pillar__title {
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s2);
}
.pillar__body {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ─── Feature list ───────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.feature-item {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  padding: var(--s5) var(--s6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: background var(--fast), border-color var(--fast);
}
.feature-item:hover { background: var(--tint); }
.feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.feature-text { flex: 1; }
.feature-title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s1);
}
.feature-body {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ─── Stats row ──────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: var(--s8) var(--s6);
  text-align: center;
}
.stat__num {
  font-family: var(--f-serif);
  font-size: var(--fs-5xl);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: var(--s2);
}
.stat__label {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* ─── Sector cards ───────────────────────────────────────── */
.sector-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  cursor: pointer;
  transition: transform var(--mid) var(--ease), box-shadow var(--mid), border-color var(--mid);
  text-decoration: none;
  color: inherit;
}
.sector-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(17,17,16,0.07);
  border-color: var(--border-strong);
}
.sector-card__icon {
  width: 36px;
  height: 36px;
  background: var(--brand-tint);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}
.sector-card__title {
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
}
.sector-card__body {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-muted);
  flex: 1;
}
.sector-card__link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: var(--s1);
  margin-top: var(--s2);
  transition: gap var(--fast);
}
.sector-card:hover .sector-card__link { gap: var(--s2); }

/* ─── Steps / Methodology ────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s6);
  padding: var(--s6) 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--fast);
}
.step:last-child { border-bottom: none; }
.step__num {
  font-family: var(--f-serif);
  font-size: var(--fs-4xl);
  font-weight: 300;
  line-height: 1;
  color: var(--border-strong);
  padding-top: 4px;
  text-align: right;
  transition: color var(--fast);
}
.step:hover .step__num { color: var(--accent); }
.step__content {}
.step__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s2);
}
.step__body {
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ─── CTA block ──────────────────────────────────────────── */
.cta-block {
  text-align: center;
  padding-block: var(--s24);
}
.cta-block--dark {
  background: var(--dark);
  padding-block: var(--s24);
}
.cta-block__title {
  font-family: var(--f-serif);
  font-size: clamp(var(--fs-3xl), 3.5vw, var(--fs-5xl));
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--s5);
}
.cta-block__body {
  font-size: var(--fs-lg);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--s8);
}
.cta-block__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s3);
}

/* ─── Use cases ──────────────────────────────────────────── */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}
.usecase-item {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  padding: var(--s5) var(--s6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--fast), background var(--fast);
}
.usecase-item:hover { border-color: var(--brand-mid); background: var(--brand-tint); }
.usecase-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}
.usecase-text {
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ─── Page hero ──────────────────────────────────────────── */
.page-hero {
  background: var(--dark);
  padding-block: var(--s24);
  overflow: hidden;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(26,90,132,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__eyebrow { margin-bottom: var(--s5); }
.page-hero__title {
  font-family: var(--f-serif);
  font-size: clamp(var(--fs-4xl), 5vw, var(--fs-6xl));
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink-inv);
  margin-bottom: var(--s6);
  max-width: 800px;
}
.page-hero__body {
  font-size: clamp(var(--fs-base), 1.5vw, var(--fs-xl));
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-inv-muted);
  max-width: 600px;
  margin-bottom: var(--s8);
}
.page-hero__ctas { display: flex; gap: var(--s3); flex-wrap: wrap; }

/* ─── Divider ────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}
.divider--v {
  width: 1px;
  height: 100%;
  background: var(--border);
  align-self: stretch;
}

/* ─── Two-column layout ──────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: start;
}
.two-col--wide-left {
  grid-template-columns: 3fr 2fr;
}
.two-col--sticky-right > :last-child {
  position: sticky;
  top: 96px;
}

/* ─── Form ───────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.form-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  color: var(--ink);
  transition: border-color var(--fast);
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--ink-subtle); }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px rgba(26,90,132,0.12);
  outline: none;
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%239B9B93' d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 2.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--ink-inv);
  padding-block: var(--s16);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s12);
  margin-bottom: var(--s12);
}
.footer__brand { display: flex; flex-direction: column; gap: var(--s4); }
.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s2);
}
.footer__logo-name {
  font-family: var(--f-serif);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--ink-inv);
  letter-spacing: -0.02em;
}
.footer__tagline {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-inv-muted);
  max-width: 280px;
}
.footer__col-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-inv-muted);
  margin-bottom: var(--s4);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}
.footer__link {
  font-size: var(--fs-sm);
  color: var(--ink-inv-muted);
  transition: color var(--fast);
  text-decoration: none;
}
.footer__link:hover { color: var(--ink-inv); }
.footer__bottom {
  padding-top: var(--s8);
  border-top: 1px solid rgba(240,239,233,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy {
  font-size: var(--fs-xs);
  color: var(--ink-inv-muted);
}

/* ─── Accordion ──────────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s5) 0;
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  transition: color var(--fast);
  gap: var(--s4);
}
.accordion-trigger:hover { color: var(--brand); }
.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ink-subtle);
  transition: transform var(--mid) var(--ease);
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-content {
  display: none;
  padding-bottom: var(--s5);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink-muted);
}
.accordion-item.open .accordion-content { display: block; }

/* ─── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-bottom: var(--s5);
}
.breadcrumb__item {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink-inv-muted);
  text-decoration: none;
}
.breadcrumb__item:hover { color: var(--ink-inv); }
.breadcrumb__sep {
  color: var(--ink-inv-muted);
  font-size: var(--fs-xs);
  opacity: 0.5;
}

/* ─── Checklist ──────────────────────────────────────────── */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.checklist-item {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink-muted);
}
.checklist-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

/* ─── Editorial course rows (dark bg) ───────────────────── */
.section--deep { background: #07182A; }

.ed-rows { display: flex; flex-direction: column; }
.ed-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: var(--s6);
  align-items: center;
  padding: var(--s7) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  color: inherit;
  transition: background var(--fast);
  cursor: pointer;
}
.ed-row:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.ed-row:hover { background: rgba(255,255,255,0.025); }
.ed-num-large {
  font-family: var(--f-serif);
  font-size: var(--fs-5xl);
  font-weight: 300;
  line-height: 1;
  color: rgba(255,255,255,0.12);
  text-align: right;
  transition: color var(--fast);
  flex-shrink: 0;
}
.ed-row:hover .ed-num-large { color: var(--accent); }
.ed-area-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--s2);
}
.ed-row-title {
  font-family: var(--f-serif);
  font-size: clamp(var(--fs-2xl), 2.5vw, var(--fs-3xl));
  font-weight: 400;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--s2);
}
.ed-row-meta { font-size: var(--fs-sm); color: rgba(255,255,255,0.38); }
.ed-row-cta {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  padding: var(--s3) var(--s5);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  transition: color var(--fast), border-color var(--fast), background var(--fast);
  flex-shrink: 0;
}
.ed-row:hover .ed-row-cta {
  color: white;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
}

/* ─── Editorial stats ────────────────────────────────────── */
.stats-ed {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s16);
  padding: var(--s10) 0;
}
.stat-ed-num {
  font-family: var(--f-serif);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: var(--s3);
}
.stat-ed-label {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.5;
  border-top: 2px solid var(--border);
  padding-top: var(--s3);
}

/* ─── Editorial sector list (dark) ──────────────────────── */
.sector-ed-list { display: flex; flex-direction: column; }
.sector-ed-item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: var(--s8);
  align-items: center;
  padding: var(--s5) 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  color: inherit;
  transition: background var(--fast);
}
.sector-ed-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.sector-ed-item:hover { background: rgba(255,255,255,0.02); }
.sector-ed-name {
  font-family: var(--f-serif);
  font-size: var(--fs-xl);
  font-weight: 400;
  color: white;
  letter-spacing: -0.01em;
}
.sector-ed-body { font-size: var(--fs-sm); color: rgba(255,255,255,0.38); line-height: 1.5; }
.sector-ed-link {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  transition: color var(--fast);
}
.sector-ed-item:hover .sector-ed-link { color: var(--accent); }

/* ─── Editorial pillar list ──────────────────────────────── */
.pillars-ed { display: flex; flex-direction: column; }
.pillar-ed {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--s5);
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--border);
}
.pillar-ed:last-child { border-bottom: none; }
.pillar-ed-num {
  font-family: var(--f-serif);
  font-size: var(--fs-2xl);
  font-weight: 300;
  color: var(--border-strong);
  line-height: 1;
  text-align: right;
  padding-top: 4px;
}
.pillar-ed-title { font-size: var(--fs-base); font-weight: 600; color: var(--ink); margin-bottom: var(--s2); }
.pillar-ed-body { font-size: var(--fs-sm); color: var(--ink-muted); line-height: 1.65; }

/* ─── Editorial differentiators (dark) ──────────────────── */
.diff-ed-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 var(--s16); }
.diff-ed-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--s5);
  padding: var(--s6) 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.diff-ed-num {
  font-family: var(--f-serif);
  font-size: var(--fs-3xl);
  font-weight: 300;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  text-align: right;
  padding-top: 3px;
}
.diff-ed-title { font-size: var(--fs-lg); font-weight: 600; color: white; margin-bottom: var(--s2); }
.diff-ed-body { font-size: var(--fs-sm); color: rgba(255,255,255,0.45); line-height: 1.65; }

/* ─── Use case editorial list ────────────────────────────── */
.uc-ed-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s12); }
.uc-ed-group { display: flex; flex-direction: column; }
.uc-ed-heading {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  padding-bottom: var(--s4);
  border-bottom: 2px solid var(--border);
  margin-bottom: var(--s4);
}
.uc-ed-item {
  display: flex;
  gap: var(--s3);
  align-items: baseline;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.5;
}
.uc-ed-item:last-child { border-bottom: none; }
.uc-ed-item::before { content: '—'; color: var(--ink-subtle); flex-shrink: 0; font-size: var(--fs-xs); }

/* ─── Responsive additions ───────────────────────────────── */
@media (max-width: 1024px) {
  .ed-row { grid-template-columns: 56px 1fr; }
  .ed-row-cta { display: none; }
  .stats-ed { grid-template-columns: repeat(2,1fr); gap: var(--s8); }
  .sector-ed-item { grid-template-columns: 160px 1fr; }
  .sector-ed-link { display: none; }
  .diff-ed-list { grid-template-columns: 1fr; }
  .uc-ed-cols { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ed-row { grid-template-columns: 44px 1fr; gap: var(--s4); }
  .stats-ed { grid-template-columns: 1fr 1fr; }
  .sector-ed-item { grid-template-columns: 1fr; gap: var(--s2); }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__graphic { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: var(--s8); }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__mobile-toggle { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: var(--s12); }
  .two-col--sticky-right > :last-child { position: static; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .usecase-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .section { padding-block: var(--s16); }
  .section--lg { padding-block: var(--s20); }
  .cta-block { padding-block: var(--s16); }
  .page-hero { padding-block: var(--s16); }
  .hero { padding-top: var(--s16); }
  .container { padding-inline: var(--s6); }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .cta-block__btns { flex-direction: column; align-items: center; }
}
