/* EdLab — shared design system
   Palette, type, and components used across every page.
   Brand: blue (trust/credibility), teal (growth), orange (energy/curiosity) */

:root {
  --ink: #172033;
  --ink-soft: #3f4b60;
  --ink-faint: #64708a;
  --surface: #f3f6fb;
  --surface-card: #ffffff;
  --surface-sunken: #eaeff7;
  --surface-raised: #ffffff;
  --brand-blue: #2358a6;
  --brand-blue-deep: #143a72;
  --brand-teal: #147a5e;
  --brand-orange: #ec8b2c;
  --border: #dde4f0;
  --border-soft: #e8ecf5;
  --shadow: 0 20px 40px -24px rgba(23, 32, 51, 0.35);
  --shadow-sm: 0 8px 20px -14px rgba(23, 32, 51, 0.4);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eaeef6;
    --ink-soft: #a7b2c6;
    --ink-faint: #71809a;
    --surface: #0e1520;
    --surface-card: #151e2c;
    --surface-sunken: #101724;
    --surface-raised: #1a2434;
    --brand-blue: #6fa4e8;
    --brand-blue-deep: #9dc1f2;
    --brand-teal: #3fceaa;
    --brand-orange: #f4a556;
    --border: #263248;
    --border-soft: #1e2a3d;
    --shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.55);
    --shadow-sm: 0 10px 24px -16px rgba(0, 0, 0, 0.55);
  }
}

:root[data-theme="dark"] {
  --ink: #eaeef6;
  --ink-soft: #a7b2c6;
  --ink-faint: #71809a;
  --surface: #0e1520;
  --surface-card: #151e2c;
  --surface-sunken: #101724;
  --surface-raised: #1a2434;
  --brand-blue: #6fa4e8;
  --brand-blue-deep: #9dc1f2;
  --brand-teal: #3fceaa;
  --brand-orange: #f4a556;
  --border: #263248;
  --border-soft: #1e2a3d;
  --shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 10px 24px -16px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; text-wrap: balance; margin: 0; color: var(--ink); }

p { margin: 0; }

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

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-teal);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: var(--brand-teal); }

/* ---------- Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--surface-card) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.site-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  flex-shrink: 0;
}

.brand .mark { width: 1.9rem; height: 1.9rem; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav-links a { padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand-blue); border-bottom-color: var(--brand-blue); }

.nav-services { position: relative; }
.nav-services .services-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  min-width: 13rem;
  display: none;
  flex-direction: column;
}
.nav-services:hover .services-menu,
.nav-services:focus-within .services-menu { display: flex; }
.services-menu a { padding: 0.55rem 0.7rem; border-radius: 6px; border-bottom: none; font-size: 0.85rem; }
.services-menu a:hover { background: var(--surface-sunken); color: var(--brand-blue); }

.nav-cta {
  background: var(--brand-blue);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-toggle { display: none; }
.nav-toggle .bars { position: relative; width: 1.1rem; height: 0.8rem; display: block; }
.nav-toggle .bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 50%; margin-top: -1px; }
.nav-toggle .bars span:nth-child(3) { top: 100%; margin-top: -2px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 50%; margin-top: -1px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 50%; margin-top: -1px; transform: rotate(-45deg); }

.nav-links-cta { display: none; }

@media (max-width: 860px) {
  .site-nav { padding: 0.8rem 1.1rem; gap: 0.7rem; }
  .nav-cta { display: none; }
  .nav-links { position: fixed; inset: 4.2rem 1rem auto 1rem; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); flex-direction: column; align-items: flex-start; padding: 1rem; gap: 0.2rem; display: none; z-index: 30; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 0.6rem 0.4rem; }
  .nav-services .services-menu { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 0.8rem; display: none; }
  .nav-services.open .services-menu { display: flex; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.3rem; height: 2.3rem; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-card); color: var(--ink); flex-shrink: 0; }
  .nav-links-cta { display: block; width: 100%; text-align: center; margin-top: 0.5rem; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(60% 90% at 100% 0%, color-mix(in srgb, var(--brand-orange) 10%, transparent), transparent 60%),
    radial-gradient(60% 90% at 0% 0%, color-mix(in srgb, var(--brand-blue) 10%, transparent), transparent 60%);
}

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); font-weight: 600; line-height: 1.1; }
.hero .lede { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.65; margin-top: 1.2rem; max-width: 34rem; }
.hero .actions { display: flex; gap: 0.9rem; margin-top: 1.8rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-primary:hover { background: var(--brand-blue-deep); }
.btn-secondary:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

.hero-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}
.hero-card blockquote { font-family: 'Fraunces', serif; font-size: 1.15rem; font-style: italic; color: var(--ink); line-height: 1.5; margin: 0; }
.hero-card cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.8rem; color: var(--ink-faint); }

/* ---------- Sections ---------- */

