/* Livewrapped — Homepage
   Brand tokens from internal guidelines. Inter, premium dark surface,
   atmospheric blue/green gradients used as light, not wallpaper. */

:root {
  /* Brand blue */
  --blue-900: #002347;
  --blue-800: #002D6B;
  --blue-700: #003C8F;
  --blue-600: #0050B8;
  --blue-500: #0064EB;
  --blue-400: #3A8CF5;
  --blue-300: #6FAEF8;
  --blue-200: #B0CFFB;
  --blue-100: #D9E8FD;
  --blue-50:  #E6F0FE;

  /* Brand green */
  --green-900: #021F1B;
  --green-800: #0C3633;
  --green-700: #145C55;
  --green-600: #1E867A;
  --green-500: #32AE9B;
  --green-400: #55C8B5;
  --green-300: #84DDCB;
  --green-200: #B6EEE0;
  --green-100: #DAF8EF;
  --green-50:  #F2FDF9;

  /* Neutrals */
  --n-900: #141618;
  --n-800: #3C4752;
  --n-700: #506075;
  --n-600: #677988;
  --n-500: #8193A4;
  --n-400: #9FADBC;
  --n-300: #BFC8D3;
  --n-200: #E0E3E7;
  --n-100: #F6F7F9;
  --n-0:   #000000;

  /* Accent: configurable via Tweaks */
  --accent: var(--blue-500);
  --accent-soft: rgba(0, 100, 235, 0.14);
  --accent-glow: rgba(0, 100, 235, 0.35);

  /* Surface system */
  --bg: #08090B;
  --bg-elev: #101216;
  --bg-card: #14171C;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.10);
  --text: #F1F3F6;
  --text-muted: #8E97A4;
  --text-faint: #5B636E;

  /* Type scale (from brand book, with sane web defaults) */
  --t-h1: 96px;
  --t-h2: 64px;
  --t-h3: 32px;
  --t-h4: 22px;
  --t-body-l: 16px;
  --t-body-s: 14px;
  --t-caption: 12px;
  --t-caption-s: 10px;

  /* Spacing */
  --gap: clamp(80px, 12vw, 180px);
  --max-w: 1440px;
  --pad-x: clamp(24px, 5vw, 72px);

  /* Gradient strength (Tweaks-controlled via runtime var) */
  --glow-strength: 1;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ===== Type ===== */
.eyebrow {
  font-size: var(--t-caption);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.02; }
h1 { font-size: clamp(48px, 7.4vw, 104px); letter-spacing: -0.035em; }
h2 { font-size: clamp(36px, 5vw, 68px); letter-spacing: -0.03em; line-height: 1.04; }
h3 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.02em; }
h4 { font-size: var(--t-h4); line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; line-height: 1.55; }
.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 56ch;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
}
.nav.scrolled {
  background: rgba(8, 9, 11, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex: 0 0 auto;
}
.logo-mark svg { width: 38px; height: 38px; display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: #C5CDD9;
  transition: color .2s ease;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* ===== Nav dropdown (Platform) ===== */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #C5CDD9;
  cursor: pointer;
  transition: color .2s ease;
  font-family: inherit;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active,
.nav-dropdown.is-open .nav-dropdown-trigger { color: var(--text); }
.nav-dropdown-caret {
  transition: transform .25s ease, color .2s ease;
  color: var(--text-faint);
  margin-top: 1px;
}
.nav-dropdown.is-open .nav-dropdown-caret { transform: rotate(180deg); color: var(--text); }

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.98);
  transform-origin: top center;
  width: min(640px, calc(100vw - 32px));
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow:
    0 40px 80px -28px rgba(0, 8, 24, 0.55),
    0 12px 30px -12px rgba(0, 8, 24, 0.35),
    0 0 0 1px rgba(15, 23, 42, 0.06) inset;
  padding: 14px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity .26s cubic-bezier(.2,.7,.2,1),
    transform .32s cubic-bezier(.2,.7,.2,1);
  isolation: isolate;
}
.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* invisible bridge so the cursor can travel from trigger to panel without closing */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
  pointer-events: none;
}
.nav-dropdown.is-open::after { pointer-events: auto; }

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.nav-dropdown-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 14px;
  border-radius: 12px;
  color: #0F1722;
  transition: background .22s ease;
  text-decoration: none;
}
.nav-dropdown-item:hover {
  background: #F2F5FA;
}
.nav-dropdown-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--accent);
  flex: 0 0 auto;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), background .25s ease, color .25s ease;
}
.nav-dropdown-icon svg { width: 20px; height: 20px; }
.nav-dropdown-item:hover .nav-dropdown-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}
.nav-dropdown-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nav-dropdown-title {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #0F1722;
}
.nav-dropdown-blurb {
  font-size: 12.5px;
  line-height: 1.45;
  color: #5C6675;
  text-wrap: pretty;
}

