/* Gantry marketing site — layout styles + landing-local modifiers.
   Design tokens come from tokens.css and shared component classes (.cg-*)
   from components.css (both auto-synced from ui/; linked before this file
   on every page). Dark AND light via [data-theme] on <html> (site.js keeps
   it in sync with prefers-color-scheme). 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: 13px 26px; font-size: 15px; } /* hero CTA size */
.btn-md { padding: 12px 24px; font-size: 15px; }

/* Landing-scale modifier on DS .cg-grid-bg: 42px cells (intentional
   divergence from the DS 32px — hero scale) + per-section masks. */
.grid-bg { position: absolute; inset: 0; background-size: 42px 42px; pointer-events: none; }
.grid-bg.mask-hero { mask-image: radial-gradient(ellipse 90% 80% at 70% 30%, black 25%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 30%, black 25%, transparent 72%); }
.grid-bg.mask-top { mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, black 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, black 20%, transparent 70%); }
.grid-bg.mask-card { mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, black 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, black 20%, transparent 80%); }

/* ---- shared layout rhythm ---- */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 4vw, 40px); }
.section { padding-top: clamp(120px, 18vh, 200px); }
.section-last { padding-bottom: clamp(120px, 16vh, 180px); }
.kicker-lg { letter-spacing: .22em; font-size: 11px; margin: 0 0 18px; }
h1.display, .display {
  margin: 0 0 22px; font-size: clamp(36px, 4.8vw, 64px); line-height: 1.06;
  font-weight: 600; letter-spacing: -0.022em; text-wrap: balance;
}
h1.page-title {
  margin: 0 0 18px; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1;
  font-weight: 600; letter-spacing: -0.02em; text-wrap: balance;
}
h2.section-h {
  margin: 0 0 18px; font-size: clamp(28px, 3.2vw, 42px); font-weight: 600;
  letter-spacing: -0.018em; line-height: 1.12; text-wrap: balance;
}
h1 em, h2 em, .em-brand { font-style: normal; color: var(--brand); }
.lede { margin: 0; color: var(--fg-2); font-size: 16px; 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); }

/* ---- shared nav ---- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center;
  gap: 28px; 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: 22px; margin-left: 8px; }
.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: 10px; margin-left: auto; }

/* ---- shared footer ---- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-1); margin-top: auto; }
.foot-inner { max-width: 1200px; margin: 0 auto; padding: 56px clamp(20px, 4vw, 40px) 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(140px, 1fr)); gap: 40px; }
.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-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.foot-legal {
  margin-top: 48px; 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; }
.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); }

/* ============ HOME: hero ============ */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 64px);
  display: flex; flex-direction: column;
}
.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: 800px; margin: 0 auto; width: 100%;
  padding: clamp(48px, 9vh, 110px) clamp(20px, 4vw, 40px) 24px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-copy .lede { max-width: 56ch; margin-bottom: 34px; font-size: 17px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  position: relative; z-index: 5;
  display: flex; gap: clamp(24px, 4.5vw, 64px); flex-wrap: wrap; justify-content: center;
  margin: auto 0 0; padding: 24px clamp(20px, 4vw, 40px) clamp(40px, 8vh, 76px);
}
.hero-stats > div { display: flex; flex-direction: column-reverse; text-align: center; }
.hero-stats dt {
  font: 500 11px var(--font-mono); letter-spacing: .16em;
  color: var(--fg-3); text-transform: uppercase;
}
.hero-stats dd { margin: 0 0 4px; font-size: 30px; color: var(--fg); }
.hero-hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: var(--fg-4); z-index: 6;
  animation: gm-scroll-hint 2.4s var(--ease) infinite;
}

/* floating sandbox info blocks over the globe */
.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-1) 86%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 9px 12px 8px; width: max-content; max-width: 230px;
  animation: hb-bob 5.6s ease-in-out infinite alternate;
}
.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; }

