/* ImmiHub for Institutions — site-wide styles
   Layered on top of colors_and_type.css */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --font-serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  --max-w: 1200px;
  --gutter: 32px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--fg-2);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body { overflow-x: hidden; }

/* ---------- Serif + mono ---------- */
.serif { font-family: var(--font-serif); font-weight: 400; font-variation-settings: "opsz" 144; letter-spacing: -0.015em; }
.mono { font-family: var(--font-mono); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }

.divider { height: 1px; background: var(--border-subtle); border: 0; }

/* ---------- Nav ---------- */
.nav-root {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 253, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.nav-root.scrolled { border-bottom-color: var(--border-subtle); }
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  row-gap: 12px;
}
.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  font-size: 20px;
  color: var(--fg-1);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-menu-toggle:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.nav-drawer {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 4px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border-subtle);
}
.nav-drawer a {
  display: block;
  padding: 12px 10px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-1);
  text-decoration: none;
}
.nav-drawer a:hover { background: var(--im-blue-ice); color: var(--im-blue-deep); }
.nav-drawer .btn { width: 100%; margin-top: 8px; justify-content: center; }
.dso-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
  min-width: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg-1);
}
.nav-logo img { height: 22px; display: block; }
.nav-logo-lockup {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--fg-2);
  border-left: 1px solid var(--border-subtle);
  padding-left: 10px;
  font-style: italic;
  letter-spacing: -0.01em;
}
.nav-logo-stacked {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.nav-logo-stacked img { height: 20px; }
.nav-logo-stacked .nav-logo-lockup {
  border-left: 0;
  padding-left: 0;
  font-size: 12px;
  line-height: 1;
  color: var(--fg-3);
  margin-top: 3px;
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 12px;
}
.nav-link {
  font-size: 14px;
  color: var(--fg-2);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-link:hover { color: var(--fg-1); }
.nav-link.active { color: var(--im-blue-deep); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-cross {
  font-size: 12.5px;
  color: var(--fg-3);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-cross:hover { color: var(--fg-2); }
.nav-cross-sep { color: var(--border-default); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn-primary { background: var(--im-blue); color: #fff; }
.btn-primary:hover { background: var(--im-blue-deep); }
.btn-ghost { background: transparent; color: var(--fg-1); border-color: var(--border-default); }
.btn-ghost:hover { background: var(--im-blue-ice); border-color: var(--im-blue-sky); color: var(--im-blue-deep); }
.btn-text { background: transparent; color: var(--im-blue-deep); padding: 8px 0; }
.btn-text:hover { color: var(--im-blue); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--im-blue-deep);
}
.eyebrow-muted {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 64px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--fg-1);
  margin: 16px 0 20px;
  text-wrap: balance;
}
.hero p.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 640px;
  margin: 0 0 28px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-trust { margin-top: 20px; font-size: 13px; color: var(--fg-3); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

/* ---------- Product-shot frame ---------- */
.product-shot {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px -20px rgba(26,35,50,0.18), 0 4px 12px rgba(26,35,50,0.05);
  overflow: hidden;
}
.product-shot-static-img {
  display: none;
  width: 100%;
  height: auto;
  border-radius: inherit;
}
#product-glimpse .product-shot--tall { min-height: 600px; }

/* ---------- Stat band ---------- */
.stat-band {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.stat-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 40px 0;
  align-items: baseline;
  border-bottom: 1px solid var(--border-subtle);
}
.stat-row:last-child { border-bottom: 0; }
.stat-num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 84px;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--fg-1);
  font-variation-settings: "opsz" 144;
}
.stat-desc { font-size: 18px; color: var(--fg-2); line-height: 1.5; max-width: 560px; text-wrap: pretty; }

/* ---------- Section headers ---------- */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 12px 0 14px;
  text-wrap: balance;
}
.section-head p {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Feature grid ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feat-cell {
  background: var(--bg-surface);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat-ico {
  width: 36px; height: 36px;
  color: var(--im-blue);
}
.feat-cell h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  margin: 0;
  text-wrap: balance;
}
.feat-cell p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.feat-cell em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--fg-3);
  margin-top: auto;
  padding-top: 6px;
}

/* ---------- Tab switcher ---------- */
.tabs-bar {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 32px;
}
.tabs-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-3);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.tab-btn:hover { color: var(--fg-2); }
.tab-btn.active {
  color: var(--fg-1);
  border-bottom-color: var(--im-blue);
}

