/* Gantry marketing site — editorial layout styles (2026-08-04 overhaul).
   Ink-on-paper: LIGHT is the default theme here (the one light-default
   surface; each page head sets data-theme from localStorage, footer toggle
   flips it). Design tokens come from tokens.css and shared component
   classes (.cg-*) from components.css (both auto-synced; linked before
   this file on every page). Serif display (Newsreader) for headlines,
   sans (Geist) for everything else, hairlines over shadows, near-square
   radii. All colors/radii/motion are var(--*) tokens — no literals. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a.cg-btn { text-decoration: none; } /* landing buttons are anchors */
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-md { padding: 12px 24px; font-size: 14.5px; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }

/* Editorial paper: the old dashboard grid texture is retired. The rule
   stays because the baked /disciplines pages still carry the (aria-hidden)
   .grid-bg divs — they simply render nothing now. */
.grid-bg { display: none; }

/* ---- shared layout rhythm ---- */
.wrap { max-width: 1160px; margin: 0 auto; padding-left: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 4vw, 40px); }
.wrap-narrow { max-width: 880px; }

/* Sections are full-width bands separated by full-bleed hairlines; inner
   content re-wraps. `.no-sep` for a band that follows another rule. */
.section { border-top: 1px solid var(--line); padding-top: clamp(88px, 12vh, 148px); padding-bottom: clamp(88px, 12vh, 148px); }
.section.tight { padding-top: clamp(56px, 8vh, 88px); padding-bottom: clamp(56px, 8vh, 88px); }
.section.no-sep { border-top: 0; }

/* Eyebrow above a section heading (uppercase micro-label, .cg-kicker) */
.eyebrow { display: block; margin-bottom: 18px; }
.kicker-lg { letter-spacing: .22em; font-size: 11px; margin: 0 0 20px; }

/* ---- editorial display type: serif headlines, italic <em> accent ---- */
h1.display, .display {
  margin: 0 0 26px;
  font-family: var(--font-serif);
  font-size: clamp(42px, 6.2vw, 80px);
  line-height: 1.04;
  font-weight: 470;
  letter-spacing: -0.014em;
  text-wrap: balance;
}
h1.page-title {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.07;
  font-weight: 470;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h2.section-h {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 480;
  letter-spacing: -0.008em;
  line-height: 1.12;
  text-wrap: balance;
}
/* The accent word: Newsreader italic, same ink — never a color change. */
h1 em, h2 em { font-style: italic; color: inherit; letter-spacing: 0; }
.em-brand { font-style: normal; color: var(--brand-text); }

.lede { margin: 0; color: var(--fg-2); font-size: 16.5px; line-height: 1.7; }
.lede-sm { margin: 0; color: var(--fg-3); font-size: 14.5px; line-height: 1.7; }
.center { text-align: center; }
.center .lede, .center h2 { margin-left: auto; margin-right: auto; }
.two-col {
  display: grid; grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.mono-note { font: 500 12px var(--font-mono); letter-spacing: .08em; color: var(--fg-4); }

/* Inline text links (prose, captions) — ink with hairline underline,
   brand text on hover. */
.lede a, .lede-sm a, .lede-body a, .legal-body a, .hero-caption a, .fine a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: color .15s var(--ease), text-decoration-color .15s var(--ease);
}
.lede a:hover, .lede-sm a:hover, .lede-body a:hover, .legal-body a:hover,
.hero-caption a:hover, .fine a:hover {
  color: var(--brand-text); text-decoration-color: var(--brand-text);
}

/* Big display numerals are serif — labels stay micro-sans/mono. */
.num-display {
  font-family: var(--font-serif);
  font-weight: 460;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.01em;
}

/* ---- shared nav ---- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.site-nav.scrolled {
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; display: flex; align-items: center;
  gap: 30px; padding: 0 clamp(20px, 4vw, 40px); height: 64px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; color: var(--fg); }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: 10px; }
.nav-link {
  text-decoration: none; font-size: 13.5px; font-weight: 500;
  color: var(--fg-3); transition: color .15s var(--ease);
}
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }

/* "Try Gantry" split button — one ink-filled button, two segments: the main
   anchor and the arrow toggle that owns the dropdown panel. */
.nav-try { position: relative; display: inline-flex; }
.nav-try-main {
  border-top-right-radius: 0; border-bottom-right-radius: 0;
  white-space: nowrap;
}
.nav-try-toggle {
  border-top-left-radius: 0; border-bottom-left-radius: 0;
  /* hairline seam between the segments, drawn in the fill's own ink */
  border-left: 1px solid color-mix(in oklab, var(--bg) 30%, var(--fg));
  margin-left: -1px;
  padding-left: 8px; padding-right: 8px;
}
.nav-try-toggle svg { display: block; transition: transform .15s var(--ease); }
.nav-try.open .nav-try-toggle svg { transform: rotate(180deg); }
.nav-try-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 120;
  min-width: 196px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md); /* a true overlay — shadows allowed */
  padding: 7px;
}
.nav-try-menu .menu-kicker { padding: 7px 10px 5px; font-size: 10px; color: var(--fg-4); }
.nav-try-menu a {
  display: block; padding: 8px 10px; border-radius: var(--r-sm);
  text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--fg-2);
  transition: background .12s var(--ease), color .12s var(--ease);
}
.nav-try-menu a:hover { background: var(--bg-hover); color: var(--fg); }
.nav-try-menu .menu-stub {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; font-size: 13.5px; font-weight: 500; color: var(--fg-4);
  cursor: default;
}
.nav-try-menu .menu-stub .soon {
  font: 500 9.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-4); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 1px 7px 2px;
}
.menu-sep { height: 1px; background: var(--line); margin: 6px 3px; }

