/* Provisor homepage — operational, grounded, confident */

:root {
  --bg: #f6f4ef;
  --bg-elev: #ffffff;
  --bg-dark: #0e0f10;
  --bg-rule: rgba(14, 15, 16, 0.08);
  --ink: #0e0f10;
  --ink-2: #2a2a2c;
  --ink-3: #5d5d61;
  --ink-4: #8d8d92;
  --ink-on-dark: #f6f4ef;
  --ink-on-dark-2: #b2b2b6;
  --ink-on-dark-3: #6f6f74;

  --brand: #3494e6;           /* provisor blue (logo) */
  --brand-deep: #2d4059;      /* provisor deep navy (logo) */

  --accent: #3494e6;          /* provisor brand blue */
  --accent-ink: #ffffff;
  --accent-soft: rgba(52, 148, 230, 0.08);

  --status-green: #2f8a4f;
  --status-amber: #d9941e;
  --status-red:   #c8351f;

  --rad-sm: 6px;
  --rad-md: 10px;
  --rad-lg: 16px;
  --rad-xl: 22px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --max-w: 1240px;
  --gutter: 32px;

  --t-display: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --t-body:    'Geist', ui-sans-serif, system-ui, sans-serif;
  --t-mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--t-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ─── density modes ─────────────────────────────────────── */
body[data-density="compact"]  { --space-7: 36px; --space-8: 48px; --space-9: 72px; --space-10: 96px; }
body[data-density="spacious"] { --space-7: 64px; --space-8: 96px; --space-9: 128px; --space-10: 176px; }

/* ─── layout primitives ─────────────────────────────────── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

.eyebrow {
  font-family: var(--t-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.eyebrow.no-dot::before { display: none; }

.section-rule { height: 1px; background: var(--bg-rule); width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--t-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.h-display {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.h-section {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  font-weight: 500;
}
.h-card {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 500;
}

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 640px;
}

.mono { font-family: var(--t-mono); font-feature-settings: "ss02"; }
.micro {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ─── buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: #2a7ac9; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: rgba(14, 15, 16, 0.18);
}
.btn-secondary:hover { border-color: var(--ink); background: rgba(14, 15, 16, 0.03); }
.btn-on-dark {
  background: var(--ink-on-dark);
  color: var(--bg-dark);
}
.btn-on-dark:hover { background: #e4e1d8; }
.btn-ghost-on-dark {
  background: transparent;
  color: var(--ink-on-dark);
  border-color: rgba(246, 244, 239, 0.25);
}
.btn-ghost-on-dark:hover { border-color: var(--ink-on-dark); background: rgba(246, 244, 239, 0.06); }

.btn .arr {
  display: inline-block;
  transform: translateY(-1px);
  transition: transform .15s ease;
}
.btn:hover .arr { transform: translate(2px, -1px); }

/* ─── nav ──────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 239, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--bg-rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 18px; letter-spacing: -0.02em;
}
.brand-mark {
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: block;
  background-image: url('provisor-logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { height: 38px; padding: 0 16px; font-size: 14px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ─── hero ─────────────────────────────────────────────── */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-7); }
}

.hero-eyebrows {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-bottom: var(--space-5);
  align-items: center;
}
.hero h1 { margin-bottom: var(--space-5); }
.hero .lead { margin-bottom: var(--space-6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-mock {
  position: relative;
}

/* ─── USP strip ────────────────────────────────────────── */
.usp-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--bg-rule);
  border-bottom: 1px solid var(--bg-rule);
  margin-top: var(--space-8);
}
.usp {
  padding: var(--space-6) var(--space-5);
  border-right: 1px solid var(--bg-rule);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.usp:last-child { border-right: none; }
.usp-num {
  font-family: var(--t-mono);
  font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.06em;
}
.usp-title {
  font-size: 17px; font-weight: 500; line-height: 1.25;
  letter-spacing: -0.012em;
}
.usp-sub { font-size: 14px; color: var(--ink-3); line-height: 1.45; }
@media (max-width: 860px) {
  .usp-strip { grid-template-columns: repeat(2, 1fr); }
  .usp:nth-child(2) { border-right: none; }
  .usp:nth-child(1), .usp:nth-child(2) { border-bottom: 1px solid var(--bg-rule); }
}
@media (max-width: 520px) {
  .usp-strip { grid-template-columns: 1fr; }
  .usp { border-right: none; border-bottom: 1px solid var(--bg-rule); }
  .usp:last-child { border-bottom: none; }
}

/* ─── section base ─────────────────────────────────────── */
section { padding: var(--space-9) 0; }
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
  align-items: end;
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: var(--space-4); }
}
.section-head .lead { margin-top: 8px; }