.nav-dropdown-foot {
  margin-top: 8px;
  padding: 14px 14px 8px;
  border-top: 1px solid #E6EAF0;
}
.nav-dropdown-foot-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  transition: gap .25s ease, color .25s ease;
}
.nav-dropdown-foot-link:hover { gap: 12px; color: var(--blue-600); }

@media (max-width: 760px) {
  .nav-dropdown-panel {
    left: 16px;
    right: 16px;
    transform: none;
    width: auto;
  }
  .nav-dropdown.is-open .nav-dropdown-panel { transform: none; }
  .nav-dropdown-grid { grid-template-columns: 1fr; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: var(--t-body-s);
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px var(--accent), 0 10px 30px -8px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--accent), 0 14px 36px -8px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.18); }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text);
  font-size: var(--t-body-s); font-weight: 500;
}
.btn-link .arrow { transition: transform .25s ease; }
.btn-link:hover .arrow { transform: translateX(4px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding-top: 168px;
  padding-bottom: clamp(120px, 16vh, 200px);
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 88px;
  align-items: end;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}
.hero-copy h1 { margin-top: 28px; }
.hero-copy h1 .accent-word { color: var(--text-muted); }
.hero-copy .lead { margin-top: 28px; max-width: 48ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }

/* Atmospheric gradient — used as light, not wallpaper */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero-glow::before,
.hero-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  mix-blend-mode: screen;
}
.hero-glow::before {
  width: 1400px; height: 1100px;
  background: radial-gradient(ellipse, var(--accent) 0%, transparent 65%);
  top: -300px; left: -240px;
  opacity: calc(1.05 * var(--glow-strength));
}
.hero-glow::after {
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, var(--accent) 0%, transparent 60%);
  top: 10%; right: -200px;
  opacity: calc(0.65 * var(--glow-strength));
}

/* Extra deep blue wash across the hero floor */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 1100px 500px at 50% 90%, var(--accent-glow) 0%, transparent 65%);
  opacity: calc(0.55 * var(--glow-strength));
  mix-blend-mode: screen;
}

.hero-visual {
  position: relative;
  overflow: visible;
  background: transparent;
  border: none;
  align-self: center;
  /* Let the screenshot bleed past the container's right edge */
  margin-right: calc(var(--pad-x) * -1 - 40px);
  margin-left: -16px;
}
.hero-visual img {
  width: 128%;
  max-width: none;
  height: auto;
  display: block;
  /* Fade the right + bottom edges so the laptop dissolves into the dark bg */
  -webkit-mask-image:
    linear-gradient(to right,  #000 0%, #000 55%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 75%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right,  #000 0%, #000 55%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 75%, transparent 100%);
          mask-composite: intersect;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}
.hero-visual::after { display: none; }

@media (max-width: 1023px) {
  .hero-visual { margin-right: calc(var(--pad-x) * -1); margin-left: 0; }
  .hero-visual img { width: 110%; }
}

/* ===== DotGrid background ===== */
.dot-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: relative;
}
.dot-grid__wrap {
  width: 100%;
  height: 100%;
  position: relative;
}
.dot-grid__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Use DotGrid as full hero background */
.hero-dotgrid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 50%, #000 0%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 50%, #000 0%, transparent 80%);
}
.hero > .container { position: relative; z-index: 2; }

