/* ═══════════════════════════════════════════════════════════════════════
   PROPOSALONE — Public marketing site (WS4)
   Warm Graphite · Steel Blue Accent · Next313 / Dignetix Ltd
   ═══════════════════════════════════════════════════════════════════════

   THIS FILE IS INTENTIONALLY STANDALONE.

   The marketing pages are served on the APEX host, where `marketingHost`
   (src/middleware/marketing.js) runs before express.static and answers
   anything outside its allow-list with marketing HTML. A <link> to
   /proposalone.css therefore comes back as text/html, the browser refuses it
   on MIME mismatch, and every design token resolves to an empty string —
   exactly the bug fixed in v2026.0.50.

   The one path that IS permitted is `/marketing/<file>`, served by a
   dedicated express.static rooted at public/marketing/. So this file is a
   real linked stylesheet — but it may only reference things inside that
   folder. It duplicates the token VALUES from proposalone.css / themes.css
   by hand (hex literals, not var() references) so the folder stays
   self-contained and can be peeled off to a CDN later, per the iteration
   plan's WS4 note.

   If you change a brand color in proposalone.css, change it here too.
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Barlow+Condensed:wght@600;700;800;900&family=Inter+Tight:wght@600;700;800&display=swap');

/* ── TOKENS (copied from proposalone.css :root, cool-slate dark) ── */
:root {
  --bg:       #0E1014;
  --bgw:      #121519;
  --sur:      #181C22;
  --sur2:     #1F242B;
  --sur3:     #272D35;
  --bdr:      #333A44;
  --bdr2:     #404956;
  --st:       #5A9FD4;
  --std:      #3A7AAE;
  --stb:      #7BBDE8;
  --stg:      rgba(90, 159, 212, 0.10);
  --tx:       #F0F2F5;
  --txd:      #C3CAD3;
  --txm:      #9AA3AE;
  --amb:      #E0A95A;
  --grn:      #5FC495;
  --red:      #D87A7A;
  --crimson:  #C8102E;   /* brand symbol underline */
  --radius:   6px;
  --radius-sm: 4px;

  --shell:    1180px;
  --gut:      28px;
  --font:     'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-dis: 'Inter Tight', 'Barlow', system-ui, -apple-system, sans-serif;
  --font-con: 'Barlow Condensed', 'Barlow Semi Condensed', system-ui, sans-serif;
  /* Monospace, for the identity footer's build id. Note --font-con is CONDENSED,
     not mono — it is the wrong token for anything that should read as machine
     output, which the house .app footer standard does. */
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

/* The marketing site is committed dark, like the sign-in page (which forces
   dark so the grid/glow layers never fight a light background). No theme
   toggle here on purpose: the apex is a different origin from the tenant
   subdomains, so there is no theme preference to inherit. */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--stb);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--st); color: #fff; padding: 10px 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ── AMBIENT BACKGROUND LAYERS ──
   Same three layers as public/login.html, so the marketing site and the
   sign-in page read as one surface. */
.bg-grid, .bg-glow, .bg-rule {
  position: fixed; pointer-events: none; z-index: 0;
}
.bg-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(51, 58, 68, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 58, 68, 0.55) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, black 10%, transparent 85%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, black 10%, transparent 85%);
}
.bg-glow {
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(58, 122, 174, 0.16) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 88% 12%, rgba(90, 159, 212, 0.07) 0%, transparent 70%);
}
.bg-rule {
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--st), var(--stb), var(--st), transparent);
  z-index: 60;
}

/* ── SHELL ── */
.shell {
  width: 100%; max-width: var(--shell);
  margin: 0 auto; padding: 0 var(--gut);
}
main { position: relative; z-index: 1; }

