/* ============================================================
   All Things Identity — IAM Roadmap 2025
   Editorial, print-ready stylesheet
   ============================================================ */

:root {
  /* Brand */
  --teal-900: #0f2a32;
  --teal-800: #1a3a45;
  --teal-700: #234e5c;
  --teal-600: #2C5F6F;   /* primary brand teal */
  --teal-500: #3a7a8c;
  --teal-100: #e6eef0;
  --teal-050: #f1f6f7;

  --orange-600: #d97a06;
  --orange-500: #F39C12;  /* primary brand orange */
  --orange-100: #fdecd0;
  --orange-050: #fef7ea;

  /* Neutrals */
  --ink-900: #0e1a20;
  --ink-800: #18242b;
  --ink-700: #2b3a44;
  --ink-600: #44545e;
  --ink-500: #6a7a83;
  --ink-400: #99a6ad;
  --ink-300: #c5ced3;
  --ink-200: #e1e7ea;
  --ink-100: #eef2f4;
  --ink-050: #f7f9fa;

  --paper:   #fbfaf6;   /* warm off-white */
  --paper-2: #f4f1ea;
  --white:   #ffffff;

  /* Type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "DM Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "DM Mono", ui-monospace, Menlo, Consolas, monospace;

  /* Spacing scale */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* Page */
  --content-max: 880px;
  --header-h: 64px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd, dt {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-800);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--teal-600); color: #fff; }

/* ============================================================
   Site header (sticky on screen)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--ink-200);
}
.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

/* Logo placeholder — drop your wordmark SVG in place of .brand-mark__placeholder */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  height: 36px;
}
.brand-mark__placeholder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px 0 12px;
  border: 1px dashed var(--ink-300);
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 6px,
      rgba(44, 95, 111, 0.04) 6px,
      rgba(44, 95, 111, 0.04) 7px
    ),
    var(--white);
  color: var(--teal-700);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-mark__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal-600);
  box-shadow: inset 0 0 0 2px var(--paper), 0 0 0 1px var(--teal-600);
  flex-shrink: 0;
}
.brand-mark__wordmark {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--ink-900);
}
.brand-mark--light .brand-mark__placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 6px,
      rgba(255, 255, 255, 0.06) 6px,
      rgba(255, 255, 255, 0.06) 7px
    ),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.7);
}
.brand-mark--light .brand-mark__wordmark { color: #fff; }
.brand-mark--light .brand-mark__dot {
  background: var(--orange-500);
  box-shadow: inset 0 0 0 2px var(--teal-900), 0 0 0 1px var(--orange-500);
}

.site-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-600);
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--teal-700); }

.site-header__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.meta-label { color: var(--ink-500); }
.meta-value { color: var(--teal-700); font-weight: 500; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(243, 156, 18, 0.06), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(44, 95, 111, 0.06), transparent 60%),
    var(--paper);
  padding: 96px 32px 72px;
  border-bottom: 1px solid var(--ink-200);
  overflow: hidden;
}
.hero::before {
  /* decorative hairline frame */
  content: '';
  position: absolute;
  inset: 32px 32px auto 32px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--ink-300) 20%, var(--ink-300) 80%, transparent);
}
.hero__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: left;
  position: relative;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 36px;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--ink-900);
  text-wrap: balance;
  max-width: 18ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--teal-700);
}
.hero__title-sub {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.3;
  color: var(--ink-500);
  margin-top: 22px;
  max-width: 32ch;
}
.hero__lede {
  margin-top: 36px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-600);
  max-width: 56ch;
  text-wrap: pretty;
}
.hero__rule {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-200);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.hero__rule .hr-sep { color: var(--orange-500); }