/* ─── What-it-is ───────────────────────────────────────── */
.explain {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
}
.explain .micro { color: var(--ink-on-dark-3); }
.explain h2 { color: var(--ink-on-dark); }
.explain .lead { color: var(--ink-on-dark-2); }
.explain-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 980px) { .explain-grid { grid-template-columns: 1fr; } }
.explain-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(246, 244, 239, 0.08);
  border: 1px solid rgba(246, 244, 239, 0.08);
  border-radius: var(--rad-md);
  overflow: hidden;
}
.explain-list > div {
  padding: var(--space-5);
  background: var(--bg-dark);
}
.explain-list .k {
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-on-dark-3); margin-bottom: 8px;
}
.explain-list .v {
  font-size: 15px; line-height: 1.45; color: var(--ink-on-dark);
}

/* ─── feature rows ─────────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--bg-rule);
}
.feature-row:first-of-type { border-top: none; padding-top: var(--space-4); }
.feature-row.reverse .feature-text { order: 2; }
@media (max-width: 860px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: var(--space-6); }
  .feature-row.reverse .feature-text { order: 0; }
}
.feature-num {
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: var(--space-4);
}
.feature-text h3 {
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.08; letter-spacing: -0.022em;
  margin-bottom: var(--space-4);
}
.feature-text p { color: var(--ink-2); font-size: 17px; line-height: 1.5; max-width: 480px; }
.feature-meta {
  margin-top: var(--space-5);
  display: flex; flex-wrap: wrap; gap: var(--space-2);
}
.chip {
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--bg-rule);
  color: var(--ink-3);
  background: var(--bg-elev);
}

/* ─── device mockups ───────────────────────────────────── */
/* phone screenshots are 1264 × 2780 (≈ 9 : 19.8) */
.phone {
  position: relative;
  background: #0c0d0e;
  border-radius: 40px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(14,15,16,0.06),
    0 2px 2px rgba(255,255,255,0.4) inset,
    0 40px 80px -36px rgba(14, 15, 16, 0.45);
}
.phone .screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #f3f5f7;
}
.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone.portrait {
  width: 296px;
  margin: 0 auto;
}
.phone.portrait .screen { aspect-ratio: 1264 / 2780; }

.phone.landscape {
  width: 100%;
  border-radius: 34px;
}
.phone.landscape .screen {
  aspect-ratio: 2780 / 1264;
  border-radius: 26px;
}

/* floating caption pinned under/over a frame */
.shot-cap {
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px;
}
.shot-cap .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.shot-cap .dot.live {
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 148, 230, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(52, 148, 230, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 148, 230, 0); }
}

/* a pair of phones, slightly overlapped */
.phone-pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}
.phone-pair .phone { width: 250px; }
.phone-pair .phone:first-child { transform: translateX(18px) translateY(10px) rotate(-3deg); z-index: 1; }
.phone-pair .phone:last-child  { transform: translateX(-18px) rotate(3deg); z-index: 2; }
@media (max-width: 520px) {
  .phone-pair { gap: 12px; }
  .phone-pair .phone, .phone-pair .phone:first-child, .phone-pair .phone:last-child {
    width: 46%; transform: none;
  }
}

/* ─── screenshot lightbox (click to zoom) ──────────────── */
.phone .screen img { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5vmin;
  background: rgba(14, 15, 16, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
/* CSS-only sizing: always fits 95% of the viewport, so a device flip
   to landscape just re-fits the image with no JS involved. */
.lightbox-img {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.8);
  cursor: default;
}
.lightbox-close {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  font-family: var(--t-mono);
  font-size: 26px; line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.24); }

/* ─── use cases ────────────────────────────────────────── */
.cases {
  background: var(--bg-elev);
  border-top: 1px solid var(--bg-rule);
  border-bottom: 1px solid var(--bg-rule);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 980px) { .case-grid { grid-template-columns: 1fr; } }
.case {
  background: var(--bg);
  border-radius: var(--rad-lg);
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-4);
  border: 1px solid var(--bg-rule);
  min-height: 380px;
}
.case-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 5px 9px;
  background: var(--bg-elev);
  border: 1px solid var(--bg-rule);
  border-radius: 999px;
  align-self: flex-start;
}
.case-tag .sev {
  width: 8px; height: 8px; border-radius: 50%;
}
.case h4 {
  font-size: 22px; line-height: 1.15; letter-spacing: -0.018em;
  margin: 0;
}
.case p { color: var(--ink-3); font-size: 14px; line-height: 1.5; }