/* ---- shared footer ---- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-1); margin-top: auto; position: relative; overflow: hidden; }
.foot-inner { max-width: 1160px; margin: 0 auto; padding: 64px clamp(20px, 4vw, 40px) 0; }
/* Disciplines (col 3) carries a two-column link grid, so it gets the
   widest track — wide enough that "Advanced practice" never wraps. The
   extra width comes out of the brand column and the column gap; the two
   flanking link columns stay equal so the row reads balanced. */
.foot-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) minmax(120px, .85fr) minmax(252px, 1.3fr) minmax(130px, .85fr);
  gap: 40px 32px;
}
.foot-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.foot-brand p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--fg-3); max-width: 26ch; }
.foot-socials { display: flex; gap: 14px; margin-top: 4px; }
.foot-social { color: var(--fg-3); display: inline-flex; transition: color .15s var(--ease); }
.foot-social:hover { color: var(--fg); }
.foot-kicker { margin-bottom: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col a { text-decoration: none; font-size: 13.5px; color: var(--fg-3); transition: color .15s var(--ease); }
.foot-col a:hover { color: var(--fg); }
.foot-disciplines { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.foot-disciplines a { white-space: nowrap; } /* names never break mid-label */
.foot-legal {
  margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--fg-4);
}
.foot-legal nav { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.foot-legal a { text-decoration: none; font-size: 12.5px; color: var(--fg-4); transition: color .15s var(--ease); }
.foot-legal a:hover { color: var(--fg); }

/* Theme toggle — small segmented pill in the legal row. */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--bg); padding: 3px;
}
.theme-toggle button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; padding: 0;
  border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--fg-4); cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.theme-toggle button:hover { color: var(--fg-2); }
.theme-toggle button[data-active="true"] { background: var(--bg-3); color: var(--fg); }

/* Giant outlined wordmark watermark — cropped by the footer's bottom edge. */
.foot-watermark {
  pointer-events: none; user-select: none;
  margin-top: clamp(36px, 6vh, 64px);
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 460;
  font-size: clamp(130px, 23vw, 330px);
  line-height: 0.72;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  transform: translateY(0.16em); /* sink into the bottom crop */
}
@supports not (-webkit-text-stroke: 1px black) {
  .foot-watermark { color: var(--bg-3); }
}