/* ===== Hero ecosystem animation ===== */
.hero-ecosystem-wrap {
  align-self: center;
  width: 100%;
  position: relative;
}
.ecosystem {
  position: relative;
  width: 100%;
  aspect-ratio: 720 / 540;
  overflow: visible;
}
.ecosystem-svg {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}
.ecosystem-glow {
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 50% 50%, rgba(0, 100, 235, 0.40) 0%, transparent 60%),
    radial-gradient(ellipse 35% 30% at 78% 72%, rgba(50, 174, 155, 0.18) 0%, transparent 60%);
  filter: blur(50px);
  opacity: calc(0.9 * var(--glow-strength));
}
.ecosystem-metric-slot {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.ecosystem-metric {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 23, 28, 0.62);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 6px 24px -8px rgba(0, 100, 235, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 500;
  color: #E0E5EC;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.ecosystem-metric-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 8px currentColor;
}
@media (max-width: 1023px) {
  .hero-ecosystem-wrap { margin-top: 24px; }
}

/* Hero meta strip under hero */
.hero-meta {
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero-meta .label {
  font-size: var(--t-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.partner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: nowrap;
  width: 100%;
}
.partner-row img {
  height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.6;
  filter: brightness(1.2);
  transition: opacity .25s ease;
  flex: 1 1 0;
  min-width: 0;
}
.partner-row img:hover { opacity: 0.95; }
@media (max-width: 800px) {
  .partner-row { gap: 18px; flex-wrap: wrap; justify-content: flex-start; }
  .partner-row img { height: 44px; flex: 0 1 auto; }
}

/* ===== Section base ===== */
section { position: relative; }
.section {
  padding-top: var(--gap);
  padding-bottom: var(--gap);
}
.section-head {
  max-width: 880px;
  margin-bottom: 80px;
}
.section-head h2 { margin-top: 22px; }
.section-head .lead { margin-top: 24px; }

/* ===== Stats ===== */
.stats {
  border-top: 1px solid var(--line);
  padding-top: 96px;
  padding-bottom: 96px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 48px;
}
@media (min-width: 900px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat .num {
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.stat .num .unit { color: var(--accent); }
.stat .lbl {
  margin-top: 14px;
  font-size: var(--t-body-s);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 22ch;
}

/* ===== Showcase ===== */
.showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .showcase { grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
  .showcase.reverse { grid-template-columns: 1.15fr 0.85fr; }
  .showcase.reverse .showcase-copy { order: 2; }
  .showcase.reverse .showcase-visual { order: 1; }
}
.showcase-copy .eyebrow + h2 { margin-top: 24px; }
.showcase-copy h2 { max-width: 14ch; }
.showcase-copy .lead { margin-top: 24px; }
.showcase-bullets {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.showcase-bullets li {
  display: flex; align-items: flex-start; gap: 14px;
  list-style: none;
  font-size: var(--t-body-l);
  color: var(--text);
}
.showcase-bullets .dot {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
}
.showcase-bullets .dot::after {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.showcase-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--bg-elev);
}
.showcase-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.showcase-visual.atmospheric { aspect-ratio: 16 / 11; }
.showcase-visual.atmospheric img { object-position: 70% 50%; }

/* ===== Overview (block 2 — 6 capability cards) ===== */
.overview-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 72px;
  align-items: end;
}
@media (min-width: 900px) {
  .overview-head {
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
  }
}
.overview-head h2 { margin-top: 22px; max-width: 14ch; }
.overview-lead { margin: 0; max-width: 52ch; }

.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
@media (min-width: 700px)  { .overview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .overview-grid { grid-template-columns: repeat(3, 1fr); } }

.cap {
  background: var(--bg);
  padding: 44px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 300px;
  position: relative;
  transition: background .25s ease, transform .35s cubic-bezier(.2,.7,.2,1);
  color: var(--text);
  isolation: isolate;
}
.cap:hover {
  background: #15191F;
  z-index: 2;
}

.cap-num {
  position: absolute;
  top: 36px; left: 40px;
  font-family: ui-monospace, 'SF Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.cap-icon {
  margin-top: 8px;
  width: 72px; height: 72px;
  display: inline-flex;
  align-items: center; justify-content: flex-start;
  color: var(--accent);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), filter .25s ease;
}
.cap-icon svg { width: 56px; height: 56px; }
.cap-icon svg * { stroke-width: 1.4; }
.cap:hover .cap-icon {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 0 18px var(--accent-glow));
}

.cap-body { margin-top: auto; }
.cap-body h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.2;
  transition: color .2s ease;
}
.cap-body p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 32ch;
  transition: color .2s ease;
}
.cap:hover .cap-body p { color: var(--text); }

