/* ================================================
   AsoLabs — Redesigned Design System
   Audit: font swap, single accent, floating nav,
   left-aligned hero, bento grid, grain overlay,
   active states, tinted shadows, 100dvh, no eyebrow spam
   ================================================ */

:root {
  --bg:            #07080d;
  --bg-surface:    #0b0c14;
  --bg-elevated:   #0f1019;
  --bg-card:       #0d0e16;
  --bg-dark:       #040507;

  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(255,255,255,0.13);
  --border-accent: rgba(26,109,255,0.22);

  --text-primary:   #eef0f8;
  --text-secondary: #72748f;
  --text-tertiary:  #3e4060;

  /* Single accent — electric blue. No rainbow gradient. */
  --accent:        #1a6dff;
  --accent-hover:  #0052e0;
  --accent-dim:    rgba(26,109,255,0.1);
  --accent-glow:   rgba(26,109,255,0.22);

  --shadow-card:   0 4px 28px rgba(4,5,8,0.65);
  --glow-sm:       0 0 24px rgba(26,109,255,0.13);
  --glow-md:       0 0 56px rgba(26,109,255,0.22);

  /* Consistent radii — one scale, no mixing */
  --r-xs:  6px;
  --r-sm:  8px;
  --r:     12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-pill: 100px;

  --nav-h:  52px;
  --max-w:  1180px;

  /* Custom cubic-bezier — no linear/ease-in-out */
  --t:       0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:  0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --t-spring: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ================================================
   RESET
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Syne for all headings */
h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: 'JetBrains Mono', monospace; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', inherit;
  font-weight: 500;
  font-size: 15px;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--t);
  padding: 10px 20px;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

/* Active/pressed — tactile feedback */
.btn:active { transform: scale(0.97) translateY(1px) !important; box-shadow: none !important; }

.btn-sm  { font-size: 13.5px; padding: 7px 13px; border-radius: var(--r-sm); }
.btn-lg  { font-size: 16px;   padding: 12px 26px; border-radius: var(--r); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 22px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.09);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-hover);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

.btn-white {
  background: #eef0f8;
  color: #07080d;
  font-weight: 600;
}
.btn-white:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.68);
  border-color: rgba(255,255,255,0.16);
}
.btn-ghost-light:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.05);
}

/* ================================================
   NAV — floating pill island
   ================================================ */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 40px);
  max-width: 880px;
  height: var(--nav-h);
  background: rgba(7,8,13,0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  transition: var(--t);
}

.nav.scrolled {
  background: rgba(7,8,13,0.88);
  border-color: var(--border-hover);
  box-shadow: 0 4px 24px rgba(0,0,0,0.45), var(--glow-sm);
}

.nav-inner {
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.logo-mark {
  width: 25px; height: 25px;
  background: var(--accent);
  border-radius: var(--r-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.logo-text { color: var(--text-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  transition: var(--t);
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--t);
}

/* Hamburger → X morph */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 16px;
  background: rgba(7,8,13,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { font-size: 15px; padding: 8px 12px; border-radius: var(--r-sm); }

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .nav { border-radius: var(--r-lg); }
}

/* ================================================
   HERO — left-aligned, asymmetric
   ================================================ */
.hero {
  position: relative;
  min-height: 100dvh;   /* fix iOS Safari 100vh bug */
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 90px) 0 100px;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,109,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,109,255,0.03) 1px, transparent 1px);
  background-size: 68px 68px;
  /* Shifted to left — matching left-aligned content */
  mask-image: radial-gradient(ellipse 70% 70% at 25% 50%, black 20%, transparent 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;   /* left-aligned, not full width */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-pill);
  padding: 5px 14px 5px 9px;
  font-size: 12.5px;
  color: #7ab4ff;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.1px;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.78); }
}

.hero-title {
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
  text-wrap: balance;
}

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

.hero-sub {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 40px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

/* Stats — plain, no card border. Left-aligned. */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
}