/* ============ HOME: hero — full-bleed globe flight ============
   The globe animation spans the whole viewport band behind the centered
   copy (the pre-overhaul layout, restored 2026-08-04); type, buttons and
   the stat row keep the editorial treatment. */
.hero {
  position: relative; overflow: hidden;
  z-index: 0; /* own stacking context — floating cards must stay under the nav */
  min-height: calc(100vh - 64px); /* viewport minus the sticky nav */
  display: flex; flex-direction: column;
}
@supports (height: 100svh) {
  .hero { min-height: calc(100svh - 64px); }
}
.hero-globe { position: absolute; inset: 0; }
/* readability scrim between the globe and the centered copy */
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse 62% 46% at 50% 34%,
    color-mix(in oklab, var(--bg) 68%, transparent) 0%,
    color-mix(in oklab, var(--bg) 42%, transparent) 55%,
    transparent 100%);
}
.hero-copy {
  position: relative; z-index: 5;
  max-width: 880px; margin: 0 auto; width: 100%;
  padding: clamp(48px, 8vh, 100px) clamp(20px, 4vw, 40px) 24px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-copy .lede { max-width: 56ch; margin-bottom: 36px; font-size: 17.5px; line-height: 1.65; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-caption { margin: 0; font-size: 13px; color: var(--fg-3); }
.hero-hint {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  color: var(--fg-4); z-index: 6;
  animation: gm-scroll-hint 2.4s var(--ease) infinite;
}
.hero-blocks {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none; perspective: 1200px;
}
.hero-block { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity .6s var(--ease); }
.hero-blocks.on .hero-block { opacity: 1; transition-delay: calc(var(--i, 0) * 120ms); }
.hero-block-stem {
  position: absolute; left: -0.5px; width: 1px;
  transform-origin: bottom center;
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand) 60%, transparent), var(--brand));
}
.hero-block-card {
  position: absolute; left: 0; top: -26px;
  transform: translate(-50%, -100%);
  transform-origin: bottom center;
  will-change: transform;
}
.hb-inner {
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  padding: 9px 12px 8px; width: max-content; max-width: 230px;
}
.hb-name {
  font-size: 12.5px; font-weight: 600; color: var(--fg); line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 206px;
}
.hb-meta {
  font: 500 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-3); margin-top: 3px;
}
.hb-cov {
  display: flex; align-items: center; gap: 7px; margin-top: 6px;
  font: 500 10.5px var(--font-mono); color: var(--fg-2);
}
.hb-cov .cg-dot { width: 7px; height: 7px; }

/* Hairline-ruled stat row: serif numerals, micro labels. Shared by the
   home hero (pinned to the hero's bottom edge) and the Platform page. */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0;
}
.stat-band > div {
  display: flex; flex-direction: column-reverse; gap: 6px;
  padding: 6px clamp(16px, 2.5vw, 32px);
  border-left: 1px solid var(--line);
}
.stat-band > div:first-child { border-left: 0; padding-left: 0; }
.stat-band dt {
  font: 500 11px var(--font-sans); letter-spacing: .08em;
  color: var(--fg-3); text-transform: uppercase;
}
.stat-band dd { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1; color: var(--fg); }
.hero-stats-wrap { position: relative; z-index: 5; width: 100%; margin-top: auto; }
.hero-stats { padding: clamp(28px, 4vh, 40px) 0 clamp(44px, 7vh, 72px); }
/* Hero band only: label + numeral centered in each cell, and the cell's
   content centered between the hairline separators — so the edge cells get
   their padding back (the base and ≤900px rules zero it; the extra class
   here outweighs both). Platform's plain .stat-band stays left-aligned. */
.stat-band.hero-stats > div { align-items: center; text-align: center; }
.stat-band.hero-stats > div:first-child,
.stat-band.hero-stats > div:nth-child(3) { padding-left: clamp(16px, 2.5vw, 32px); }

/* ============ HOME: live-reconciliation strip ============
   Replaced the retired wordmark marquee (no customers yet — nothing real
   to show). A slow stream of abstract change chips: generic entity types
   + states only, glyphs tinted with status tokens sparingly. */