.cap-arrow {
  position: absolute;
  top: 36px; right: 36px;
  color: var(--text-faint);
  transition: transform .3s ease, color .2s ease;
  display: inline-flex;
}
.cap:hover .cap-arrow { transform: translate(8px, -4px); color: var(--accent); }

/* Glow halo around the hovered card */
.cap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, var(--accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: -1;
}
.cap:hover::before { opacity: 0.55; }

/* Bolder bottom accent bar on hover */
.cap::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: 0;
  transition: opacity .25s ease, height .25s ease;
}
.cap:hover::after { opacity: 1; height: 2px; }

/* ===== Pillars (kept in case referenced elsewhere) ===== */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}
.pillar {
  background: var(--bg);
  padding: 48px 40px 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 360px;
}
.pillar .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
}
.pillar .icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 24px; letter-spacing: -0.02em; }
.pillar p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.pillar .pillar-foot {
  margin-top: auto;
  padding-top: 24px;
  font-size: var(--t-caption);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ===== Quote ===== */
.quote-section {
  padding-top: var(--gap);
  padding-bottom: var(--gap);
  position: relative;
}
.quote {
  max-width: 1020px;
  margin: 0 auto;
  text-align: left;
}
.quote-text {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text);
}
.quote-text::before { content: '"'; color: var(--accent); margin-right: 4px; }
.quote-text::after  { content: '"'; color: var(--accent); margin-left: 2px; }
.quote-attr {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.quote-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--green-500));
  flex: 0 0 auto;
}
.quote-attr .name { font-weight: 500; font-size: 15px; }
.quote-attr .role { color: var(--text-muted); font-size: 14px; margin-top: 2px; }

/* ===== Capabilities split (atmospheric)===== */
.atmosphere {
  padding-top: var(--gap);
  padding-bottom: var(--gap);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #06070A 100%);
}
.atmosphere::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 600px 400px at 20% 30%, var(--accent-glow) 0%, transparent 60%),
    radial-gradient(ellipse 500px 350px at 85% 70%, rgba(50, 174, 155, 0.22) 0%, transparent 60%);
  filter: blur(40px);
  opacity: calc(0.7 * var(--glow-strength));
  pointer-events: none;
  z-index: 0;
}
.atmosphere .container { position: relative; z-index: 1; }

/* ===== Blog / Insights ===== */
.blog-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
  align-items: end;
}
@media (min-width: 800px) {
  .blog-head { grid-template-columns: 1fr auto; gap: 48px; }
}
.blog-head h2 { margin-top: 22px; max-width: 18ch; }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 700px)  { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.post {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .25s ease, background .25s ease;
  color: var(--text);
  position: relative;
}
.post:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: #181B21;
}

.post-cover {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.post-cover::before {
  content: '';
  position: absolute;
  inset: 0;
}
.post-cover-noise {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06) 0, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.25) 0, transparent 55%);
  mix-blend-mode: overlay;
}
.post-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,9,11,0.4) 100%);
}