.hero__byline {
  max-width: var(--content-max);
  margin: 56px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.byline-label { color: var(--ink-400); }
.byline-name { color: var(--ink-700); }
.byline-sep { color: var(--ink-300); }

/* ============================================================
   Table of contents
   ============================================================ */
.toc-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--ink-200);
  padding: 56px 32px;
}
.toc-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.toc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink-200);
}
.toc-label {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.toc-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.toc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.toc li { display: contents; }
.toc-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-100);
  font-size: 16px;
  color: var(--ink-800);
  transition: color 0.15s;
}
.toc li:last-child .toc-item { border-bottom: none; }
.toc-item:hover { color: var(--teal-700); }
.toc-item:hover .toc-num { color: var(--orange-600); }
.toc-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--orange-500);
  letter-spacing: 0.04em;
  min-width: 32px;
}
.toc-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}
.toc-item:hover .toc-title { color: var(--teal-700); }
.toc-dots {
  flex: 1;
  border-bottom: 1px dotted var(--ink-300);
  margin: 0 4px 4px;
  height: 1px;
}
.toc-page {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ============================================================
   Container & sections
   ============================================================ */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--ink-200);
}
.section:last-child { border-bottom: none; }

.section-header {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ink-200);
}
.step-marker {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 6px;
  border-right: 1px solid var(--ink-200);
  padding-right: 20px;
}
.step-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.step-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--orange-500);
  letter-spacing: -0.02em;
}
.section-titles { padding-top: 6px; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  text-wrap: balance;
}
.section-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-500);
  margin-top: 10px;
  text-wrap: pretty;
}

/* Body text */
.section p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-700);
  margin-bottom: 16px;
  max-width: 70ch;
  text-wrap: pretty;
}
.section p:last-child { margin-bottom: 0; }
.section p.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-800);
  margin-bottom: 24px;
}
.section p.postscript {
  font-size: 14.5px;
  color: var(--ink-500);
  margin-top: 18px;
}
.section strong { color: var(--ink-900); font-weight: 600; }
.section em { font-style: italic; }
.section a {
  color: var(--teal-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--teal-100);
  transition: text-decoration-color 0.15s;
}
.section a:hover { text-decoration-color: var(--teal-600); }

.sub-h {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-900);
  letter-spacing: -0.005em;
  margin: 36px 0 14px;
}

/* ============================================================
   Pills / tags
   ============================================================ */
.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  vertical-align: 2px;
  margin-left: 6px;
  line-height: 1.4;
}
.pill--new { color: var(--orange-600); background: var(--orange-050); border: 1px solid var(--orange-100); }
.pill--priority { color: var(--teal-700); background: var(--teal-050); border: 1px solid var(--teal-100); }

/* ============================================================
   Concept cards
   ============================================================ */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  margin: 28px 0;
  background: var(--ink-200);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  overflow: hidden;
}
.concept-card {
  background: var(--white);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.concept-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 4px;
}
.concept-tag.new { color: var(--orange-600); }
.concept-tag.priority { color: var(--teal-700); }
.concept-card h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}
.concept-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-600);
  margin: 0;
  max-width: none;
}

/* ============================================================
   Tool cards
   ============================================================ */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tool-card:hover {
  border-color: var(--teal-500);
  box-shadow: 0 4px 18px rgba(15, 42, 50, 0.06);
}
.tool-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tool-mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--teal-050);
  border: 1px solid var(--teal-100);
  color: var(--teal-700);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.tool-card__title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tool-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.tool-category {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.tool-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-600);
  margin: 0;
  flex: 1;
  max-width: none;
}
.tool-link {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-700);
  font-weight: 500;
  padding-top: 4px;
  border-top: 1px solid var(--ink-100);
  margin-top: 2px;
  width: 100%;
}
.tool-link::after { content: ' →'; color: var(--orange-500); }

/* ============================================================
   Tables
   ============================================================ */
.table-wrap {
  margin: 28px 0;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  background: var(--white);
  overflow: hidden;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
thead th {
  background: var(--ink-050);
  color: var(--ink-900);
  padding: 12px 18px;
  text-align: left;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink-200);
}
tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--ink-100);
  color: var(--ink-700);
  vertical-align: top;
  line-height: 1.55;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--ink-050); }
