/* Credit Coalition — trust-forward light system (palette 2A) */
:root {
  /* Mandatory palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f0f4f8;
  --text-main: #102a43;
  --accent-growth: #2a9d8f;
  --accent-action: #005c97;

  /* Derived (readability & structure; built from spec colors) */
  --text-muted: #486581;
  --line: rgba(16, 42, 67, 0.12);
  --line-strong: rgba(16, 42, 67, 0.2);
  --accent-growth-soft: rgba(42, 157, 143, 0.12);
  --accent-action-soft: rgba(0, 92, 151, 0.1);
  --accent-action-hover: #004a7a;
  --surface-raised: #ffffff;
  /* 2C: sharp geometry + thin elevation */
  --radius-sharp: 4px;
  --radius-tight: 2px;
  --shadow-card: 0 4px 6px -1px rgba(16, 42, 67, 0.06);
  --shadow-card-deep: 0 4px 6px -1px rgba(16, 42, 67, 0.08), 0 2px 4px -2px rgba(16, 42, 67, 0.04);

  /* Typography 2B: titles — geometric sans; body — Inter */
  --font-title: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text-main);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-action);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.94),
    rgba(255, 255, 255, 0.78) 65%,
    transparent
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    transform 0.38s var(--ease-out),
    border-color 0.4s var(--ease-out),
    background 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.site-header.site-header--hidden:not(.site-header--nav-open) {
  transform: translateY(-100%);
  pointer-events: none;
}

.site-header.site-header--nav-open {
  pointer-events: auto;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: border-color 0.4s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  }
  .site-header.site-header--hidden:not(.site-header--nav-open) {
    transform: none;
    pointer-events: auto;
  }
}

/* Smart header: hide-on-scroll only below main nav breakpoint */
@media (min-width: 900px) {
  .site-header.site-header--hidden:not(.site-header--nav-open) {
    transform: none;
    pointer-events: auto;
  }
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.logo {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text-main);
}

.logo:hover {
  color: var(--accent-action);
}

.logo-img {
  display: block;
  height: 1.75rem;
  width: auto;
  max-width: min(220px, 62vw);
}

.nav {
  display: none;
  gap: 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.nav a:hover {
  color: var(--text-main);
}

.header-cta {
  display: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--accent-action);
  border: 1px solid var(--line-strong);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-tight);
  background: var(--bg-primary);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.header-cta:hover {
  color: var(--bg-primary);
  background: var(--accent-action);
  border-color: var(--accent-action);
  box-shadow: var(--shadow-card);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-tight);
  background: var(--bg-primary);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 0 auto;
  background: var(--text-main);
  transition: transform 0.35s var(--ease-out);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav,
  .header-cta {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

.nav-panel {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 9999;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  background-color: var(--bg-primary);
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(16, 42, 67, 0.12);
}

.nav-panel[hidden] {
  display: none;
}

.nav-panel nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nav-panel a {
  font-family: var(--font-title);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text-main);
}

.nav-panel a:hover {
  color: var(--accent-action);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) clamp(1.25rem, 4vw, 3rem) 6rem;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 2C: tech / graph-paper grid (data & precision) */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(rgba(16, 42, 67, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 67, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(16, 42, 67, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 67, 0.075) 1px, transparent 1px);
  background-size: 8px 8px, 8px 8px, 40px 40px, 40px 40px;
  background-position: 0 0, 0 0, 0 0, 0 0;
}

.hero-mesh {
  position: absolute;
  z-index: 1;
  inset: -25%;
  background:
    radial-gradient(ellipse 75% 55% at 15% 15%, var(--accent-growth-soft), transparent 58%),
    radial-gradient(ellipse 55% 45% at 85% 45%, var(--accent-action-soft), transparent 52%),
    radial-gradient(ellipse 50% 55% at 50% 95%, rgba(42, 157, 143, 0.06), transparent 48%);
}

.hero-line {
  position: absolute;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  height: 1px;
  left: 10%;
  right: 10%;
  opacity: 0.85;
}

.hero-line--1 {
  top: 28%;
}

.hero-line--2 {
  bottom: 32%;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 58rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-growth);
  margin: 0 0 1.5rem;
}

.hero-title {
  margin: 0 0 1.75rem;
  font-family: var(--font-title);
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.hero-title span {
  display: block;
}

.hero-lead {
  max-width: 36rem;
  margin: 0 0 2.5rem;
  color: var(--text-muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-tight);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent-action);
  color: var(--bg-primary);
  box-shadow: var(--shadow-card-deep);
}