/* Per-card cover treatments — abstract brand washes, no fake photos */
.post-cover-1::before {
  background:
    radial-gradient(ellipse 70% 80% at 30% 30%, var(--accent) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 70%, var(--blue-700) 0%, transparent 55%),
    linear-gradient(135deg, #0A1530 0%, #050912 100%);
  filter: saturate(1.1);
}
.post-cover-2::before {
  background:
    radial-gradient(ellipse 70% 80% at 30% 30%, var(--green-500) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 75% 75%, var(--green-700) 0%, transparent 55%),
    linear-gradient(135deg, #06201C 0%, #04100E 100%);
}
.post-cover-3::before {
  background:
    radial-gradient(ellipse 70% 80% at 70% 30%, var(--green-400) 0%, transparent 55%),
    radial-gradient(ellipse 80% 70% at 30% 70%, var(--blue-500) 0%, transparent 55%),
    linear-gradient(135deg, #0A1A2A 0%, #051018 100%);
}

.post-body {
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-caption);
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.post-tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.post-dot { color: var(--text-faint); }

.post-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.22;
  text-wrap: balance;
}

.post-excerpt {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.post-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--t-caption);
  letter-spacing: 0.04em;
  color: var(--text-faint);
}
.post-arrow {
  color: var(--text-muted);
  display: inline-flex;
  transition: transform .3s ease, color .2s ease;
}
.post:hover .post-arrow {
  transform: translateX(4px);
  color: var(--text);
}

/* ===== CTA ===== */
.cta {
  border-top: 1px solid var(--line);
  padding-top: 140px;
  padding-bottom: 140px;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
}
@media (min-width: 900px) {
  .cta-inner { grid-template-columns: 1.4fr 1fr; }
}
.cta h2 { max-width: 16ch; }
.cta .lead { margin-top: 24px; }
.cta-actions { display: flex; gap: 12px; justify-self: end; flex-wrap: wrap; }
@media (max-width: 899px) { .cta-actions { justify-self: start; } }

.cta::before {
  content: '';
  position: absolute;
  bottom: -300px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 600px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
  filter: blur(80px);
  opacity: calc(0.55 * var(--glow-strength));
  pointer-events: none;
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--line);
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.footer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.footer-glow::before,
.footer-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}
/* Big saturated blue dome rising from the bottom */
.footer-glow::before {
  width: 1700px; height: 1100px;
  left: 50%; bottom: -650px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--accent) 0%, transparent 60%);
  filter: blur(120px);
  opacity: calc(0.85 * var(--glow-strength));
}
/* Tight bright core anchored to the bottom edge */
.footer-glow::after {
  width: 1100px; height: 400px;
  left: 50%; bottom: -250px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 65%);
  filter: blur(40px);
  opacity: calc(1.2 * var(--glow-strength));
}

footer .container { position: relative; }