.stat { text-align: left; }

.stat-value {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.045em;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 11.5px;
  color: var(--text-tertiary);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--text-tertiary);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  animation: floatY 3s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateX(-50%) translateY(0);    opacity: 0.4; }
  50%       { transform: translateX(-50%) translateY(-5px); opacity: 0.8; }
}

/* ================================================
   MARQUEE
   ================================================ */
.marquee-wrap {
  overflow: hidden;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  animation: marquee 34s linear infinite;
  font-size: 11.5px;
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.marquee-track:hover { animation-play-state: paused; }
.sep { opacity: 0.22; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================
   SECTIONS
   ================================================ */
.section       { padding: 120px 0; }
.section--dark {
  background: var(--bg-surface);
  border-top:    1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header           { text-align: center; margin-bottom: 68px; }
.section-header--left     { text-align: left;   margin-bottom: 56px; }
.section-header--left .section-sub { margin: 0; }

/* Section tag — used sparingly (max 2 eyebrows per page) */
.section-tag {
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-pill);
  padding: 3px 12px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.68;
  text-wrap: pretty;
}

/* ================================================
   RESEARCH — bento grid (asymmetric, anti-3-equal-cols)
   ================================================ */
.research-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

/* Card 1 (LLM, featured): 4 cols × 2 rows */
.research-card:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 3; padding: 40px; }

/* Card 2 (Multimodal): top-right col 5-6, row 1 */
.research-card:nth-child(2) { grid-column: 5 / 7; grid-row: 1; }

/* Card 3 (Reasoning): top-right col 5-6, row 2 */
.research-card:nth-child(3) { grid-column: 5 / 7; grid-row: 2; }

/* Bottom row: 3 equal spans of 2 cols */
.research-card:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
.research-card:nth-child(5) { grid-column: 3 / 5; grid-row: 3; }
.research-card:nth-child(6) { grid-column: 5 / 7; grid-row: 3; }

.research-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: var(--t);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.research-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  /* Tinted shadow — accent hue, not pure black */
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(26,109,255,0.06);
}

.card-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7ab4ff;
  flex-shrink: 0;
}

.card-label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: var(--r-pill);
  padding: 2px 9px;
  width: fit-content;
}

.card-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.research-card:nth-child(1) .card-title { font-size: 26px; }

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.62;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  transition: var(--t);
  margin-top: 4px;
}
.card-link:hover { color: #7ab4ff; gap: 8px; }

.card-accent {
  position: absolute;
  bottom: -52px; right: -52px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,109,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.research-cta { text-align: center; margin-top: 44px; }

/* ================================================
   MODELS
   ================================================ */
.models-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 13px;
  margin-bottom: 48px;
}

.model-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.model-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.model-card--hero {
  background: var(--bg-elevated);
  border-color: var(--border-accent);
}
.model-card--hero:hover {
  border-color: rgba(26,109,255,0.38);
  box-shadow: var(--shadow-card), var(--glow-md);
}

.model-card--coming { opacity: 0.5; }

.model-header { display: flex; align-items: center; justify-content: space-between; }

.model-badge {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-tertiary);
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-pill);
  padding: 3px 9px;
}
.model-badge--flagship { color: #7ab4ff; background: var(--accent-dim); }
.model-badge--soon     { color: #fbbf24; background: rgba(251,191,36,0.08); }

.model-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #34d399;
}
.status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 5px rgba(52,211,153,0.5);
  animation: pulse 2.5s infinite;
}