.live-band {
  border-top: 1px solid var(--line);
  background: var(--bg-1); padding: 32px 0; overflow: hidden;
}
.live-band .cg-kicker { text-align: center; display: block; margin-bottom: 20px; }
.marquee-mask {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee {
  display: inline-flex; gap: 84px; padding-right: 84px; white-space: nowrap;
  align-items: center; animation: gm-marquee 44s linear infinite;
}
/* chips drift slower and sit closer together than the old wordmarks */
.live-band .marquee { gap: 12px; padding-right: 12px; animation-duration: 64s; }
.chg-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--bg);
  font: 500 11.5px var(--font-mono); letter-spacing: .02em; color: var(--fg-2);
}
.chg-glyph { width: 6px; height: 6px; flex: 0 0 auto; border-radius: var(--r-pill); background: var(--fg-4); }
.chg-glyph.dia { border-radius: 0; transform: rotate(45deg); }
.chg-glyph.gold { background: var(--brand); }
.chg-glyph.good { background: var(--good); }

/* ============ HOME: graph / showcase sections ============ */
/* The component self-sizes to its stack (Watch button peeking above the org
   card, the card, the wire, the daily-alert email) — min-height only reserves
   the space before the custom element upgrades, so the reveal doesn't jump.
   Track it to the DESKTOP height; narrower columns wrap taller and the element
   grows past this floor on its own. */
.assemble-col { min-height: 505px; }
.assemble-col gantry-hero-assemble { display: block; }

.browser-frame {
  max-width: 1020px; margin: 0 auto; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; background: var(--bg-1);
}
.browser-chrome {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.browser-chrome .light { width: 9px; height: 9px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); }
.browser-chrome .url {
  margin: 0 auto; font: 500 11.5px var(--font-mono); color: var(--fg-3);
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 4px 14px;
}
.browser-frame .shot { aspect-ratio: 16 / 9.6; position: relative; display: block; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.frame-stage.side { display: flex; justify-content: center; }
.panel-frame {
  width: min(380px, 88vw); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--bg-1);
}
.panel-chrome {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.panel-chrome .label { font: 500 11.5px var(--font-mono); color: var(--fg-3); }
.panel-chrome .cg-pill { margin-left: auto; }
.panel-frame .shot { aspect-ratio: 380 / 540; position: relative; display: block; }

/* Feature checklist — flat --bg-3 panel, square check glyphs, hairline rows. */
.check-panel {
  background: var(--bg-3);
  border-radius: var(--r-md);
  padding: 10px 24px;
}
.check-row {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--fg-2);
}
.check-row:last-child { border-bottom: 0; }
.check-sq {
  width: 18px; height: 18px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-xs);
  background: var(--bg); color: var(--fg);
}
.check-panel.on-card { background: transparent; padding: 0; }
.checklist-col { max-width: 560px; margin: 0 auto; }

/* code block (agent-native section) */
.code-card {
  padding: 26px 28px; font: 500 13px var(--font-mono); line-height: 2.05;
  color: var(--fg-2); overflow-x: auto;
}
.code-card .cm { color: var(--fg-4); }
.code-card .kw { color: var(--brand-text); }
.code-card .str { color: var(--fg); }
.code-cursor {
  display: inline-block; width: 8px; height: 15px; background: var(--brand);
  vertical-align: -2px; animation: gm-blink 1.1s step-end infinite;
}

/* ============ HOME: connectors — quiet pill chips ============ */
.conn-cloud {
  max-width: 980px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 10px;
}
.conn-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--bg);
  font-size: 13px; font-weight: 500; color: var(--fg-2);
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.conn-chip svg { flex: 0 0 auto; color: var(--fg-3); transition: color .15s var(--ease); }
.conn-chip:hover { border-color: var(--line-strong); color: var(--fg); }
.conn-chip:hover svg { color: var(--fg); }
.conn-note { text-align: center; margin-top: clamp(28px, 4vh, 40px); }