/* Editorial cap */
.footer-cap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 120px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
}
@media (min-width: 900px) {
  .footer-cap { grid-template-columns: 1.4fr 1fr; gap: 80px; }
}
.footer-statement {
  margin-top: 28px;
  font-size: clamp(56px, 8.2vw, 124px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 12ch;
}
.footer-statement .accent-word { color: var(--text-muted); }
.footer-cap-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  justify-self: stretch;
  width: 100%;
}
@media (min-width: 900px) {
  .footer-cap-side { justify-self: end; max-width: 480px; }
}
.footer-cap-side p {
  font-size: var(--t-body-s);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Premium contact form — blue card treatment */
.cta-form {
  width: 100%;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  box-shadow: 0 30px 60px -25px rgba(0, 100, 235, 0.55);
  isolation: isolate;
  overflow: hidden;
}
@media (min-width: 800px) { .cta-form { padding: 40px; } }
.cta-form::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.cta-form > * { position: relative; z-index: 1; }

.cta-form-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* White-on-blue field treatment inside .cta-form */
.cta-form .field-lbl { color: rgba(255, 255, 255, 0.78); }
.cta-form .field input {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.cta-form .field input::placeholder { color: rgba(255, 255, 255, 0.50); }
.cta-form .field input:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
}
.cta-form .field input:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}
.cta-form .cta-form-note { color: rgba(255, 255, 255, 0.70); }
.cta-form .cta-form-success p { color: #fff; }
.cta-form .cta-form-success .eyebrow { color: rgba(255, 255, 255, 0.85); }
.cta-form .cta-form-success .eyebrow::before { background: #fff; box-shadow: 0 0 12px rgba(255,255,255,0.55); }

/* Submit button inverts to white-on-blue */
.cta-form .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.4), 0 10px 30px -8px rgba(0,0,0,0.25);
}
.cta-form .btn-primary:hover {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 0 0 1px #fff, 0 14px 36px -8px rgba(0,0,0,0.3);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.field-lbl {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field input {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  outline: none;
  font: inherit;
  font-size: 15.5px;
  color: var(--text);
  padding: 14px 16px;
  width: 100%;
  letter-spacing: -0.005em;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input::placeholder { color: var(--text-faint); }
.field input:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}
.field input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.cta-form-foot {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-form-note {
  font-size: var(--t-caption);
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

.cta-form-success {
  padding: 24px 0;
}
.cta-form-success p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.5;
  max-width: 36ch;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-col h5 {
  font-size: var(--t-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 20px 0;
  font-weight: 500;
}
.footer-col ul { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col a { font-size: var(--t-body-s); color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }
.footer-brand p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: var(--t-body-s);
  max-width: 36ch;
  line-height: 1.55;
}

.footer-bottom {
  margin-top: 96px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: var(--t-caption);
  letter-spacing: 0.04em;
}
.footer-cities { display: flex; gap: 22px; }

/* Giant subtle wordmark watermark */
.footer-wordmark {
  position: absolute;
  left: 0; right: 0;
  bottom: -34px;
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 90%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  pointer-events: none;
  z-index: -1;
  user-select: none;
  white-space: nowrap;
}

/* ===== Mobile nav / burger ===== */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  position: relative;
  z-index: 110;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background .25s ease, border-color .25s ease;
}
.nav-burger.is-open {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}
.nav-burger:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); }
.nav-burger-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease, width .35s cubic-bezier(.2,.7,.2,1);
  transform-origin: center;
}
.nav-burger-bar:nth-child(2) { width: 14px; }
.nav-burger.is-open .nav-burger-bar { width: 20px; }
.nav-burger.is-open .nav-burger-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open .nav-burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open .nav-burger-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== Mobile menu panel ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 105;
  background: rgba(8, 9, 11, 0.97);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  display: none;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu-scroll {
  position: absolute;
  inset: 0;
  padding-top: 72px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 20px 12px;
  gap: 0;
  flex: 1;
}
.mobile-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 4px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transform: translateY(12px);
  opacity: 0;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .4s ease, color .2s ease;
}
.mobile-menu.is-open .mobile-menu-row { transform: translateY(0); opacity: 1; }
.mobile-menu.is-open .mobile-menu-row:nth-child(1) { transition-delay: .06s; }
.mobile-menu.is-open .mobile-menu-row:nth-child(3) { transition-delay: .12s; }
.mobile-menu.is-open .mobile-menu-row:nth-child(4) { transition-delay: .16s; }
.mobile-menu.is-open .mobile-menu-row:nth-child(5) { transition-delay: .20s; }
.mobile-menu.is-open .mobile-menu-row:nth-child(6) { transition-delay: .24s; }
.mobile-menu-row:active { color: var(--accent); }
.mobile-menu-toggle svg {
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
  color: var(--text-muted);
}
.mobile-menu-toggle.is-expanded svg { transform: rotate(180deg); color: var(--text); }

.mobile-menu-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.2,.7,.2,1);
  margin: 0 -4px;
}
.mobile-menu-product {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: background .2s ease;
}
.mobile-menu-product + .mobile-menu-product { margin-top: 2px; }
.mobile-menu-product:active { background: rgba(255, 255, 255, 0.04); }
.mobile-menu-product-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  flex: 0 0 auto;
}
.mobile-menu-product-icon svg { width: 20px; height: 20px; }
.mobile-menu-product-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mobile-menu-product-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.mobile-menu-product-blurb {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.mobile-menu-foot {
  padding: 24px 20px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--line);
}
.mobile-menu-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}
.mobile-menu-cta {
  width: 100%;
  height: 50px;
  justify-content: center;
  font-size: 15px;
}

/* ===== Mobile responsive overrides ===== */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .mobile-menu { display: block; }

  /* Tighter nav height + container padding */
  .nav-inner { height: 64px; }

  /* Logo slightly smaller on mobile so it never collides with burger */
  .logo { font-size: 19px; gap: 12px; }
  .logo-mark,
  .logo-mark svg { width: 32px; height: 32px; }
}