.btn-primary:hover {
  background: var(--accent-action-hover);
  color: var(--bg-primary);
  box-shadow: var(--shadow-card);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text-main);
  background: var(--bg-primary);
}

.btn-ghost:hover {
  border-color: var(--accent-growth);
  color: var(--accent-action);
  box-shadow: var(--shadow-card);
}

.btn-dark {
  background: var(--accent-action);
  color: var(--bg-primary);
  border-color: var(--accent-action);
}

.btn-dark:hover {
  background: var(--accent-action-hover);
  border-color: var(--accent-action-hover);
  color: var(--bg-primary);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--accent-growth), transparent);
}

@media (max-width: 600px) {
  .hero-scroll {
    display: none;
  }
}

/* Migrated imagery + safe video (local assets, link-out only) */
.section--media-strip {
  padding-top: clamp(2.25rem, 5vw, 3.25rem);
  padding-bottom: clamp(2.25rem, 5vw, 3.25rem);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--line);
}

.media-strip {
  display: grid;
  gap: 1rem;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

@media (min-width: 700px) {
  .media-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-sharp);
    overflow: hidden;
    box-shadow: var(--shadow-card);
  }
}

.media-strip__item {
  margin: 0;
  background: var(--surface-raised);
  border-radius: var(--radius-sharp);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

@media (min-width: 700px) {
  .media-strip__item {
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
}

.media-strip__item img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-strip__cap {
  margin: 0;
  padding: 0.75rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-secondary);
}

.section--video-feature {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--line);
}

.video-feature-wrap {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.video-feature {
  display: block;
  margin-top: 1.5rem;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sharp);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.video-feature:hover {
  box-shadow: var(--shadow-card-deep);
  border-color: rgba(16, 42, 67, 0.16);
}

.video-feature:focus-visible {
  outline: 2px solid var(--accent-action);
  outline-offset: 3px;
}

.video-feature__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-primary);
}

.video-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-feature__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 42, 67, 0.5), rgba(16, 42, 67, 0.08));
  pointer-events: none;
}

.video-feature__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.video-feature__play-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.75rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--accent-action);
  border-radius: var(--radius-tight);
  box-shadow: var(--shadow-card-deep);
}

.video-feature:hover .video-feature__play-label {
  background: var(--accent-action-hover);
}

.video-feature__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.15rem 1.3rem;
  background: var(--bg-primary);
}

.video-feature__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.video-feature__hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-growth);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0 0 1.5rem;
}

.section-sub {
  margin: 0;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.section--split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  background: var(--bg-primary);
}

@media (min-width: 880px) {
  .section--split {
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    gap: 4rem;
  }
  .section--reverse .section-label {
    order: 2;
  }
  .section--reverse .section-body {
    order: 1;
  }
}

.prose p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  max-width: 38rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose a {
  color: var(--accent-action);
  font-weight: 500;
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  color: var(--text-muted);
}

.prose li {
  margin-bottom: 0.4rem;
}

.program-card-cta {
  margin: 1.15rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
}

.program-card-cta a {
  color: var(--accent-action);
  text-decoration: none;
}

.program-card-cta a:hover {
  text-decoration: underline;
}

.section--dark {
  background: var(--bg-secondary);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3.5rem;
}

/* 2C: statistics / infographic */
.section--stats {
  background: var(--bg-primary);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.stats-intro {
  margin-top: 0.75rem;
}

.stats-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.stats-card {
  margin: 0;
  padding: 1.75rem 1.5rem;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.stats-card:hover {
  box-shadow: var(--shadow-card-deep);
  border-color: rgba(16, 42, 67, 0.14);
}

.stats-value {
  margin: 0 0 0.75rem;
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent-action);
  font-variant-numeric: tabular-nums;
}

.stats-value .js-count {
  font-variant-numeric: tabular-nums;
}

.stats-suffix {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stats-label {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.program-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

@media (min-width: 700px) {
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .program-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.program-card {
  margin: 0;
  padding: 2rem 1.75rem;
  background: var(--surface-raised);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.program-card:hover {
  background: color-mix(in srgb, var(--bg-secondary) 55%, var(--bg-primary));
  box-shadow: inset 0 0 0 1px var(--accent-growth-soft), var(--shadow-card);
}

@supports not (background: color-mix(in srgb, white, black)) {
  .program-card:hover {
    background: #f7fafc;
  }
}

.program-num {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-action);
  margin-bottom: 1rem;
}

.program-card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--text-main);
  line-height: 1.25;
}

.program-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.section--accent {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, color-mix(in srgb, var(--bg-secondary) 88%, var(--accent-growth)) 100%);
  color: var(--text-main);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@supports not (background: color-mix(in srgb, white, black)) {
  .section--accent {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #e8f2f0 100%);
  }
}

.section--accent .section-label {
  color: var(--accent-growth);
}

.section--accent .section-title {
  color: var(--text-main);
}

.classes-inner {
  max-width: 44rem;
}

.classes-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-main);
  margin: 0 0 1.5rem;
}