/* ── BRAND LOCKUP (values copied from brand.css) ── */
.brand { display: inline-flex; align-items: center; gap: 9px; line-height: 1; }
.brand-symbol {
  display: block; flex-shrink: 0;
  width: 24px; height: 24px;
  background-image: url('symbol-on-dark.svg');
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.brand-name {
  font-family: var(--font-dis);
  font-weight: 700; font-size: 17px;
  letter-spacing: -0.02em; color: var(--tx);
  white-space: nowrap;
}
.brand-stack { flex-direction: column; gap: 16px; }
.brand-stack .brand-symbol { width: 60px; height: 60px; }
.brand-stack .brand-name { font-size: 34px; letter-spacing: -0.025em; }

/* ── TOP NAV ── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 21, 25, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bdr);
}
.head-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 62px;
}
.head-nav { display: flex; align-items: center; gap: 2px; }
.head-link {
  padding: 7px 13px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.9px; text-transform: uppercase;
  color: var(--txd); border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.head-link:hover { color: var(--tx); background: var(--sur2); }
.head-link[aria-current="page"] { color: var(--stb); background: rgba(90, 159, 212, 0.12); }
.head-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 38px; height: 34px;
  background: transparent; border: 1px solid var(--bdr);
  border-radius: var(--radius-sm); color: var(--txd);
  align-items: center; justify-content: center;
}
.nav-toggle:hover { border-color: var(--bdr2); color: var(--tx); }
.nav-toggle span {
  display: block; width: 16px; height: 1.5px; background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-family: inherit; font-size: 12px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  white-space: nowrap; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.99); }
.btn-primary { background: var(--std); color: #fff; }
.btn-primary:hover { opacity: 0.88; }
.btn-ghost { background: transparent; color: var(--txd); border-color: var(--bdr); }
.btn-ghost:hover { color: var(--tx); border-color: var(--bdr2); background: var(--sur2); }
.btn-outline { background: transparent; color: var(--st); border-color: var(--st); }
.btn-outline:hover { background: var(--std); color: #fff; }
.btn-sm { padding: 9px 15px; font-size: 11px; letter-spacing: 1.1px; }
.btn-lg { padding: 15px 30px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── PILLS / EYEBROWS ── */
.pill-badge {
  display: inline-block;
  background: #ffffff; color: var(--std);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}
.pill-badge.crimson { color: var(--crimson); }
.pill {
  display: inline-block;
  padding: 3px 10px; border-radius: 10px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  white-space: nowrap;
}
.pill-steel { color: var(--stb); background: rgba(90, 159, 212, 0.16); }
.pill-green { color: var(--grn); background: rgba(95, 196, 149, 0.14); }
.pill-amber { color: var(--amb); background: rgba(224, 169, 90, 0.14); }

.sec-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--txm); margin-bottom: 14px;
}

/* ── TYPE ── */
h1, h2, h3, h4 { font-family: var(--font-dis); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
.h-hero { font-size: clamp(36px, 6.2vw, 62px); text-wrap: balance; }
.h-sec  { font-size: clamp(26px, 3.6vw, 38px); }
.h-card { font-size: 19px; letter-spacing: -0.01em; }
.h-sub  { font-size: 15px; letter-spacing: 0; font-family: var(--font); font-weight: 700; }
.lead   { font-size: 18px; color: var(--txd); line-height: 1.62; max-width: 62ch; }
.body   { font-size: 15px; color: var(--txd); }
.muted  { color: var(--txm); font-size: 13px; }
.accent { color: var(--stb); }
strong { font-weight: 700; color: var(--tx); }

/* ── SECTIONS ── */
.sec { position: relative; padding: 86px 0; }
.sec-tight { padding: 58px 0; }
.sec-alt { background: var(--bgw); border-top: 1px solid var(--bdr); border-bottom: 1px solid var(--bdr); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .lead { margin-top: 16px; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }

/* ── HERO ── */
.hero { position: relative; padding: 96px 0 78px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 56px; align-items: center;
}
.hero h1 { margin: 22px 0 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-note { margin-top: 20px; font-size: 12px; color: var(--txm); }
.hero-note .dot { color: var(--st); margin: 0 7px; }

/* Hero side panel — a static, stylized read of the product's own RFP list. */
.panel {
  background: var(--sur); border: 1px solid var(--bdr);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(90, 159, 212, 0.06);
}
.panel-accent { height: 2px; background: linear-gradient(90deg, var(--std), var(--stb), var(--std)); }
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 11px 15px; border-bottom: 1px solid var(--bdr);
  background: var(--sur2);
}
.panel-head-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--txd);
}
.panel-body { padding: 6px 0; }
.panel-row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 12px; align-items: center;
  padding: 11px 15px; border-bottom: 1px solid var(--bdr);
}
.panel-row:last-child { border-bottom: none; }
.panel-name { font-size: 13px; font-weight: 600; color: var(--tx); }
.panel-sub { font-size: 11px; color: var(--txm); margin-top: 2px; }
.panel-foot {
  padding: 10px 15px; border-top: 1px solid var(--bdr); background: var(--sur2);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.meter { display: flex; align-items: center; gap: 8px; }
.meter-track { width: 54px; height: 4px; border-radius: 2px; background: var(--sur3); overflow: hidden; }
.meter-fill { height: 100%; border-radius: 2px; background: var(--st); }
.meter-fill.high { background: var(--grn); }
.meter-fill.mid { background: var(--st); }
.meter-val { font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--txd); }