.case-steps { margin-top: auto; display: flex; flex-direction: column; gap: 0; }
.case-step {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 12px; padding: 10px 0;
  border-top: 1px solid var(--bg-rule);
  font-size: 13px;
}
.case-step:last-child { border-bottom: 1px solid var(--bg-rule); }
.case-step .t {
  font-family: var(--t-mono); color: var(--ink-3);
  letter-spacing: 0.02em; font-variant-numeric: tabular-nums;
}
.case-step .e { color: var(--ink); }

/* ─── social ──────────────────────────────────────────── */
.testi {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 860px) { .testi { grid-template-columns: 1fr; } }
.quote {
  font-family: var(--t-display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.022em;
  font-weight: 500;
  color: var(--ink);
}
.quote .qmark { color: var(--accent); margin-right: 6px; }
.attrib {
  margin-top: var(--space-5);
  display: flex; gap: 14px; align-items: center;
}
.attrib-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #c8c4ba, #8d8d92);
  object-fit: cover;
}
.attrib .who { font-weight: 500; }
.attrib .role { font-size: 13px; color: var(--ink-3); }

.status-card {
  border: 1px solid var(--bg-rule);
  border-radius: var(--rad-md);
  overflow: hidden;
}
.status-card-label {
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--bg-rule);
}
.status-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--space-4);
  padding: 14px var(--space-5);
  border-bottom: 1px solid var(--bg-rule);
}
.status-row:last-child { border-bottom: none; }
.status-row .k {
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3);
}
.status-row .v { font-size: 15px; font-weight: 500; color: var(--ink); text-align: right; }

/* ─── tech specs ──────────────────────────────────────── */
.specs {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
}
.specs .micro, .specs .eyebrow { color: var(--ink-on-dark-3); }
.specs h2 { color: var(--ink-on-dark); }
.specs .lead { color: var(--ink-on-dark-2); }
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(246, 244, 239, 0.1);
  border: 1px solid rgba(246, 244, 239, 0.1);
  border-radius: var(--rad-md);
  overflow: hidden;
}
@media (max-width: 860px) { .specs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .specs-grid { grid-template-columns: 1fr; } }
.spec {
  background: var(--bg-dark);
  padding: var(--space-5);
  display: flex; flex-direction: column; gap: 6px;
  min-height: 130px;
}
.spec .k {
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-on-dark-3);
}
.spec .v { font-size: 18px; letter-spacing: -0.014em; font-weight: 500; }
.spec .x { font-size: 13px; color: var(--ink-on-dark-2); line-height: 1.45; }