/* ============ HOME: freshness strip ============ */
.freshness {
  display: flex; align-items: center; gap: 18px; padding: 18px 24px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-1);
}
.freshness .label {
  font: 500 12px var(--font-mono); letter-spacing: .08em;
  text-transform: uppercase; color: var(--fg-2);
}
.freshness [data-ticker] { font: 500 12px var(--font-mono); color: var(--fg-3); margin-left: auto; }

/* ============ HOME: disciplines grid + discipline cards ============ */
.disciplines-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.discipline-mini {
  text-decoration: none; padding: 18px 20px; display: block;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.discipline-mini:hover { border-color: var(--line-strong); background: var(--bg-2); }
.discipline-mini .nm { font-size: 14.5px; font-weight: 600; color: var(--fg); }
.discipline-mini .ct { font-size: 13px; color: var(--fg-3); margin-top: 4px; }

.disciplines-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.discipline-card {
  text-decoration: none; padding: 24px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.discipline-card:hover { border-color: var(--line-strong); background: var(--bg-2); }
.discipline-card .head { display: flex; align-items: baseline; gap: 10px; }
.discipline-card .nm { font-family: var(--font-serif); font-size: 21px; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.discipline-card .ct { font-size: 12.5px; color: var(--fg-3); margin-left: auto; }
.discipline-card .nucc { font: 500 10.5px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-4); }
.discipline-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fg-2); }
.discipline-card .row { display: flex; gap: 16px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.discipline-card .row .cg-stat-num { font-size: 12.5px; color: var(--fg-3); }
.discipline-card .row .go { font-size: 12.5px; font-weight: 500; color: var(--brand-text); margin-left: auto; }

/* ============ DISCIPLINE PAGES ============ */
.discipline-hero { position: relative; overflow: hidden; }
.discipline-hero-grid {
  position: relative; display: grid;
  grid-template-columns: minmax(340px, 11fr) 9fr; gap: 40px; align-items: center;
  padding-top: clamp(56px, 9vh, 100px);
}
.discipline-hero .nucc-line {
  font: 500 10.5px var(--font-mono); letter-spacing: .1em;
  text-transform: uppercase; color: var(--fg-4); margin: 0 0 22px;
}
.discipline-hero .kicker-lg { margin-bottom: 8px; }
.discipline-hero .kicker-lg a { color: inherit; text-decoration: none; }
.discipline-hero .kicker-lg a:hover { color: var(--fg); }
.discipline-graph { min-height: 340px; position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-1); overflow: hidden; }
.discipline-graph gantry-hero-graph { position: absolute; inset: 0; }
.discipline-stats {
  display: grid; grid-template-columns: repeat(4, minmax(120px, max-content));
  gap: 0; margin: 0; padding: clamp(28px, 4vh, 40px) 0 0;
}
.discipline-stats > div {
  display: flex; flex-direction: column-reverse; gap: 5px;
  padding: 4px clamp(18px, 2.6vw, 40px);
  border-left: 1px solid var(--line);
}
.discipline-stats > div:first-child { border-left: 0; padding-left: 0; }
.discipline-stats dt { font: 500 11px var(--font-sans); letter-spacing: .08em; color: var(--fg-3); text-transform: uppercase; }
.discipline-stats dd { margin: 0; font-family: var(--font-serif); font-weight: 460; font-variant-numeric: lining-nums tabular-nums; font-size: clamp(24px, 2.4vw, 32px); line-height: 1; color: var(--fg); }
.discipline-subset { font: 400 11.5px var(--font-mono); color: var(--fg-4); margin: 14px 0 0; padding-bottom: clamp(44px, 7vh, 72px); }
.band { border-top: 1px solid var(--line); background: var(--bg-1); }
.band-inner { padding-top: clamp(56px, 9vh, 96px); padding-bottom: clamp(56px, 9vh, 96px); }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.benefit-card { padding: 24px; background: var(--bg); }
.benefit-card .head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.benefit-card .diamond { width: 7px; height: 7px; transform: rotate(45deg); background: var(--brand); flex: 0 0 auto; }
.benefit-card h3 { margin: 0; font-size: 15.5px; font-weight: 600; letter-spacing: -0.008em; }
.benefit-card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--fg-2); }
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.audience-chip { padding: 15px 18px; display: flex; align-items: center; gap: 10px; background: var(--bg-1); }
.audience-chip span:last-child { font-size: 14px; font-weight: 500; }