@media (max-width: 760px) {
  :root {
    --gap: 72px;
    --pad-x: 22px;
  }

  /* Hero */
  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .hero-grid { gap: 40px; grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(40px, 12vw, 56px); line-height: 1.04; }
  .hero-copy .lead { font-size: 16px; max-width: 100%; }
  .hero-actions { gap: 10px; margin-top: 28px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; min-width: 0; }
  .hero-meta { margin-top: 56px; gap: 24px; }
  .hero-meta .label { font-size: 10px; letter-spacing: 0.14em; }

  /* Overview / capability grid */
  .overview-head { gap: 24px; margin-bottom: 48px; }
  .overview-head h2 { font-size: clamp(32px, 9vw, 44px); }
  .overview-grid { border-radius: 18px; }
  .cap {
    padding: 28px 24px 28px;
    min-height: auto;
    gap: 18px;
  }
  .cap-icon { width: 56px; height: 56px; }
  .cap-icon svg { width: 42px; height: 42px; }
  .cap-body h3 { font-size: 20px; }
  .cap-body p { font-size: 14px; }
  .cap-arrow { top: 24px; right: 24px; }

  /* Section spacing */
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .section-head { margin-bottom: 48px; }
  h2 { font-size: clamp(32px, 8.5vw, 46px); line-height: 1.06; }
  h3 { font-size: clamp(20px, 5.5vw, 26px); }
  .lead { font-size: 16px; }

  /* Stats */
  .stats { padding-top: 56px; padding-bottom: 56px; }
  .stat-grid { gap: 40px 24px; }
  .stat .num { font-size: clamp(40px, 11vw, 56px); }
  .stat .lbl { font-size: 13px; }

  /* Showcase */
  .showcase { gap: 32px; }
  .showcase-visual { border-radius: 14px; }
  .showcase-bullets { gap: 14px; }
  .showcase-bullets li { font-size: 15px; }

  /* Quote */
  .quote-section { padding-top: 64px; padding-bottom: 64px; }
  .quote-text { font-size: clamp(22px, 6.5vw, 30px); line-height: 1.22; }

  /* Blog teaser */
  .blog-head { margin-bottom: 40px; gap: 16px; }
  .blog-head h2 { font-size: clamp(32px, 8.5vw, 44px); }
  .post-body { padding: 22px 22px 22px; }
  .post-title { font-size: 18px; }

  /* CTA */
  .cta { padding-top: 80px; padding-bottom: 80px; }
  .cta h2 { font-size: clamp(32px, 8.5vw, 44px) !important; }
  .cta-inner { gap: 28px; }
  .cta-actions { gap: 10px; width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; justify-content: center; }

  /* Footer */
  footer { padding-top: 80px; padding-bottom: 56px; }
  .footer-cap {
    padding-bottom: 72px;
    margin-bottom: 56px;
    gap: 40px;
  }
  .footer-statement {
    font-size: clamp(44px, 13vw, 64px);
    margin-top: 18px;
  }
  .footer-grid { gap: 32px 24px; }
  .footer-col h5 { margin-bottom: 14px; }
  .footer-col ul { gap: 10px; }
  .footer-bottom { margin-top: 56px; padding-top: 20px; gap: 16px; }
  .footer-cities { flex-wrap: wrap; gap: 16px; }
  .cta-form { padding: 24px; }
  .cta-form-foot { gap: 16px; }
  .cta-form-foot .btn { width: 100%; justify-content: center; }
  .footer-wordmark { font-size: clamp(96px, 26vw, 160px); bottom: -10px; }
}

@media (max-width: 480px) {
  .nav-inner { height: 60px; }
  .hero { padding-top: 100px; }
  .hero-copy h1 { font-size: clamp(36px, 11vw, 46px); }
  .partner-row { gap: 12px; }
  .partner-row img { height: 36px; }
}

/* Tweaks panel anchor — leave space when open */
#tweaks-root { position: relative; z-index: 200; }