/* ── STAT STRIP ── */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--bdr);
  border: 1px solid var(--bdr); border-radius: var(--radius); overflow: hidden;
}
.stat {
  background: var(--sur); padding: 22px 20px;
}
.stat-num {
  font-family: var(--font-con);
  font-size: 34px; font-weight: 800; line-height: 1;
  color: var(--stb); letter-spacing: 0.5px;
}
.stat-label {
  margin-top: 8px; font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--txm);
}
/* ROI band: each figure carries its own qualifier + source, so a reader can see
   at a glance that these are industry benchmarks rather than our results. */
.stat-note {
  margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--txd);
}
.stat-cite {
  display: block; margin-top: 5px;
  font-size: 10px; letter-spacing: 0.4px; color: var(--txm);
  font-style: normal;
}
/* Cited sources link out where the figure is verifiable. The global rule
   strips underlines from every anchor, so without this a citation link is
   indistinguishable from the unlinked ones sitting beside it. */
a.stat-cite {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  text-decoration-color: var(--bdr);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a.stat-cite:hover,
a.stat-cite:focus-visible {
  color: var(--tx);
  text-decoration-color: currentColor;
}
a.stat-cite:focus-visible { outline: 2px solid var(--st); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { a.stat-cite { transition: none; } }
.stat-foot {
  margin-top: 22px; max-width: 74ch;
  font-size: 14px; line-height: 1.65; color: var(--txd);
}

/* Long-form legal prose. Narrower measure than the marketing sections and a
   quieter heading rhythm — these are read start-to-finish, not scanned. */
.legal-doc { max-width: 74ch; }
.legal-doc h2 {
  font-family: var(--font-dis);
  font-size: 20px; font-weight: 700; line-height: 1.25;
  letter-spacing: -0.01em; color: var(--tx);
  margin: 38px 0 12px; scroll-margin-top: 90px;
}
.legal-doc h3 {
  font-size: 15px; font-weight: 700; color: var(--tx);
  margin: 22px 0 8px;
}
.legal-doc p { margin: 0 0 14px; font-size: 15px; line-height: 1.7; color: var(--txd); }
.legal-doc ul { margin: 0 0 16px; padding-left: 20px; }
.legal-doc li { margin-bottom: 7px; font-size: 15px; line-height: 1.65; color: var(--txd); }
.legal-doc a { color: var(--st); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc a:hover { color: var(--tx); }
.legal-doc .legal-lead { font-size: 16px; color: var(--txm); }
.legal-doc .legal-caps { font-size: 13.5px; letter-spacing: 0.01em; }
.legal-meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  margin: 18px 0 6px; padding-bottom: 18px;
  border-bottom: 1px solid var(--bdr);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--txm);
}
.legal-toc {
  margin: 26px 0 8px; padding: 18px 20px;
  border: 1px solid var(--bdr); background: var(--sur);
}
.legal-toc-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--txm); margin-bottom: 10px;
}
.legal-toc ol { margin: 0; padding-left: 18px; columns: 2; column-gap: 32px; }
.legal-toc li { margin-bottom: 5px; font-size: 13.5px; break-inside: avoid; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }

/* ── CARD GRID ── */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--sur); border: 1px solid var(--bdr);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card-pad { padding: 24px 22px; }
.card-hd {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--bdr);
}
.card-hd-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--txd);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--txd); }
.card-num {
  font-family: var(--font-con);
  font-size: 12px; font-weight: 800; letter-spacing: 2px;
  color: var(--st); margin-bottom: 12px; display: block;
}
.feature-card { transition: border-color 0.15s, transform 0.15s; }
.feature-card:hover { border-color: var(--bdr2); transform: translateY(-2px); }

/* Bulleted lists with a steel tick */
.ticks { display: flex; flex-direction: column; gap: 9px; }
.ticks li {
  position: relative; padding-left: 22px;
  font-size: 14px; color: var(--txd); line-height: 1.55;
}
.ticks li::before {
  content: ''; position: absolute; left: 4px; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--st); box-shadow: 0 0 0 3px rgba(90, 159, 212, 0.14);
}
.ticks.tight li { font-size: 13px; }

