/* ============ Responsive breakpoints ============
   Canonical tiers for responsive work:
     Tablet : max-width 768px
     Mobile : max-width 428px
     Smallest supported viewport: 320px
   (The infra illustration's interactive hover layout needs the full width, so it
    keeps a 1440px desktop threshold; below that it uses the tablet/mobile layout.) */

/* ============ Tokens (from Figma variables) ============ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
:root {
  --primary: #f86130;
  --text-dark: #0e0d0d;
  --dark-bg: #262626;
  --bg: #ffffff;
  --muted-1: rgba(14, 13, 13, 0.8);
  --muted-2: rgba(14, 13, 13, 0.6);
  --muted-white-1: rgba(255, 255, 255, 0.7);
  --border: rgba(14, 13, 13, 0.12);
  --border-2: rgba(14, 13, 13, 0.3);
  --border-white: rgba(255, 255, 255, 0.12);
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* page side gutter: 40px per side on desktop, 24px on phones (see 480px tier) */
  --gutter: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 400; }
h2 { font-size: 42px; font-weight: 500; line-height: 1; }
h3 { font-size: 30px; font-weight: 500; line-height: 1.15; }
h4 { font-size: 30px; font-weight: 500; line-height: 1.15; }
h5 { font-size: 24px; line-height: 1.2; }
h6 { font-size: 20px; line-height: 1.3; font-weight: 400; }

.container { width: min(1218px, calc(100% - var(--gutter))); margin: 0 auto; }
.section { position: relative; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); white-space: nowrap;
  border: none; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; font-weight: 500; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #e2521f; }