/* ─── pilot CTA ───────────────────────────────────────── */
.pilot {
  background: var(--accent);
  color: var(--accent-ink);
}
.pilot h2 {
  color: var(--accent-ink);
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.pilot .pilot-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
  max-width: 560px;
  margin-top: var(--space-5);
}
.pilot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-7);
  align-items: end;
}
@media (max-width: 860px) { .pilot-grid { grid-template-columns: 1fr; gap: var(--space-6); } }
.pilot-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }
.pilot-form {
  background: rgba(0, 0, 0, 0.16);
  border-radius: var(--rad-lg);
  padding: var(--space-5);
  display: flex; flex-direction: column; gap: 10px;
}
.pilot-form[hidden] { display: none; }
.pilot-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .pilot-form .row { grid-template-columns: 1fr; } }
.pilot-form input, .pilot-form select {
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 12px 14px;
  border-radius: var(--rad-sm);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.pilot-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.pilot-form input:focus, .pilot-form select:focus { border-color: #fff; background: rgba(255, 255, 255, 0.18); }
.pilot-form .submit-row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.pilot-form .micro { color: rgba(255, 255, 255, 0.65); }
.pilot-form button {
  appearance: none;
  background: var(--ink);
  color: var(--accent-ink);
  border: 0;
  padding: 12px 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.pilot-form button:hover { background: #000; }
.pilot-form select { color: #fff; }
.pilot-form select option { color: #000; }
/* Honeypot field: kept in the DOM for bots, off-screen for everyone else. */
.pilot-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pilot-form .form-error { color: var(--accent); margin-top: 4px; }

.pilot-success {
  background: rgba(0,0,0,0.16);
  border-radius: var(--rad-lg);
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: 8px;
}
.pilot-success[hidden] { display: none; }
.pilot-success .h { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.pilot-success .b { color: rgba(255, 255, 255, 0.85); font-size: 15px; }

/* ─── footer ─────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  padding: var(--space-8) 0 var(--space-5);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: var(--space-6);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(246, 244, 239, 0.1);
}
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-col h5 {
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-on-dark-3); margin: 0 0 14px;
  font-weight: 500;
}
.foot-col a { display: block; padding: 6px 0; color: var(--ink-on-dark-2); font-size: 14px; }
.foot-col a:hover { color: var(--ink-on-dark); }
.foot-brand { color: var(--ink-on-dark); }
.foot-brand p { margin-top: 16px; font-size: 14px; color: var(--ink-on-dark-2); max-width: 360px; }

.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--space-5);
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-on-dark-3);
}
.foot-bottom-links { display: flex; gap: 22px; }

/* ─── deploy / onboarding section ───────────────────────── */
.deploy { background: var(--bg-elev); border-top: 1px solid var(--bg-rule); border-bottom: 1px solid var(--bg-rule); }
.deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 860px) { .deploy-grid { grid-template-columns: 1fr; gap: var(--space-7); } }
.deploy-points { display: flex; flex-direction: column; gap: 2px; margin-top: var(--space-6); }
.deploy-point {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px;
  padding: 16px 0; border-top: 1px solid var(--bg-rule);
}
.deploy-point:last-child { border-bottom: 1px solid var(--bg-rule); }
.deploy-point .ico {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--t-mono); font-size: 12px; font-weight: 500;
}
.deploy-point .pt-h { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.deploy-point .pt-b { font-size: 14px; color: var(--ink-3); line-height: 1.45; margin-top: 2px; }

/* ─── "Replaces" list (within explain) ──────────────────── */
.replace-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(246, 244, 239, 0.1);
  gap: 16px;
}
.replace-label { font-size: 16px; color: var(--ink-on-dark); }
.replace-note { color: var(--ink-on-dark-3); white-space: nowrap; }

/* misc */
.spacer-sm { height: var(--space-5); }
.spacer-md { height: var(--space-6); }
.spacer-lg { height: var(--space-7); }

/* ─── privacy / content page ──────────────────────────────── */
.page-hero {
  padding: clamp(48px, 6vw, 88px) 0 var(--space-7);
  border-bottom: 1px solid var(--bg-rule);
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04; letter-spacing: -0.03em; font-weight: 500;
  max-width: 16ch;
}
.page-hero .lead { margin-top: var(--space-5); }
.page-hero .updated {
  margin-top: var(--space-6);
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-4);
}

.doc { padding: var(--space-8) 0 var(--space-9); }
.doc-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 860px) { .doc-grid { grid-template-columns: 1fr; gap: var(--space-6); } }

.doc-toc {
  position: sticky; top: 88px;
  display: flex; flex-direction: column; gap: 2px;
}
@media (max-width: 860px) { .doc-toc { position: static; } }
.doc-toc .toc-label {
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 10px;
}
.doc-toc a {
  font-size: 14px; color: var(--ink-3);
  padding: 7px 0;
  border-top: 1px solid var(--bg-rule);
  transition: color .15s ease;
}
.doc-toc a:first-of-type { border-top: none; }
.doc-toc a:hover { color: var(--ink); }

.doc-body { max-width: 680px; }
.doc-section { padding: var(--space-6) 0; border-top: 1px solid var(--bg-rule); }
.doc-section:first-child { border-top: none; padding-top: 0; }
.doc-section h2 {
  font-size: 24px; letter-spacing: -0.018em; font-weight: 500;
  margin-bottom: var(--space-4);
}
.doc-section p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin-bottom: var(--space-4); }
.doc-section p:last-child { margin-bottom: 0; }
.doc-section a.inline { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.data-list { display: flex; flex-direction: column; gap: 1px; margin: var(--space-4) 0; }
.data-item {
  display: grid; grid-template-columns: 160px 1fr; gap: var(--space-4);
  padding: 16px 0; border-top: 1px solid var(--bg-rule);
}
.data-item:last-child { border-bottom: 1px solid var(--bg-rule); }
@media (max-width: 560px) { .data-item { grid-template-columns: 1fr; gap: 4px; } }
.data-item .dk {
  font-family: var(--t-mono);
  font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink); padding-top: 2px;
}
.data-item .dv { font-size: 15px; line-height: 1.5; color: var(--ink-3); }

.callout {
  background: var(--bg-elev);
  border: 1px solid var(--bg-rule);
  border-radius: var(--rad-lg);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-5) 0;
}
.callout .ck {
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.callout p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }

.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6);
  margin-top: var(--space-5);
}
@media (max-width: 560px) { .contact-card { grid-template-columns: 1fr; } }
.contact-card .cc-k {
  font-family: var(--t-mono);
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: 8px;
}
.contact-card .cc-v { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.contact-card .cc-v a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