section.block { padding: 4rem 0; }
section.block.tight { padding: 2.5rem 0; }
section.block.sunken { background: var(--surface-sunken); }
section.block h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 600; max-width: 34rem; }
section.block .kicker { margin-bottom: 0.9rem; }
section.block .intro-text { font-size: 1rem; color: var(--ink-soft); line-height: 1.65; max-width: 40rem; margin-top: 1rem; }

.prose { max-width: 42rem; }
.prose p { font-size: 1rem; line-height: 1.75; color: var(--ink-soft); }
.prose p + p { margin-top: 1.15rem; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.7rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }

.offer-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.offer-card .swatch { width: 2.3rem; height: 2.3rem; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'IBM Plex Mono', monospace; font-size: 0.85rem; }
.offer-card:nth-child(3n+1) .swatch { background: var(--brand-blue); }
.offer-card:nth-child(3n+2) .swatch { background: var(--brand-teal); }
.offer-card:nth-child(3n+3) .swatch { background: var(--brand-orange); }
.offer-card h3 { font-size: 1.08rem; font-weight: 600; }
.offer-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.55; }
.offer-card .go { margin-top: auto; font-size: 0.82rem; font-weight: 600; color: var(--brand-blue); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.split > *:last-child { position: sticky; top: 5.5rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split > *:last-child { position: static; }
}

.stat-row { display: flex; gap: 2.2rem; margin-top: 2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: 'Fraunces', serif; font-size: 1.9rem; color: var(--brand-blue); font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.2rem; }

.list-clean { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.list-clean li { position: relative; padding-left: 1.15rem; font-size: 0.94rem; color: var(--ink-soft); line-height: 1.55; }
.list-clean li::before { content: ""; position: absolute; left: 0; top: 0.6rem; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--brand-teal); }
.list-clean li strong { color: var(--ink); }
@media (max-width: 560px) {
  .list-clean li strong { display: block; margin-bottom: 0.25rem; }
}

.tag { display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.28rem 0.6rem; border-radius: 999px; }
.tag-blue { color: var(--brand-blue-deep); background: color-mix(in srgb, var(--brand-blue) 14%, transparent); }
.tag-teal { color: var(--brand-teal); background: color-mix(in srgb, var(--brand-teal) 16%, transparent); }
.tag-orange { color: var(--brand-orange); background: color-mix(in srgb, var(--brand-orange) 16%, transparent); }

/* ---------- Testimonials ---------- */

.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
@media (max-width: 720px) { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.testimonial-quote { font-family: 'Fraunces', serif; font-style: italic; font-size: 0.98rem; line-height: 1.65; color: var(--ink); margin: 0; }
.testimonial-person { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.testimonial-avatar {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-card:nth-child(3n+1) .testimonial-avatar { background: var(--brand-blue); }
.testimonial-card:nth-child(3n+2) .testimonial-avatar { background: var(--brand-teal); }
.testimonial-card:nth-child(3n+3) .testimonial-avatar { background: var(--brand-orange); }
.testimonial-person strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.testimonial-person div span { display: block; font-size: 0.76rem; color: var(--ink-faint); margin-top: 0.1rem; }

/* ---------- Find-your-path quiz ---------- */

.quiz-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.quiz-progress { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.quiz-progress[hidden] { display: none; }
.quiz-progress-dot { width: 1.8rem; height: 4px; border-radius: 999px; background: var(--border); transition: background 0.2s ease; }
.quiz-progress-dot.active { background: var(--brand-blue); }
.quiz-label { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.6rem; }
.quiz-question h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 1.3rem; }
.quiz-options { display: flex; flex-direction: column; gap: 0.7rem; }
.quiz-option {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.quiz-option:hover,
.quiz-option:focus-visible { border-color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 7%, var(--surface-card)); outline: none; }
.quiz-result h3 { font-size: 1.2rem; font-weight: 600; margin: 0.3rem 0 0.6rem; }
.quiz-result p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.65; }

/* ---------- Forms ---------- */

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 0.92rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-card);
  color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand-blue); outline-offset: 1px; }
.form-grid { display: grid; gap: 1rem; }