.model-name       { display: flex; align-items: baseline; gap: 5px; }
.model-family     { font-size: 11.5px; color: var(--text-tertiary); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.model-version    { font-family: 'Syne', sans-serif; font-size: 38px; font-weight: 800; letter-spacing: -0.05em; color: var(--text-primary); line-height: 1; }

/* Solid tier colors — no gradient text (AI slop) */
.model-tier        { font-size: 13px; font-weight: 700; letter-spacing: 0.1px; color: var(--accent); padding-top: 8px; }
.model-tier--pro   { color: #34d399; }
.model-tier--flash { color: #fbbf24; }

.model-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.62; flex: 1; }

.model-specs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 13px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.spec { display: flex; justify-content: space-between; align-items: center; }
.spec-label { font-size: 11.5px; color: var(--text-tertiary); }
.spec-value { font-size: 11.5px; color: var(--text-secondary); font-family: 'JetBrains Mono', monospace; }

.model-actions { display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }

.model-glow {
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,109,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* API Snippet */
.api-snippet { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }

.snippet-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}
.snippet-dots { display: flex; gap: 5px; }
.snippet-dots span { width: 10px; height: 10px; border-radius: 50%; }
.snippet-dots span:nth-child(1) { background: rgba(255,90,90,0.42); }
.snippet-dots span:nth-child(2) { background: rgba(255,190,60,0.42); }
.snippet-dots span:nth-child(3) { background: rgba(60,210,100,0.42); }

.snippet-title { font-size: 12px; color: var(--text-tertiary); flex: 1; font-family: 'JetBrains Mono', monospace; }
.snippet-copy {
  font-family: 'DM Sans', inherit;
  font-size: 11.5px;
  color: var(--text-tertiary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 3px 9px;
  cursor: pointer;
  transition: var(--t);
}
.snippet-copy:hover { color: var(--text-primary); background: rgba(255,255,255,0.09); }

.snippet-code {
  padding: 28px 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.82;
  color: #aaaacc;
  overflow-x: auto;
}
.snippet-code .kw  { color: #7ab4ff; }
.snippet-code .str { color: #4ade80; }
.snippet-code .num { color: #fb923c; }

/* ================================================
   SAFETY
   ================================================ */
.safety-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.safety-pillars { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.pillar         { display: flex; gap: 14px; align-items: flex-start; }

.pillar-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7ab4ff;
  margin-top: 2px;
}

.pillar-title { font-family: 'Syne', sans-serif; font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; }
.pillar-desc  { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }

.safety-card-stack { display: flex; flex-direction: column; gap: 11px; }

.safety-metric-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 15px 18px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  transition: var(--t);
}
.safety-metric-card:hover { border-color: var(--border-hover); }

.metric-label     { font-size: 13px; color: var(--text-secondary); }

.metric-bar-wrap {
  width: 96px;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.metric-bar {
  height: 100%;
  width: var(--val);
  background: linear-gradient(90deg, var(--accent), #7ab4ff);
  border-radius: 3px;
  animation: growBar 1.6s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes growBar { from { width: 0; } to { width: var(--val); } }

.metric-value { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: #7ab4ff; font-weight: 500; width: 44px; text-align: right; }
.safety-note  { font-size: 10.5px; color: var(--text-tertiary); text-align: right; margin-top: 4px; }

/* ================================================
   VALUES
   ================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 72px;
  border: 1px solid var(--border);
}

.value-card { background: var(--bg-surface); padding: 36px 28px; transition: var(--t); }
.value-card:hover { background: var(--bg-elevated); }

.value-num   { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-tertiary); margin-bottom: 18px; letter-spacing: 0.4px; }
.value-title { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.03em; }
.value-desc  { font-size: 13.5px; color: var(--text-secondary); line-height: 1.65; }

/* ================================================
   TEAM
   ================================================ */
.team-title { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.03em; }
.team-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.team-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--t);
}
.team-card:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.04); }

.avatar {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.avatar--1 { background: linear-gradient(135deg, #1a6dff, #4f46e5); }
.avatar--2 { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.avatar--3 { background: linear-gradient(135deg, #10b981, #059669); }
.avatar--4 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

.team-name { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 600; margin-bottom: 2px; letter-spacing: -0.02em; }
.team-role { font-size: 12px; color: var(--text-tertiary); }

/* ================================================
   CTA
   ================================================ */
.cta-section { position: relative; padding: 130px 0; overflow: hidden; }

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 70% at 22% 55%, rgba(26,109,255,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 45% 60% at 78% 45%, rgba(26,109,255,0.06) 0%, transparent 60%);
}

.cta-inner { position: relative; text-align: center; max-width: 580px; margin: 0 auto; }

.cta-title { font-size: clamp(32px, 5vw, 60px); font-weight: 800; letter-spacing: -0.045em; margin-bottom: 14px; line-height: 1.0; text-wrap: balance; }
.cta-sub   { font-size: 17px; color: var(--text-secondary); margin-bottom: 40px; }
.cta-actions { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ================================================
   FOOTER
   ================================================ */
.footer { background: var(--bg-dark); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-top { display: flex; gap: 80px; margin-bottom: 56px; }
.footer-brand { flex: 0 0 216px; }

.footer-tagline { font-size: 13px; color: var(--text-tertiary); margin-top: 10px; margin-bottom: 20px; line-height: 1.55; }

.footer-social { display: flex; gap: 7px; }
.social-link {
  width: 30px; height: 30px;
  border-radius: var(--r-xs);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: var(--t);
}
.social-link:hover { color: var(--text-primary); border-color: var(--border-hover); background: rgba(255,255,255,0.04); }

.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; flex: 1; }
.footer-col   { display: flex; flex-direction: column; gap: 8px; }
.footer-col-title { font-family: 'Syne', sans-serif; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; color: var(--text-primary); margin-bottom: 6px; }
.footer-col a { font-size: 13px; color: var(--text-tertiary); transition: var(--t); }
.footer-col a:hover { color: var(--text-secondary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-legal     { display: flex; gap: 20px; }
.footer-legal a   { font-size: 12px; color: var(--text-tertiary); transition: var(--t); }
.footer-legal a:hover { color: var(--text-secondary); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .research-grid {
    grid-template-columns: 1fr 1fr;
  }
  .research-card:nth-child(1) { grid-column: 1 / 3; grid-row: auto; padding: 32px; }
  .research-card:nth-child(2) { grid-column: 1;     grid-row: auto; }
  .research-card:nth-child(3) { grid-column: 2;     grid-row: auto; }
  .research-card:nth-child(4) { grid-column: 1;     grid-row: auto; }
  .research-card:nth-child(5) { grid-column: 2;     grid-row: auto; }
  .research-card:nth-child(6) { grid-column: 1 / 3; grid-row: auto; }

  .models-grid      { grid-template-columns: 1fr 1fr; }
  .safety-layout    { grid-template-columns: 1fr; gap: 48px; }
  .values-grid      { grid-template-columns: repeat(2, 1fr); }
  .team-grid        { grid-template-columns: repeat(2, 1fr); }
  .footer-top       { flex-direction: column; gap: 40px; }
  .footer-brand     { flex: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav     { top: 10px; width: calc(100% - 24px); }

  .research-grid            { grid-template-columns: 1fr; }
  .research-card:nth-child(n) { grid-column: 1; grid-row: auto; }
  .research-card:nth-child(1) { padding: 28px; }

  .models-grid              { grid-template-columns: 1fr; }
  .hero-stats               { gap: 24px; }
  .stat-divider             { display: none; }
  .values-grid              { grid-template-columns: 1fr; }
  .team-grid                { grid-template-columns: 1fr; }
  .footer-links             { grid-template-columns: repeat(2, 1fr); }
  .safety-metric-card       { grid-template-columns: 1fr auto; }
  .metric-bar-wrap          { display: none; }
  .hero-title               { letter-spacing: -0.03em; }
}

@media (max-width: 480px) {
  .footer-links    { grid-template-columns: 1fr 1fr; }
  .hero-actions    { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats      { flex-direction: column; align-items: flex-start; gap: 18px; }
}