.btn-dark { background: var(--dark-bg); color: #fff; }
.btn-dark:hover { background: var(--text-dark); }
.btn-outline { background: var(--bg); color: var(--text-dark); border: 1px solid var(--border-2); }
.btn-outline:hover { border-color: var(--text-dark); }
.btn-white { background: #fff; color: var(--text-dark); }
.btn-white:hover { background: var(--primary); color: #fff; }

/* ============ Header (floating, light → dark on scroll) ============ */
/* Announcement bar (Figma: Alert Banners). In normal flow at the very top so it
   scrolls away; the fixed header rides just below it and slides to top:0 as it goes. */
.alert-banner {
  position: relative; z-index: 101;
  background: linear-gradient(90deg, #0e0d0d 0%, #f5851b 18.75%, #ea502b 54.8%, #ff4b05 92.15%, #0e0d0d 100%);
}
.alert-banner-inner {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 34px; padding: 5px 16px; text-align: center;
}
.alert-banner-text {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; line-height: 20px; color: #fff;
}
.alert-banner-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 24px; padding: 3px 8px; flex-shrink: 0;
  background: #fff; border: 1px solid #d4d4d4;
  font-size: 11px; font-weight: 500; line-height: 14px; color: #0a0a0a;
  white-space: nowrap; transition: background-color 0.2s var(--ease);
}
.alert-banner-btn:hover { background: #f0f0f0; }
@media (max-width: 480px) {
  .alert-banner-inner { gap: 10px; padding: 5px 12px; }
  .alert-banner-text { font-size: 12px; }
}
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  transition: padding 0.35s var(--ease);
}
.header-inner {
  width: min(1258px, calc(100% - 40px));
  height: 60px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-radius 0.35s var(--ease);
}
.header-left { display: flex; align-items: center; gap: 20px; }
.logo img { height: 19px; width: 95px; transition: filter 0.35s var(--ease); }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.header-right { display: flex; align-items: center; gap: 8px; }
.nav-link {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; font-size: 14px; line-height: 18px; color: var(--text-dark);
  transition: color 0.35s var(--ease), opacity 0.2s;
}
.nav-link:hover { opacity: 0.65; }
.nav-link .chev { width: 16px; height: 16px; transition: filter 0.35s var(--ease); }

/* ============ Header dropdowns (mega menu) ============ */
.nav-item { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; z-index: 110;
  padding-top: 8px; /* hover bridge between trigger and panel */
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.dropdown-resources { transform-origin: top right; }
.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.nav-item:hover > .nav-link .chev,
.nav-item.open > .nav-link .chev { transform: rotate(180deg); }
.nav-link .chev { transition: filter 0.35s var(--ease), transform 0.3s var(--ease); }
.dropdown-resources { left: auto; right: 0; }
.dropdown-panel {
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(14, 13, 13, 0.08);
  /* match the scrolled header pill radius */
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
}
.dropdown-columns { display: flex; align-items: stretch; gap: 12px; }
.dropdown-products .dropdown-columns { gap: 24px; }
.dropdown-col { display: flex; flex-direction: column; padding: 8px; width: 220px; }
.dropdown-products .dropdown-col:nth-of-type(2) { width: 259px; }
.dropdown-company .dropdown-col.wide { width: 208px; }
.dropdown-company .dropdown-col:last-child { width: auto; min-width: 156px; }
.dropdown-resources .dropdown-col { width: auto; min-width: 170px; }
.dropdown-sep { width: 1px; align-self: stretch; background: var(--border-white); flex-shrink: 0; }
.dropdown-caption {
  font-size: 11px; font-weight: 500; line-height: 14px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--primary);
  padding: 6px 12px 2px; white-space: nowrap;
}
.dropdown-sep { margin: 8px 0; }
.menu-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 8px 12px; border-radius: 8px; /* match header radius */
  transition: background-color 0.2s var(--ease);
}
.menu-item:hover { background: #f0efec; }
.menu-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.menu-label { font-size: 14px; line-height: 18px; color: var(--text-dark); white-space: nowrap; }
.menu-desc { font-size: 11px; line-height: 15px; color: var(--muted-2); }
.dropdown-sep { background: rgba(14, 13, 13, 0.08); }

/* xAI-style mega menu: item list left, live preview right */
.mega-panel { display: flex; gap: 8px; padding: 10px; width: 720px; }
.mega-list { display: flex; flex-direction: column; gap: 2px; width: 250px; flex-shrink: 0; }
.mega-item {
  height: 73px; /* fixed so items are equal across dropdowns, not stretched to fill */
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  padding: 8px 12px; border-radius: 8px;
  transition: background-color 0.2s var(--ease);
}
.mega-item:hover, .mega-item.active { background: #f0efec; }
.mega-label { font-family: var(--font-body); font-size: 14px; line-height: 18px; color: var(--text-dark); }
.mega-desc { font-family: var(--font-body); font-size: 11px; line-height: 15px; color: var(--muted-2); }
.mega-preview {
  position: relative; flex: 1; /* stretches to the list height so the dropdown fits its item count */
  background: #f6f5f3; border-radius: 8px; overflow: hidden; /* match header radius */
}
.preview-pane {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 8px; opacity: 0; transition: opacity 0.25s var(--ease); pointer-events: none;
}
.preview-pane.active { opacity: 1; }
.preview-pane img { max-width: 100%; max-height: 100%; object-fit: contain; }
.preview-pane img.cover { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
/* Header menu: align preview images/mocks to the header's 8px radius. Scoped to
   the header so page-content mocks (e.g. the provisioning-api terminals) keep
   their own radius. Header buttons stay rectangular, like the rest of the site. */
.preview-pane .mock-terminal,
.preview-pane .mock-chart,
.preview-pane .gpu-die { border-radius: 8px; }

/* preview mocks */
.mock-terminal {
  background: #151414; border-radius: 12px; padding: 12px 18px 16px; width: 100%; max-width: 400px;
}
/* header dropdown preview: terminal fills the pane edge-to-edge (all four sides) */
.preview-pane .mock-terminal { max-width: none; align-self: stretch; }
.mock-dots { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mock-dots i:nth-child(2) { background: #ffbd2e; }
.mock-dots i:nth-child(3) { background: #28c840; }
.mock-terminal pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); white-space: pre-wrap;
}
.mock-terminal .tk { color: var(--primary); }
.mock-terminal .ts { color: #91c17a; }
.mock-terminal .tc { color: rgba(255, 255, 255, 0.55); }
.mock-chart { width: 100%; max-width: 380px; background: #fff; border-radius: 12px; padding: 20px; }
.mock-chart-title { font-size: 13px; color: var(--muted-1); margin-bottom: 16px; }
.mock-chart-title span { color: var(--text-dark); font-weight: 500; }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; }
.mock-bars i { flex: 1; background: rgba(14, 13, 13, 0.12); border-radius: 3px 3px 0 0; }
.mock-bars i.hot { background: var(--primary); }
.mock-chart-meta { font-size: 11px; color: var(--muted-2); margin-top: 12px; }
.mock-chat { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 400px; }
.mock-chat .bubble {
  background: #fff; border-radius: 12px; padding: 8px 12px;
  font-size: 12px; line-height: 1.45; color: var(--muted-1);
  align-self: flex-start; max-width: 85%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.mock-chat .bubble.right { align-self: flex-end; color: var(--text-dark); }

/* Infrastructure preview mocks (fill the pane) */
.dc-grid, .net-grid, .gpu-chip { width: 100%; height: 100%; }

/* Data Centers — 3 colored blocks (big left, two stacked right) */
.dc-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.dc-block { position: relative; border-radius: 8px; overflow: hidden; }
.dc-block img { display: block; width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.dc-block.b1 { grid-row: 1 / span 2; background: linear-gradient(155deg, #ff8a5c 0%, #f86130 45%, #c23b12 100%); }
.dc-block.b2 { background: linear-gradient(155deg, #ffb79c, #f86130); }
.dc-block.b3 { background: linear-gradient(155deg, #2c2a29, #151414); }
.dc-block span {
  position: absolute; left: 12px; bottom: 10px; z-index: 1;
  font-size: 11px; letter-spacing: 0.5px; color: #fff;
}
.dc-block::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 80% 0%, rgba(255,255,255,0.35), transparent 60%);
}

/* Network & Connectivity — minimalist rippling node grid */
.net-grid { display: grid; grid-template-columns: repeat(var(--cols, 14), 1fr); grid-auto-rows: 1fr; place-items: center; }
.net-grid i {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(14, 13, 13, 0.15);
  animation: net-ripple 2.6s ease-in-out infinite;
}
@keyframes net-ripple {
  0%, 100% { opacity: 0.2; transform: scale(1); background: rgba(14, 13, 13, 0.15); }
  50% { opacity: 1; transform: scale(1.6); background: var(--primary); }
}

/* GPU Fleet — Blackwell chip die */
.gpu-chip {
  display: flex; align-items: center; justify-content: center;
  background: transparent;
}
.gpu-die {
  /* sized by the pane so the die never overflows the two-item preview height */
  position: relative; height: 100%; max-height: 168px; aspect-ratio: 1 / 1; padding: 12px;
  border-radius: 16px; background: #0d0c0c;
  border: 1px solid rgba(248, 97, 48, 0.3);
  box-shadow: inset 0 0 60px rgba(248, 97, 48, 0.2), 0 0 40px rgba(248, 97, 48, 0.15);
}
.gpu-core-grid { display: grid; grid-template-columns: repeat(var(--cols, 10), 1fr); grid-auto-rows: 1fr; gap: 4px; width: 100%; height: 100%; }
.gpu-core-grid i {
  border-radius: 2px; background: rgba(248, 97, 48, 0.15);
  animation: gpu-pulse 2s ease-in-out infinite;
}
@keyframes gpu-pulse {
  0%, 100% { opacity: 0.25; background: rgba(248, 97, 48, 0.15); box-shadow: none; }
  50% { opacity: 1; background: var(--primary); box-shadow: 0 0 8px rgba(248, 97, 48, 0.8); }
}
.gpu-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }

/* scrolled state — background turns black */
.site-header.scrolled { padding-top: 10px; }
.site-header.scrolled .header-inner {
  background: var(--text-dark);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.site-header.scrolled .nav-link { color: #fff; }
.site-header.scrolled .logo img,
.site-header.scrolled .nav-link .chev { filter: brightness(0) invert(1); }
.site-header.scrolled .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.site-header.scrolled .btn-outline:hover { border-color: #fff; }

/* ============ Mobile nav (burger) ============ */
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  background: none; border: none; cursor: pointer;
  color: var(--text-dark);
}
.nav-burger span {
  display: block; width: 22px; height: 2px; background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.site-header.scrolled .nav-burger,
body.dark-hero .site-header:not(.scrolled) .nav-burger { color: #fff; }
body.mobile-nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.mobile-nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.mobile-nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: 74px; left: 20px; right: 20px; z-index: 99;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 24px 60px rgba(14, 13, 13, 0.18);
  padding: 20px 24px 24px; max-height: calc(100vh - 94px); overflow-y: auto;
}
.mobile-group { padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-group:last-of-type { border-bottom: none; }
.mobile-caption {
  font-size: 11px; font-weight: 500; line-height: 14px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px;
}
.mobile-menu a { display: block; padding: 8px 0; font-size: 16px; line-height: 21px; color: var(--text-dark); }
.mobile-menu .mobile-cta { display: inline-flex; color: #fff; margin-top: 16px; padding: 8px 14px; }
@media (max-width: 1080px) {
  .site-header { width: 100vw; }
  .header-inner { width: calc(100vw - 40px); min-width: 0; }
  .header-left .nav-menu { display: none; }
  .header-right .nav-item { display: none; }
  .header-right > .nav-link { display: none; }   /* Pricing */
  .header-right .btn-outline { display: none; }  /* Get Started */
  .header-right { margin-left: auto; margin-right: 12px; }
  .nav-burger { display: flex; flex-shrink: 0; }
  body.mobile-nav-open .mobile-menu { display: block; }
}

/* ============ Hero ============ */
.hero {
  position: relative; height: 819px; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4f2f0 100%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none;
  animation: glow-drift 9s ease-in-out infinite alternate;
}
.hero-glow-1 { left: 109px; top: 80px; width: 468px; height: 349px; background: rgba(248, 97, 48, 0.09); }
.hero-glow-2 { left: 561px; top: 476px; width: 560px; height: 333px; background: rgba(248, 97, 48, 0.11); animation-delay: -4s; }
@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -24px) scale(1.08); }
}
.hero-content {
  position: relative; z-index: 2;
  width: min(1218px, calc(100% - var(--gutter))); margin: 0 auto;
  padding-top: 186px;
  display: flex; justify-content: space-between; gap: 60px;
}
.hero-title {
  /* matches the Control Plane API hero type */
  font-size: 60px; font-weight: 500; line-height: 1.1;
  letter-spacing: -0.025em; max-width: 544px;
}
.hero-title .accent { color: var(--primary); }
.roadmap-badge {
  display: inline-flex; align-items: center; vertical-align: text-top;
  background: var(--text-dark); color: #fff; border-radius: 8px;
  font-family: var(--font-body); font-size: 9px; font-weight: 500;
  line-height: 12px; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 3px 8px; white-space: nowrap;
}
/* align the badge to the top of the hero cap height */
.hero-title .roadmap-badge { position: relative; top: 3px; }
/* section headings: drop the badge to sit on the heading's cap line */
h2 .roadmap-badge { position: relative; top: 6px; }
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: inline-block; transform: translateY(110%); animation: rise 0.9s var(--ease) forwards; }
.hero-line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: translateY(0); } }

/* rotating hero word — each word carries its own underline, so the line
   travels with the word during the slide; the container width eases between
   word widths so the underline always matches the visible word */
.hero-line > .word-rotator, .word-rotator {
  display: inline-grid;
  clip-path: inset(0 -9999px); /* clip top/bottom only — words may poke sideways while the box resizes */
  vertical-align: bottom;
  transition: width 0.65s var(--ease);
}
.word-rotator .word {
  grid-area: 1 / 1; white-space: nowrap; width: max-content;
  transform: translateY(115%);
  transition: none; /* resting words reset instantly — no ghost slide behind the active word */
}
.word-rotator .word.active,
.word-rotator .word.leaving { transition: transform 0.65s var(--ease); }
.word-rotator .word.active { transform: translateY(0); }
.word-rotator .word.leaving { transform: translateY(-115%); }

.hero-side {
  display: flex; flex-direction: column; gap: 40px; width: 400px; flex-shrink: 0;
  opacity: 0; transform: translateY(24px);
  animation: fade-up 0.9s var(--ease) 0.45s forwards;
}
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }
.hero-metrics { display: flex; gap: 36px; }
.metric { display: flex; flex-direction: column; gap: 8px; }
.metric-value { font-family: var(--font-head); font-size: 36px; font-weight: 500; line-height: 1; }
.metric-caption {
  font-size: 11px; font-weight: 500; line-height: 14px;
  letter-spacing: 1px; text-transform: uppercase;
}
.hero-actions { display: flex; gap: 16px; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; will-change: transform; }
.wave-canvas {
  display: block; width: 100%; height: min(56vh, 520px);
  opacity: 0; animation: wave-fade-in 1.4s var(--ease) 0.3s forwards;
}
@keyframes wave-fade-in { to { opacity: 1; } }

/* ============ Trust band (compliance signals) ============ */
.trust-band { border-bottom: 1px solid var(--border); }
.trust-band-grid { display: flex; align-items: center; gap: 40px; padding: 26px 0; }
.trust-item { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.trust-item + .trust-item { border-left: 1px solid var(--border); padding-left: 40px; }
.trust-title { font-size: 15px; font-weight: 500; color: var(--text-dark); white-space: nowrap; }
.trust-desc { font-size: 13px; line-height: 1.45; color: var(--muted-2); }
.trust-link {
  margin-left: auto; flex-shrink: 0;
  font-size: 14px; font-weight: 500; color: var(--text-dark);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s var(--ease);
}
.trust-link:hover { color: var(--primary); }
.trust-link .arrow { transition: transform 0.2s var(--ease); }
.trust-link:hover .arrow { transform: translateX(3px); }
@media (max-width: 1080px) {
  .trust-band-grid { flex-wrap: wrap; gap: 20px; }
  .trust-item + .trust-item { border-left: none; padding-left: 0; }
  .trust-link { margin-left: 0; }
}

/* ============ Light hero (home, x.ai-style) ============ */
/* Landing screen (index): on desktop, hero + specs fill the first viewport and
   the specs strip is pinned to its bottom edge on every desktop height; the hero
   content centers in the space above. Below 961px it falls back to normal flow. */
@media (min-width: 961px) {
  .landing {
    min-height: calc(100vh - var(--banner-h, 34px));
    display: flex; flex-direction: column;
  }
  .landing .hero.hero-light {
    flex: 1 1 auto;
    display: flex; flex-direction: column; justify-content: center;
  }
  .landing .dc-specs { flex: 0 0 auto; }
}
.hero.hero-light {
  position: relative;
  height: auto; min-height: 0; overflow: hidden;
  background: #fff;
  /* vertical spacing scales with viewport height: generous on tall screens
     (maxes at the original 150/72), tightening on short desktops/laptops so the
     dc-specs band that follows stays fully in view above the fold */
  padding: clamp(96px, 13vh, 150px) 40px clamp(32px, 6vh, 72px);
  text-align: left;
}
.hero-light-inner {
  position: relative; z-index: 2;
  width: min(1218px, calc(100% - var(--gutter))); margin: 0 auto;
  display: flex; flex-direction: column; align-items: stretch; gap: clamp(24px, 5vh, 56px);
}
/* topline: flagship flag left, market tag right */
.hero-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hero-flag {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 12px 12px; margin: -8px -12px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; line-height: 20px; color: var(--text-dark);
  /* translucent plate keeps the flag legible over the wave dots */
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.hero-flag-year {
  font-family: var(--font-head); font-size: 15px; color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.hero-flag-arrow { display: inline-flex; color: var(--primary); transition: transform 0.25s var(--ease); }
.hero-flag-arrow svg { width: 14px; height: 8px; }
.hero-flag:hover .hero-flag-arrow { transform: translateX(3px); }
.hero-topline-tag {
  font-size: 11px; font-weight: 400; line-height: 20px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--muted-2);
  white-space: nowrap;
  padding: 6px 10px; margin: -6px -10px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
/* lower band: subcopy left, CTAs right */
.hero-lower { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.hero.hero-light > * { position: relative; z-index: 2; }
.announce-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 16px 6px 6px; border-radius: 8px; /* echoes the scrolled header pill */
  background: var(--text-dark); color: rgba(255, 255, 255, 0.9);
  font-size: 13px; font-weight: 500;
  box-shadow: 0 8px 24px rgba(14, 13, 13, 0.18);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.announce-pill:hover {
  background: #000; color: #fff;
  box-shadow: 0 12px 32px rgba(14, 13, 13, 0.28);
  transform: translateY(-1px);
}
.announce-tag {
  padding: 4px 10px; border-radius: 6px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 1px; line-height: 14px;
}
.announce-arrow {
  font-size: 15px; color: var(--primary);
  transition: transform 0.25s var(--ease);
}
.announce-pill:hover .announce-arrow { transform: translateX(3px); }
.hero.hero-light .hero-title {
  max-width: none; text-align: left;
  font-size: clamp(52px, 6vw, 84px); font-weight: 500; line-height: 1.05;
  letter-spacing: -0.02em;
}
/* underline lives on the container: it stays put while words slide,
   only easing its width to match the incoming word */
.hero.hero-light .word-rotator {
  border-bottom: 3px solid rgba(248, 97, 48, 0.3);
  padding-bottom: 2px;
}
/* rotating word: red for a small opening stretch, warming to orange */
.hero.hero-light .word-rotator .word {
  background: linear-gradient(90deg, #e5322b 0%, #ef4a26 14%, #f86130 46%, #fb8a35 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub { font-size: 18px; line-height: 1.625; color: rgba(14, 13, 13, 0.65); max-width: 640px; }
.hero-actions-center { display: flex; gap: 12px; }
@media (max-width: 960px) {
  .hero-light-inner { gap: 48px; }
  .hero-lower { flex-direction: column; align-items: flex-start; gap: 32px; }
}
@media (max-width: 600px) {
  /* 40px gutters — same as every other page's hero. The section padding is the
     ONLY gutter: .hero-content's own calc(100% - var(--gutter)) is neutralized so the
     hero isn't double-padded (that left the old title just 268px of width). */
  .hero.hero-light { padding: 140px 40px 140px; }
  .hero.hero-light .hero-light-inner { width: 100%; }
  /* sized so "Infrastructure Built" stays on one line inside the 40px gutters
     (the three-line lockup must not wrap), down to 320px */
  .hero.hero-light .hero-title { font-size: clamp(24px, 7.5vw, 52px); }
  .hero-topline { flex-direction: column; gap: 16px; }
  /* buttons share a row when they fit; each takes a full line otherwise */
  .hero-actions-center {
    flex-direction: row; flex-wrap: wrap;
    align-items: stretch; justify-content: flex-start;
  }
  .hero-actions-center .pill {
    text-align: center; justify-content: center;
    flex: 1 1 auto; min-width: 0;
    padding-left: 16px; padding-right: 16px;
  }
}

/* ============ Dark hero (home) ============ */
.hero.hero-dark {
  position: relative; height: min(100vh, 920px); min-height: 640px; overflow: hidden;
  background:
    radial-gradient(90% 60% at 70% 15%, rgba(255, 255, 255, 0.045), transparent 60%),
    linear-gradient(180deg, #0d0c0c 0%, #131110 55%, #0d0c0c 100%);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-streaks {
  position: absolute; inset: -12%; pointer-events: none;
  background:
    repeating-linear-gradient(104deg, transparent 0 54px, rgba(248, 97, 48, 0.05) 54px 55.5px, transparent 55.5px 132px),
    repeating-linear-gradient(104deg, transparent 0 150px, rgba(255, 255, 255, 0.035) 150px 151px, transparent 151px 302px);
}
.hero-dark-glow {
  position: absolute; left: -12%; bottom: -32%; width: 62%; height: 72%;
  background: radial-gradient(closest-side, rgba(248, 97, 48, 0.13), transparent 70%);
  filter: blur(60px); pointer-events: none;
}
.hero-dark-center { position: relative; z-index: 2; text-align: center; padding: 0 40px; }
.hero.hero-dark .hero-title {
  max-width: none; margin: 0 auto;
  font-size: clamp(52px, 6.4vw, 88px); line-height: 1.1;
  color: #f5f4f2;
}
.hero.hero-dark .hero-title .accent { color: var(--primary); }
.hero-dark-bottom {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 44px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  opacity: 0;
  animation: hero-bottom-in 1s var(--ease) 0.55s forwards;
}
@keyframes hero-bottom-in { to { opacity: 1; } }
.hero.hero-dark .hero-metrics { gap: 56px; }
.hero.hero-dark .metric {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 14px; min-width: 168px;
}
.hero.hero-dark .metric-value { color: #fff; }
.hero.hero-dark .metric-caption {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(255, 255, 255, 0.55); letter-spacing: 1.5px;
}
.hero.hero-dark .hero-actions { padding-bottom: 2px; gap: 12px; }
.hero.hero-dark .hero-actions .btn-outline {
  background: rgba(255, 255, 255, 0.03); color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.hero.hero-dark .hero-actions .btn-outline:hover { border-color: #fff; }
.hero.hero-dark .hero-actions .btn-primary {
  background: linear-gradient(90deg, #f86130, #ff9530);
}
/* transparent header reads light while over the dark hero */
body.dark-hero .site-header:not(.scrolled) .nav-link { color: #fff; }
body.dark-hero .site-header:not(.scrolled) .logo img,
body.dark-hero .site-header:not(.scrolled) .nav-link .chev { filter: brightness(0) invert(1); }
body.dark-hero .site-header:not(.scrolled) .btn-outline {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 1280px) {
  .hero.hero-dark { height: auto; min-height: 0; padding-bottom: 48px; }
  .hero-dark-center { padding-top: 160px; }
  .hero-dark-bottom {
    position: static; transform: none; margin-top: 72px;
    flex-direction: column; align-items: flex-start;
  }
  .hero.hero-dark .hero-metrics { flex-wrap: wrap; gap: 32px; }
}

/* ============ Scroll reveal ============ */
[data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ============ Headlines block ============ */
.headlines { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.headlines p { font-size: 16px; line-height: 1.625; color: var(--muted-2); }
.dark-headlines h2 { color: #fff; }
.dark-headlines p { color: var(--muted-white-1); }

/* ============ Flight section ============ */
.flight { padding: 100px 0; }
.flight-grid { display: flex; gap: 8px; align-items: stretch; }
.flight-card {
  width: 494px; flex-shrink: 0; border: 1px solid var(--border); background: rgba(14, 13, 13, 0.015);
  padding: 40px; display: flex; flex-direction: column; gap: 74px;
}
.flight-headline { display: flex; flex-direction: column; gap: 12px; }
.flight-headline p { font-size: 16px; line-height: 1.55; color: var(--muted-2); }
.flight-glyph { width: 218px; height: 284px; }
.accordion { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.accordion-item { background: var(--text-dark); border-bottom: 2px solid transparent; transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease); }
.accordion-item:not(.open):hover { background: var(--dark-bg); border-bottom-color: var(--primary); }
.accordion-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 30px 32px; background: none; border: none; text-align: left;
}
.accordion-title { font-family: var(--font-head); font-size: 20px; font-weight: 500; color: #fff; transition: color 0.3s var(--ease); }
.accordion-item.open .accordion-title { color: var(--primary); }
.accordion-icon { width: 32px; height: 32px; transition: transform 0.35s var(--ease), opacity 0.3s; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.accordion-body-inner { padding: 0 32px 30px; }
.accordion-body-inner p { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); max-width: 621px; }
.accordion-item.open { flex: 1; }
.accordion-item.open .accordion-body { max-height: 240px; }

/* ============ Partners ============ */
.partners {
  border-top: 1px solid var(--border);
  padding: 100px 0; display: flex; flex-direction: column; gap: 80px; align-items: center; overflow: hidden;
}
.partners .headlines { text-align: center; align-items: center; }
.partners-glow {
  position: absolute; left: 50%; bottom: -140px; transform: translateX(-50%);
  width: 1100px; height: 260px; border-radius: 50%;
  background: rgba(248, 97, 48, 0.16); filter: blur(110px); pointer-events: none;
}
.partners-caption {
  font-family: var(--font-head); font-size: 20px; letter-spacing: 3.8px;
  text-transform: uppercase; text-align: center;
}
.partners-logos { display: flex; align-items: center; justify-content: center; gap: clamp(60px, 10vw, 188px); }
.partners-logos img { height: 72px; transition: opacity 0.3s, transform 0.3s var(--ease); }
.partners-logos img:hover { transform: translateY(-4px); }
.partners-divider { width: 267px; height: 1px; background: var(--border-2); }

/* ============ Milestones ============ */
.milestones { border-top: 1px solid var(--border); padding: 100px 0; display: flex; flex-direction: column; gap: 60px; }
.cards-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth;
  /* generous vertical padding so the hover lift + shadow aren't clipped by
     overflow-x's implicit vertical clipping; negative margin keeps position */
  padding: 48px calc((100vw - 1660px) / 2 + 2px);
  margin: -46px 0;
  scrollbar-width: none;
}
.cards-track::-webkit-scrollbar { display: none; }
@media (max-width: 1700px) { .cards-track { padding: 48px 40px; } }
.news-card {
  flex: 0 0 340px; height: 372px;
  border: 1px solid var(--border); background: var(--bg);
  padding: 16px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(14, 13, 13, 0.08); }
.news-media { height: 148px; flex-shrink: 0; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-headline { font-size: 16px; line-height: 1.4; font-weight: 500; }
.news-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.link-read { font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: color 0.25s; }
.link-read:hover { color: var(--primary); }
.link-read .arrow { transition: transform 0.25s var(--ease); }
.link-read:hover .arrow { transform: translateX(4px); }
.milestones-bar { display: flex; align-items: flex-end; justify-content: space-between; }
.stay-loop { display: flex; flex-direction: column; gap: 20px; }
.stay-loop h6 { font-size: 16px; font-weight: 500; }
.socials { display: flex; gap: 16px; }
.socials img { width: 48px; height: 48px; transition: transform 0.25s var(--ease); }
.socials a:hover img { transform: translateY(-3px); }
/* icons are self-contained framed SVGs (49×49, border baked in) — no extra box */
.socials.small { gap: 16px; }
.socials.small img { width: 35px; height: 35px; }
.meta-link { transition: color 0.2s var(--ease); }
.meta-link:hover { color: var(--primary); }
.carousel-nav { display: flex; gap: 8px; }
.nav-arrow {
  width: 44px; height: 44px; border: 1px solid var(--border-2); border-radius: 8px;
  background: none; color: var(--muted-1); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--ease);
}
/* platform arrow style (matches icon-arrow-up-right), tinted to the button colour */
.nav-arrow::before {
  content: ""; width: 22px; height: 8px; background: currentColor;
  -webkit-mask: url("assets/icon-arrow-up-right.svg") center / contain no-repeat;
          mask: url("assets/icon-arrow-up-right.svg") center / contain no-repeat;
}
.nav-arrow.prev::before { transform: rotate(180deg); }
/* like the rest of the components: a slight lift on hover, no colour change */
.nav-arrow:hover { transform: translateY(-2px); }

/* ============ Infra (tabs) ============ */
.infra { border-top: 1px solid var(--border); padding: 100px 0 0; display: flex; flex-direction: column; gap: 60px; }
.tabs {
  display: flex; justify-content: center;
  border-top: 1px solid var(--text-dark); border-bottom: 1px solid var(--text-dark);
}
.tab {
  padding: 16px 40px; font-size: 18px; line-height: 1.34;
  background: none; border: 1px solid var(--dark-bg);
  border-top: none; border-bottom: none; margin-right: -1px;
  color: var(--text-dark);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.tab:last-child { margin-right: 0; }
.tab:hover:not(.selected) { background: #faf9f8; }
.tab.selected { background: var(--text-dark); color: #fff; }
.infra-stage {
  position: relative; width: min(1440px, 100%); margin: 0 auto; height: 767px;
}
.infra-illustration {
  position: absolute; left: 50%; top: 40px; transform: translateX(-58%);
  width: 962px; height: 687px;
  transition: opacity 0.4s var(--ease);
}
.infra-illustration.switching { opacity: 0; }
.infra-scene {
  position: absolute; left: 50%; top: 40px; transform: translateX(-50%);
  width: 962px; height: 687px;
}
.infra-scene svg { display: block; width: 100%; height: 100%; overflow: visible; }
.infra-scene #infra-base { opacity: 0.18; }
/* every section stays faded in at all times; the selected layer gets a glow */
.infra-scene .infra-hover-layer {
  opacity: 1;
  transition: filter 0.35s var(--ease);
  /* dots drive activation; the isometric regions overlap, so they don't capture hover */
  pointer-events: none;
}
.infra-scene .infra-hover-layer.active {
  /* soft, translucent glow — echoes the .partners-glow gradient (orange at ~0.16, heavily blurred) */
  filter: drop-shadow(0 0 16px rgba(248, 97, 48, 0.16)) drop-shadow(0 0 42px rgba(248, 97, 48, 0.1));
}
/* ---- Layer dots (from Figma): discrete, non-overlapping activation targets,
   one per layer. Overlaid on the scene and positioned in the SVG's own
   965×688 coordinate space, expressed as % of the scene box. ---- */
.infra-dots {
  position: absolute; left: 50%; top: 40px; transform: translateX(-50%);
  width: 962px; height: 687px;
  pointer-events: none; /* transparent overlay; only the dots take pointer events */
  z-index: 3;
}
.infra-dot {
  position: absolute; width: 26px; height: 26px; padding: 0; margin: 0; border: 0;
  background: var(--dark-bg);
  transform: translate(-50%, -50%);
  cursor: pointer; pointer-events: auto;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
/* generous invisible hit area so the small marker is easy to hover */
.infra-dot::before { content: ""; position: absolute; inset: -12px; }
.infra-dot:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.infra-dot[data-dot="ai-services"]         { left: 18.5%; top: 2.8%; }
.infra-dot[data-dot="platform-services"]   { left: 85.4%; top: 26.0%; }
.infra-dot[data-dot="core-infrastructure"] { left: 18.5%; top: 36.3%; }
.infra-dot[data-dot="data-centers"]        { left: 85.4%; top: 44.9%; }
.infra-dot[data-dot="fleet-operations"]    { left: 18.5%; top: 77.3%; }
/* Arrow lines (Figma node 794-3107): one connector per square, drawn exactly as
   in the frame — a 1px line with an inward-pointing arrowhead at each end
   (▶————◀, 5px heads). Always visible so the section matches the frame on
   scroll-in. Positioned in the scene's coordinate space (% of the 962×687 overlay). */
.infra-dot-line {
  position: absolute; height: 1px; background: var(--text-dark);
  transform: translateY(-50%);
  pointer-events: none;
}
.infra-dot-line::before,
.infra-dot-line::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; border-top: 2.9px solid transparent; border-bottom: 2.9px solid transparent;
}
.infra-dot-line::before { left: 0;  border-left: 5px solid var(--text-dark); }   /* ▶ head, pointing inward */
.infra-dot-line::after  { right: 0; border-right: 5px solid var(--text-dark); }  /* ◀ head, pointing inward */
.infra-dot-line[data-line="ai-services"]         { top: 2.8%;  left: 19.9%; width: 25.0%; }
.infra-dot-line[data-line="platform-services"]   { top: 26.0%; left: 65.8%; width: 18.2%; }
.infra-dot-line[data-line="core-infrastructure"] { top: 36.3%; left: 19.9%; width: 8.6%; }
.infra-dot-line[data-line="data-centers"]        { top: 44.9%; left: 80.6%; width: 3.4%; }
.infra-dot-line[data-line="fleet-operations"]    { top: 77.3%; left: 19.8%; width: 5.8%; }
/* section callout: fades in with its layer (hover or tab selection).
   Illustration is centered; each callout opens from its own side + height so
   its arrow reaches into the matching layer. Only one is ever visible. */
.infra-callout {
  position: absolute; width: 316px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.infra-callout[data-side="right"] { right: max(24px, calc(50% - 700px)); }
.infra-callout[data-side="left"]  { left:  max(24px, calc(50% - 700px)); }
.infra-callout[data-callout="ai-services"]         { top: 60px; }
.infra-callout[data-callout="platform-services"]   { top: 170px; }
.infra-callout[data-callout="core-infrastructure"] { top: 300px; }
/* lowered so the tallest expanded subsection body still clears the 767px stage bottom */
.infra-callout[data-callout="data-centers"]        { top: 360px; }
.infra-callout[data-callout="fleet-operations"]    { top: 368px; }
.infra-stage[data-active="fleet-operations"] .infra-callout[data-callout="fleet-operations"],
.infra-stage[data-active="data-centers"] .infra-callout[data-callout="data-centers"],
.infra-stage[data-active="core-infrastructure"] .infra-callout[data-callout="core-infrastructure"],
.infra-stage[data-active="platform-services"] .infra-callout[data-callout="platform-services"],
.infra-stage[data-active="ai-services"] .infra-callout[data-callout="ai-services"] {
  opacity: 1; transform: none; pointer-events: auto;
}
/* connector arrow bridging the callout to its layer, on the illustration side */
/* Retired: the dot leader line (.infra-dot-line) is now the connector to the layer */
.infra-callout-arrow {
  display: none;
  position: absolute; top: 14px; width: 190px; height: 6px;
}
.infra-callout[data-side="right"] .infra-callout-arrow { right: 100%; margin-right: 16px; }
.infra-callout[data-side="left"]  .infra-callout-arrow { left: 100%; margin-left: 16px; }
/* Control Plane points at the base layer of the stack: drop its connector to the subsection list */
.infra-callout[data-callout="fleet-operations"] .infra-callout-arrow { top: 116px; }
.infra-callout-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.infra-callout-head h5 {
  align-self: flex-start; /* hug the text so the highlight box wraps the title only */
  font-family: var(--font-head); font-size: 24px; font-weight: 400; line-height: 1.3;
  background: #262626; color: #fff; padding: 4px 6px;
}
.infra-callout-head p { font-size: 14px; line-height: 18px; color: var(--muted-1); }
.infra-acc { background: transparent; border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 12px 8px; }
.infra-acc-head { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 21px; cursor: pointer; user-select: none; }
.infra-acc-head img { width: 16px; height: 16px; transition: transform 0.2s ease; }
.infra-acc.open .infra-acc-head img { transform: rotate(90deg); }
.infra-acc-body { display: none; font-size: 14px; line-height: 18px; color: var(--muted-1); margin-top: 12px; }
.infra-acc.open .infra-acc-body { display: block; }
/* below 1440px: fluid centered illustration on top, section data below as a
   horizontal scroll-snap strip. Scrolling to a card highlights its layer in the
   scene (handled in script.js). Covers tablet (<=768px) and mobile (<=428px). */
@media (max-width: 1439px) {
  .tabs { overflow-x: auto; }
  .tab:first-child { margin-left: auto; }
  .tab:last-child { margin-right: auto; }
  .infra-stage { height: auto; display: flex; flex-direction: column; gap: 8px; }
  .infra-scene {
    position: relative; left: auto; top: 0; transform: none;
    width: min(962px, calc(100% - 48px)); height: auto; margin: 0 auto;
    order: -1;
  }
  .infra-scene svg { height: auto; }
  .infra-scene .infra-hover-layer { pointer-events: none; }
  .infra-dots { display: none; } /* interaction is dynamic (desktop) mode only */
  .infra-callout-arrow { display: none; }

  /* horizontal scroll-snap strip of section cards (Figma 818:3128: card
     centered under the illustration, neighbors peeking, no visible scrollbar) */
  .infra-scroller {
    --card-w: 320px;
    display: flex; gap: 16px;
    width: 100%; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 20px;
    /* symmetric inline padding lets the first and last card snap to center */
    padding-inline: max(16px, calc((100% - var(--card-w)) / 2));
    scrollbar-width: none;
  }
  .infra-scroller::-webkit-scrollbar { display: none; }
  /* .infra-scroller prefix out-specifies the desktop [data-callout]/[data-side]
     position rules — without it the cards keep their absolute-layout top/right
     offsets, paint 60-368px below the strip, and get clipped out of view */
  .infra-scroller .infra-callout {
    display: flex; flex-direction: column;
    position: relative; right: auto; left: auto; top: auto; margin: 0;
    flex: 0 0 var(--card-w); width: var(--card-w);
    opacity: 1; transform: none; pointer-events: auto;
    scroll-snap-align: center;
    border: 1px solid var(--border); border-radius: 12px;
    padding: 24px 20px; background: var(--bg);
  }
  /* Figma 818:3128: cards stay uniform — no highlight on the centered card
     (the scene layer above still syncs to it via script.js setActive). */
  .infra-callout-head h5 { font-size: 20px; padding: 6px 10px; background: #0e0d0d; }
  .infra-acc { border-bottom-color: var(--border); padding: 12px 4px; }
  .infra-callout-list .infra-acc:last-child { border-bottom: none; }
}

/* ---- Tablet (<=768px) ---- */
@media (max-width: 768px) {
  .infra-scroller { --card-w: min(320px, 76vw); }
  /* Partners: 2x2 grid under "Built on a proven foundation".
     [data-reveal] raises specificity above the max-width:1280px flex-wrap rule
     (which appears later in the file) so the grid layout wins. */
  .dc-foundation .partners-logos[data-reveal] {
    display: grid; grid-template-columns: repeat(2, 1fr);
    justify-items: center; align-items: center;
    gap: 40px 32px; width: 100%; max-width: 520px;
  }
  .dc-foundation .partners-logos[data-reveal] img {
    /* keep the inline per-logo widths — logos render at full desktop size
       (2026-07-23: size caps removed; max-width is only a physical safety) */
    max-width: 100%;
  }
}

/* ---- Mobile (<=428px, supported down to 320px) ---- */
@media (max-width: 480px) {
  .infra-scroller { --card-w: min(288px, 84vw); gap: 12px; }
  .infra-scroller .infra-callout { padding: 20px 16px; }
  .dc-foundation .partners-logos[data-reveal] { gap: 32px 24px; }
}
.infra-card {
  position: absolute; width: 317px;
  right: max(24px, calc(50% - 690px)); top: 300px;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), top 0.4s var(--ease);
}
.infra-card.left { right: auto; left: max(24px, calc(50% - 690px)); }
.infra-card.switching { opacity: 0; transform: translateY(16px); }
.infra-card-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.infra-card-head p { font-size: 14px; line-height: 18px; color: var(--muted-1); }
.infra-card-list li {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 8px; font-size: 15px; line-height: 1.4;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2); background: var(--bg);
}
.infra-card-list li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0;
  background: url("assets/icon-chevron-right.svg") center / contain no-repeat;
}

/* ============ Secure ============ */
.secure { background: var(--text-dark); padding: 100px 0; display: flex; flex-direction: column; gap: 60px; }
.secure-cards { display: flex; justify-content: center; }
.secure-card {
  position: relative; width: 609px; height: 516px;
  border: 1px solid var(--border-white);
  padding: 39px 59px;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.secure-card:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.02); }
.secure-card-top { display: flex; flex-direction: column; gap: 8px; }
.secure-card-top h4 { color: var(--primary); }
.secure-card-top p { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); }
.secure-card-line { position: absolute; left: 0; right: 0; top: 184px; height: 1px; background: rgba(255, 255, 255, 0.35); }
.secure-card-bottom {
  position: absolute; left: 59px; top: 219px; width: 489px;
  display: flex; flex-direction: column; gap: 60px;
}
.secure-card-bottom p { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.63); }
.secure-card-bottom .btn { align-self: flex-start; }

/* ============ Globally Connected ============ */
.global { border-top: 1px solid var(--border); padding: 100px 0; overflow: hidden; }
.global-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }
.global-left { display: flex; flex-direction: column; gap: 20px; width: 616px; }
.global-glyph { width: 218px; height: 284px; }
.global-left p { font-size: 18px; line-height: 1.34; color: var(--muted-1); }
.global-right { display: flex; flex-direction: column; gap: 30px; width: 508px; flex-shrink: 0; }
.global-block { border-top: 1px solid var(--border-2); padding-top: 30px; display: flex; flex-direction: column; gap: 8px; }
.global-block p { font-size: 18px; line-height: 1.34; color: var(--muted-1); }
.global-block ul { list-style: disc; padding-left: 27px; }
.global-block li { font-size: 18px; line-height: 1.34; color: var(--muted-1); }
.global-glow {
  position: absolute; left: 50%; bottom: -120px; transform: translateX(-50%);
  width: 1100px; height: 240px; border-radius: 50%;
  background: rgba(248, 97, 48, 0.14); filter: blur(110px); pointer-events: none;
}

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--border); padding: 40px 60px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 60px; }
.subscribe { display: flex; flex-direction: column; gap: 16px; width: 296px; flex-shrink: 0; }
.subscribe-title { font-size: 18px; line-height: 1.34; }
.field { display: flex; flex-direction: column; gap: 2px; }
.field label { font-size: 11px; line-height: 15px; color: var(--muted-1); }
.field input {
  height: 36px; padding: 12px 16px; font-size: 11px; font-family: var(--font-body);
  color: #262626; background: rgba(14, 13, 13, 0.03); border: 1px solid var(--border);
  transition: border-color 0.25s;
}
.field input:focus { outline: none; border-color: var(--text-dark); }
.field input::placeholder { color: var(--muted-2); }
.consent { display: flex; gap: 12px; font-size: 11px; line-height: 15px; cursor: pointer; }
.consent input { width: 14px; height: 14px; margin-top: 1px; accent-color: var(--primary); }
.consent a { text-decoration: underline; }
.subscribe .btn { align-self: flex-start; }
/* Figma subscribe button states */
.subscribe .btn-primary { background: var(--primary); }           /* enabled  #f86130 */
.subscribe .btn-primary:hover { background: #de3a05; transform: none; } /* hover   #de3a05 */
.subscribe .btn-primary:disabled { background: #ffa081; opacity: 1; cursor: not-allowed; transform: none; } /* disabled #ffa081 */
.field input.invalid { border-color: #dc2626; }
.field-error { font-size: 11px; line-height: 15px; color: #dc2626; margin-top: 2px; }
.field textarea {
  min-height: 100px; padding: 12px 16px; font-size: 11px; font-family: var(--font-body);
  color: #262626; background: rgba(14, 13, 13, 0.03); border: 1px solid var(--border);
  resize: vertical; transition: border-color 0.25s;
}
.field textarea:focus { outline: none; border-color: var(--text-dark); }
.field textarea::placeholder { color: var(--muted-2); }

/* ============ Contact & Press ============ */
.cp-hero { padding: 150px 0 110px; }
.cp-grid { display: flex; align-items: flex-start; gap: 96px; }
.cp-left {
  width: 440px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
}
.cp-left .hero-title { max-width: none; }
.cp-left .hero-title .dim { color: rgba(14, 13, 13, 0.35); }
.cp-sub {
  font-size: 18px; line-height: 1.625; color: var(--muted-2);
  opacity: 0; transform: translateY(24px);
  animation: fade-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.cp-routes { display: flex; flex-direction: column; width: 100%; margin-top: 8px; }
.cp-route {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(18px);
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.cp-route:last-child { border-bottom: none; }
.cp-route:nth-child(1) { animation-delay: 0.5s; }
.cp-route:nth-child(2) { animation-delay: 0.62s; }
.cp-route:nth-child(3) { animation-delay: 0.74s; }
.cp-route:nth-child(4) { animation-delay: 0.86s; }
.cp-route-text { display: flex; flex-direction: column; gap: 5px; }
.cp-route-title {
  font-family: var(--font-head); font-size: 18px; font-weight: 500;
  line-height: 1.2; color: var(--text-dark);
}
.cp-route-desc { font-size: 14px; line-height: 1.5; color: var(--muted-2); }
/* direct email inside a route row; JS turns clicks on it into mailto (rows are anchors) */
.cp-route-mail {
  align-self: flex-start; margin-top: 2px;
  font-size: 13px; line-height: 1.4; color: var(--primary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.cp-route-mail:hover { border-bottom-color: var(--primary); }
.cp-route-arrow {
  font-size: 15px; line-height: 1; padding-top: 4px;
  color: rgba(14, 13, 13, 0.3);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
/* hover matches the dc-spot rows: orange baseline + arrow lights up and nudges */
.cp-route:hover { border-bottom-color: var(--primary); }
.cp-route:hover .cp-route-arrow { color: var(--primary); transform: translate(2px, -2px); }
.cp-route-arrow--h { display: flex; align-items: center; padding-top: 7px; }
.cp-route:hover .cp-route-arrow--h { color: var(--primary); transform: translateX(4px); }

.cp-form-col {
  flex: 1; min-width: 0;
  border: 1px solid var(--border); background: rgba(14, 13, 13, 0.015);
  padding: 28px;
  opacity: 0; transform: translateY(24px);
  animation: fade-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}
.cp-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.cp-tab {
  padding: 10px 14px; background: none; border: none;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 18px;
  color: var(--muted-2); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cp-tab:hover { color: var(--text-dark); }
.cp-tab.active { color: var(--text-dark); border-bottom-color: var(--primary); }
.cp-form { display: none; flex-direction: column; gap: 16px; }
.cp-form.active { display: flex; }
.cp-form-lead { font-size: 14px; line-height: 1.55; color: var(--muted-2); }
.cp-form-divider { height: 1px; background: var(--border); margin: 4px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field.full { grid-column: 1 / -1; }
/* "What are you interested in" — selectable radio cards */
.cp-interest { display: flex; flex-direction: column; gap: 8px; }
.cp-interest-opt {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.cp-interest-opt:hover { border-color: var(--border-2); }
.cp-interest-opt input { margin: 2px 0 0; accent-color: var(--primary); flex-shrink: 0; }
.cp-interest-opt:has(input:checked) { border-color: var(--primary); background: rgba(248, 97, 48, 0.04); }
.cp-interest-text { display: flex; flex-direction: column; gap: 2px; }
.cp-interest-title { font-size: 14px; line-height: 18px; color: var(--text-dark); }
.cp-interest-desc { font-size: 11px; line-height: 15px; color: var(--muted-2); }
.cp-form .btn { align-self: flex-start; }
.form-note { font-size: 11px; line-height: 15px; color: var(--muted-1); opacity: 0.7; }
.form-note a { text-decoration: underline; }

/* --- press band (dark) --- */
.press-section { background: var(--dark-bg); border-top: 1px solid var(--border-white); padding: 100px 0; }
.press-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; }
.press-head { width: min(615px, 100%); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.press-head h2 { color: #fff; letter-spacing: -0.02em; }
.press-sub { font-size: 18px; line-height: 1.34; color: var(--muted-white-1); }
.press-mail {
  display: inline-flex; align-items: center; gap: 8px;
  background: #151414; border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px; font-size: 16px; line-height: 21px; color: #fff;
  transition: border-color 0.25s var(--ease);
}
.press-mail:hover { border-color: var(--primary); }
.press-mail svg { color: var(--primary); }
.press-news { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.press-news .cc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; line-height: 18px; font-weight: 500; color: var(--primary);
}
.press-news .cc-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.press-news .cc-link .arrow { transition: transform 0.25s var(--ease); }
.press-news .cc-link:hover .arrow { transform: translateX(4px); }
.press-assets {
  width: 537px; flex-shrink: 0;
  background: var(--text-dark); border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-direction: column;
}
.press-assets-head {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.press-assets-head p { font-size: 16px; line-height: 21px; color: #fff; }
.press-assets-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(248, 97, 48, 0.1); border: 1px solid var(--primary);
  color: var(--primary);
}
.asset-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 20px; background: none; border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left; cursor: pointer;
  transition: background-color 0.25s var(--ease);
}
.asset-row:last-child { border-bottom: none; }
.asset-row p { font-size: 14px; line-height: 1.5; color: #fff; }
.asset-row span { font-size: 14px; line-height: 18px; color: var(--primary); white-space: nowrap; }
.asset-row:hover { background: rgba(255, 255, 255, 0.04); }

/* ============ Toast ============ */
.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 200;
  transform: translate(-50%, 16px);
  background: var(--text-dark); color: #fff;
  font-family: var(--font-body); font-size: 14px; line-height: 18px;
  padding: 12px 20px; border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.footer-cols { display: flex; justify-content: space-between; gap: 40px; flex: 1; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: 18px; line-height: 1.34; margin-bottom: 0; }
/* Footer menu link states (Figma 10:836 / 395:19116):
   default = muted text; hover = orange left border, 12px indent, dark text, arrow */
.footer-col a {
  display: inline-flex; align-items: center;
  align-self: flex-start;
  font-size: 14px; line-height: 18px; padding: 8px 8px 8px 0;
  color: var(--muted-1); border-left: 1px solid transparent;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease), margin-right 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-col a::after {
  content: ''; width: 16px; height: 16px; margin-left: 8px;
  background: url('assets/icon-arrow-right-lg.svg') center / contain no-repeat;
  opacity: 0; transition: opacity 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--text-dark);
  /* -12px margin offsets the +12px padding so the link's outer width is
     unchanged and the content-sized columns to the right never shift */
  border-left-color: var(--primary); padding-left: 12px; margin-right: -12px;
}
.footer-col a:hover::after { opacity: 1; }
.footer-divider { height: 1px; background: var(--border); width: 100%; }
.footer-meta { display: flex; align-items: flex-end; justify-content: space-between; }
.footer-meta-left { display: flex; gap: 50px; align-items: flex-start; }
.meta-block { display: flex; flex-direction: column; gap: 2px; }
.meta-label { font-size: 11px; line-height: 15px; color: rgba(0, 0, 0, 0.6); }
.meta-value { font-size: 14px; line-height: 18px; }
.copyright { font-size: 14px; line-height: 18px; color: rgba(0, 0, 0, 0.8); }
.footer-wordmark { display: flex; justify-content: center; padding-top: 20px; }
.footer-wordmark img { width: min(1290px, 100%); height: auto; }
.footer-wordmark[data-reveal] { transform: translateY(80px); transition-duration: 1.1s; }

/* ============ About page ============ */
.caption {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 400; line-height: 14px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--primary);
}
.about-hero { background: var(--bg); padding: 60px 0 50px 80px; overflow: hidden; }
.about-hero-inner {
  display: flex; align-items: center; justify-content: center;
  max-width: 1361px; margin: 0 auto; gap: 0;
}
.about-hero-text { width: 538px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.about-hero-text .hero-title .dim { color: rgba(14, 13, 13, 0.35); }
.about-hero-text .hero-title { max-width: none; }
.about-hero-sub {
  font-size: 18px; line-height: 1.625; color: rgba(14, 13, 13, 0.6);
  opacity: 0; transform: translateY(24px);
  animation: fade-up 0.9s var(--ease) 0.4s forwards;
}
.about-hero-media { flex: 1; min-width: 0; }
.about-hero-media img {
  width: 100%; height: auto; max-height: 846px; object-fit: contain; object-position: right center;
  opacity: 0; transform: translateY(40px);
  animation: fade-up 1.1s var(--ease) 0.3s forwards;
}

.mission {
  background: var(--dark-bg); padding: 100px 0 0;
  display: flex; flex-direction: column; gap: 100px; align-items: center;
}
.mission-head { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; width: 675px; max-width: calc(100% - var(--gutter)); }
.mission-head h2 { color: #fff; }
.mission-cols { display: flex; gap: 40px; align-items: stretch; width: min(1050px, calc(100% - var(--gutter))); margin-top: -60px; }
.mission-cols p { flex: 1; font-size: 18px; line-height: 1.34; color: var(--muted-white-1); }
.mission-sep { width: 1px; background: rgba(255, 255, 255, 0.25); flex-shrink: 0; }
.mission-divider { width: 400px; height: 1px; background: rgba(255, 255, 255, 0.3); }
.mission-single { width: min(720px, calc(100% - var(--gutter))); margin-top: -40px; padding-bottom: 100px; }
.mission-single p { font-size: 18px; line-height: 1.7; color: var(--muted-white-1); text-align: center; }

/* Our approach — light two-column band */
.approach { border-top: 1px solid var(--border); padding: 120px 0; }
.approach-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 96px; }
.approach-head { display: flex; flex-direction: column; gap: 16px; }
.approach-head h2 { letter-spacing: -0.02em; }
.approach-body {
  width: 640px; max-width: 100%; flex-shrink: 0;
  font-size: 18px; line-height: 1.75; color: var(--muted-2);
  margin-top: 34px;
}
@media (max-width: 1080px) {
  .approach { padding: 80px 0; }
  .approach-grid { flex-direction: column; gap: 24px; }
  .approach-body { width: 100%; margin-top: 0; }
}

/* About: refined Globally Connected */
.about-global { border-top: 1px solid var(--border); padding: 120px 0; }
.about-global .global-glyph { width: 150px; height: auto; }
.about-global .global-left { gap: 24px; }
.about-global .global-left h2 { letter-spacing: -0.02em; }
.about-global .global-left p { font-size: 16px; line-height: 1.625; color: var(--muted-2); }
.about-global .global-block { border-top: 1px solid var(--border); padding-top: 24px; gap: 10px; }
.about-global .global-block h4 { font-size: 20px; font-weight: 500; line-height: 1.2; }
.about-global .global-block p,
.about-global .global-block li { font-size: 16px; line-height: 1.6; color: var(--muted-2); }
.about-global .global-block ul {
  list-style: none; padding-left: 0; margin-top: 4px;
  display: flex; flex-direction: column; gap: 0; counter-reset: gb;
}
.about-global .global-block li {
  counter-increment: gb;
  position: relative; padding: 10px 0 10px 34px;
  font-size: 15px; line-height: 1.55;
  border-top: 1px solid rgba(14, 13, 13, 0.07);
  transition: color 0.25s var(--ease);
}
.about-global .global-block li:first-child { border-top: none; }
.about-global .global-block li:hover { color: var(--text-dark); }
.about-global .global-block li::before {
  content: counter(gb, decimal-leading-zero);
  position: absolute; left: 0; top: 13px;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 400; line-height: 1;
  letter-spacing: 1px; color: var(--primary);
}
.about-global .global-glow { display: none; }

/* narrow viewports: stack the About hero instead of squeezing the image to a sliver */
@media (max-width: 1100px) {
  .about-hero { padding: 100px 40px 40px; }
  .about-hero-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .about-hero-text { width: 100%; }
  .about-hero-media { width: 100%; }
  .about-hero-media img { object-position: center; max-height: 60vh; }
  .mission-cols { flex-direction: column; gap: 24px; }
  .mission-sep { width: auto; height: 1px; }
  .careers-hero { padding: 130px 40px 50px; }
}

.leadership { padding: 100px 0; display: flex; flex-direction: column; gap: 60px; }
.leadership-head { display: flex; flex-direction: column; gap: 16px; }
.leadership-sub { font-size: 18px; line-height: 1.34; color: var(--muted-1); }
.leader-cards { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.leader-card {
  width: 289px; height: 480px;
  border: 1px solid var(--muted-2); background: var(--bg);
  padding: 20px 16px 20px 20px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.leader-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(14, 13, 13, 0.08); }
.leader-info { display: flex; flex-direction: column; gap: 16px; }
.leader-photo { height: 228px; overflow: hidden; background: #efefef; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.leader-card:hover .leader-photo img { transform: scale(1.04); }
.leader-id { display: flex; flex-direction: column; gap: 8px; }
.leader-name { font-size: 18px; line-height: 1.34; color: var(--dark-bg); }
.leader-bio { font-size: 14px; line-height: 18px; color: var(--muted-2); }
.leader-socials { display: flex; gap: 16px; }
.leader-socials img { width: 24px; height: 24px; transition: transform 0.25s var(--ease); }
.leader-socials a:hover img { transform: translateY(-2px); }

.final-cta { background: var(--dark-bg); padding: 100px 0; display: flex; justify-content: center; }
.final-cta-card {
  position: relative; overflow: hidden;
  width: min(1218px, calc(100% - var(--gutter)));
  background: var(--bg); padding: 48px 128px;
  display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center;
}
.final-cta-card h3 { color: var(--dark-bg); font-size: 36px; }
.final-cta-sub { font-size: 18px; line-height: 1.34; color: var(--muted-1); max-width: 562px; }
.final-cta-actions { display: flex; gap: 14px; position: relative; z-index: 1; }
.final-cta-actions .btn-primary { min-width: 192px; }
.final-cta-glow {
  position: absolute; left: 50%; bottom: -100px; transform: translateX(-50%);
  width: 930px; height: 200px; border-radius: 50%;
  background: rgba(248, 97, 48, 0.25); filter: blur(90px); pointer-events: none;
}

/* ============ Quiet closing CTA (x.ai-style band) ============ */
.cta-quiet { padding: 60px 0 110px; display: flex; justify-content: center; }
.cta-quiet-card {
  width: min(1218px, calc(100% - var(--gutter)));
  background: #f6f5f3; border-radius: 8px;
  padding: 72px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.cta-quiet-text { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.cta-quiet-text h3 { font-size: 32px; letter-spacing: -0.02em; line-height: 1.2; }
.cta-quiet-text p { font-size: 16px; line-height: 1.6; color: var(--muted-2); max-width: 520px; }
.cta-quiet-actions { display: flex; gap: 12px; flex-shrink: 0; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 0;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.pill:hover { transform: translateY(-1px); }
.pill-dark { background: var(--text-dark); color: #fff; }
.pill-dark:hover { background: #000; }
.pill-outline { background: var(--bg); border: 1px solid var(--border-2); color: var(--text-dark); }
.pill-outline:hover { border-color: var(--text-dark); }
.pill-primary { background: var(--primary); color: #fff; }
.pill-primary:hover { background: #de3a05; }
.pill-arrow { font-size: 18px; line-height: 1; }
@media (max-width: 1080px) {
  .cta-quiet-card { flex-direction: column; align-items: flex-start; padding: 48px 40px; }
}

/* ============ Careers page ============ */
.careers-hero {
  border-bottom: 1px solid var(--border);
  padding: 130px 200px 50px;
  display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center;
}
.careers-hero h1 { font-size: 60px; font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; }
.careers-hero h1 .dim { color: rgba(14, 13, 13, 0.35); }
.careers-hero p { font-size: 18px; line-height: 1.625; color: rgba(14, 13, 13, 0.6); max-width: 576px; }
@media (max-width: 1100px) {
  .careers-hero { padding: 130px 40px 50px; }
}

.open-roles { padding: 0 0 100px; }
.role-group { display: flex; flex-direction: column; margin-top: 40px; }
.role-group-head {
  width: 100%; background: #151414; border: none; border-top: 1px solid var(--border);
  padding: 20px; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; text-align: left;
}
.role-group-side { display: flex; align-items: center; gap: 16px; }
.role-group-chev {
  width: 9px; height: 9px; flex-shrink: 0;
  border-right: 1.5px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg); margin-top: -4px;
  transition: transform 0.35s var(--ease);
}
.role-group.collapsed .role-group-chev { transform: rotate(-45deg); margin-top: 2px; }
.role-group-body {
  overflow: hidden; max-height: 1400px;
  transition: max-height 0.6s var(--ease);
}
.role-group.collapsed .role-group-body { max-height: 0; }
.role-group-title { font-family: var(--font-head); font-size: 24px; color: #fff; }
.role-group-count {
  font-size: 11px; font-weight: 500; line-height: 14px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted-white-1);
}
.role-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px; border-bottom: 1px solid var(--border);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.role-row:hover { border-bottom: 2px solid var(--primary); padding-bottom: 19px; }
.role-main { display: flex; flex-direction: column; gap: 12px; }
.caption-muted {
  font-size: 11px; font-weight: 500; line-height: 14px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted-1);
}
.role-title { font-family: var(--font-head); font-size: 24px; font-weight: 400; color: var(--text-dark); margin-top: 4px; transition: color 0.25s var(--ease); }
.role-row:hover .role-title { color: var(--primary); }
.role-desc { font-size: 16px; line-height: 1.34; color: var(--muted-1); max-width: 780px; }
.role-arrow { width: 32px; height: 32px; transition: transform 0.25s var(--ease); }
.role-row:hover .role-arrow { transform: translateX(10px); }

.talent-form { width: 520px; max-width: 100%; display: flex; flex-direction: column; gap: 16px; text-align: left; position: relative; z-index: 1; }
.talent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.talent-grid .full { grid-column: 1 / span 2; }
.talent-form textarea {
  padding: 12px 16px; font-size: 11px; font-family: var(--font-body);
  background: rgba(14, 13, 13, 0.03); border: 1px solid var(--border); resize: vertical;
}
.talent-form textarea:focus { outline: none; border-color: var(--primary); }
.talent-form textarea::placeholder { color: rgba(14, 13, 13, 0.5); }
.attach { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.attach-btn { cursor: pointer; }
.attach-hint { font-size: 11px; line-height: 15px; color: var(--muted-2); }
.talent-submit { align-self: center; min-width: 110px; padding: 10px 18px; }
.talent-submit:disabled { background: #ffa081; cursor: not-allowed; transform: none; }

.careers-legal .flight-grid { align-items: stretch; }
.glyph-card { position: relative; overflow: hidden; align-items: center; justify-content: center; flex: 1; width: auto; }
.glyph-glow {
  position: absolute; left: -60px; bottom: 40px; width: 356px; height: 454px;
  border-radius: 50%; background: rgba(248, 97, 48, 0.25); filter: blur(100px); pointer-events: none;
}

/* ============ Careers: Stay In Touch (light, DC-style) ============ */
.careers-touch { border-top: 1px solid var(--border); padding: 120px 0; }
.careers-touch-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 96px; }
.careers-touch-head { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.careers-touch-head h2 {
  /* matches the DC purpose statement type */
  font-size: clamp(28px, 3vw, 40px); font-weight: 500;
  line-height: 1.25; letter-spacing: -0.01em;
}
.careers-touch-sub { font-size: 18px; line-height: 1.625; color: var(--muted-2); }
.careers-touch .talent-form { width: 560px; max-width: 100%; }
.careers-touch .talent-submit { align-self: flex-start; }
@media (max-width: 1080px) {
  .careers-touch { padding: 80px 0; }
  .careers-touch-grid { flex-direction: column; gap: 40px; }
}

/* ============ Careers: legal accordion (light) ============ */
.careers-legal { border-top: 1px solid var(--border); padding: 120px 0; }
.careers-legal-grid { display: flex; gap: 96px; align-items: flex-start; }
.careers-legal-head { width: 380px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.careers-legal-head h2 { letter-spacing: -0.02em; }
.careers-legal-sub { font-size: 16px; line-height: 1.625; color: var(--muted-2); }
.careers-legal .accordion { flex: 1; gap: 0; }
.careers-legal .accordion-item {
  background: transparent; border-bottom: none; border-top: 1px solid var(--border);
  transition: background-color 0.3s var(--ease);
}
.careers-legal .accordion-item:last-child { border-bottom: 1px solid var(--border); }
.careers-legal .accordion-item:not(.open):hover { background: #faf9f8; border-bottom-color: transparent; }
.careers-legal .accordion-head { padding: 26px 8px; }
.careers-legal .accordion-title { font-size: 20px; color: var(--text-dark); }
.careers-legal .accordion-item.open .accordion-title { color: var(--text-dark); }
.careers-legal .accordion-icon { width: 22px; height: 22px; filter: brightness(0); opacity: 0.6; }
.careers-legal .accordion-item.open { flex: none; }
.careers-legal .accordion-body-inner { padding: 0 8px 26px; }
.careers-legal .accordion-body-inner p { color: var(--muted-1); font-size: 16px; line-height: 1.6; max-width: 640px; }
@media (max-width: 1080px) {
  .careers-legal { padding: 80px 0; }
  .careers-legal-grid { flex-direction: column; gap: 32px; }
  .careers-legal-head { width: auto; }
}

/* ============ Job detail page ============ */
.job-detail {
  width: min(1020px, calc(100% - var(--gutter))); margin: 0 auto; padding: 125px 0 100px;
  display: flex; gap: 72px; align-items: flex-start;
}
.job-rail { position: sticky; top: 110px; flex-shrink: 0; }
.job-main { max-width: 700px; min-width: 0; }
.job-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 40px; }
.job-head h1 { font-size: 36px; font-weight: 500; line-height: 1.28; }
.job-body { display: flex; flex-direction: column; gap: 20px; }
.job-body p, .job-body li { font-size: 16px; line-height: 1.6; color: var(--muted-1); }
.job-body h5 { margin-top: 20px; color: var(--text-dark); }
.job-body h6 { margin-top: 8px; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--text-dark); }
.job-body ul { list-style: disc; padding-left: 27px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 900px) {
  .job-detail { flex-direction: column; gap: 32px; }
  .job-rail { position: static; order: 2; }
  .job-main { order: 1; }
}
.more-roles { padding: 50px 0 100px; border-top: 1px solid var(--border); position: relative; }
.more-roles .role-group { margin-top: 0; }

/* ============ Compliance page ============ */
.license { padding: 100px 0; display: flex; justify-content: center; }
.license-card {
  width: min(1218px, calc(100% - var(--gutter)));
  border: 1px solid var(--border); background: rgba(14, 13, 13, 0.015);
  padding: 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 60px;
}
.license-left { display: flex; flex-direction: column; gap: 20px; width: 486px; flex-shrink: 0; }
.license-body { width: 589px; font-size: 18px; line-height: 1.34; color: var(--text-dark); }

.conditions {
  border-top: 1px solid var(--border); padding: 120px 0 60px;
  display: flex; flex-direction: column; gap: 50px; align-items: center;
}
.conditions .headlines { max-width: 675px; }
.conditions-list { display: flex; flex-direction: column; width: min(1218px, calc(100% - var(--gutter))); }
.condition-row {
  border-top: 1px solid var(--border);
  padding: 20px 0 20px 20px; min-height: 120px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  transition: background-color 0.25s var(--ease);
}
.condition-row:last-child { border-bottom: 1px solid var(--border); }
.condition-row:hover { background: #faf9f8; }
.condition-left { display: flex; align-items: center; gap: 32px; }
.condition-num {
  width: 134px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 400; letter-spacing: 1px;
  text-transform: uppercase; color: var(--primary);
}
.condition-title { font-family: var(--font-head); font-size: 20px; font-weight: 500; color: var(--text-dark); width: 252px; }
.condition-desc { font-size: 16px; line-height: 1.6; color: var(--muted-2); width: 504px; }

.comply { padding: 100px 0; display: flex; flex-direction: column; gap: 60px; align-items: center; }
.comply .headlines { max-width: 869px; }
.comply-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  width: min(1218px, calc(100% - var(--gutter)));
  border: 1px solid var(--border); background: var(--border);
}
.comply-card {
  background: var(--bg); border-right: 1px solid var(--border);
  padding: 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  transition: background-color 0.3s var(--ease);
}
.comply-card:last-child { border-right: none; }
.comply-card:hover { background: #faf9f8; }
.comply-card h5 { color: var(--text-dark); font-size: 20px; font-weight: 500; }
.comply-card p { font-size: 16px; line-height: 21px; color: var(--muted-2); }
.comply-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(248, 97, 48, 0.1); border: 1px solid var(--primary);
}
.comply-icon img { width: 24px; height: 24px; }
@media (max-width: 1280px) {
  .comply-grid { grid-template-columns: 1fr; }
  .comply-card { border-right: none; border-bottom: 1px solid var(--border-2); }
  .license-card { flex-direction: column; align-items: flex-start; }
  .license-left, .license-body { width: 100%; }
  .condition-row { flex-direction: column; align-items: flex-start; }
  .condition-desc { width: auto; }
}

/* ============ Provisioning API page ============ */
.papi-hero {
  box-sizing: border-box;
  /* 600px hero at 1440; content vertically centered below the fixed header */
  min-height: 600px;
  padding: 60px 40px 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 24px;
  border-bottom: 1px solid var(--border);
}
.papi-hero h1 { font-size: 60px; font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; max-width: 1060px; }
.papi-hero h1 .dim { color: rgba(14, 13, 13, 0.35); }
.papi-sub { font-size: 18px; line-height: 1.625; color: rgba(14, 13, 13, 0.6); max-width: 576px; margin-top: -4px; }
.papi-actions { display: flex; gap: 24px; margin-top: 8px; }
.link-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; font-size: 14px; line-height: 20px; color: var(--muted-2);
  background: transparent; border-radius: 0;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.link-cta .link-chev { font-size: 16px; line-height: 1; transition: transform 0.2s var(--ease); }
.link-cta:hover { color: var(--text-dark); background: #f0efec; }
.link-cta:hover .link-chev { transform: translateX(2px); }
.papi-terminal { margin-top: 40px; width: min(640px, 100%); text-align: left; }
.papi-terminal .mock-terminal { max-width: none; padding: 20px 28px 28px; }
.papi-terminal .mock-terminal pre { font-size: 14px; }

/* three-section product body */
.papi-sec {
  padding: 90px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 96px;
}
.papi-sec + .papi-sec { border-top: 1px solid var(--border); }
.papi-sec-text { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.papi-sec-text h2 { font-size: 30px; letter-spacing: -0.02em; line-height: 1.12; }
.papi-sec-sub { font-size: 15px; line-height: 1.5; color: var(--muted-2); max-width: 440px; }
.checklist { display: flex; flex-direction: column; gap: 0; margin-top: 20px; counter-reset: check; }
.checklist li {
  counter-increment: check;
  position: relative; padding: 13px 0 13px 36px;
  border-top: 1px solid var(--border);
  font-size: 14px; line-height: 1.55; color: var(--muted-1);
  transition: color 0.25s var(--ease);
}
.checklist li:last-child { border-bottom: 1px solid var(--border); }
.checklist li:hover { color: var(--text-dark); }
.checklist li::before {
  content: counter(check, decimal-leading-zero);
  position: absolute; left: 0; top: 16px;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 400; line-height: 1;
  letter-spacing: 1px; text-transform: uppercase; color: var(--primary);
}

/* x.ai-style staggered reveal for the capability sections */
[data-reveal].reveal-group { opacity: 1; transform: none; }
.reveal-group > *:not(.checklist) {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-group.in-view > *:not(.checklist) { opacity: 1; transform: translateY(0); }
.reveal-group.in-view > .caption { transition-delay: 60ms; }
.reveal-group.in-view > h2 { transition-delay: 140ms; }
.reveal-group.in-view > .papi-sec-sub { transition-delay: 220ms; }
.reveal-group .checklist li {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal-group.in-view .checklist li { opacity: 1; transform: translateY(0); }
.reveal-group.in-view .checklist li:nth-child(1) { transition-delay: 300ms; }
.reveal-group.in-view .checklist li:nth-child(2) { transition-delay: 380ms; }
.reveal-group.in-view .checklist li:nth-child(3) { transition-delay: 460ms; }
.reveal-group.in-view .checklist li:nth-child(4) { transition-delay: 540ms; }

/* Visual panel slides + scales in like x.ai/cli */
.papi-sec-visual.slide-in[data-reveal] {
  transform: translateY(28px) scale(0.98);
  transition-property: opacity, transform;
  transition-duration: 0.9s;
  transition-timing-function: var(--ease);
}
.papi-sec-visual.slide-in[data-reveal].in-view { transform: translateY(0) scale(1); }

/* section terminals type in line-by-line when the panel enters view */
.papi-sec-visual .mock-terminal .tline { opacity: 0; }
.papi-sec-visual[data-reveal].in-view .mock-terminal .tline {
  animation: tline-in 0.4s var(--ease) forwards;
  animation-delay: calc(var(--i) * 130ms + 350ms);
}
.papi-sec-visual {
  width: 520px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.papi-sec-visual .mock-terminal { width: 100%; max-width: none; padding: 18px 24px 24px; }
.papi-sec-visual .mock-terminal pre { font-size: 13px; }
.papi-sec-visual .mock-chart { max-width: none; background: #f6f5f3; border: none; border-radius: 12px; padding: 32px; }
.fabric-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fabric-card {
  background: #f6f5f3; border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.fabric-dir { font-size: 16px; font-weight: 500; color: var(--text-dark); }
.fabric-tech { font-size: 13px; color: var(--muted-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.sparkline {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 34px; line-height: 1.2; letter-spacing: 4px; color: var(--primary);
  margin: 12px 0 8px;
}
@media (max-width: 1080px) {
  .papi-sec { flex-direction: column; align-items: flex-start; gap: 32px; padding: 60px 0; }
  .papi-sec-visual { width: 100%; }
}

.papi-features {
  padding: 40px 0 100px;
  display: flex; align-items: flex-start; gap: 96px;
}
.papi-list { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.papi-item {
  min-height: 62vh;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  text-align: left;
  opacity: 0.25; transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.papi-item.active { opacity: 1; transform: translateY(0); }
.papi-item h3 {
  /* matches .dc-spot-title */
  font-size: 20px; font-weight: 500; line-height: 1.2;
  color: var(--text-dark); font-family: var(--font-head);
}
.papi-item-body { font-size: 18px; line-height: 1.5; color: var(--muted-1); max-width: 440px; }
/* staggered slide-in for the left text as a step activates
   (inactive steps stay dimmed via the item-level opacity, never hidden) */
.papi-item > * {
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.papi-item.active > * { transform: translateY(0); }
.papi-item.active > .caption { transition-delay: 40ms; }
.papi-item.active > h3 { transition-delay: 110ms; }
.papi-item.active > .papi-sec-sub { transition-delay: 180ms; }
.papi-item.active > .checklist { transition-delay: 250ms; }
.papi-stage {
  /* matches the x.ai/grok pinned card: 658 × 438 */
  position: sticky; top: calc(50vh - 219px);
  width: 658px; height: 438px; flex-shrink: 0;
  display: grid;
}
.papi-pane {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(14px) scale(0.99);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
  display: flex; align-items: stretch;
}
.papi-pane.active { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.papi-pane .mock-terminal {
  width: 100%; max-width: none; padding: 24px 32px 32px;
  display: flex; flex-direction: column;
}
.papi-pane .mock-terminal pre { font-size: 14px; line-height: 1.9; margin-top: 16px; }
.papi-pane .mock-chart {
  width: 100%; max-width: none; background: #f6f5f3; border-radius: 12px;
  padding: 48px; display: flex; flex-direction: column; justify-content: center;
}

/* live typing terminal (pane 1) */
.type-pre .tp { color: rgba(255, 255, 255, 0.45); }
.type-pre .type-cmd { color: rgba(255, 255, 255, 0.9); }
.type-caret {
  display: inline-block; width: 8px; height: 16px; margin-left: 2px;
  background: rgba(255, 255, 255, 0.7); vertical-align: -3px;
  animation: cursor-blink 1s step-end infinite;
}
.type-out { display: block; margin-top: 6px; }
.type-out span {
  display: block; opacity: 0;
  animation: tline-in 0.35s var(--ease) forwards;
}
.type-out .tg { color: #28c840; }
.type-out .tc { color: rgba(255, 255, 255, 0.55); }
.papi-pane .tlines {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px; line-height: 2; color: rgba(255, 255, 255, 0.85);
  white-space: pre-wrap; margin-top: 24px;
}
.tline { opacity: 0; }
.papi-pane.active .tline {
  animation: tline-in 0.4s var(--ease) forwards;
  animation-delay: calc(var(--i) * 160ms + 200ms);
}
@keyframes tline-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.mock-terminal .tw { color: #ffbd2e; }
.mock-terminal .tg { color: #28c840; }

/* Animated terminal in dropdown preview */
.terminal-anim .tline { opacity: 0; }
.preview-pane.active .terminal-anim .tline {
  animation: tline-in 0.35s var(--ease) forwards;
  animation-delay: calc(var(--i) * 110ms + 60ms);
}
.terminal-cursor {
  display: block; width: 7px; height: 15px;
  background: rgba(255,255,255,0.7); margin-top: 10px;
  animation: cursor-blink 1s step-end infinite;
}
@keyframes cursor-blink { 50% { opacity: 0; } }
@media (max-width: 1080px) {
  .papi-hero h1 { font-size: 48px; }
  .papi-features { flex-direction: column; gap: 32px; }
  .papi-item { min-height: 0; padding: 32px 0; opacity: 1; transform: none; }
  .papi-stage { position: relative; top: 0; width: 100%; height: auto; min-height: 380px; }
}

/* ============ GPU Fleet page ============ */
.gpu-hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border-2);
  padding: 100px 0 0 80px;
  display: flex; align-items: center; justify-content: center; gap: 100px;
}
.gpu-hero-glow {
  position: absolute; left: 50%; bottom: -110px; transform: translateX(-50%);
  width: 1400px; height: 220px; border-radius: 50%;
  background: rgba(248, 97, 48, 0.2); filter: blur(100px); pointer-events: none;
  animation: glow-drift 9s ease-in-out infinite alternate;
}
.gpu-hero-text { width: 538px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.gpu-hero-text .hero-title { max-width: none; }
.gpu-hero-text .hero-title .dim { color: rgba(14, 13, 13, 0.35); }
.gpu-hero-actions {
  display: flex; gap: 12px; margin-top: 16px;
  opacity: 0; transform: translateY(24px);
  animation: fade-up 0.9s var(--ease) 0.55s forwards;
}
.gpu-hero-sub {
  font-size: 18px; line-height: 1.625; color: rgba(14, 13, 13, 0.6);
  opacity: 0; transform: translateY(24px);
  animation: fade-up 0.9s var(--ease) 0.4s forwards;
}
.gpu-hero-media { width: 674px; max-width: 46%; }
.gpu-hero-media img {
  width: 100%; height: auto;
  opacity: 0; transform: translateY(30px) scale(0.97);
  animation: fade-up-scale 1.1s var(--ease) 0.3s forwards;
}
@keyframes fade-up-scale { to { opacity: 1; transform: translateY(0) scale(1); } }

.gpu-sec { padding: 100px 0; display: flex; flex-direction: column; gap: 40px; }
.gpu-sec + .gpu-sec { border-top: 1px solid var(--border); }
.gpu-sec-headline p { color: var(--muted-2); }
.gpu-sec:last-of-type { padding-bottom: 100px; }
.gpu-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.gpu-sec-headline { display: flex; flex-direction: column; gap: 16px; max-width: 675px; }
.gpu-sec-headline h2 { letter-spacing: -0.025em; }
.gpu-sec-headline p { font-size: 18px; line-height: 1.34; color: var(--muted-1); }
.gpu-sec-actions { display: flex; gap: 8px; flex-shrink: 0; }
.spec-rows { display: flex; flex-direction: column; }
.spec-row {
  border-top: 1px solid var(--border);
  padding: 20px 0 20px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  transition: background-color 0.25s var(--ease);
}
.spec-row:last-child { border-bottom: 1px solid var(--border); }
.spec-left { display: flex; align-items: center; gap: 32px; }
.spec-num {
  width: 134px; flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 400; line-height: 14px;
  letter-spacing: 1px; text-transform: uppercase; color: var(--primary);
}
.spec-title { font-family: var(--font-head); font-size: 20px; font-weight: 500; color: var(--text-dark); width: 252px; }
.spec-desc { font-size: 16px; line-height: 1.6; color: var(--muted-2); width: 504px; }
@media (max-width: 1080px) {
  .gpu-hero { flex-direction: column; padding: 100px 40px 0; gap: 40px; }
  .gpu-hero-text { width: 100%; }
  .gpu-hero-media { max-width: 100%; }
  .gpu-sec-head { flex-direction: column; align-items: flex-start; }
  .spec-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .spec-desc { width: auto; }
}

/* ============ Data Centers page — cinematic light ============ */
/* telemetry texture: uppercase letter-spaced monospace labels */
.dc-spec-label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 400; line-height: 15px;
  letter-spacing: 1px; text-transform: uppercase;
}
/* section eyebrow labels: Inter regular, 1px tracking (sitewide, overriding the mono treatment) */
.dc .caption {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 400; line-height: 15px;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--primary);
}

/* cinematic reveal pacing on this page only */
.dc [data-reveal] {
  transform: translateY(48px);
  transition-duration: 1.3s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.dc [data-reveal].in-view { transform: translateY(0); }

/* --- split hero: mission left, spotlight list right --- */
.dc-hero { padding: 210px 0 120px; display: flex; justify-content: center; }
.dc-hero-inner {
  width: min(1218px, calc(100% - var(--gutter)));
  display: flex; align-items: flex-start; justify-content: space-between; gap: 96px;
}
.dc-hero-left {
  width: 560px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
}
.dc-hero-left .hero-title { max-width: none; }
.dc-hero-left .hero-title .dim { color: rgba(14, 13, 13, 0.35); }
.dc-hero-sub {
  font-size: 18px; line-height: 1.625; color: rgba(14, 13, 13, 0.6);
  max-width: 500px;
  opacity: 0; transform: translateY(24px);
  animation: fade-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.dc-hero-actions {
  display: flex; gap: 12px; margin-top: 8px;
  opacity: 0; transform: translateY(24px);
  animation: fade-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}
.dc-spotlights {
  flex: 1; max-width: 560px; min-width: 0;
  display: flex; flex-direction: column;
  padding-top: 34px;
}
.dc-spot {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(18px);
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.dc-spot:last-child { border-bottom-color: transparent; }
.dc-spot:nth-child(1) { animation-delay: 0.5s; }
.dc-spot:nth-child(2) { animation-delay: 0.62s; }
.dc-spot:nth-child(3) { animation-delay: 0.74s; }
.dc-spot:nth-child(4) { animation-delay: 0.86s; }
.dc-spot-text { display: flex; flex-direction: column; gap: 6px; }
.dc-spot-title {
  font-family: var(--font-head); font-size: 20px; font-weight: 500;
  line-height: 1.2; color: var(--text-dark);
}
.dc-spot-desc { font-size: 15px; line-height: 1.5; color: var(--muted-2); }
.dc-spot-arrow {
  font-size: 15px; line-height: 1; padding-top: 5px;
  color: var(--primary);
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
/* hover matches the newsroom list rows: orange baseline + arrow slides in */
.dc-spot:hover { border-bottom-color: var(--primary); }
.dc-spot:hover .dc-spot-arrow { opacity: 1; transform: translateX(0); }

/* --- purpose: centered editorial statement --- */
.dc-purpose { padding: 90px 0 130px; }
.dc-purpose-statement {
  width: min(880px, calc(100% - var(--gutter))); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
}
.dc-statement {
  font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.25;
  letter-spacing: -0.01em; color: var(--text-dark);
}
.dc-statement-body { font-size: 18px; line-height: 1.625; color: var(--muted-2); max-width: 720px; }

/* --- by the numbers: head + monumental specs strip --- */
.dc-numbers { padding: 120px 0 56px; }
.dc-numbers-head { display: flex; flex-direction: column; gap: 16px; }
.dc-numbers-head h2 { color: var(--text-dark); letter-spacing: -0.02em; }
.dc-specs {
  /* no border-bottom: the section that follows always draws its own border-top */
  border-top: 1px solid var(--border);
  display: flex; align-items: stretch; justify-content: center;
}
.dc-spec {
  flex: 1; max-width: 406px;
  border-left: 1px solid var(--border);
  padding: clamp(28px, 4.5vh, 48px) 48px;
  display: flex; flex-direction: column; gap: clamp(12px, 2vh, 20px);
}
.dc-spec:last-child { border-right: 1px solid var(--border); }
.dc-spec-value { display: flex; align-items: baseline; gap: 12px; }
.dc-spec-value .num {
  font-family: var(--font-head);
  font-size: clamp(48px, 5.2vw, 96px);
  font-weight: 500; line-height: 0.95; letter-spacing: -0.03em;
  color: var(--text-dark);
  font-variant-numeric: tabular-nums;
}
.dc-spec-value .unit {
  font-family: var(--font-head);
  font-size: clamp(16px, 1.4vw, 22px); font-weight: 500;
  color: var(--primary); letter-spacing: -0.01em;
  white-space: nowrap;
}
.dc-spec-label { color: var(--muted-2); }

/* --- flagship intro: copy before the takeover --- */
.dc-flagship-intro { border-top: 1px solid var(--border); padding: 160px 0 100px; }
/* editorial statement: eyebrow left, large running text with scroll-lit words */
.dc-statement-wrap { position: relative; }
.dc-statement-eyebrow {
  position: absolute; left: 0; top: 14px;
  display: flex; align-items: center; gap: 10px;
}
.dc-eyebrow-dot {
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--primary); flex-shrink: 0;
}
.dc-flagship-intro .dc-statement {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.28; font-weight: 500; letter-spacing: -0.02em;
  text-indent: min(260px, 26vw);
  color: var(--text-dark);
}
.dc-flagship-intro .dc-statement .w { color: rgba(14, 13, 13, 0.16); transition: color 0.3s linear; }
.dc-flagship-intro .dc-statement .w.lit { color: var(--text-dark); }
@media (max-width: 900px) {
  .dc-statement-eyebrow { position: static; margin-bottom: 24px; }
  .dc-flagship-intro .dc-statement { text-indent: 0; }
}
.dc-flagship-head { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.dc-flagship-head-top { display: flex; align-items: center; gap: 16px; }
.dc-flagship-head h2 { color: var(--text-dark); letter-spacing: -0.02em; }
.dc-flagship-lead { font-size: 18px; line-height: 1.625; color: var(--muted-2); max-width: 640px; }
.dc-flagship-lead strong { color: var(--text-dark); font-weight: 600; }

/* --- flagship: scroll takeover — inset video expands to full-bleed --- */
.dc-flagship { position: relative; height: 220vh; }
.dc-flagship-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.dc-flagship-frame {
  /* in-flow block (not absolute-in-sticky — WebKit mis-resolves that) */
  position: relative; width: 100%; height: 100%;
  border-radius: 0; overflow: hidden;
  /* isolate painting: the scroll-driven mask-size animation otherwise leaves
     stale composited layers bleeding over other sections (same class of bug
     as the rotator ghosting — fixed the same way) */
  contain: paint; clip-path: inset(0); isolation: isolate;
}
.dc-flagship-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* full-bleed reveal — black panel over the image, "Firebird" letters are windows.
   The wordmark starts huge and shrinks to its final size as you scroll (JS drives mask-size). */
.dc-flagship-mask {
  position: absolute; inset: 0; background: #0e0d0d;
  border-radius: 0;
  opacity: 0; will-change: opacity;
}
.dc-flagship-maskimg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 0;
  -webkit-mask: url("assets/dc-flagship-wordmark.png") center no-repeat;
  mask: url("assets/dc-flagship-wordmark.png") center no-repeat;
  -webkit-mask-size: min(72vw, 1180px) auto;
  mask-size: min(72vw, 1180px) auto;
}
.dc-open-badge {
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 600; line-height: 20px; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
}


/* --- roadmap: head + merged fleet band --- */
.dc-roadmap { border-top: 1px solid var(--border); padding: 120px 0 0; }
.dc-roadmap-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 80px; margin-bottom: 72px;
}
.dc-roadmap-title { display: flex; flex-direction: column; gap: 16px; }
.dc-roadmap-head h2 { color: var(--text-dark); letter-spacing: -0.02em; }
.dc-roadmap-sub {
  width: 640px; max-width: 100%; flex-shrink: 0;
  font-size: 18px; line-height: 1.75; color: var(--muted-2);
  margin-top: 34px;
}
@media (max-width: 1080px) {
  .dc-roadmap-head { flex-direction: column; gap: 24px; }
  .dc-roadmap-sub { width: 100%; margin-top: 0; }
}
.dc-fleetband {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; align-items: stretch; justify-content: center;
}
.dc-fleetcell {
  flex: 1; max-width: 609px;
  border-left: 1px solid var(--border);
  padding: 56px 48px;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.dc-fleetcell:first-child { border-left: none; }
.dc-fleetcell h4 { color: var(--text-dark); }
.dc-fleetcell-dc {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 400; line-height: 15px;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--primary);
}
.dc-fleetcell-sub { font-size: 17px; line-height: 1.5; color: var(--muted-2); margin-top: 8px; }
.dc-fleetcell-sub strong { color: var(--text-dark); font-weight: 600; }
.dc-badge {
  font-family: var(--font-body); font-size: 13px; line-height: 20px; font-weight: 500;
  padding: 2px 10px; border-radius: 4px;
  background: rgba(14, 13, 13, 0.05); color: var(--muted-1);
  border: 1px solid rgba(14, 13, 13, 0.08);
}
.dc-badge.live {
  background: rgba(22, 163, 74, 0.08); color: #15803d;
  border-color: rgba(22, 163, 74, 0.25);
}
/* --- latest news --- */
.dc-news { border-top: 1px solid var(--border); padding: 120px 0; }
.dc-news-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 48px; }
.dc-news-head h2 { color: var(--text-dark); letter-spacing: -0.02em; }
.dc-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dc-news-grid .news-card { flex: none; width: auto; }

/* --- foundation: centered partners band (glow + hairline divider) --- */
.dc-foundation {
  position: relative; border-top: 1px solid var(--border);
  padding: 120px 0; overflow: hidden;
}
.dc-foundation-inner { display: flex; flex-direction: column; gap: 80px; align-items: center; }
.dc-foundation-head { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.dc-foundation-sub { font-size: 18px; line-height: 1.625; color: var(--muted-2); max-width: 576px; }
.dc-foundation .partners-logos { width: 100%; gap: clamp(60px, 13vw, 188px); }

@media (max-width: 1280px) {
  .dc-hero { padding: 160px 0 80px; }
  .dc-hero-inner { flex-direction: column; gap: 56px; }
  .dc-hero-left { width: 100%; }
  .dc-spotlights { max-width: none; width: 100%; padding-top: 0; }
  .dc-purpose { padding: 90px 0 80px; }
  .dc-specs { flex-direction: column; }
  .dc-spec { max-width: none; border-right: none; border-top: 1px solid var(--border); }
  .dc-spec:first-child { border-top: none; }
  .dc-spec:last-child { border-right: none; }
  .cp-hero { padding: 130px 0 80px; }
  .cp-grid { flex-direction: column; gap: 56px; }
  .cp-left { width: 100%; }
  .press-inner { flex-direction: column; }
  .press-assets { width: 100%; }
  .dc-flagship-intro { padding: 80px 0 24px; }
  .dc-numbers { padding: 80px 0 40px; }
  .dc-roadmap { padding: 80px 0 0; }
  .dc-news-grid { grid-template-columns: 1fr; }
  .dc-news-grid .news-card { max-width: 480px; }
  .dc-fleetband { flex-direction: column; }
  .dc-fleetcell { max-width: none; border-left: none; border-top: 1px solid var(--border); }
  .dc-fleetcell:first-child { border-top: none; }
  .dc-fleetcell:last-child { border-right: none; }
  .dc-foundation .partners-logos { flex-wrap: wrap; gap: 40px; }
}

/* ============ Newsroom page ============ */
.newsroom-head { padding: 180px 40px 40px; text-align: center; }
.newsroom-head h1 { font-size: 60px; font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; }
.nr-featured {
  display: flex; align-items: center; gap: 72px;
  padding: 50px 0 90px;
}
.nr-featured-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.nr-featured-text .caption { color: var(--muted-2); }
.nr-featured-text h2 {
  font-size: clamp(28px, 2.9vw, 38px); font-weight: 500;
  line-height: 1.2; letter-spacing: -0.02em;
}
.nr-featured-actions { margin-top: 6px; }
.nr-featured-media {
  width: 54%; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(14, 13, 13, 0.14);
}
.nr-featured-media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.nr-grid-wrap { padding-bottom: 90px; }
.nr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nr-list { padding-bottom: 110px; }
.nr-list-head { padding: 10px 0 28px; }
.nr-list-head h2 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 500; letter-spacing: -0.02em; }
.nr-list-head + .nr-row { border-top: 1px solid var(--border); }
.nr-row {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  padding: 24px 4px; border-bottom: 1px solid var(--border);
  transition: background-color 0.25s var(--ease);
}
.nr-row:hover { border-bottom-color: var(--primary); }
.nr-row-title {
  font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--text-dark);
  max-width: 820px; transition: color 0.25s var(--ease);
}
.nr-row-side { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.nr-row-side img { width: auto; height: 18px; opacity: 0.85; }
.nr-row-side .arrow {
  color: var(--primary); display: inline-flex; align-items: center;
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.nr-row-side .arrow .arrow-long { width: 22px; height: 9px; }
.nr-row:hover .arrow { opacity: 1; transform: translateX(0); }
.nr-more { display: flex; justify-content: center; padding-top: 50px; }
@media (max-width: 1080px) {
  .nr-featured { flex-direction: column; align-items: flex-start; gap: 32px; }
  .nr-featured-media { width: 100%; }
  .nr-grid { grid-template-columns: 1fr; }
  .newsroom-head { padding-top: 150px; }
}

/* ============ News article detail ============ */
.news-article { padding: 150px 0 40px; }
.news-article-hero {
  width: min(1081px, calc(100% - var(--gutter))); margin: 0 auto 56px;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(14, 13, 13, 0.12);
}
.news-article-hero img { width: 100%; aspect-ratio: 1081 / 420; object-fit: cover; display: block; }
.news-article-wrap { position: relative; width: min(700px, calc(100% - var(--gutter))); margin: 0 auto; }
.share-rail { position: absolute; left: -110px; top: 6px; bottom: 0; }
.share-rail-inner { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 12px; }
.share-title {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; line-height: 14px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 2px; white-space: nowrap;
}
.share-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-2); color: var(--muted-2);
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.share-btn svg { width: 15px; height: 15px; }
.share-btn:hover { color: var(--text-dark); border-color: var(--text-dark); transform: translateY(-1px); }
.news-article-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px; margin-bottom: 36px;
  display: flex; flex-direction: column; gap: 14px;
}
.news-article-head h1 { font-size: 36px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.news-article-head .caption { color: var(--muted-2); }
.news-article-body { display: flex; flex-direction: column; gap: 22px; padding-bottom: 30px; }
.news-article-body p { font-size: 16px; line-height: 1.75; color: var(--muted-1); }
.news-article-sub { font-size: 20px; font-weight: 500; color: var(--text-dark); margin-top: 10px; }
.news-article-figure { border-radius: 8px; overflow: hidden; margin: 10px 0; }
/* natural height — body photos are never cropped, so faces can't be cut off */
.news-article-figure img { width: 100%; height: auto; display: block; }
/* heroes keep the wide cinematic ratio; people photos anchor to the top so
   heads survive the crop (set .crop-top on the img) */
.news-article-hero img.crop-top { object-position: center top; }
/* video hero: natural aspect ratio, never cropped */
.news-article-hero video { width: 100%; height: auto; display: block; background: #0e0d0d; }
/* fully uncropped hero (set .no-crop on the img): natural ratio, no zoom */
.news-article-hero img.no-crop { aspect-ratio: auto; }

/* Source logos: one visual height everywhere — home "Explore the latest",
   the embedded Latest-news grids (Data Centers, About, articles), and the
   Newsroom. Overrides the per-logo inline widths; every logo file carries an
   intrinsic ratio so width:auto keeps proportions. */
.news-footer .news-source { height: 20px !important; width: auto !important; }
.nr-row-side img { height: 20px; }

/* group-photo card covers: anchor the crop to the top so heads stay in frame */
.news-media img[src*="openai.jpg"] { object-position: center top; }
@media (max-width: 1100px) {
  .share-rail { position: static; margin-bottom: 24px; }
  .share-rail-inner { position: static; flex-direction: row; }
}

/* ============ Firebird Cloud page ============ */
.cloud-steps { padding: 90px 0 110px; display: flex; flex-direction: column; gap: 28px; }
.cloud-steps-rows .spec-title { display: inline-flex; align-items: center; gap: 12px; width: 300px; }
.field select {
  appearance: none; -webkit-appearance: none;
  height: 36px; padding: 0 16px; font-size: 11px; font-family: var(--font-body);
  background: rgba(14, 13, 13, 0.03) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%230e0d0d' stroke-opacity='.55' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--border); color: #262626;
  transition: border-color 0.25s;
}
.field select:focus { outline: none; border-color: var(--text-dark); }
.field select:invalid, .field select option[value=""] { color: var(--muted-2); }
.wl-note { font-size: 11px; line-height: 15px; color: var(--muted-2); align-self: center; margin-top: -6px; }
.cloud-closing {
  border-top: 1px solid var(--border);
  padding: 110px 40px; display: flex; justify-content: center; text-align: center;
}
.cloud-closing p {
  font-family: var(--font-head);
  font-size: clamp(24px, 2.6vw, 34px); font-weight: 500;
  line-height: 1.3; letter-spacing: -0.02em; color: var(--text-dark);
  max-width: 820px;
}

/* ============ Firebird Labs page ============ */
.labs-what { padding: 90px 0; }
.labs-cells .dc-fleetcell { gap: 10px; }
.labs-cells .spec-num { width: auto; }
.labs-fellows { border-top: 1px solid var(--border); padding: 120px 0; }
.labs-fellows-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 96px; }
.labs-fellows-head { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.labs-fellows-head h2 { letter-spacing: -0.02em; }
.labs-fellows-sub { font-size: 16px; line-height: 1.625; color: var(--muted-2); }
.labs-fellows-cta { align-self: flex-start; margin-top: 10px; }
.labs-facts { flex: 1; max-width: 620px; display: flex; flex-direction: column; }
.labs-fact {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 4px; border-top: 1px solid var(--border);
  transition: background-color 0.25s var(--ease);
}
.labs-fact:last-child { border-bottom: 1px solid var(--border); }
.labs-fact-title { font-family: var(--font-head); font-size: 20px; font-weight: 500; line-height: 1.2; color: var(--text-dark); }
.labs-fact-desc { font-size: 15px; line-height: 1.5; color: var(--muted-2); }
@media (max-width: 1080px) {
  .labs-fellows { padding: 80px 0; }
  .labs-fellows-grid { flex-direction: column; gap: 40px; }
  .labs-facts { max-width: none; width: 100%; }
}

/* ============ Long-tail arrow icon ============ */
.arrow-long { width: 22px; height: 9px; display: inline-block; vertical-align: middle; }
.dc-spot-arrow .arrow-long { width: 22px; height: 9px; }
.link-read .arrow .arrow-long { transition: none; }

/* ============ Roadmap fleet cards (Figma 702:3554) ============ */
.dc-fleetcards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 499px));
  gap: 32px; padding-bottom: 110px;
  justify-content: center;
}
.dc-fleetcard {
  background: var(--bg); border: 1px solid var(--muted-2);
  padding: 50px; display: flex; flex-direction: column; gap: 40px;
}
.dc-fleetcard-head { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.dc-fleetcard-head h4 { font-size: 30px; font-weight: 500; color: var(--text-dark); }
.dc-fleetcard .dc-badge { background: #f5f5f5; color: #171717; border: none; }
.dc-fleetcard-sub { font-size: 18px; line-height: 1.34; color: var(--muted-2); }
.dc-fleetcard-sub strong { color: var(--text-dark); font-weight: 700; }
.dc-fleetcard-sub .sep { padding: 0 14px; }
@media (max-width: 1080px) {
  .dc-fleetcards { grid-template-columns: 1fr; }
}

/* ============ Fleet monitor terminal (Control Plane, pane 3) ============ */
.papi-monitor { width: 100%; display: flex; flex-direction: column; }
.papi-monitor pre {
  margin-top: 18px;
  font-size: 13px; line-height: 1.85; white-space: pre;
  color: rgba(255, 255, 255, 0.82);
}
.papi-monitor .m-dim { color: rgba(255, 255, 255, 0.45); }
.papi-monitor .m-bar { color: var(--primary); }
.papi-monitor .m-bar-bg { color: rgba(255, 255, 255, 0.16); }
.papi-monitor .m-ok { color: #28c840; }
.papi-monitor .m-hist { color: rgba(248, 97, 48, 0.85); letter-spacing: 1px; }

/* flagship: the wordmark-mask scroll animation runs at ALL viewport sizes
   (static small-screen fallback removed 2026-07-23 — script.js gate removed too) */

/* ============ Responsive fallbacks ============ */
@media (max-width: 1280px) {
  .hero-content { flex-direction: column; padding-top: 140px; }
  .hero { height: auto; padding-bottom: 320px; }
  .flight-grid { flex-direction: column; }
  .flight-card { width: 100%; }
  .global-grid { flex-direction: column; align-items: flex-start; }
  .footer-top { flex-direction: column; }
  .footer-cols { width: 100%; flex-wrap: wrap; gap: 40px; }
  .secure-cards { flex-direction: column; align-items: center; gap: 20px; }
  .secure-card { width: min(609px, 100%); }
  .infra-stage { height: auto; padding-bottom: 40px; }
  .infra-illustration { position: relative; left: 0; transform: none; width: 100%; height: auto; margin: 0 auto; }
  .infra-card { position: relative; right: auto; top: auto; margin: 24px auto 0; }
  .infra-card.left { left: auto; }
  .global-left, .global-right { width: 100%; max-width: 616px; }
}

/* ============ Mobile overflow fixes ============ */
@media (max-width: 600px) {
  .hero-title { font-size: clamp(34px, 10.5vw, 60px); }
  .hero-actions-center { flex-wrap: wrap; justify-content: center; }
  .dc-hero-actions, .gpu-hero-actions, .hero-actions, .cta-quiet-actions, .papi-actions { flex-wrap: wrap; }
  .secure-card { height: auto; padding: 32px 24px; }
  .secure-card-line { position: static; top: auto; margin: 24px 0; }
  .secure-card-bottom { position: static; left: auto; top: auto; width: auto; gap: 32px; }
  .hero-metrics { flex-wrap: wrap; gap: 24px; }
  .footer { padding: 40px 24px; }
  .footer-meta { flex-wrap: wrap; gap: 16px; }
  .footer-meta-left { flex-wrap: wrap; gap: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .cp-form-col { padding: 20px; }
  .asset-row { align-items: flex-start; flex-direction: column; gap: 6px; }
  .spec-left { flex-wrap: wrap; row-gap: 8px; }
  .spec-title { width: auto; }
  .cloud-steps-rows .spec-title { width: auto; }
  .license-body { width: auto; }
  .condition-desc { width: auto; }
  .condition-left { flex-wrap: wrap; row-gap: 8px; }
  .condition-title { width: auto; }
  .careers-hero h1, .papi-hero h1, .newsroom-head h1 { font-size: clamp(34px, 10vw, 48px); }
  .papi-sec-visual { width: 100%; }
  .papi-stage { width: 100%; }
  .papi-pane { width: 100%; min-width: 0; }
  .mock-terminal { width: 100%; max-width: 100%; min-width: 0; }
  .mock-terminal pre { overflow-x: auto; }
}

/* ============ Contact form: optional marker, gated submit, custom dropdown ============ */
.field-optional { color: var(--muted-2); font-weight: 400; }
.cp-form .btn-primary:disabled { background: #ffa081; opacity: 1; cursor: not-allowed; transform: none; }

/* native <select> is progressively enhanced into .fb-select; keep it in the DOM
   (visually hidden) so the form still owns the value + HTML validity */
/* the enhanced native <select> stays in the DOM for value + validity but is
   fully removed from layout/focus/a11y tree (display:none still submits & validates) */
.fb-select-native { display: none; }
.fb-select { position: relative; }
.fb-select-trigger {
  width: 100%; height: 36px; padding: 0 14px 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--font-body); font-size: 11px;
  color: #262626; background: rgba(14, 13, 13, 0.03); border: 1px solid var(--border);
  cursor: pointer; text-align: left; transition: border-color 0.25s;
}
.fb-select-trigger:focus-visible { outline: none; border-color: var(--text-dark); }
.fb-select.open .fb-select-trigger { border-color: var(--text-dark); }
.fb-select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-select-value.placeholder { color: var(--muted-2); }
.fb-select-chevron { flex-shrink: 0; color: rgba(14, 13, 13, 0.55); transition: transform 0.2s var(--ease); }
.fb-select.open .fb-select-chevron { transform: rotate(180deg); }

/* popover menu — Figma "Dropdown select": white card, #e5e5e5 border, 6px radius, md shadow */
.fb-select-menu {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 40;
  display: flex; flex-direction: column; gap: 2px;
  background: #fff; border: 1px solid #e5e5e5; border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 2px; max-height: 264px; overflow-y: auto;
}
.fb-select-menu[hidden] { display: none; }
.fb-select-group-label {
  min-height: 32px; display: flex; align-items: center; padding: 5.5px 8px;
  font-size: 11px; font-weight: 500; line-height: 14px; color: #737373;
}
.fb-select-option {
  min-height: 32px; display: flex; align-items: center; padding: 5.5px 8px;
  font-size: 13px; line-height: 20px; color: #0a0a0a; border-radius: 6px; cursor: pointer;
}
.fb-select-option:hover, .fb-select-option.active { background: #f5f5f5; }
.fb-select-option[aria-selected="true"] { background: #f5f5f5; font-weight: 500; }
.fb-select-option.has-desc { flex-direction: column; align-items: flex-start; gap: 2px; }
.fb-select-option-title { font-size: 13px; line-height: 20px; color: #0a0a0a; }
.fb-select-option-desc { font-size: 11px; line-height: 15px; color: var(--muted-2); }

/* phone number with country-code select */
.phone-field { display: flex; gap: 8px; }
.phone-field .fb-select, .phone-field select.phone-code { width: 78px; flex-shrink: 0; }
.phone-field input { flex: 1; min-width: 0; }
.phone-field .fb-select-menu { width: 240px; right: auto; }

/* full milestones news cards are clickable — stretched overlay on the Read link
   (no nested <a>; the source logo is an <img>, so nothing interactive is covered) */
/* every news card is fully clickable: stretch its Read link over the whole card */
.news-card { position: relative; }
.news-card .link-read::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ==========================================================================
   Responsive refinements — tablet <=768px, mobile <=428px (min 320px).
   Appended last so they win over earlier equal-specificity media rules.
   ========================================================================== */

@media (max-width: 768px) {
  /* [1] By-the-numbers stats become a 2x2 grid (index / data-centers / labs).
     minmax(0,1fr) lets cells shrink below their content's min width so the
     grid can't push the page wider than narrow phones (320-427px). */
  .dc-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); }
  .dc-spec {
    flex: none; max-width: none; min-width: 0;
    border-left: none; border-right: none; border-top: none;
    padding: 28px 24px;
  }
  .dc-spec:nth-child(even) { border-left: 1px solid var(--border); }
  .dc-spec:nth-child(n + 3) { border-top: 1px solid var(--border); }

  /* [2] No Contact Sales inside the hamburger dropdown on tablet
         (it still shows in the top bar) */
  .mobile-menu .mobile-cta { display: none; }

  /* [4] Footer link columns: tidy left-aligned 2x2 grid (Product & Resources
         no longer pushed to the right edge) */
  .footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }

  /* [5] Footer meta: copyright drops to its own row, like on mobile */
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* [6] About page "Latest news": horizontal scroll row like the landing page */
  .dc-news-grid {
    display: flex; grid-template-columns: none;
    gap: 16px; overflow-x: auto; scroll-snap-type: x proximity;
    scroll-behavior: smooth; padding-bottom: 8px;
    scrollbar-width: none;
  }
  .dc-news-grid::-webkit-scrollbar { display: none; }
  .dc-news-grid .news-card {
    flex: 0 0 300px; width: 300px; max-width: none;
    scroll-snap-align: start;
  }

  /* [8] GPU Fleet hero image 30% smaller, centered */
  .gpu-hero-media { width: 70%; max-width: 70%; align-self: center; }

  /* [9] Spec / condition rows: 12px between the orange number and the title
         (GPU Fleet spec rows + Compliance & Export condition rows) */
  .gpu-sec .spec-left { gap: 12px; }
  .gpu-sec .spec-num { width: auto; }
  .condition-left { gap: 12px; }
  .condition-num { width: auto; }
}

/* [3] At the narrowest width, Contact Sales moves out of the top bar and into
       the hamburger dropdown. Placed after the 768 block so it re-enables the
       in-menu CTA. */
@media (max-width: 320px) {
  .header-right .btn-primary { display: none; }
  .mobile-menu .mobile-cta { display: inline-flex; }
}

/* [7] Control Plane (provisioning-api): on tablet/mobile each section's terminal
       visual sits directly after its section (script.js moves the panes into the
       list; here we reveal them and hide the now-empty pinned stage). */
@media (max-width: 1080px) {
  .papi-stage:empty { display: none; min-height: 0; }
  /* stacked layout: the list must track the container width, not its content —
     align-items:flex-start + the monitor <pre>'s min-content width otherwise
     push the page wider than the viewport (horizontal scroll on phones) */
  .papi-features { align-items: stretch; }
  .papi-list { width: 100%; max-width: 100%; }
  .papi-list > .papi-pane {
    opacity: 1; transform: none; pointer-events: auto;
    margin: 4px 0 12px; width: 100%;
  }
  .papi-list > .papi-pane .mock-terminal { max-width: 100%; }
  /* wide terminal content (fleet monitor) scrolls inside its own frame */
  .papi-list > .papi-pane .mock-terminal pre { overflow-x: auto; min-width: 0; }
  .papi-list > .papi-pane .tline,
  .papi-list > .papi-pane .type-out span { opacity: 1 !important; animation-delay: 0s; }
}

/* ==========================================================================
   Data Centers page — responsive tweaks (2026-07-23)
   Appended last so equal-specificity rules win. The news rule is body.dc-scoped
   so about.html / news-kazakhstan.html keep their existing behavior.
   ========================================================================== */

/* [#2] Latest news: single horizontal scroll row across tablet + mobile
   (matches the home-page milestones track) instead of a stacked column. */
@media (max-width: 1280px) {
  body.dc .dc-news-grid {
    display: flex; grid-template-columns: none;
    gap: 16px; overflow-x: auto;
    scroll-snap-type: x proximity; scroll-behavior: smooth;
    scrollbar-width: none;
    /* breathing room so card shadows aren't sliced by overflow-x's implicit
       vertical clip (same fix as .cards-track); negative margins keep the
       grid visually in place and let the strip bleed into the gutters */
    padding: 20px 24px 28px; margin: -20px -24px -8px;
    scroll-padding-left: 24px;
  }
  body.dc .dc-news-grid::-webkit-scrollbar { display: none; }
  body.dc .dc-news-grid .news-card {
    flex: 0 0 300px; width: 300px; max-width: none;
    scroll-snap-align: start;
    /* soft resting elevation — touch layouts have no hover state */
    box-shadow: 0 12px 28px rgba(14, 13, 13, 0.07), 0 2px 8px rgba(14, 13, 13, 0.05);
  }
  /* Off-screen cards in the scroll row skip the per-card reveal (they'd sit
     invisible until swiped in); the row behaves like the home-page track. */
  body.dc .dc-news-grid .news-card[data-reveal] { opacity: 1; transform: none; }
}

/* [#5] DC-2 / DC-3 roadmap cards: 24px padding on tablet + mobile (down from 50px). */
@media (max-width: 1080px) {
  .dc-fleetcard { padding: 24px; }
}

/* [#4] Hero title: by default "AI" sits with "infrastructure." on line 2; on mobile
   it pulls up beside "At the frontier of". Two toggled copies keep both layouts clean. */
.dc-hero-left .hero-title .hero-ai-inline { display: none; }

@media (max-width: 480px) {
  /* [#3] Hero actions stack, one per line (Request Bare Metal, then Contact Sales).
     width:100% because .dc-hero-left aligns children flex-start (content width). */
  .dc-hero-actions { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .dc-hero-actions .btn { width: 100%; min-width: 0; text-align: center; }
  /* [#4] Show the inline "AI", hide the stacked one. */
  .dc-hero-left .hero-title .hero-ai-inline { display: inline; }
  .dc-hero-left .hero-title .hero-ai-stack { display: none; }
  /* [#4] Size the mobile hero title so "At the frontier of AI" fits on one line
     (down to 320px); nowrap guarantees "AI" stays beside "of". */
  .dc-hero-left .hero-title { font-size: clamp(22px, 7.6vw, 34px); white-space: nowrap; }
}

/* ==========================================================================
   Sitewide responsive refinements (2026-07-23, second batch)
   ========================================================================== */

/* News cards in .dc-news-grid scroll rows (About, article pages) at tablet/mobile:
   soft resting shadow + room for it to render (overflow-x clips vertically).
   The Data Centers copy of these rules lives in the body.dc block above. */
@media (max-width: 768px) {
  .dc-news-grid {
    padding: 20px 24px 28px; margin: -20px -24px -8px;
    scroll-padding-left: 24px;
  }
  .dc-news-grid .news-card {
    box-shadow: 0 12px 28px rgba(14, 13, 13, 0.07), 0 2px 8px rgba(14, 13, 13, 0.05);
  }
}

/* Partner logos ("Built on a proven foundation", index + data-centers): never
   shrink. Below 520px the 2x2 grid can't hold the 200px logos at full size,
   so the band becomes a centered single column; every logo keeps its inline width. */
@media (max-width: 520px) {
  .dc-foundation .partners-logos[data-reveal] {
    display: flex; flex-direction: column; align-items: center;
    gap: 36px; max-width: none;
  }
}

/* About hero image: 20% smaller on tablet + mobile, centered (same pattern as
   the GPU Fleet hero media). */
@media (max-width: 768px) {
  .about-hero-media { width: 80%; align-self: center; }
}

/* Mobile hero titles: every page matches the Data Centers spec. The home hero
   keeps its own size via the higher-specificity .hero.hero-light .hero-title rule. */
@media (max-width: 480px) {
  .hero-title,
  .careers-hero h1,
  .papi-hero h1,
  .newsroom-head h1 { font-size: clamp(26px, 8.8vw, 40px); }
}

/* Careers + job pages, mobile: dark role-group heads — the uppercase count
   drops under a 20px title; the chevron stays centered on the right. */
@media (max-width: 480px) {
  .role-group-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; }
  .role-group-title { font-size: 20px; }
  .role-group-side { display: contents; }
  .role-group-count { grid-column: 1; grid-row: 2; }
  .role-group-chev { grid-column: 2; grid-row: 1 / span 2; }
}

/* Firebird Cloud, THE STACK rows (tablet/mobile): 12px between the orange
   number and the title — matches the Compliance & Export condition rows. */
@media (max-width: 768px) {
  .cloud-steps-rows .spec-left { gap: 12px; }
  .cloud-steps-rows .spec-num { width: auto; }
}

/* Firebird Cloud waitlist ("Be first on the fleet."): inputs stack in a single
   column, 12px apart, at every size. Careers' talent form keeps its own grid. */
#waitlistForm .talent-grid { grid-template-columns: 1fr; gap: 12px; }

/* Newsroom featured story, stacked layouts (tablet/mobile): image first,
   then eyebrow/title/actions. */
@media (max-width: 1080px) {
  .nr-featured-media { order: -1; }
}

/* ==========================================================================
   Touch devices (tablet/mobile): no press/hover states. Taps on touch screens
   make :hover styles stick; every rule below reverts a hover effect to its
   base value so nothing lights up or lifts on tap. Desktop pointers keep all
   hover behavior (this block only matches hover-incapable devices).
   ========================================================================== */
@media (hover: none) {
  /* buttons & pills */
  .btn:hover, .pill:hover { transform: none; }
  .btn-primary:hover, .subscribe .btn-primary:hover { background: var(--primary); }
  .btn-dark:hover { background: var(--dark-bg); }
  .btn-outline:hover { border-color: var(--border-2); }
  .btn-white:hover { background: #fff; color: var(--text-dark); }
  .pill-dark:hover { background: var(--text-dark); }
  .pill-outline:hover { border-color: var(--border-2); }
  .pill-primary:hover { background: var(--primary); }
  .announce-pill:hover { transform: none; box-shadow: 0 8px 24px rgba(14, 13, 13, 0.18); }
  .announce-pill:hover .announce-arrow { transform: none; }
  /* cards */
  .news-card:hover { transform: none; box-shadow: none; }
  .news-card:hover .news-media img { transform: none; }
  .partners-logos img:hover { transform: none; }
  .secure-card:hover { border-color: var(--border-white); background: transparent; }
  .comply-card:hover, .condition-row:hover { background: transparent; }
  /* row components */
  .role-row:hover { border-bottom: 1px solid var(--border); padding-bottom: 20px; }
  .role-row:hover .role-title { color: var(--text-dark); }
  .role-row:hover .role-arrow { transform: none; }
  .dc-spot:hover { border-bottom-color: var(--border); }
  .dc-spot:last-child:hover { border-bottom-color: transparent; }
  .dc-spot:hover .dc-spot-arrow { opacity: 0; transform: translateX(-8px); }
  .cp-route:hover { border-bottom-color: var(--border); }
  .cp-route:last-child:hover { border-bottom-color: transparent; }
  .cp-route:hover .cp-route-arrow { color: rgba(14, 13, 13, 0.3); transform: none; }
  .cp-route:hover .cp-route-arrow--h { color: rgba(14, 13, 13, 0.3); transform: none; }
  .nr-row:hover { border-bottom-color: var(--border); }
  .nr-row:hover .arrow { opacity: 0; transform: translateX(-8px); }
  .asset-row:hover { background: transparent; }
  .checklist li:hover { color: var(--muted-1); }
  .about-global .global-block li:hover { color: var(--muted-2); }
  .tab:hover:not(.selected) { background: transparent; }
  /* accordions */
  .accordion-item:not(.open):hover { background: var(--text-dark); border-bottom-color: transparent; }
  .careers-legal .accordion-item:not(.open):hover { background: transparent; }
  /* links & small controls */
  .link-read:hover { color: inherit; }
  .link-read:hover .arrow { transform: none; }
  .trust-link:hover { color: inherit; }
  .trust-link:hover .arrow { transform: none; }
  .meta-link:hover { color: inherit; }
  .footer-col a:hover::after { opacity: 0; }
  .press-news .cc-link:hover { text-decoration: none; }
  .press-news .cc-link:hover .arrow { transform: none; }
  .link-cta:hover { color: var(--muted-2); background: transparent; }
  .link-cta:hover .link-chev { transform: none; }
  .press-mail:hover { border-color: rgba(255, 255, 255, 0.12); }
  .socials a:hover img, .leader-socials a:hover img { transform: none; }
  .nav-arrow:hover { transform: none; }
  .share-btn:hover { transform: none; color: var(--muted-2); border-color: var(--border-2); }
}
/* Article body lists (news detail pages): match paragraph type */
.news-article-body ul,
.news-article-body ol {
  padding-left: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.news-article-body ul li,
.news-article-body ol li { font-size: 16px; line-height: 1.6; color: var(--muted-2); }
.news-article-body ul ul { margin-top: 10px; }

/* Legal pages (Privacy / Security Policy): hero-less article layout */
.legal-page { padding-top: 170px; }
/* Documentation tabs: switch between the policy pages (anchor variant of .cp-tab) */
.legal-tabs { margin-bottom: 32px; }
.legal-tabs .cp-tab { display: inline-block; text-decoration: none; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.legal-table th, .legal-table td {
  text-align: left; vertical-align: top;
  padding: 10px 14px; border: 1px solid var(--border);
  font-size: 15px; line-height: 1.5; color: var(--muted-2);
}
.legal-table th { font-weight: 600; color: var(--text-dark); background: #faf9f8; }

/* Newsroom rows for external stories: ↗ glyph instead of the long arrow.
   Desktop keeps the hover reveal; on touch it shows at rest (hover can't
   reveal it there). */
.nr-row .arrow-ne { font-size: 19px; line-height: 1; }
@media (hover: none) {
  .nr-row .arrow-ne { opacity: 1; transform: none; }
}

/* By-the-numbers cells on narrow phones: the 48px stat + unit can't fit half
   of a <=380px screen — the unit wraps under a slightly smaller number instead
   of pushing the page wider (index / data-centers / labs). */
@media (max-width: 380px) {
  .dc-spec-value { flex-wrap: wrap; row-gap: 4px; }
  .dc-spec-value .num { font-size: 40px; }
}

/* keep the touch-layout resting shadow on news cards while a tap is held */
@media (hover: none) and (max-width: 1280px) {
  body.dc .dc-news-grid .news-card:hover {
    box-shadow: 0 12px 28px rgba(14, 13, 13, 0.07), 0 2px 8px rgba(14, 13, 13, 0.05);
  }
}
@media (hover: none) and (max-width: 768px) {
  .dc-news-grid .news-card:hover {
    box-shadow: 0 12px 28px rgba(14, 13, 13, 0.07), 0 2px 8px rgba(14, 13, 13, 0.05);
  }
}

/* Firebird Labs "Building at the frontier?" form, mobile: Focus area stacks
   under Work email (single column). */
@media (max-width: 600px) {
  #labsForm .talent-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Real-device fixes (2026-07-23 night QA on iPhone / deployed site)
   ========================================================================== */

/* Data Centers hero title: smaller on tablet portrait too (phones keep the
   smaller mobile clamp from the 480px tier) */
@media (min-width: 481px) and (max-width: 1080px) {
  .dc-hero-left .hero-title { font-size: clamp(36px, 5.5vw, 46px); }
}
/* flagship takeover: favor the left of the panorama on portrait crops */
@media (max-width: 1080px) {
  .dc-flagship-video, .dc-flagship-maskimg { object-position: left center; }
}

/* "More than infrastructure": visible active-layer highlight on mobile/tablet.
   iOS Safari ignores drop-shadow filters on SVG groups, so the effect there is
   contrast: inactive layers recede, the active one stays full and gets the
   same soft glow as desktop where filters are supported. */
@media (max-width: 1439px) {
  .infra-scene .infra-hover-layer { transition: opacity 0.35s var(--ease), filter 0.35s var(--ease); }
  .infra-scene.has-active .infra-hover-layer:not(.active) { opacity: 0.3; }
  .infra-scene .infra-hover-layer.active {
    filter: drop-shadow(0 0 16px rgba(248, 97, 48, 0.16)) drop-shadow(0 0 42px rgba(248, 97, 48, 0.1));
  }
}

/* Centered section headlines (compliance license conditions, home partners):
   proper side gutters on phones */
@media (max-width: 600px) {
  .headlines { padding-left: 40px; padding-right: 40px; }
}

/* Job/careers role rows on phones: arrow rides the top line, text column
   keeps its own space */
@media (max-width: 480px) {
  .role-row { align-items: flex-start; gap: 16px; }
  .role-main { min-width: 0; }
  .role-arrow { width: 26px; height: 26px; margin-top: 6px; flex-shrink: 0; }
}

/* Careers talent form (and any talent-grid form): single column on phones —
   two 1fr columns blow past 320px once input intrinsic widths kick in */
@media (max-width: 600px) {
  .talent-grid { grid-template-columns: 1fr; }
  .talent-grid .full { grid-column: auto; }
  .field input, .field select { min-width: 0; width: 100%; }
}

/* Labs "Frontier Fellows" CTA on phones: label may wrap — its nowrap width
   otherwise exceeds the 320px container */
@media (max-width: 480px) {
  .labs-fellows-cta { white-space: normal; text-align: center; }
}

/* Newsroom rows on phones: title on top, source + arrow underneath —
   the fixed-width side column otherwise forces horizontal scroll */
@media (max-width: 480px) {
  .nr-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .nr-row-side { justify-content: space-between; width: 100%; }
}

/* Section headings on phones: scale down so long single words
   ("Unprecedented") never push the page wider than the viewport */
@media (max-width: 480px) {
  h2 { font-size: clamp(26px, 8.4vw, 40px); overflow-wrap: break-word; }
}

/* Mobile gutters (2026-07-24): 24px per side on phones, sitewide. Width-based
   wrappers follow --gutter; the padding-based gutters are overridden here. */
@media (max-width: 480px) {
  :root { --gutter: 48px; }
  .hero.hero-light { padding-left: 24px; padding-right: 24px; }
  .headlines { padding-left: 24px; padding-right: 24px; }
  .hero-dark-center { padding: 0 24px; }
}

/* Horizontal strips on touch screens: swipes stay horizontal (no vertical
   drift while dragging the carousel) */
@media (hover: none) {
  .cards-track, .dc-news-grid, .infra-scroller {
    touch-action: pan-x;
    overscroll-behavior-x: contain;
  }
}