td:first-child {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink-900);
}
.table-wrap figcaption {
  padding: 10px 18px;
  border-top: 1px solid var(--ink-200);
  background: var(--ink-050);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ============================================================
   Callouts
   ============================================================ */
.callout {
  margin: 28px 0;
  padding: 22px 26px;
  background: var(--teal-050);
  border-left: 3px solid var(--teal-600);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  position: relative;
}
.callout-label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 6px;
}
.callout p {
  font-size: 15px !important;
  line-height: 1.6;
  color: var(--ink-800);
  margin: 0;
}
.callout--accent {
  background: var(--orange-050);
  border-left-color: var(--orange-500);
}
.callout--accent .callout-label { color: var(--orange-600); }

/* ============================================================
   Step list (bulleted)
   ============================================================ */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0;
}
.step-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 15.5px;
  color: var(--ink-700);
  line-height: 1.6;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-100);
}
.step-list li:last-child { border-bottom: none; padding-bottom: 0; }
.step-dot {
  width: 8px; height: 8px;
  background: var(--orange-500);
  border-radius: 50%;
  margin-top: 9px;
}

/* ============================================================
   Certifications
   ============================================================ */
.cert-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin: 28px 0;
}
.cert-card {
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: 18px 20px;
  background: var(--white);
}
.cert-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  gap: 12px;
}
.cert-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.cert-level {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
}
.cert-level--entry    { background: #e8f3ec; color: #2c6b3b; border: 1px solid #d2e6d8; }
.cert-level--mid      { background: var(--teal-050); color: var(--teal-700); border: 1px solid var(--teal-100); }
.cert-level--advanced { background: var(--orange-050); color: var(--orange-600); border: 1px solid var(--orange-100); }
.cert-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-600);
  margin: 0;
  max-width: none;
}

/* ============================================================
   Trend cards
   ============================================================ */
.trend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 28px 0;
}
.trend-card {
  padding: 18px 20px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--ink-200);
  background: var(--white);
  position: relative;
}
.trend-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--ink-300);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.trend-card--hot::before { background: var(--orange-500); }
.trend-card--rising::before { background: var(--teal-600); }
.trend-card--found::before { background: var(--ink-400); }
.trend-label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 8px;
}
.trend-card--hot .trend-label { color: var(--orange-600); }
.trend-card--rising .trend-label { color: var(--teal-700); }
.trend-card h4 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.trend-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-600);
  margin: 0;
  max-width: none;
}

/* ============================================================
   Resource links
   ============================================================ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  margin: 22px 0 0;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-200);
  gap: 1px;
}
.resource-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  font-size: 14px;
  color: var(--teal-700);
  font-weight: 500;
  transition: background 0.15s;
}
.resource-link::before {
  content: '→';
  color: var(--orange-500);
  font-weight: 600;
}
.resource-link:hover { background: var(--teal-050); }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: var(--teal-900);
  color: #fff;
  padding: 96px 32px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 0%, rgba(243, 156, 18, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(58, 122, 140, 0.20), transparent 60%);
  pointer-events: none;
}
.cta__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.cta__eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 18px;
}
.cta__title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #fff;
  text-wrap: balance;
}
.cta__lede {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.6;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
.cta__buttons {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: 8px;
  transition: transform 0.15s, opacity 0.15s, background 0.15s, border-color 0.15s;
}
.btn--primary {
  background: var(--orange-500);
  color: #1a1208;
}
.btn--primary:hover { background: #fbb142; }
.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 32px;
}
.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.footer-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-sep { color: rgba(255, 255, 255, 0.25); }
.footer-meta a { color: var(--orange-500); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 820px) {
  .site-header__inner {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }
  .site-nav { display: none; }
  .hero { padding: 64px 24px 56px; }
  .hero::before { inset: 16px 24px auto 24px; }
  .section { padding: 56px 0; }
  .section-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-marker {
    flex-direction: row;
    align-items: baseline;
    border-right: none;
    padding-right: 0;
    gap: 14px;
  }
  .step-num { font-size: 36px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-meta { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .toc-wrap { padding: 36px 20px; }
  .container { padding: 0 20px; }
  .hero__title { font-size: 40px; }
  .hero__title-sub { font-size: 20px; }
  .toc-page { display: none; }
}

/* ============================================================
   Print — PDF export
   ============================================================ */
