/* ============================================================
   AINURIC — MCP-ALIGNED DESIGN SYSTEM
   Light mode foundation · 5% blue · restraint over decoration
   ============================================================ */

/* 1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Backgrounds — 80% of the surface area */
  --bg:           #ffffff;
  --bg-soft:      #fafafa;
  --bg-muted:     #f5f5f5;
  --bg-dark:      #0e0f11;   /* hero contrast chapters only */

  /* Text */
  --text:         #1e1f21;
  --text-muted:   #6b6f76;
  --text-faint:   #9ca3af;
  --text-on-dark: #f5f5f3;
  --text-on-dark-muted: rgba(245, 245, 243, 0.6);

  /* Brand accent — 5% of the surface area */
  --accent:       #2e5eaa;
  --accent-hover: #3a6fcc;
  --accent-soft:  #e9f0fb;
  --accent-border:#c5d8f5;

  /* Borders */
  --border:       #e5e5e5;
  --border-focus: #2e5eaa;
  --border-hover: #d1d5db;

  /* Card surface */
  --bg-card:      #ffffff;
  --bg-card-hover:#fafafa;

  /* Nav */
  --bg-nav:       rgba(255, 255, 255, 0.94);

  /* Semantic */
  --success:      #2f7d5c;
  --warning:      #9a6b2f;
  --error:        #8b2f2f;

  /* Shape — crisp and compact */
  --radius:       4px;
  --radius-sm:    4px;
  --radius-md:    10px;
  --radius-pill:  999px;

  /* Spacing (8px base unit) */
  --space-1: 0.25rem;   /* 4px  */
  --space-2: 0.5rem;    /* 8px  */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */

  /* Transitions */
  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 120ms;
  --t-mid:  200ms;
  --t-slow: 380ms;

  /* Layout */
  --container: 1200px;
  --nav-h:     60px;
}

/* 2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; background: transparent; border: none; outline: none; }

/* Monospace for technical labels, metrics, product terms */
code, .mono,
.stats-strip__number,
.pub-card__year,
.label {
  font-family: 'JetBrains Mono', 'Fira Mono', 'Courier New', monospace;
}

/* 3. TYPOGRAPHY
   ============================================================ */
.text-display {
  font-size: clamp(2.25rem, 4.5vw + 0.5rem, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.text-h1 {
  font-size: clamp(1.875rem, 3vw + 0.5rem, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-h2 {
  font-size: clamp(1.375rem, 2vw + 0.25rem, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.text-h3 {
  font-size: clamp(1.05rem, 1.25vw + 0.1rem, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.text-body-lg {
  font-size: clamp(0.9375rem, 0.75vw + 0.1rem, 1.0625rem);
  line-height: 1.7;
}

.text-body  { font-size: 0.9375rem; line-height: 1.65; }
.text-sm    { font-size: 0.8125rem; line-height: 1.5; }
.text-xs    { font-size: 0.6875rem; line-height: 1.4; }

.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }

/* Uppercase micro-label — mono, reserved blue, very small */
.label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}

/* 4. LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section     { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--sm { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section--lg { padding: clamp(5rem, 9vw, 8rem) 0; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.75rem, 1.5vw, 1.25rem); }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Flex */
.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.items-center   { align-items: center; }
.justify-between{ justify-content: space-between; }
.gap-2  { gap: 0.5rem; }
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }

/* Misc */
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }

.w-full  { width: 100%; }
.max-w-sm { max-width: 480px; }
.max-w-md { max-width: 640px; }
.max-w-lg { max-width: 800px; }
.mx-auto  { margin-left: auto; margin-right: auto; }

/* 5. NAVIGATION — light, understated
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav__logo img {
  width: 28px;
  height: 28px;
}

.nav__logo-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.75vw, 1.5rem);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease);
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

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

.nav__link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
}

.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--t-mid) var(--ease), opacity var(--t-mid) var(--ease);
}

.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  padding: var(--space-6) clamp(1rem, 4vw, 2.5rem);
  flex-direction: column;
  gap: 0;
  z-index: 999;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}

.nav__mobile.open { display: flex; }

.nav__mobile-link {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast);
}

.nav__mobile-link:hover { color: var(--text); }

@media (max-width: 900px) {
  .nav__links, .nav__actions .btn--ghost { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 480px) {
  .nav__actions .btn--primary { display: none; }
}

/* 6. BUTTONS — compact and practical
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--bg-muted);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.btn--outline:hover {
  background: var(--accent-soft);
}

.btn--lg {
  padding: 0.7rem 1.6rem;
  font-size: 0.9375rem;
}

.btn--sm {
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
}

/* 7. HERO — dark contrast chapter
   Uses local CSS variable overrides so children render correctly
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;

  /* Dark canvas — scoped token overrides */
  background: var(--bg-dark);
  --text:         #f5f5f3;
  --text-muted:   rgba(245, 245, 243, 0.6);
  --text-faint:   rgba(245, 245, 243, 0.3);
  --border:       rgba(245, 245, 243, 0.1);
  --accent-soft:  rgba(46, 94, 170, 0.18);
  --accent-border:rgba(46, 94, 170, 0.45);
  --bg-card:      rgba(255, 255, 255, 0.04);
  --bg-muted:     rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero--page {
  min-height: 50vh;
  padding-top: calc(var(--nav-h) + 1rem);
  align-items: flex-start;
}

/* Subtle ambient glow — much more restrained than before */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.07;
  animation: orbDrift 12s ease-in-out infinite alternate;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: #2e5eaa;
  top: -100px;
  right: -80px;
}

.hero__orb--2 {
  width: 350px;
  height: 350px;
  background: #1e3a6e;
  bottom: 0;
  left: -60px;
  opacity: 0.05;
}

@keyframes orbDrift {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.08) translate(16px, -16px); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.65rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-6);
}

.hero__kicker span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7aabf7;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw + 0.25rem, 4.75rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  color: var(--text);
}

