/* AISellerate — sitio corporativo
   Paleta del tema «AISellerate» en Credenciales 2026:
   dk1 #1B2340 · dk2 #0E1F44 · lt1 #FFFFFF · lt2 #EEF1F7
   accent1 #1F2761 · accent2 #C8A12B · accent3 #5A6B99 · accent6 #C9D1E6
   El tema nombra la fuente Calibri. Calibri no está licenciada para la web;
   los títulos usan Sora, la fuente del wordmark (marca/MODEL.md, OFL).
   El cuerpo usa Calibri si el sistema la tiene, e Inter como respaldo. */

:root {
  --ink: #1b2340;
  --navy: #0e1f44;
  --navy-mid: #1f2761;
  --paper: #ffffff;
  --mist: #eef1f7;
  --gold: #c8a12b;
  --steel: #5a6b99;
  --line: #c9d1e6;
  --line-soft: #e6ecf3;
  --text: #1b2340;
  --muted: #5a6b99;
  --on-dark: #eef1f7;
  --on-dark-muted: #c9d1e6;
  --header-h: 76px;
  --max: 1120px;
  --radius: 20px;
  --shadow: 0 24px 60px -36px rgba(14, 31, 68, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Calibri, "Segoe UI", Inter, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.hero :focus-visible,
.band-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.section-dark :focus-visible {
  outline-color: var(--on-dark);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
}
.skip-link:focus { top: 0; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-mid);
}

h1, h2, h3, .stat-num, .phase-num, .logo-word {
  font-family: Sora, Calibri, "Segoe UI", sans-serif;
}

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.12; font-weight: 700; }

h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin: 0 0 20px; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); margin: 0 0 16px; }
h3 { font-size: 1.28rem; margin: 0 0 8px; }

.gold { color: var(--gold); }