@page {
  size: Letter;
  margin: 0.85in 0.7in 0.95in 0.7in;
  @bottom-center {
    content: "All Things Identity  ·  IAM Roadmap 2026  ·  Page " counter(page);
    font-family: "DM Mono", monospace;
    font-size: 9pt;
    color: #6a7a83;
    letter-spacing: 0.08em;
  }
}

@media print {
  html, body {
    background: #fff !important;
    color: #18242b !important;
    font-size: 10.5pt;
    line-height: 1.55;
  }
  body { padding-bottom: 0; }

  /* Hide sticky chrome */
  .site-header { display: none; }
  .site-nav { display: none; }
  .toc-page { display: inline; }

  /* Hero — restrained for print */
  .hero {
    padding: 0 0 24pt;
    border-bottom: 1pt solid #c5ced3;
    background: none;
    page-break-after: always;
  }
  .hero::before { display: none; }
  .hero__inner { padding-top: 0; }
  .hero__title { font-size: 42pt; line-height: 1.05; }
  .hero__title-sub { font-size: 16pt; }
  .hero__lede { font-size: 12pt; }
  .hero__byline { margin-top: 36pt; }

  /* Print-only watermark logo at top of every page would require @top-left content boxes —
     show the brand mark inline at the top of the hero instead so it appears on the cover */
  .hero__inner::before {
    content: "All Things Identity";
    display: block;
    font-family: var(--serif);
    font-size: 13pt;
    font-weight: 600;
    color: var(--teal-700);
    letter-spacing: -0.005em;
    margin-bottom: 24pt;
    padding-bottom: 10pt;
    border-bottom: 1pt solid #c5ced3;
  }

  /* TOC */
  .toc-wrap {
    padding: 24pt 0;
    border-bottom: none;
    page-break-after: always;
  }
  .toc-item { padding: 8pt 0; }
  .toc-title { font-size: 13pt; }

  /* Sections */
  .container { padding: 0; max-width: 100%; }
  .section {
    padding: 24pt 0;
    border-bottom: none;
    page-break-inside: auto;
  }
  .section-header {
    page-break-after: avoid;
    margin-bottom: 18pt;
    padding-bottom: 14pt;
  }
  .step-num { font-size: 32pt; }
  .section-title { font-size: 22pt; }
  .section-kicker { font-size: 12pt; }
  .sub-h { font-size: 14pt; margin-top: 18pt; page-break-after: avoid; }

  .section p { font-size: 10.5pt; line-height: 1.55; }
  .section p.lead { font-size: 11.5pt; }

  /* Cards & tables — keep them tight */
  .concept-grid,
  .tool-grid,
  .cert-list,
  .trend-grid {
    page-break-inside: auto;
    gap: 8pt;
  }
  .concept-card,
  .tool-card,
  .cert-card,
  .trend-card,
  .callout,
  .table-wrap {
    page-break-inside: avoid;
    box-shadow: none !important;
  }
  .tool-card, .cert-card, .trend-card, .concept-card {
    border: 0.75pt solid #c5ced3;
  }
  .concept-grid {
    background: none;
    border: 0.75pt solid #c5ced3;
  }
  .concept-card { border: 0; border-right: 0.75pt solid #e1e7ea; border-bottom: 0.75pt solid #e1e7ea; }

  table { font-size: 9.5pt; }
  thead th { background: #f0f3f5 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  /* Each step starts on a fresh page */
  .section { page-break-before: always; }
  .section:first-of-type { page-break-before: avoid; }

  /* CTA & footer */
  .cta {
    background: #fff !important;
    color: #18242b !important;
    padding: 36pt 0 24pt;
    border-top: 1pt solid #c5ced3;
    page-break-before: always;
  }
  .cta::before { display: none; }
  .cta__title { color: var(--teal-700) !important; font-size: 26pt; }
  .cta__lede { color: var(--ink-700) !important; }
  .cta__eyebrow { color: var(--orange-600) !important; }
  .btn { display: none; }

  .site-footer { display: none; }

  /* Color preservation */
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  a { color: var(--teal-700) !important; text-decoration: none; }
}