/* ── PHASE TRACK (mirrors the in-app phase tracker) ── */
.phase-track {
  display: grid; grid-template-columns: repeat(8, 1fr);
  gap: 0; margin-top: 8px;
}
.phase-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.phase-line-row { display: flex; align-items: center; width: 100%; }
.phase-line { flex: 1; height: 2px; background: var(--bdr); }
.phase-line.blank { background: transparent; }
.phase-dot {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-con);
  font-size: 11px; font-weight: 800;
  background: var(--sur3); color: var(--txd); border: 1px solid var(--bdr);
}
.phase-step:nth-child(-n+3) .phase-dot { background: var(--st); color: #fff; border-color: var(--stb); }
.phase-label {
  margin-top: 10px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase; color: var(--txd);
  line-height: 1.3;
}
.phase-note { margin-top: 4px; font-size: 11px; color: var(--txm); line-height: 1.4; }

/* ── SPLIT (copy + list) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split-wide { grid-template-columns: 0.9fr 1.1fr; }

/* ── PRICING ── */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.tier {
  background: var(--sur); border: 1px solid var(--bdr);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.tier.featured { border-color: var(--std); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45); }
.tier-accent { height: 2px; background: var(--bdr); }
.tier.featured .tier-accent { background: linear-gradient(90deg, var(--std), var(--stb), var(--std)); }
.tier-body { padding: 24px 22px; display: flex; flex-direction: column; flex: 1; }
.tier-name {
  font-family: var(--font-dis); font-size: 20px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--tx);
}
.tier-for { margin-top: 6px; font-size: 12px; color: var(--txm); min-height: 34px; }
.tier-price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.tier-amount {
  font-family: var(--font-con); font-size: 40px; font-weight: 800;
  line-height: 1; color: var(--tx); letter-spacing: 0.5px;
}
.tier-per { font-size: 12px; color: var(--txm); font-weight: 600; }
.tier-annual { margin-top: 7px; font-size: 12px; color: var(--txd); }
.tier-annual em { font-style: normal; color: var(--stb); font-weight: 600; }
.tier-meta {
  margin: 20px 0; padding: 14px 0;
  border-top: 1px solid var(--bdr); border-bottom: 1px solid var(--bdr);
  display: flex; flex-direction: column; gap: 8px;
}
.tier-meta div { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--txm); }
.tier-meta strong { font-size: 12px; }
.tier .ticks { flex: 1; margin-bottom: 22px; }
.tier .btn { width: 100%; }

/* Comparison table — the plan table, rendered verbatim. */
.table-wrap {
  border: 1px solid var(--bdr); border-radius: var(--radius);
  overflow-x: auto; background: var(--sur);
}
table.plans { width: 100%; border-collapse: collapse; min-width: 720px; }
table.plans caption {
  text-align: left; padding: 14px 18px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--txd);
  border-bottom: 1px solid var(--bdr); background: var(--sur2);
}
table.plans th, table.plans td {
  padding: 13px 18px; text-align: left;
  border-bottom: 1px solid var(--bdr); font-size: 13px;
}
table.plans thead th {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--txm); background: var(--sur2);
  white-space: nowrap;
}
table.plans tbody tr:last-child th, table.plans tbody tr:last-child td { border-bottom: none; }
table.plans tbody tr:hover { background: var(--sur2); }
table.plans tbody th {
  font-family: var(--font-dis); font-size: 15px; font-weight: 700;
  color: var(--tx); white-space: nowrap;
}
table.plans td { color: var(--txd); }
table.plans td.num { font-variant-numeric: tabular-nums; color: var(--tx); font-weight: 600; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.faq-item { background: var(--sur); border: 1px solid var(--bdr); border-radius: var(--radius); padding: 20px 22px; }
.faq-item h3 { font-size: 16px; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--txd); }

/* ── CTA BAND ── */
.cta-band {
  position: relative;
  border: 1px solid var(--bdr); border-radius: var(--radius);
  background:
    radial-gradient(ellipse 60% 120% at 50% 0%, rgba(58, 122, 174, 0.18), transparent 70%),
    var(--sur);
  padding: 54px 40px; text-align: center; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--st), var(--stb), var(--st), transparent);
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band .lead { margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* ── FORMS (contact) ── */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.wide { grid-column: 1 / -1; }
.field label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--txm);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px;
  background: var(--sur2); border: 1px solid var(--bdr);
  border-radius: var(--radius-sm);
  color: var(--tx); font-family: inherit; font-size: 14px;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--txm); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--st); }