/* ============ HOME: trusted-by marquee ============ */
.trusted {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-1); padding: 34px 0; overflow: hidden;
  margin-top: 0;
}
.trusted .cg-kicker { text-align: center; display: block; margin-bottom: 22px; }
.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;
}
.marquee span { color: var(--fg-3); }
.wm-1 { font: 600 17px var(--font-sans); letter-spacing: -0.01em; }
.wm-2 { font: 500 15px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.wm-3 { font: 600 17px var(--font-sans); letter-spacing: .06em; }
.wm-3 b { font-weight: 400; }
.wm-4 { font: 500 16px var(--font-sans); letter-spacing: -0.01em; }
.wm-5 { font: 600 16px var(--font-mono); }
.wm-6 { font: 600 17px var(--font-sans); letter-spacing: .12em; }
.wm-7 { font: 500 16px var(--font-sans); font-style: italic; }
.wm-8 { font: 600 17px var(--font-sans); letter-spacing: -0.02em; }

/* ============ HOME: graph / showcase sections ============ */
.assemble-col { min-height: 460px; }
.assemble-col gantry-hero-assemble { height: 460px; display: block; }

.frame-stage { perspective: 1400px; }
.frame-stage.side { perspective: 1200px; display: flex; justify-content: center; }
.browser-frame {
  max-width: 1020px; margin: 0 auto; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; background: var(--bg-1);
  box-shadow: var(--shadow-lg);
}
.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: 10px; height: 10px; border-radius: var(--r-pill); opacity: .8; }
.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; }

.panel-frame {
  width: min(380px, 88vw); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--bg-1); box-shadow: var(--shadow-lg);
}
.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-bullets {
  display: flex; justify-content: center; gap: clamp(28px, 5vw, 72px);
  flex-wrap: wrap; margin-top: clamp(36px, 5vh, 56px);
}
.feature-bullets > div { display: flex; align-items: center; gap: 10px; }
.feature-bullets span:last-child { font-size: 14px; color: var(--fg-2); }

/* 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; box-shadow: var(--shadow-md);
}
.code-card .cm { color: var(--fg-4); }
.code-card .kw { color: var(--brand); }
.code-card .str { color: var(--good); }
.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 ============ */
.connectors { padding-top: clamp(120px, 18vh, 200px); overflow: hidden; }
.conn-cloud {
  max-width: 1080px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2vw, 22px);
}
.conn-tile {
  width: 76px; height: 76px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--bg-1);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  animation: gm-float var(--dur, 5.6s) ease-in-out var(--del, 0s) infinite alternate;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.conn-tile:hover { transform: translateY(-4px) scale(1.06); border-color: var(--line-strong); }
.conn-tile .tile-label { font: 600 8.5px var(--font-mono); letter-spacing: .14em; color: var(--fg-3); }
.conn-note { text-align: center; margin-top: clamp(32px, 5vh, 48px); }

/* ============ HOME: freshness strip ============ */
.freshness {
  display: flex; align-items: center; gap: 18px; padding: 20px 26px; flex-wrap: wrap;
}
.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: areas grid + area cards ============ */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.area-mini {
  text-decoration: none; padding: 18px 20px; display: block;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.area-mini:hover { border-color: var(--line-strong); background: var(--bg-2); }
.area-mini .nm { font-size: 14.5px; font-weight: 600; color: var(--fg); }
.area-mini .ct { font-size: 13px; color: var(--fg-3); margin-top: 4px; }

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

/* ============ AREA PAGES ============ */
.area-hero { position: relative; overflow: hidden; }
.area-hero-grid {
  position: relative; display: grid;
  grid-template-columns: minmax(340px, 11fr) 9fr; gap: 40px; align-items: center;
  padding-top: clamp(48px, 8vh, 88px);
}
.area-hero .nucc-line {
  font: 500 10.5px var(--font-mono); letter-spacing: .1em;
  text-transform: uppercase; color: var(--fg-4); margin: 0 0 20px;
}
.area-hero .kicker-lg { margin-bottom: 8px; }
.area-hero .kicker-lg a { color: inherit; text-decoration: none; }
.area-graph { min-height: 340px; position: relative; }
.area-graph gantry-hero-graph { position: absolute; inset: -4%; }
.area-stats { display: flex; gap: clamp(20px, 3.4vw, 44px); margin: 0; flex-wrap: wrap; padding: clamp(28px, 4vh, 40px) 0 0; }
.area-stats > div { display: flex; flex-direction: column-reverse; }
.area-stats dt { font: 500 11px var(--font-mono); letter-spacing: .16em; color: var(--fg-3); text-transform: uppercase; }
.area-stats dd { margin: 0 0 4px; font-size: 26px; color: var(--fg); }
.area-subset { font: 400 11.5px var(--font-mono); color: var(--fg-4); margin: 10px 0 0; padding-bottom: clamp(36px, 6vh, 56px); }
.band { border-top: 1px solid var(--line); background: var(--bg-1); }
.band-inner { padding-top: clamp(48px, 8vh, 80px); padding-bottom: clamp(48px, 8vh, 80px); }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.benefit-card { padding: 22px; background: var(--bg); }
.benefit-card .head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.benefit-card .diamond { width: 8px; height: 8px; transform: rotate(45deg); background: var(--brand); flex: 0 0 auto; }
.benefit-card h3 { margin: 0; font-size: 15.5px; font-weight: 600; }
.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: 12px; }
.audience-chip { padding: 16px 18px; display: flex; align-items: center; gap: 10px; }
.audience-chip span:last-child { font-size: 14px; font-weight: 500; }