/* ---------- Three-col split ---------- */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.three-col h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  margin: 14px 0 14px;
  color: var(--fg-1);
}
.three-col ul { list-style: none; padding: 0; margin: 0; }
.three-col li {
  font-size: 14.5px;
  color: var(--fg-2);
  padding: 8px 0;
  border-top: 1px solid var(--border-subtle);
}
.three-col li:first-child { border-top: 0; }
.three-col .col-ico { width: 28px; height: 28px; color: var(--im-blue); stroke-width: 1.5; }

/* ---------- "What we're not" ---------- */
.not-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.not-card h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--fg-1);
}
.not-list { display: grid; gap: 20px; }
.not-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
}
.not-item:first-child { border-top: 0; padding-top: 0; }
.not-item strong {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--im-status-danger-fg);
  letter-spacing: -0.01em;
}
.not-item p { margin: 0; font-size: 15px; color: var(--fg-2); line-height: 1.55; }

/* ---------- Roadmap ---------- */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.roadmap-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}
.roadmap-card .qtr {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--im-blue-deep);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.roadmap-card h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--fg-1);
  line-height: 1.3;
}
.roadmap-card p { font-size: 13.5px; color: var(--fg-2); line-height: 1.5; margin: 0; }
.roadmap-card.current { border-color: var(--im-blue-sky); background: var(--im-blue-ice); }

/* ---------- Waitlist form ---------- */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--fg-1);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: var(--shadow-focus);
}
.field textarea { min-height: 100px; resize: vertical; }
.field-error { color: var(--im-status-danger-fg); font-size: 12px; margin-top: 4px; }

.form-success {
  background: var(--im-status-valid-bg);
  border: 1px solid var(--im-green);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  color: var(--fg-1);
}
.form-success h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--fg-1);
}
.form-success p { margin: 0; font-size: 14.5px; color: var(--fg-2); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--fg-2);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-col a:hover { color: var(--fg-1); }
.footer-mission { font-size: 14px; color: var(--fg-3); line-height: 1.55; margin: 12px 0 0; max-width: 280px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: var(--fg-3);
}
.footer-social { display: flex; gap: 12px; align-items: center; }
.footer-social a { color: var(--fg-3); display: inline-flex; }
.footer-social a:hover { color: var(--im-blue-deep); }

/* ---------- Anchor pills ---------- */
.anchor-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.anchor-pill {
  padding: 8px 14px;
  font-size: 13px;
  color: var(--fg-2);
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--dur-fast) var(--ease-out);
}
.anchor-pill:hover { background: var(--im-blue-ice); color: var(--im-blue-deep); border-color: var(--im-blue-sky); }

/* ---------- Feature deep-dive row ---------- */
.deep-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
  align-items: start;
}
.deep-row:first-of-type { border-top: 0; }
.deep-row h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 10px 0 20px;
  color: var(--fg-1);
}
.deep-row ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.deep-row ul li {
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
}
.deep-row ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--im-blue);
}
.deep-row .shots { display: grid; gap: 16px; }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-card.featured {
  border-color: var(--im-blue);
  box-shadow: 0 0 0 1px var(--im-blue) inset;
}
.price-card .tier {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--fg-1);
  letter-spacing: -0.01em;
}
.price-card .scope { font-size: 13px; color: var(--fg-3); }
.price-card .amt {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--fg-1);
  letter-spacing: -0.02em;
}
.price-card .amt small { font-size: 13px; color: var(--fg-3); font-family: var(--font-sans); font-weight: 400; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.price-card ul li {
  font-size: 13.5px;
  color: var(--fg-2);
  padding-left: 18px;
  position: relative;
}
.price-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-left: 1.5px solid var(--im-blue);
  border-bottom: 1.5px solid var(--im-blue);
  transform: rotate(-45deg);
  top: 5px;
}
.price-card .btn { margin-top: auto; }