.hero__title em {
  font-style: normal;
  color: #7aabf7;   /* soft blue — not screaming accent */
}

.hero__subtitle {
  font-size: clamp(0.9375rem, 1.25vw + 0.1rem, 1.1rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: var(--space-8);
  font-weight: 300;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Buttons inside dark hero get adjusted ghost style */
.hero .btn--ghost {
  color: rgba(245, 245, 243, 0.7);
  border-color: rgba(245, 245, 243, 0.18);
}

.hero .btn--ghost:hover {
  color: #f5f5f3;
  border-color: rgba(245, 245, 243, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

/* 8. CARDS — flat, bordered, information-dense
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  transition: border-color var(--t-mid) var(--ease),
              background var(--t-mid) var(--ease);
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.card--accent:hover {
  border-color: var(--accent-border);
}

.card__icon {
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

.card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  line-height: 1.35;
  color: var(--text);
}

.card__body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: var(--space-4);
  transition: gap var(--t-fast);
}

.card__link:hover { gap: 0.45rem; }

/* Pricing card */
.card--pricing {
  position: relative;
  display: flex;
  flex-direction: column;
}

.card--pricing.featured {
  border-color: var(--accent-border);
  background: linear-gradient(160deg, var(--accent-soft) 0%, var(--bg-card) 50%);
}

.card--pricing .badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.18rem 0.7rem;
  border-radius: var(--radius-pill);
}

.card--pricing .price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: var(--space-4) 0 var(--space-2);
  color: var(--text);
}

.card--pricing .price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  font-family: 'IBM Plex Sans', sans-serif;
}

.card--pricing ul {
  flex: 1;
  margin: var(--space-5) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.card--pricing li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.card--pricing li::before {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e5eaa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 9. SECTION HEADERS
   ============================================================ */
.section-header {
  max-width: 580px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .label {
  display: block;
  margin-bottom: var(--space-3);
}

.section-header h2 {
  margin-bottom: var(--space-3);
  color: var(--text);
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* 10. FEATURE ROW — alternating text + visual
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--border);
}

.feature-row:last-child {
  border-bottom: 1px solid var(--border);
}

.feature-row--reverse .feature-row__visual {
  order: -1;
}

.feature-row__text .label {
  display: block;
  margin-bottom: var(--space-3);
}

.feature-row__text h3 {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-3);
  color: var(--text);
}

.feature-row__text p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.feature-row__visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  aspect-ratio: 16/10;
}

@media (max-width: 768px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row--reverse .feature-row__visual { order: 0; }
}

/* 11. VIDEO BLOCK
   ============================================================ */
.video-block {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  aspect-ratio: 16/9;
  cursor: pointer;
}

.video-block video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-block__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 31, 33, 0.25);
  transition: background var(--t-mid);
}