/* ============ CTA band — the one place chrome goes dark-on-light ============
   Permanent --deep-slate slab with --brand-mist serif copy, identical in
   both themes. Buttons inside are re-inked for the fixed-dark ground. */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: var(--deep-slate);
  border: 1px solid var(--line); /* invisible-ish on light, separates the slab on dark */
  border-radius: var(--r-lg);
}
.cta-band.lg { padding: clamp(64px, 10vw, 110px) clamp(40px, 6vw, 72px); }
.cta-band.md { padding: clamp(44px, 6vw, 68px) clamp(32px, 5vw, 56px); }
.cta-band > .inner { position: relative; }
.cta-band .cg-kicker { color: color-mix(in oklab, var(--brand-mist) 55%, transparent); }
.cta-band h2 {
  margin-left: auto; margin-right: auto; max-width: 22ch;
  color: var(--brand-mist);
}
.cta-band .lede { max-width: 52ch; margin: 0 auto 34px; color: color-mix(in oklab, var(--brand-mist) 72%, transparent); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .cg-btn.primary {
  background: var(--brand-mist); color: var(--brand-ink); border-color: var(--brand-mist);
}
.cta-band .cg-btn.primary:hover { background: color-mix(in oklab, var(--brand-mist) 88%, var(--deep-slate)); }
.cta-band .cg-btn.ghost {
  background: transparent; color: var(--brand-mist);
  border-color: color-mix(in oklab, var(--brand-mist) 32%, transparent);
}
.cta-band .cg-btn.ghost:hover { border-color: color-mix(in oklab, var(--brand-mist) 55%, transparent); background: transparent; }
/* Full-bleed variant (home): square slab flush against the footer. */
.cta-slab { border-radius: 0; border-left: 0; border-right: 0; }

/* ============ PRICING ============ */
.billing-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--bg-1); padding: 3px; gap: 2px;
}
.billing-toggle button {
  border: 0; cursor: pointer; padding: 8px 18px; border-radius: var(--r-pill);
  font: 500 13px var(--font-sans); color: var(--fg-3); background: transparent;
  transition: background .15s var(--ease), color .15s var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.billing-toggle button.active { color: var(--fg); background: var(--bg-3); }
.billing-toggle .cg-pill { font-size: 10px; padding: 1px 6px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; align-items: stretch; }
.price-card { padding: 30px 28px; display: flex; flex-direction: column; }
.price-card.pro { border-color: var(--line-strong); position: relative; }
.price-card.pro .pro-pill { position: absolute; top: -1px; right: 20px; transform: translateY(-50%); }
.price-card.pro .pro-pill .cg-pill { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.price-card .cg-kicker { margin-bottom: 12px; }
.price-line { display: flex; align-items: baseline; gap: 8px; }
.price-line .amount { font-size: 44px; line-height: 1; color: var(--fg); }
.price-line .per { font-size: 13px; color: var(--fg-3); }
.price-note { font: 500 11.5px var(--font-mono); color: var(--fg-4); margin-top: 8px; min-height: 16px; }
.price-card > p { margin: 16px 0 20px; font-size: 14px; line-height: 1.6; color: var(--fg-2); }
.feature-list { display: flex; flex-direction: column; margin-bottom: 26px; }
.feature-list > div {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 13.5px; color: var(--fg-2);
}
.feature-list > div:last-child { border-bottom: 0; }
.feature-list .check-sq { width: 16px; height: 16px; }
.price-card .cg-btn { margin-top: auto; padding: 12px; font-size: 14px; justify-content: center; }
.faq-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.faq-card { padding: 20px 22px; }
.faq-card .q { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.faq-card p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--fg-2); }

/* ============ ABOUT / CONTACT / NEWS / LEGAL ============ */
.prose-col { max-width: 780px; margin: 0 auto; }
.prose-col .lede-body { margin: 0 0 14px; color: var(--fg-2); font-size: 15px; line-height: 1.8; }
.value-cards { display: flex; flex-direction: column; }
.value-cards > div {
  padding: 20px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 18px;
}
.value-cards > div:last-child { border-bottom: 0; }
.value-cards .t { font-family: var(--font-serif); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.value-cards p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--fg-2); }