/* ---------- Compare table ---------- */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare th, .compare td {
  text-align: left;
  padding: 14px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-subtle);
}
.compare thead th {
  background: var(--bg-alt);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 15px;
  color: var(--fg-1);
}
.compare td { color: var(--fg-2); }
.compare td:first-child { color: var(--fg-1); font-weight: 500; }
.compare tr:last-child td { border-bottom: 0; }
.chk {
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--im-blue);
}
.dash { color: var(--fg-3); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border-subtle); }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--fg-1);
  cursor: pointer;
  letter-spacing: -0.01em;
}
.faq-q:hover { color: var(--im-blue-deep); }
.faq-toggle {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--fg-3);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--im-blue); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out), padding var(--dur-slow) var(--ease-out);
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 0 24px; }

/* ---------- Artifact download cards ---------- */
.artifact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.artifact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.artifact-card:hover {
  border-color: var(--im-blue-sky);
  box-shadow: var(--shadow-md);
}
.artifact-doc {
  width: 44px; height: 56px;
  background: var(--im-blue-ice);
  border: 1px solid var(--im-blue-sky);
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
}
.artifact-doc::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 14px; height: 14px;
  background: var(--bg-page);
  border-left: 1px solid var(--im-blue-sky);
  border-bottom: 1px solid var(--im-blue-sky);
}
.artifact-doc span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--im-blue-deep);
}
.artifact-card h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--fg-1);
}
.artifact-card p { font-size: 14px; color: var(--fg-2); margin: 0; line-height: 1.55; }
.artifact-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Scrollytelling ---------- */
.scroll-scene {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  min-height: 80vh;
  padding: 80px 0;
  align-items: center;
}
.scroll-scene .narr .stamp {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.scroll-scene h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 16px;
  text-wrap: balance;
}
.scroll-scene p {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Leadership cards ---------- */
.lead-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.lead-card .tag {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--im-blue-deep);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.lead-card .role-note {
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 8px;
  line-height: 1.5;
}
.lead-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.lead-card ul li {
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
}
.lead-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 1px;
  background: var(--im-blue);
}

/* ---------- Waitlist benefits card ---------- */
.benefits {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
}
.benefits::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--im-blue);
}
.benefits h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--fg-1);
  letter-spacing: -0.015em;
}
.benefits ul {
  list-style: none; padding: 0; margin: 24px 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}
.benefits li {
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.5;
}
.benefits li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 10px; height: 6px;
  border-left: 1.5px solid var(--im-blue);
  border-bottom: 1.5px solid var(--im-blue);
  transform: rotate(-45deg);
}

/* ---------- Modal ---------- */
.modal-scrim {
  position: fixed;
  inset: 0;
  background: rgba(26, 35, 50, 0.48);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.modal-scrim.show { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px);
  transition: transform var(--dur-base) var(--ease-out);
}
.modal-scrim.show .modal { transform: translateY(0); }
.modal h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--fg-1);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr; }
  .three-col, .roadmap, .price-grid, .artifact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .stat-num { font-size: 60px; }
  .deep-row, .scroll-scene { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .lead-card { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .benefits ul { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-menu-toggle { display: inline-flex; }
  .nav-drawer.is-open { display: flex; flex-basis: 100%; }
  .nav-inner { padding: 12px 20px; }
  .nav-inner .nav-logo-stacked,
  .nav-inner > a:first-child { flex: 1; min-width: 0; }
  .section { padding: 64px 0; }
  .not-item { grid-template-columns: 1fr; gap: 8px; }
  .dso-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-shot { max-width: 560px; margin: 0 auto; }
  .product-shot-dynamic { display: none !important; }
  .product-shot-static-img { display: block !important; }
  #product-glimpse .product-shot--tall { min-height: 0 !important; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .not-card { padding: 28px 22px; }
  .not-card h2 { font-size: 28px; }
}