.form-note { margin-top: 14px; font-size: 12px; color: var(--txm); line-height: 1.6; }
.form-status {
  margin-top: 16px; padding: 14px 16px;
  border: 1px solid var(--bdr); border-left: 3px solid var(--st);
  border-radius: var(--radius-sm); background: var(--sur2);
  font-size: 14px; color: var(--txd);
}
.form-status[hidden] { display: none; }
.form-error { font-size: 13px; color: var(--red); margin-top: 10px; }
.form-error[hidden] { display: none; }

.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.contact-line { font-size: 14px; color: var(--txd); }
.contact-line a { color: var(--stb); border-bottom: 1px solid rgba(123, 189, 232, 0.35); }
.contact-line a:hover { border-bottom-color: var(--stb); }

/* ── FOOTER ── */
.site-foot {
  position: relative; z-index: 1;
  margin-top: 20px;
  background: var(--bgw); border-top: 1px solid var(--bdr);
  padding: 52px 0 26px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px; padding-bottom: 34px; border-bottom: 1px solid var(--bdr);
}
.foot-blurb { margin-top: 16px; font-size: 13px; color: var(--txm); max-width: 34ch; line-height: 1.65; }
.foot-col-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--txm); margin-bottom: 14px;
}
.foot-links { display: flex; flex-direction: column; gap: 9px; }
.foot-links a { font-size: 13px; color: var(--txd); }
.foot-links a:hover { color: var(--tx); }
.foot-bottom {
  padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
/* Lives in the footer's brand column, not the bottom bar — that bar is the
   two-element house standard (identity left, copyright right). */
.status-row { display: flex; align-items: center; gap: 7px; margin-top: 16px; }
/* The dot is driven by a real /health probe (the one app path the apex
   marketing guard lets through), so it starts muted and only turns green
   once the platform actually answers. */
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grn); }
.status-dot.muted { background: var(--txm); }
.status-dot.warn { background: var(--amb); }
.status-label { font-size: 10px; font-weight: 700; letter-spacing: 0.9px; color: var(--txm); text-transform: uppercase; }
/* Next313 standard identity footer — "Built in Detroit by [N313] · v… · sha".
   Same shape as FieldVault, Workridge and Adsum; version and sha are filled
   from the /health call marketing.js already makes, and each segment stays
   hidden when unavailable rather than rendering an empty separator. */
/* Next313 identity footer, .app-site variant — typography matched to
   MediaLoft's marketing footer: monospace, 11px, 0.06em tracking, 18px mark.
   A .app site is both marketing and the operating login surface, so the build
   id belongs here (Neil, 2026-08-06). */
.foot-identity {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em; color: var(--txm);
}
.n313-mark { display: inline-flex; line-height: 0; transition: opacity 0.15s; }
.n313-mark:hover { opacity: 0.8; }
.n313-mark img { border-radius: 3px; display: block; width: 18px; height: 18px; }
.identity-meta {
  font-family: inherit; font-size: 11px; letter-spacing: 0.06em; color: var(--txm);
}
/* Separator is a ::before on the segment, so a hidden segment takes its own dot
   with it — VERSION_DISPLAY's "omit, never blank" rule, in CSS. */
.identity-meta::before { content: '· '; }
.foot-legal {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em; color: var(--txm);
}

/* ── 404 ── */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .h-sec { margin: 18px 0 14px; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .phase-track { grid-template-columns: repeat(4, 1fr); row-gap: 26px; }
  .phase-track .phase-step:nth-child(4) .phase-line-row .phase-line:last-child,
  .phase-track .phase-step:nth-child(5) .phase-line-row .phase-line:first-child { background: transparent; }
}

@media (max-width: 760px) {
  :root { --gut: 20px; }
  .head-nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--sur); border-bottom: 1px solid var(--bdr);
    padding: 10px 20px 16px;
  }
  .head-nav.open { display: flex; }
  .head-link { padding: 11px 12px; font-size: 13px; }
  .nav-toggle { display: inline-flex; }
  .head-actions .btn-trial { display: none; }
  .sec { padding: 62px 0; }
  .hero { padding: 62px 0 54px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .split, .split-wide { grid-template-columns: 1fr; gap: 34px; }
  .faq { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .phase-track { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px; }
  .lead { font-size: 16px; }
}