.contact-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.2fr);
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.contact-emails { display: flex; flex-direction: column; }
.contact-emails > div {
  padding: 16px 0; display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--line);
}
.contact-emails > div:last-child { border-bottom: 0; }
.contact-emails .t { font-size: 14px; font-weight: 600; }
.contact-emails a {
  font: 500 13px var(--font-mono); color: var(--fg-2); text-decoration: underline;
  text-decoration-color: var(--line-strong); text-underline-offset: 3px;
}
.contact-emails a:hover { color: var(--brand-text); text-decoration-color: var(--brand-text); }
.contact-form { padding: 28px; }
.contact-form .fields { display: flex; flex-direction: column; gap: 14px; }
.contact-form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form textarea.cg-input { resize: vertical; font-family: var(--font-sans); }
.contact-form .cg-btn { padding: 12px; font-size: 14.5px; justify-content: center; }
.contact-form .fine { font: 400 11.5px var(--font-mono); color: var(--fg-4); text-align: center; }

.news-col { max-width: 820px; margin: 0 auto; }
.news-list { display: flex; flex-direction: column; }
.news-card {
  text-decoration: none; padding: 26px 4px; display: block;
  border-bottom: 1px solid var(--line);
  transition: background .15s var(--ease);
}
.news-card:hover { background: var(--bg-1); }
.news-card .meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.news-card .date { font: 500 11.5px var(--font-mono); color: var(--fg-4); }
.news-card .t {
  font-family: var(--font-serif); font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em; line-height: 1.25; color: var(--fg); margin-bottom: 7px;
}
.news-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fg-2); }

.legal-col { max-width: 720px; margin: 0 auto; }
.legal-note { font: 500 11.5px var(--font-mono); color: var(--fg-4); margin-bottom: 36px; }
.legal-body { display: flex; flex-direction: column; gap: 28px; font-size: 14.5px; line-height: 1.8; color: var(--fg-2); }
.legal-body h2 { margin: 0 0 8px; font-family: var(--font-serif); font-size: 21px; font-weight: 500; color: var(--fg); letter-spacing: -0.008em; }
.legal-body p { margin: 0; }
/* The 28px column gap separates SECTIONS; a section with more than one
   paragraph (the notices page) needs its own, smaller rhythm or the paragraphs
   run together as one block. Terms/Privacy are one <p> per section, so this
   never fires there. */
.legal-body p + p { margin-top: 14px; }

/* ---- keyframes ---- */
@keyframes gm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gm-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes gm-scroll-hint { 0%, 100% { transform: translate(-50%, 0); opacity: .7; } 50% { transform: translate(-50%, 6px); opacity: .25; } }

@media (prefers-reduced-motion: reduce) {
  .marquee, .code-cursor, .hero-hint { animation: none !important; }
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .two-col, .discipline-hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .discipline-graph { min-height: 280px; order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .stat-band > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .discipline-stats { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .discipline-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .value-cards > div { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 720px) {
  .section { padding-top: clamp(64px, 10vh, 96px); padding-bottom: clamp(64px, 10vh, 96px); }
}
@media (max-width: 1080px) {
  .hero-blocks { display: none; } /* side-band info cards need a wide stage */
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
  .nav-inner { gap: 12px; }
  .nav-actions { gap: 10px; }
  .nav-actions .cg-btn { padding: 7px 11px; font-size: 12.5px; white-space: nowrap; }
  .nav-try-toggle { padding-left: 7px; padding-right: 7px; }
}
@media (max-width: 470px) {
  /* tiny screens: collapse the logo to the mark so both nav links and the
     full split button keep fitting (the pre-rename nav hid About here) */
  .nav-logo .logo-word { display: none; }
  .nav-inner { gap: 10px; }
  .nav-links { margin-left: 0; }
}
