/* DriveNexa marketing site.
   Tokens are the app's own (src/app/globals.css): cool ink neutrals, the
   logo's electric blue → violet "signal" for emphasis only, lane dashes
   from the logo's road and a faint dot grid from its circuit brain. */

@font-face {
  font-family: "Heebo";
  src: url("fonts/Heebo-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0f1433;          /* primary text */
  --ink-2: #323959;        /* strong secondary text */
  --muted: #474f70;        /* secondary text, 8:1 on white */
  --night: #0f1440;        /* dark surfaces (app sidebar) */
  --night-deep: #090c2a;
  --night-text: #c9cef2;
  --canvas: #f2f3fa;
  --surface: #ffffff;
  --line: #e2e5f0;
  --line-soft: rgba(15, 20, 51, 0.07);
  --blue: #3346f0;
  --blue-strong: #2636d6;
  --blue-50: #eef0ff;
  --violet: #9740f6;
  --wa: #128c7e;
  --wa-50: #e9f7f4;
  --signal: linear-gradient(118deg, #2f3ff0 0%, #5a3df2 58%, #9740f6 100%);
  --signal-soft: linear-gradient(118deg, rgba(47, 63, 240, 0.09) 0%, rgba(151, 64, 246, 0.09) 100%);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 20, 51, 0.04), 0 4px 14px -6px rgba(15, 20, 51, 0.1);
  --shadow-lg: 0 4px 10px rgba(15, 20, 51, 0.06), 0 28px 60px -20px rgba(15, 20, 51, 0.32);
  --shadow-signal: 0 10px 26px -10px rgba(74, 58, 240, 0.65);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-strong); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms var(--ease);
}
.btn svg { flex: none; }
.btn--signal {
  color: #fff;
  background: var(--signal);
  box-shadow: var(--shadow-signal), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--signal:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(74, 58, 240, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn--ghost {
  color: var(--ink);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px #c9cee0, var(--shadow-sm); }
.btn--on-dark {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.btn--on-dark:hover { background: rgba(255, 255, 255, 0.14); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { background: var(--canvas); color: var(--ink); }
.header-cta { flex: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    inset-inline: 0;
    margin: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .site-nav li:last-child a { border-bottom: 0; }
  .nav-toggle { display: inline-grid; place-items: center; order: 3; margin-inline-start: 0; }
  .header-cta { margin-inline-start: auto; }
}
@media (max-width: 420px) {
  .brand img { height: 32px; }
  .header-cta { padding: 0 14px; font-size: 0.875rem; }
  .site-header .wrap { gap: 10px; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(40px, 7vw, 88px) 0 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 460px at 85% -120px, rgba(47, 63, 240, 0.12), transparent 70%),
    radial-gradient(760px 420px at 10% -80px, rgba(151, 64, 246, 0.1), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.9375rem;
}
.lane-mark {
  display: inline-block;
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: repeating-linear-gradient(to left, var(--violet) 0 8px, transparent 8px 12px);
}
.hero h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--ink);
}
.hero-lead {
  margin-top: 22px;
  max-width: 34em;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.75;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { color: var(--blue); flex: none; }

/* Photo + phone composition */
.hero-visual {
  position: relative;
  min-height: 520px;
}
.hero-photo {
  position: absolute;
  inset: 0 0 48px 64px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #cfe0f6;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 60%;
}
.hero-phone {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: min(250px, 44%);
}

.phone {
  position: relative;
  padding: 9px;
  border-radius: 38px;
  background: #0b0f2e;
  box-shadow: 0 30px 60px -24px rgba(9, 12, 42, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone img {
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
  border-radius: 30px;
  background: var(--canvas);
}

/* The road: lane dashes run under the hero into the product */
.road {
  position: relative;
  height: 64px;
  margin-top: clamp(40px, 6vw, 72px);
}
.road::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 6px;
  margin-top: -3px;
  border-radius: 3px;
  background: var(--signal);
  -webkit-mask: repeating-linear-gradient(to left, #000 0 34px, transparent 34px 54px);
  mask: repeating-linear-gradient(to left, #000 0 34px, transparent 34px 54px);
  transform-origin: right center;
  animation: lane-draw 1400ms var(--ease) 250ms both;
}
@keyframes lane-draw {
  from { transform: scaleX(0); opacity: 0.2; }
  to { transform: scaleX(1); opacity: 1; }
}

.product {
  position: relative;
  padding-bottom: clamp(56px, 8vw, 104px);
}
.browser {
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line-soft);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f8f9fd;
}
.browser-dots { display: flex; gap: 6px; direction: ltr; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: #d7dbea; }
.browser-url {
  flex: 1;
  max-width: 360px;
  margin-inline: auto;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
  direction: ltr;
}
.product-caption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

/* ── Audience ────────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--white { background: var(--surface); }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 {
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  font-weight: 800;
}
.section-head p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--muted);
}

.audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line-soft);
}
.audience > div { padding: clamp(24px, 3vw, 36px); }
.audience > div + div { border-inline-start: 1px solid var(--line); }
.audience h3 { font-size: 1.3125rem; font-weight: 750; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.audience p { color: var(--muted); }
.audience ul { margin-top: 16px; display: grid; gap: 8px; }
.audience li { position: relative; padding-inline-start: 22px; color: var(--ink-2); }
.audience li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.8em;
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: var(--signal);
}
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--signal-soft);
  color: var(--blue-strong);
  flex: none;
}

/* ── Feature chapters ────────────────────────────────────── */
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.chapter + .chapter { margin-top: clamp(72px, 10vw, 128px); }
.chapter--flip .chapter-text { order: 2; }
.chapter-text h3 {
  font-size: clamp(1.625rem, 2.8vw, 2.125rem);
  font-weight: 800;
  margin-top: 16px;
}
.chapter-text > p {
  margin-top: 14px;
  font-size: 1.0625rem;
  color: var(--muted);
}
.chapter-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-strong);
  font-weight: 650;
  font-size: 0.9375rem;
}
.ticks { margin-top: 22px; display: grid; gap: 12px; }
.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink-2);
}
.ticks svg { margin-top: 3px; color: var(--blue); }
.ticks strong { color: var(--ink); font-weight: 650; }

.shot {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line-soft);
}
.shot img { width: 100%; }
.shot-pair {
  position: relative;
  padding-bottom: 40px;
}
.shot-pair .phone {
  position: absolute;
  inset-inline-start: -12px;
  bottom: 0;
  width: min(200px, 32%);
}
/* The phone overlaps the side of the screenshot that faces the text. */
.chapter--flip .shot-pair .phone { inset-inline-start: auto; inset-inline-end: -12px; }

/* ── WhatsApp band ───────────────────────────────────────── */
.band-dark {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--night);
  overflow: hidden;
}
.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(201, 206, 242, 0.14) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask: linear-gradient(to bottom, #000, transparent 80%);
  mask: linear-gradient(to bottom, #000, transparent 80%);
}
.band-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(800px 400px at 90% 0%, rgba(47, 63, 240, 0.35), transparent 70%),
    radial-gradient(700px 380px at 0% 100%, rgba(151, 64, 246, 0.25), transparent 70%);
}
.band-dark .section-head p,
.band-dark .chapter-text > p { color: var(--night-text); }
.band-dark .ticks li { color: #e3e6fb; }
.band-dark .ticks strong { color: #fff; }
.band-dark .ticks svg { color: #7fdba5; }
.band-dark .chapter-kicker { color: #9fe3cf; }
.wa-tile {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--wa);
  color: #fff;
}

/* What the student receives, by trigger */
.flow-title {
  margin: 0 0 18px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}
.wa-flow {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.wa-flow::before {
  content: "";
  position: absolute;
  inset-inline-start: 17px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(159, 227, 207, 0.55) 0 8px, transparent 8px 13px);
}
.wa-flow li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  padding-inline-start: 58px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.wa-flow li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E") center / 15px no-repeat;
  box-shadow: 0 0 0 4px var(--night);
}
.wa-when { color: #9fe3cf; font-size: 0.875rem; font-weight: 600; }
.wa-what { color: #fff; font-weight: 500; }
.flow-note { margin-top: 14px; color: var(--night-text); font-size: 0.875rem; }

.fine { margin-top: 18px; color: var(--muted); font-size: 0.9375rem; }

.shot-stack { display: grid; gap: 20px; }
.shot-stack .shot:last-child { width: 82%; margin-inline-start: auto; margin-top: -72px; position: relative; }

.report-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.report-list li {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.section-head--center { margin-inline: auto; text-align: center; }
.on-dark-link { color: #fff; text-underline-offset: 3px; white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* ── Grid of smaller capabilities ────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.cap-grid > div {
  padding: 28px 0 28px 28px;
  border-bottom: 1px solid var(--line);
}
.cap-grid > div:not(:nth-child(3n + 1)) { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.cap-grid h3 { font-size: 1.125rem; font-weight: 700; margin: 14px 0 6px; }
.cap-grid p { color: var(--muted); font-size: 0.975rem; }

/* ── Phones row ──────────────────────────────────────────── */
.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 36px);
  max-width: 860px;
  margin-inline: auto;
}
.phones figure { margin: 0; }
.phones figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: 0.9375rem; }
.phones figure:nth-child(2) { transform: translateY(-28px); }

/* ── Closing CTA ─────────────────────────────────────────── */
.closing { text-align: center; }
.closing h2 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.closing p { margin: 18px auto 0; max-width: 36rem; color: var(--night-text); font-size: 1.125rem; }
.closing .hero-actions { justify-content: center; }
.closing .road { margin-top: 56px; height: 24px; }
.closing .road::before { animation: none; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--night-deep);
  color: var(--night-text);
  padding: 56px 0 32px;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { margin-top: 14px; max-width: 22rem; }
.site-footer h2 { font-size: 0.9375rem; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: #dfe2fb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a4aad6;
  font-size: 0.875rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; aspect-ratio: 4 / 3.3; max-width: 640px; }
  .chapter, .chapter--flip { grid-template-columns: 1fr; }
  .chapter--flip .chapter-text { order: 0; }
  .audience { grid-template-columns: 1fr; }
  .audience > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-grid > div,
  .cap-grid > div:not(:nth-child(3n + 1)) { padding: 24px 0; padding-inline-start: 0; border-inline-start: 0; }
  .cap-grid > div:nth-child(2n) { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
  .cap-grid > div:nth-child(2n + 1) { padding-inline-end: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero-visual { aspect-ratio: 4 / 4.4; }
  .hero-photo { inset: 0 0 40px 28px; }
  .hero-photo img { object-position: 72% 60%; }
  .hero-phone { width: 46%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-grid > div:nth-child(n) { padding: 22px 0; border-inline-start: 0; }
  .phones { grid-template-columns: 1fr 1fr; }
  .phones figure:nth-child(2) { transform: none; }
  .phones figure:nth-child(3) { grid-column: 1 / -1; width: 50%; margin-inline: auto; }
  .shot-pair .phone { width: 38%; inset-inline-start: -6px; }
  .browser-bar { height: 36px; }
  .browser-url { font-size: 0.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── App features under the phones ───────────────────────── */
.cap-grid--app { margin-top: clamp(40px, 6vw, 72px); }
@media (max-width: 960px) and (min-width: 601px) {
  /* Three items: keep one row instead of leaving an orphan in two columns. */
  .cap-grid--app { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cap-grid--app > div:nth-child(n) { padding: 24px 20px; border-inline-start: 1px solid var(--line); }
  .cap-grid--app > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
  .cap-grid--app > div:last-child { padding-inline-end: 0; }
}