.classes-note {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent-growth);
}

.classes-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.classes-cta .btn-dark:hover {
  color: var(--bg-primary);
}

.section--quote {
  padding: clamp(5rem, 12vw, 10rem) clamp(1.25rem, 4vw, 3rem);
  text-align: center;
  background: var(--bg-primary);
}

.quote {
  margin: 0 auto;
  max-width: 44rem;
  padding: 0;
  border: none;
}

.quote p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  color: var(--text-main);
}

.section--contact {
  border-top: 1px solid var(--line);
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: end;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-lead {
  margin: 1rem 0 0;
  color: var(--text-muted);
  max-width: 22rem;
}

.contact-phone {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.contact-phone:hover {
  color: var(--accent-action);
}

.contact-link {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--accent-action);
}

.contact-domain {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.contact-domain a {
  color: var(--accent-action);
}

.contact-domain a:hover {
  color: var(--accent-growth);
}

/* Footer */
.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--line);
  background: var(--bg-primary);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 90rem;
  margin: 0 auto;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-brand {
  font-family: var(--font-title);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  text-decoration: none;
}

.footer-brand:hover {
  color: var(--accent-action);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
}

.footer-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-action);
}

/* Prominent legal links (conversion §4) */
.footer-links a[href="privacy.html"],
.footer-links a[href="terms.html"] {
  font-size: max(15px, 1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-main);
}

.footer-links a[href="privacy.html"]:hover,
.footer-links a[href="terms.html"]:hover {
  color: var(--accent-action);
}

/* Hero conversion strip */
.hero-cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero-cta-strip .btn-cta-pill {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-tight);
  border: 1px solid var(--line-strong);
  background: var(--bg-primary);
  color: var(--text-main);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.hero-cta-strip .btn-cta-pill:hover {
  border-color: var(--accent-action);
  color: var(--accent-action);
}

.hero-cta-strip .btn-cta-pill--primary {
  background: var(--accent-action);
  border-color: var(--accent-action);
  color: var(--bg-primary);
}

.hero-cta-strip .btn-cta-pill--primary:hover {
  background: var(--accent-action-hover);
  border-color: var(--accent-action-hover);
  color: var(--bg-primary);
}

.footer-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-meta a {
  color: var(--accent-action);
  text-decoration: none;
}

.footer-meta a:hover {
  text-decoration: underline;
}

/* Inner pages (multi-page shell) */
.page-hero {
  padding: calc(var(--header-h) + 2.25rem) clamp(1.25rem, 4vw, 3rem) 2rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 0.65rem;
  color: var(--text-main);
  line-height: 1.15;
}

.page-lead {
  margin: 0;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.page-body {
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 10vw, 6rem);
  background: var(--bg-primary);
}

.page-body-inner {
  max-width: 46rem;
  margin: 0 auto;
}

.page-body-inner--wide {
  max-width: 56rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-action);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.link-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .link-cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .link-cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.link-card {
  display: block;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sharp);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.link-card:hover {
  box-shadow: var(--shadow-card-deep);
  border-color: rgba(16, 42, 67, 0.14);
}

.link-card h2 {
  font-family: var(--font-title);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  color: var(--text-main);
}

.link-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.legal-prose {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal-prose h2 {
  font-family: var(--font-title);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 2rem 0 0.75rem;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose p {
  margin: 0 0 1rem;
}

.legal-prose ul,
.legal-prose ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.legal-prose li {
  margin-bottom: 0.35rem;
}

.legal-prose a {
  color: var(--accent-action);
}

.legal-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 {
  transition-delay: 0.08s;
}
.reveal--delay-2 {
  transition-delay: 0.16s;
}
.reveal--delay-3 {
  transition-delay: 0.24s;
}
.reveal--delay-4 {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