.newsletter-block {
  background: var(--brand-blue-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.newsletter-block h3 { color: #fff; font-size: 1.2rem; }
.newsletter-block p { color: rgba(255,255,255,0.82); font-size: 0.88rem; margin-top: 0.4rem; max-width: 26rem; }
.newsletter-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  min-width: 15rem;
  font: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form .btn-primary { background: #fff; color: var(--brand-blue-deep); }
.newsletter-form .btn-primary:hover { background: rgba(255,255,255,0.85); }
.form-note { font-size: 0.72rem; color: rgba(255,255,255,0.65); margin-top: 0.6rem; width: 100%; }

/* ---------- Blog post content ---------- */

.pull-quote { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.15rem; line-height: 1.55; color: var(--ink); border-left: 3px solid var(--brand-teal); padding-left: 1.2rem; margin: 1.8rem 0; }
.pull-quote cite { display: block; font-family: 'Work Sans', sans-serif; font-style: normal; font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.5rem; }

.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.1rem; margin: 1.6rem 0; }
.compare-col { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.3rem; }
.compare-col h4 { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 0.9rem; color: var(--ink-faint); }
.compare-col.good h4 { color: var(--brand-teal); }
.compare-col.bad h4 { color: var(--brand-orange); }
.compare-col ul { margin: 0; padding-left: 1.1rem; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }
.compare-col ul li + li { margin-top: 0.5rem; }
.compare-col p.result { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--border-soft); font-size: 0.85rem; color: var(--ink-soft); }

.table-wrap { overflow-x: auto; margin: 1.6rem 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.88rem; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.prose thead th { font-family: 'IBM Plex Mono', monospace; font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); text-align: left; padding: 0.8rem 1rem; border-bottom: 2px solid var(--border); background: var(--surface-alt, var(--border-soft)); white-space: nowrap; }
.prose tbody td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border-soft); color: var(--ink-soft); vertical-align: top; }
.prose tbody tr:last-child td { border-bottom: none; }
.prose tbody td:first-child { color: var(--ink); font-weight: 600; }

.portrait-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 1.2rem; display: block; }

.timeline { display: flex; flex-direction: column; gap: 1.6rem; margin: 1.8rem 0; }
.timeline-item { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.5rem; }
.timeline-years { font-family: 'IBM Plex Mono', monospace; font-size: 0.76rem; color: var(--brand-blue); white-space: nowrap; padding-top: 0.2rem; }
.timeline-item h4 { font-size: 1rem; font-weight: 600; margin: 0 0 0.35rem; color: var(--ink); }
.timeline-item p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }
@media (max-width: 640px) {
  .timeline-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .timeline-years { padding-top: 0; }
}

.prose .list-clean { margin-top: 1rem; margin-bottom: 1.2rem; }
.prose .post-tag-row { display: flex; align-items: center; gap: 0.9rem; margin: 2.2rem 0 0.6rem; flex-wrap: wrap; }

/* ---------- Blog ---------- */

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 2.4rem; }
@media (max-width: 720px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.post-card .post-top { padding: 1.5rem 1.5rem 0; }
.post-card .post-body { padding: 1rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-card h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.post-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.55; }
.post-meta { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; color: var(--ink-faint); letter-spacing: 0.04em; text-transform: uppercase; margin-top: auto; }

.placeholder-note {
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
  background: var(--surface-sunken);
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); padding: 3rem 0 2.2rem; margin-top: 2rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand { max-width: 20rem; }
.footer-brand p { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.8rem; line-height: 1.6; }
.footer-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h4 { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; margin-bottom: 0.8rem; }
.footer-col a { display: block; font-size: 0.86rem; color: var(--ink-soft); padding: 0.28rem 0; }
.footer-col a:hover { color: var(--brand-blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-soft); font-size: 0.76rem; color: var(--ink-faint); flex-wrap: wrap; gap: 0.6rem; }

/* ---------- Page header (non-home pages) ---------- */

.page-hero { padding: 3.6rem 0 2.8rem; }
.page-hero h1 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); font-weight: 600; }
.page-hero .lede { font-size: 1rem; color: var(--ink-soft); margin-top: 1rem; max-width: 38rem; line-height: 1.6; }

.breadcrumb { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; color: var(--ink-faint); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--brand-blue); }

/* ---------- Centered CTA blocks ---------- */
/* text-align alone only centers text inside a box — h2/h3 also carry a
   max-width from .block above, so the box itself needs centering too. */
.center-block { text-align: center; }
.center-block h2, .center-block h3, .center-block > p { margin-left: auto; margin-right: auto; }
.center-block .eyebrow, .center-block .actions { justify-content: center; }