.video-block:hover .video-block__overlay {
  background: rgba(30, 31, 33, 0.15);
}

.video-block__play {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.video-block:hover .video-block__play {
  transform: scale(1.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
}

.video-block__play svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
  margin-left: 2px;
}

/* Placeholder (before real media is inserted) */
.placeholder-media {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  border: 1.5px dashed var(--border-hover);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--text-faint);
  font-size: 0.8125rem;
  text-align: center;
  padding: var(--space-8);
}

.placeholder-media svg {
  width: 32px;
  height: 32px;
  stroke: var(--border-hover);
}

.placeholder-media code {
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 0.25rem;
}

/* 12. STATS STRIP
   ============================================================ */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stats-strip__item {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
  border-right: 1px solid var(--border);
}

.stats-strip__item:last-child { border-right: none; }

.stats-strip__number {
  /* Inherits JetBrains Mono from the .mono / .stats-strip__number rule at top */
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stats-strip__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .stats-strip__grid { grid-template-columns: 1fr; }
  .stats-strip__item { border-right: none; border-bottom: 1px solid var(--border); }
  .stats-strip__item:last-child { border-bottom: none; }
}

/* 13. LOGOS BAR
   ============================================================ */
.logos-bar {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.logos-bar__label {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--space-6);
}

.logos-bar__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 4rem);
}

.logo-placeholder {
  height: 24px;
  width: 90px;
  background: var(--border);
  border-radius: 2px;
}

/* 14. CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: var(--space-3);
  color: var(--text);
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto var(--space-6);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

/* 15. PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 21px;
  left: calc(12.5% + 21px);
  right: calc(12.5% + 21px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.process-step { position: relative; z-index: 1; }

.process-step__num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

.process-step__title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text);
}

.process-step__body {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* 16. TEAM CARD
   ============================================================ */
.team-card { text-align: center; }

.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: 0.75rem;
}

.team-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.15rem;
  color: var(--text);
}

.team-card__role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* 17. PUBLICATION CARD
   ============================================================ */
.pub-card {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border);
}

.pub-card__year {
  /* Inherits JetBrains Mono */
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  padding-top: 3px;
  width: 44px;
}

.pub-card__title {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  line-height: 1.45;
  color: var(--text);
}

.pub-card__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* 18. FORM ELEMENTS
   ============================================================ */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.field input,
.field textarea,
.field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--border);  /* underline-led styling */
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 0.6rem 0.85rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--t-fast);
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--accent);
  outline: none;
}

.field textarea { resize: vertical; min-height: 110px; }

/* Email signup */
.email-signup {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
  margin: 0 auto;
}

.email-signup input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--t-fast);
}

.email-signup input:focus {
  border-color: var(--accent);
  outline: none;
}

@media (max-width: 480px) {
  .email-signup { flex-direction: column; }
  .email-signup input { width: 100%; }
}

/* 19. FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.footer__brand .nav__logo {
  margin-bottom: var(--space-4);
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 220px;
}

.footer__col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

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

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* 20. SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease),
              transform var(--t-slow) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

/* 21. PAGE LOAD FADE
   ============================================================ */
@keyframes pageFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

main { animation: pageFade 0.4s var(--ease) both; }

/* 22. INDUSTRY CARD
   ============================================================ */
.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color var(--t-mid), background var(--t-mid);
}

.industry-card:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
}

.industry-card__icon { font-size: 1.5rem; line-height: 1; }

.industry-card__title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}

.industry-card__body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* 23. MISC
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
}

.tag--accent {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}