.lede {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.section { padding: 104px 0; }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

.section-dark {
  background: var(--navy);
  color: var(--on-dark);
}
.section-dark .lede,
.section-dark .muted { color: var(--on-dark-muted); }
.section-dark .eyebrow { color: var(--gold); }

.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: var(--on-dark); }
.section-ink .lede { color: var(--on-dark-muted); }
.section-ink .eyebrow { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(14, 31, 68, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-header.is-stuck {
  background: rgba(14, 31, 68, 0.96);
  border-bottom-color: rgba(201, 209, 230, 0.18);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 36px; width: auto; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(201, 209, 230, 0.45);
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
}
.nav-toggle svg { display: block; margin: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  text-decoration: none;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav-list a:hover,
.nav-list a[aria-current="true"] { color: #fff; }
.nav-list a[aria-current="true"]:not(.nav-cta) { background: rgba(255, 255, 255, 0.06); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 26px;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 14px 30px -16px rgba(200, 161, 43, 0.9);
}
.btn-gold:hover { transform: translateY(-2px); background: #d4b043; color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(238, 241, 247, 0.35);
}
.btn-ghost:hover { border-color: var(--gold); color: #fff; }
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { transform: translateY(-2px); color: #fff; background: var(--ink); }
.nav-cta { padding: 10px 18px; margin-left: 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 56px) 0 88px;
  background:
    radial-gradient(1100px 640px at 92% 18%, rgba(200, 161, 43, 0.22), transparent 58%),
    radial-gradient(820px 560px at 6% 88%, rgba(31, 39, 97, 0.95), transparent 64%),
    var(--navy);
  color: var(--on-dark);
  overflow: hidden;
}
.hero > .wrap {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 209, 230, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 209, 230, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 78% 70% at 72% 42%, #000 18%, transparent 74%);
  pointer-events: none;
}
.hero-impact::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 18%;
  width: min(52vw, 640px);
  height: min(52vw, 640px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 161, 43, 0.18), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}
.hero-impact .hero-copy {
  max-width: min(52rem, 100%);
}
.hero-impact h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.85rem);
  line-height: 1.05;
  margin: 0 0 24px;
  color: #fff;
  max-width: 14ch;
}
.hero-impact h1 .gold {
  display: inline;
}
.page-hero {
  position: relative;
  padding: 140px 0 64px;
  padding-top: calc(var(--header-h, 76px) + 64px);
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(200, 161, 43, 0.14), transparent 60%),
    #0e1f44;
  color: #eef1f7;
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.page-hero .eyebrow { color: #c8a12b; }
.page-hero .lead {
  margin: 0;
  max-width: 42rem;
  color: #c9d1e6;
  font-size: 1.12rem;
}
.page-hero h1,
.page-hero h2 {
  color: #fff;
  margin-bottom: 16px;
  max-width: 18ch;
}
.hero .eyebrow { color: var(--gold); }
.hero p.lead {
  margin: 0 0 32px;
  max-width: 36rem;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  color: var(--on-dark-muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-impact .hero-actions .btn {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 1.02rem;
}

.stats {
  background: var(--ink);
  color: #fff;
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-num {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label { margin: 8px 0 0; color: var(--on-dark-muted); max-width: 16rem; }

/* ---------- Demo copiloto ---------- */
.demo-section .section-head { margin-bottom: 28px; }
.demo-frame-wrap {
  background: #E9EDF5;
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.demo-frame {
  display: block;
  width: 100%;
  height: min(880px, 92vh);
  border: 0;
  background: #E9EDF5;
}

/* ---------- Cards and grids ---------- */
.grid-3, .grid-2, .grid-4 { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  height: 100%;
}
.card h3 { font-size: 1.2rem; }
.card p:last-child { margin-bottom: 0; }
.card .index {
  font-family: Sora, sans-serif;
  font-weight: 700;
  color: var(--navy-mid);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 14px;
}
.section-dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(201, 209, 230, 0.18);
  box-shadow: none;
  color: var(--on-dark);
}
.section-dark .card p { color: var(--on-dark-muted); }
.section-dark .card .index { color: var(--gold); }
.card-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.card-link:hover { color: var(--ink); }
.section-dark .card-link {
  color: var(--gold);
  border-bottom-color: rgba(200, 161, 43, 0.55);
}
.section-dark .card-link:hover { color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .card { transition: transform 0.2s ease, border-color 0.2s ease; }
  .card:hover { transform: translateY(-3px); border-color: var(--line); }
}

.card-list { list-style: none; margin: 16px 0 0; padding: 0; }
.card-list li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--text);
  font-size: 0.98rem;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pillars span {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy-mid);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.compare article {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px 22px;
  border: 1px solid var(--line-soft);
}
.compare article.is-us {
  background: var(--navy);
  color: var(--on-dark);
  border-color: var(--navy);
}
.compare h3 { font-size: 1.05rem; min-height: 2.6em; }
.compare dt {
  margin-top: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 700;
}
.compare .is-us dt { color: var(--gold); }
.compare dd { margin: 4px 0 0; }
.compare .is-us dd { color: var(--on-dark-muted); }

/* ---------- Platform ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: flow;
}
.flow article {
  position: relative;
  background: var(--mist);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  min-height: 100%;
}
.flow .index {
  font-family: Sora, sans-serif;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 10px;
}
.flow h3 { font-size: 1.12rem; }
.flow p { margin: 12px 0 0; color: var(--muted); }
.flow ol { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.flow ol li { margin: 6px 0; }
.note {
  margin-top: 28px;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: var(--mist);
  border-radius: 0 16px 16px 0;
}
.section-dark .note,
.section-ink .note {
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark-muted);
}

/* ---------- Phases ---------- */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.phase {
  padding: 8px 8px 0 0;
}
.phase-num {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 16px;
  background: #fff;
}
.phase ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.phase li { margin: 6px 0; }

/* ---------- Maturity ---------- */
.maturity {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-top: 14px;
}
.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 22px 16px 18px;
}
.stage.is-entry { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.stage-flag {
  position: absolute;
  top: 0;
  left: 14px;
  transform: translateY(-50%);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  padding: 4px 8px;
  line-height: 1.2;
}
.stage .n {
  font-family: Sora, sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stage h3 { margin: 8px 0 0; min-height: 2.6em; }
.stage p { margin: 8px 0 0; color: var(--muted); font-size: 0.95rem; }
.stage .body { flex: 1; }
.stage .lever { margin-top: auto; padding-top: 16px; font-size: 0.88rem; color: var(--navy-mid); font-weight: 600; }

.logo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.logo-grid-wide { grid-template-columns: repeat(4, 1fr); }
.logo-grid li {
  display: grid;
  place-items: center;
  min-height: 128px;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.logo-grid img {
  width: auto;
  max-width: 78%;
  max-height: 72px;
  object-fit: contain;
}
.logo-pending .logo-word {
  font-family: Sora, Calibri, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}
.logo-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  text-align: center;
}
.steps.contact-steps,
.contact-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 24px 0 28px;
}
.steps.contact-steps article,
.contact-steps article {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 14px;
  row-gap: 2px;
  padding: 0;
  align-items: start;
}
.steps.contact-steps .n,
.contact-steps .n {
  grid-row: 1 / span 2;
  font-size: 1.15rem;
  line-height: 1.3;
}
.steps.contact-steps h3,
.contact-steps h3 {
  margin: 0;
  font-size: 1.05rem;
}
.steps.contact-steps p,
.contact-steps p {
  margin: 0;
  color: var(--muted);
}
.case-note {
  margin: 14px 0 0;
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 600;
}
.metrics-2 { grid-template-columns: 1fr 1fr; }

/* ---------- Cases ---------- */
.case h3 { font-size: 1.25rem; }
.case .where {
  color: var(--steel);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.metrics div {
  background: var(--mist);
  border-radius: 14px;
  padding: 12px;
}
.metrics strong {
  display: block;
  font-family: Sora, sans-serif;
  font-size: 1.25rem;
  color: var(--navy);
}
.metrics span { color: var(--muted); font-size: 0.85rem; }
.badge {
  display: inline-block;
  margin-left: 8px;
  font-family: Calibri, Inter, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  background: var(--mist);
  color: var(--navy-mid);
  border-radius: 999px;
  padding: 3px 8px;
}

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1.15fr 1.15fr 0.85fr; gap: 18px; }
.person {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 209, 230, 0.18);
  border-radius: 24px;
  padding: 22px;
  color: var(--on-dark);
}
.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--gold);
  color: var(--ink);
  font-family: Sora, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
}
.person .role { color: var(--gold); margin: 0 0 12px; font-weight: 600; }
.person p { color: var(--on-dark-muted); margin: 0; }
.person-stats {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.person-stats span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 209, 230, 0.16);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 0.82rem;
  color: var(--on-dark);
}
.person-stats strong { color: var(--gold); display: block; font-family: Sora, sans-serif; }

/* ---------- Convictions ---------- */
.convictions { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.convictions li {
  list-style: none;
  padding: 18px 0;
  border-top: 1px solid rgba(201, 209, 230, 0.18);
}
.convictions { margin: 0; padding: 0; }
.convictions strong { display: block; margin-bottom: 4px; }
.convictions span { color: var(--on-dark-muted); }

.quote {
  font-family: Sora, sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0 0 28px;
  max-width: 18em;
}

/* ---------- Pilot ---------- */
.needs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.needs article {
  background: var(--paper);
  border-radius: 16px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line-soft);
}
.needs h3 { font-size: 1.05rem; }
.needs p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.steps article {
  padding-top: 8px;
}
.steps .n {
  font-family: Sora, sans-serif;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.4rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; }
.contact-list li { margin: 0 0 14px; }
.contact-list a { color: var(--navy-mid); font-weight: 700; }
.contact-list a:hover { color: var(--ink); }

form { display: grid; gap: 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
input, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus-visible, textarea:focus-visible { border-color: var(--navy); }
.form-note { margin: 0; color: var(--muted); font-size: 0.92rem; }
.form-status { margin: 0; font-weight: 700; color: var(--navy-mid); min-height: 1.4em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-brand img { height: 28px; width: auto; margin-bottom: 8px; }
.footer-brand p { margin: 0; }
.site-footer a { color: #fff; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--d, 0s);
  }
  html.js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-4,
  .compare,
  .flow,
  .phases,
  .maturity,
  .team,
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps.contact-steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-grid,
  .team { grid-template-columns: 1fr; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-list {
    position: fixed;
    inset: var(--header-h) 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--ink);
    border: 1px solid rgba(201, 209, 230, 0.2);
    border-radius: 18px;
  }
  .nav-list.is-open { display: flex; }
  .nav-cta { margin: 4px 0 0; text-align: center; }
}

@media (max-width: 680px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .section { padding: 72px 0; }
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .compare,
  .flow,
  .phases,
  .maturity,
  .logo-grid,
  .logo-grid-wide,
  .stats-grid,
  .convictions,
  .needs,
  .steps,
  .contact-grid,
  .fields { grid-template-columns: 1fr; }
  .logo-grid,
  .logo-grid-wide { grid-template-columns: 1fr 1fr; }
  .compare h3 { min-height: 0; }
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .demo-frame { height: 720px; }
  .demo-frame-wrap { border-radius: var(--radius); }
}