/* ============ CTA band (home + area pages) ============ */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band.lg { padding: clamp(56px, 9vw, 96px) clamp(40px, 6vw, 72px); }
.cta-band.md { padding: clamp(36px, 5vw, 56px); }
.cta-band > .inner { position: relative; }
.cta-band h2 { margin-left: auto; margin-right: auto; max-width: 24ch; }
.cta-band .lede { max-width: 52ch; margin: 0 auto 32px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ PRICING ============ */
.billing-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-1); padding: 3px; gap: 2px;
}
.billing-toggle button {
  border: 0; cursor: pointer; padding: 8px 18px; border-radius: var(--r-xs);
  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: 16px; align-items: stretch; }
.price-card { padding: 28px 26px; display: flex; flex-direction: column; }
.price-card.pro {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand-glow), var(--shadow-md);
  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(--brand); color: var(--on-brand); border-color: var(--brand); }
.price-card .cg-kicker { margin-bottom: 10px; }
.price-card.pro .cg-kicker { color: var(--brand-text); }
.price-line { display: flex; align-items: baseline; gap: 8px; }
.price-line .amount { font-size: 38px; 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: 4px; min-height: 16px; }
.price-card > p { margin: 14px 0 22px; font-size: 14px; line-height: 1.6; color: var(--fg-2); }
.feature-list { display: flex; flex-direction: column; gap: 11px; font-size: 13.5px; color: var(--fg-2); margin-bottom: 26px; }
.feature-list > div { display: flex; gap: 10px; align-items: baseline; }
.feature-list .d { color: var(--brand); flex: 0 0 auto; }
.price-card .cg-btn { margin-top: auto; padding: 12px; font-size: 14px; justify-content: center; }
.faq-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.faq-card { padding: 18px 20px; }
.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.75; }
.value-cards { display: flex; flex-direction: column; gap: 12px; }
.value-cards .cg-card { padding: 18px 20px; }
.value-cards .t { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.value-cards p { margin: 0; font-size: 14px; line-height: 1.65; 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; gap: 14px; }
.contact-emails .cg-card { padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.contact-emails .t { font-size: 14px; font-weight: 600; }
.contact-emails a { font: 500 13px var(--font-mono); color: var(--brand-text); text-decoration: none; }
.contact-form { padding: 26px; }
.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; gap: 14px; }
.news-card {
  text-decoration: none; padding: 22px 24px; display: block;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.news-card:hover { border-color: var(--line-strong); background: var(--bg-2); }
.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-size: 17px; font-weight: 600; color: var(--fg); margin-bottom: 6px; }
.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: 32px; }
.legal-body { display: flex; flex-direction: column; gap: 26px; font-size: 14.5px; line-height: 1.75; color: var(--fg-2); }
.legal-body h2 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--fg); letter-spacing: 0; }
.legal-body p { margin: 0; }
.legal-body a { color: var(--brand-text); }

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

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

/* ---- responsive ---- */
@media (max-width: 900px) {
  .two-col, .area-hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .area-graph { min-height: 280px; order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats dd { font-size: 26px; }
}
@media (max-width: 1080px) {
  .hero-blocks { display: none; } /* side-band info cards need a wide hero */
}
@media (max-width: 720px) {
  .hero-copy { padding-top: clamp(40px, 7vh, 64px); }
  .section { padding-top: clamp(88px, 14vh, 140px); }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
  .nav-inner { gap: 12px; }
  .nav-actions { gap: 8px; }
  .nav-actions .cg-btn { padding: 7px 11px; font-size: 12.5px; white-space: nowrap; }
}
