
:root {
  color-scheme: dark;
  --bg: #060a12;
  --bg2: #0a1120;
  --panel: #0d1626;
  --panel2: #101c31;
  --edge: #16233c;
  --grid: #11203a;
  --ink: #e9eff8;
  --dim: #90a4c4;
  --faint: #7488ab;
  --brand: #f2a93b;
  --brand2: #ffd07a;
  --teal: #3fd0c9;
  --go: #37d39a;
  --wind: #5fb0ff;
  --violet: #b98cff;
  --caution: #f2a93b;
  --nogo: #ff6d6d;
  --ink-dark: #06101c;
  --shadow: 0 24px 80px rgba(0,0,0,0.44);
  --soft-shadow: 0 18px 50px rgba(0,0,0,0.28);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --max: 1180px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  letter-spacing: -0.015em;
  background:
    radial-gradient(circle at 74% 5%, rgba(95,176,255,0.13), transparent 32rem),
    radial-gradient(circle at 14% 18%, rgba(63,208,201,0.11), transparent 26rem),
    linear-gradient(180deg, #08111f 0%, var(--bg) 48%, #05080e 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(17,32,58,0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,32,58,0.38) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.82), transparent 76%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(242,169,59,0.08), transparent 30rem);
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
img, svg { max-width: 100%; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(63,208,201,0.34); color: #fff; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--ink-dark);
  z-index: 99;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(22,35,60,0.78);
  background: rgba(6,10,18,0.74);
  backdrop-filter: blur(18px);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: 1rem; }
.brand-lockup { display: inline-flex; align-items: center; gap: 0.75rem; min-width: max-content; }
.brand-mark { width: 42px; height: 42px; filter: drop-shadow(0 0 18px rgba(63,208,201,0.12)); }
.brand-type { display: flex; flex-direction: column; gap: 0.05rem; }
.brand-name { font-family: var(--mono); letter-spacing: 0.18em; font-size: 0.86rem; font-weight: 900; color: var(--brand); }
.brand-line { font-size: 0.72rem; color: var(--dim); letter-spacing: 0.04em; }
.site-nav { display: flex; align-items: center; gap: 0.25rem; border: 1px solid rgba(22,35,60,0.55); border-radius: 999px; padding: 0.28rem; background: rgba(10,17,32,0.78); }
.site-nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 0.66rem; border-radius: 999px; color: var(--dim); font-size: 0.88rem; font-weight: 760; white-space: nowrap; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--ink); background: rgba(255,255,255,0.045); }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--edge); border-radius: 999px; color: var(--ink); background: rgba(13,22,38,0.8); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: currentColor; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 44px; padding: 0 1.05rem; border: 1px solid var(--edge); border-radius: 999px; color: var(--ink); background: rgba(13,22,38,0.78); font-weight: 820; letter-spacing: -0.01em; cursor: pointer; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-1px); border-color: rgba(63,208,201,0.45); background: rgba(16,28,49,0.94); }
.button-primary { border-color: rgba(242,169,59,0.6); background: linear-gradient(135deg, var(--brand), var(--brand2)); color: var(--ink-dark); box-shadow: 0 14px 34px rgba(242,169,59,0.18); }
.button-primary:hover { background: linear-gradient(135deg, var(--brand2), var(--brand)); color: var(--ink-dark); }
.button-teal { border-color: rgba(63,208,201,0.5); background: rgba(63,208,201,0.11); color: var(--teal); }
.button-sm { min-height: 34px; padding-inline: 0.78rem; font-size: 0.82rem; }
.section { padding: 3rem 0; }
.section-tight { padding: 2rem 0; }
.hero { padding: 2.75rem 0 2.5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(460px, 1.04fr); gap: 3rem; align-items: center; }
.hero-copy { max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 0.85rem; color: var(--teal); font-family: var(--mono); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; box-shadow: 0 0 18px currentColor; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin-bottom: 0.9rem; font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: 0.96; letter-spacing: -0.055em; }
h2 { margin-bottom: 0.75rem; font-size: clamp(1.65rem, 2.6vw, 2.55rem); line-height: 1.02; letter-spacing: -0.045em; }
h3 { font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.04em; }
h4 { margin-bottom: 0.45rem; font-size: 0.95rem; letter-spacing: 0.02em; }
.lead { max-width: 760px; color: var(--dim); font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.55; }
.kicker-copy { color: var(--faint); font-size: 0.92rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.15rem 0 1rem; }
.hero-actions.center { justify-content: center; }
.micro-proof { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 0; list-style: none; }
.micro-proof li, .chip { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 30px; padding: 0.35rem 0.65rem; border: 1px solid rgba(22,35,60,0.86); border-radius: 999px; color: var(--dim); background: rgba(13,22,38,0.66); font-family: var(--mono); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.chip.brand { color: var(--brand); border-color: rgba(242,169,59,0.35); background: rgba(242,169,59,0.08); }
.chip.teal { color: var(--teal); border-color: rgba(63,208,201,0.32); background: rgba(63,208,201,0.08); }
.chip.go { color: var(--go); border-color: rgba(55,211,154,0.3); background: rgba(55,211,154,0.08); }
.chip.wind { color: var(--wind); border-color: rgba(95,176,255,0.32); background: rgba(95,176,255,0.08); }
.chip.violet { color: var(--violet); border-color: rgba(185,140,255,0.32); background: rgba(185,140,255,0.08); }
.chip.neutral { color: var(--faint); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.05rem; }
.section-head p { max-width: 630px; color: var(--dim); margin-bottom: 0; }
.centered { text-align: center; max-width: 880px; margin-inline: auto; }
.centered .lead { margin-inline: auto; }
.card-grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card, .info-tile { position: relative; border: 1px solid rgba(22,35,60,0.92); border-radius: var(--radius-lg); padding: 1rem; background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent), rgba(13,22,38,0.84); box-shadow: var(--soft-shadow); overflow: hidden; }
.card::before, .info-tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(63,208,201,0.5), transparent); opacity: 0.55; }
.card p, .info-tile p { color: var(--dim); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 1rem; border: 1px solid rgba(63,208,201,0.26); border-radius: var(--radius-md); color: var(--teal); background: rgba(63,208,201,0.07); font-family: var(--mono); font-weight: 900; }
.feature-accent-amber .feature-icon { color: var(--brand); border-color: rgba(242,169,59,0.28); background: rgba(242,169,59,0.07); }
.feature-accent-blue .feature-icon { color: var(--wind); border-color: rgba(95,176,255,0.28); background: rgba(95,176,255,0.07); }
.feature-accent-green .feature-icon { color: var(--go); border-color: rgba(55,211,154,0.28); background: rgba(55,211,154,0.07); }
.stats-band { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; border: 1px solid var(--edge); border-radius: var(--radius-lg); overflow: hidden; background: var(--edge); box-shadow: var(--shadow); }
.stat { padding: 0.9rem 1rem; background: rgba(13,22,38,0.92); }
.stat strong { display: block; margin-bottom: 0.2rem; color: var(--ink); font-size: 1.7rem; line-height: 1; letter-spacing: -0.06em; }
.stat span { color: var(--dim); font-size: 0.9rem; }
.hero-media, .visual-card, .figure-shell { position: relative; border: 1px solid rgba(22,35,60,0.96); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); background: rgba(13,22,38,0.82); }
.hero-media img, .visual-card img, .figure-shell img { display: block; width: 100%; height: auto; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 44%, rgba(6,10,18,0.52)); }
.hero-media-caption { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.7rem; padding: 0.9rem 1rem; border: 1px solid rgba(63,208,201,0.24); border-radius: var(--radius-md); background: rgba(6,10,18,0.72); backdrop-filter: blur(14px); }
.hero-media-caption strong { color: var(--ink); }
.hero-media-caption span { color: var(--dim); font-size: 0.9rem; }
.browser-frame { border: 1px solid rgba(22,35,60,0.98); border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(16,28,49,0.92), rgba(6,10,18,0.94)); box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.02) inset; overflow: hidden; }
.browser-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: 0 1.1rem; border-bottom: 1px solid var(--edge); color: var(--faint); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.browser-dots { display: flex; gap: 0.4rem; }
.browser-dots span { width: 9px; height: 9px; border-radius: 999px; background: var(--grid); }
.browser-dots span:nth-child(1) { background: var(--nogo); }
.browser-dots span:nth-child(2) { background: var(--brand); }
.browser-dots span:nth-child(3) { background: var(--go); }
.screen { min-height: 460px; padding: 1rem; background: linear-gradient(90deg, rgba(17,32,58,0.36) 1px, transparent 1px), linear-gradient(rgba(17,32,58,0.28) 1px, transparent 1px), #07101e; background-size: 42px 42px; }
.app-shell { display: grid; grid-template-columns: 116px 1fr; gap: 1rem; min-height: 428px; }
.app-rail { border: 1px solid var(--edge); border-radius: var(--radius-md); padding: 0.75rem; background: rgba(6,10,18,0.48); }
.rail-label { margin-bottom: 0.8rem; color: var(--brand); font-family: var(--mono); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.13em; }
.rail-link { display: flex; align-items: center; min-height: 32px; padding: 0.25rem 0.55rem; border-radius: 0.65rem; color: var(--faint); font-size: 0.76rem; font-weight: 800; }
.rail-link.active { color: var(--ink); background: rgba(242,169,59,0.11); }
.app-main { display: grid; gap: 1rem; }
.mock-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mock-title strong { display: block; font-size: 1.1rem; }
.mock-title span { color: var(--dim); font-size: 0.82rem; }
.mock-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.metric-tile { border: 1px solid var(--edge); border-radius: var(--radius-md); padding: 0.75rem; background: rgba(13,22,38,0.72); }
.metric-tile span { color: var(--faint); font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.09em; }
.metric-tile strong { display: block; margin-top: 0.2rem; font-size: 1.3rem; letter-spacing: -0.04em; }
.ops-board { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0.7rem; }
.ops-col { min-height: 186px; border: 1px solid rgba(22,35,60,0.78); border-radius: var(--radius-md); padding: 0.7rem; background: rgba(6,10,18,0.34); }
.ops-col h4 { display: flex; justify-content: space-between; color: var(--dim); font-family: var(--mono); font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.08em; }
.ops-card { border: 1px solid rgba(22,35,60,0.92); border-left: 3px solid var(--teal); border-radius: var(--radius-sm); padding: 0.7rem; background: rgba(13,22,38,0.96); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.ops-card + .ops-card { margin-top: 0.55rem; }
.ops-card strong { display: block; font-size: 0.82rem; }
.ops-card span { color: var(--faint); font-size: 0.7rem; }
.ops-card.amber { border-left-color: var(--brand); }
.ops-card.green { border-left-color: var(--go); }
.ops-card.blue { border-left-color: var(--wind); }
.progress-line { height: 5px; margin: 0.55rem 0 0.25rem; border-radius: 999px; background: rgba(17,32,58,0.9); overflow: hidden; }
.progress-line i { display: block; height: 100%; width: var(--w, 52%); border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--teal)); }
.mock-lower { display: grid; grid-template-columns: minmax(0,1fr) 230px; gap: 1rem; }
.map-card { position: relative; min-height: 180px; border: 1px solid var(--edge); border-radius: var(--radius-md); overflow: hidden; background: radial-gradient(circle at 30% 40%, rgba(63,208,201,0.3), transparent 34%), radial-gradient(circle at 66% 64%, rgba(95,176,255,0.2), transparent 28%), linear-gradient(135deg, #102a42, #07101e 68%); }
.map-card::before, .map-card::after { content: ""; position: absolute; border: 1px solid rgba(63,208,201,0.45); border-radius: 999px; width: 128px; height: 128px; left: 26%; top: 18%; }
.map-card::after { width: 68px; height: 68px; left: 37%; top: 35%; border-color: rgba(242,169,59,0.55); }
.side-panel { border: 1px solid var(--edge); border-radius: var(--radius-md); padding: 0.85rem; background: rgba(13,22,38,0.76); }
.side-panel h4 { color: var(--teal); font-family: var(--mono); text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.09em; }
.kv { display: flex; justify-content: space-between; gap: 1rem; padding: 0.47rem 0; border-bottom: 1px solid rgba(22,35,60,0.58); color: var(--dim); font-size: 0.78rem; }
.kv strong { color: var(--ink); }
.split { display: grid; grid-template-columns: 0.94fr 1.06fr; gap: 3rem; align-items: center; }
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.bullets { display: grid; gap: 0.75rem; padding: 0; list-style: none; }
.bullets li { position: relative; padding-left: 1.35rem; color: var(--dim); }
.bullets li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 999px; background: var(--teal); box-shadow: 0 0 16px rgba(63,208,201,0.7); }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0.9rem; counter-reset: steps; }
.timeline-step { position: relative; min-height: 168px; padding: 1.15rem; border: 1px solid var(--edge); border-radius: var(--radius-lg); background: rgba(13,22,38,0.78); }
.timeline-step::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 1rem; border: 1px solid rgba(63,208,201,0.32); border-radius: 999px; color: var(--teal); font-family: var(--mono); font-weight: 900; background: rgba(63,208,201,0.06); }
.timeline-step p { margin: 0; color: var(--dim); font-size: 0.94rem; }
.service-strip { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0.8rem; }
.service-mini { padding: 1rem; border: 1px solid var(--edge); border-radius: var(--radius-md); background: rgba(6,10,18,0.38); }
.service-mini strong { display: block; margin-bottom: 0.25rem; }
.service-mini span { color: var(--dim); font-size: 0.88rem; }
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.info-tile { min-height: 148px; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.info-tile:hover, .info-tile:focus-within { transform: translateY(-2px); border-color: rgba(63,208,201,0.45); background: rgba(16,28,49,0.94); }
.info-tile h3 { padding-right: 2.2rem; margin-bottom: 0.6rem; }
.info-tile .chip { margin-bottom: 0.8rem; }
.popover-trigger { position: absolute; top: 1rem; right: 1rem; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid rgba(63,208,201,0.36); border-radius: 999px; color: var(--teal); background: rgba(63,208,201,0.08); font-family: var(--mono); font-weight: 900; cursor: help; }
.popover-trigger:hover, .popover-trigger:focus-visible { border-color: rgba(242,169,59,0.55); color: var(--brand); background: rgba(242,169,59,0.08); }
.popover-panel { position: absolute; z-index: 25; right: 0.8rem; top: 3.3rem; width: min(360px, calc(100vw - 2rem)); padding: 1rem; border: 1px solid rgba(63,208,201,0.38); border-radius: var(--radius-md); color: var(--dim); background: rgba(5,9,17,0.98); box-shadow: var(--shadow); opacity: 0; transform: translateY(-0.35rem) scale(0.98); pointer-events: none; transition: opacity 160ms ease, transform 160ms ease; }
.popover-panel strong { display: block; margin-bottom: 0.25rem; color: var(--ink); }
.popover-panel p { margin: 0; font-size: 0.9rem; }
.info-tile:hover .popover-panel, .info-tile:focus-within .popover-panel, .info-tile.is-open .popover-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.matrix { border: 1px solid var(--edge); border-radius: var(--radius-xl); overflow: hidden; background: rgba(13,22,38,0.84); box-shadow: var(--soft-shadow); }
.matrix-row { display: grid; grid-template-columns: 1.2fr repeat(5, 0.72fr); gap: 1px; background: rgba(22,35,60,0.7); }
.matrix-row > * { padding: 0.85rem 0.9rem; background: rgba(6,10,18,0.42); }
.matrix-row.header > * { color: var(--faint); font-family: var(--mono); font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(5,9,17,0.86); }
.matrix-row strong { color: var(--ink); }
.check { color: var(--teal); font-weight: 900; }
.phone-wrap { display: flex; justify-content: center; }
.phone { width: min(100%, 360px); border: 1px solid rgba(22,35,60,0.96); border-radius: 36px; padding: 0.8rem; background: linear-gradient(180deg, #182239, #060a12); box-shadow: var(--shadow); }
.phone-screen { min-height: 620px; border: 1px solid var(--edge); border-radius: 28px; padding: 1rem; background: linear-gradient(180deg, rgba(13,22,38,0.92), #07101e); overflow: hidden; }
.phone-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(22,35,60,0.86); padding-bottom: 0.9rem; }
.phone-top strong { color: var(--brand); font-family: var(--mono); letter-spacing: 0.13em; font-size: 0.75rem; }
.mobile-stack { display: grid; gap: 0.75rem; margin-top: 1rem; }
.mobile-card { border: 1px solid var(--edge); border-radius: var(--radius-md); padding: 0.9rem; background: rgba(6,10,18,0.42); }
.mobile-card span { display: block; color: var(--faint); font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.09em; }
.mobile-card strong { display: block; margin-top: 0.25rem; }
.operation-tabs { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.25rem; }
.operation-tabs .chip { cursor: default; }
.queue-board { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.queue-list { border: 1px solid var(--edge); border-radius: var(--radius-lg); padding: 1rem; background: rgba(13,22,38,0.8); }
.queue-list h3 { margin-bottom: 1rem; }
.queue-item { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start; padding: 0.85rem 0; border-bottom: 1px solid rgba(22,35,60,0.74); }
.queue-item:last-child { border-bottom: 0; }
.queue-item span { color: var(--dim); font-size: 0.88rem; }
.visual-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.visual-card-body { padding: 1rem; }
.visual-card h3 { margin-bottom: 0.35rem; }
.visual-card p { color: var(--dim); margin-bottom: 0; }
.visual-card .chip { position: absolute; top: 0.85rem; left: 0.85rem; z-index: 2; backdrop-filter: blur(8px); }
.cta-panel { position: relative; overflow: hidden; padding: clamp(1.5rem, 3.2vw, 2.5rem); border: 1px solid rgba(242,169,59,0.32); border-radius: var(--radius-xl); background: radial-gradient(circle at 82% 20%, rgba(242,169,59,0.18), transparent 24rem), radial-gradient(circle at 16% 80%, rgba(63,208,201,0.14), transparent 22rem), rgba(13,22,38,0.9); box-shadow: var(--shadow); }
.cta-panel p { color: var(--dim); max-width: 700px; }
.site-footer { border-top: 1px solid var(--edge); padding: 3rem 0; background: rgba(5,8,14,0.8); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--dim); font-size: 0.92rem; }
.footer-note { color: var(--faint); font-size: 0.85rem; margin-top: 1rem; }
.w-38 { --w: 38%; }
.w-52 { --w: 52%; }
.w-64 { --w: 64%; }
.w-72 { --w: 72%; }
.w-78 { --w: 78%; }
.w-86 { --w: 86%; }
.w-100 { --w: 100%; }
@media (max-width: 1120px) { .site-nav a { padding-inline: 0.48rem; font-size: 0.83rem; } }
@media (max-width: 1050px) {
  .hero-grid, .split, .split.reverse { grid-template-columns: 1fr; }
  .hero { padding-top: 5rem; }
  .hero-visual { max-width: 820px; }
  .grid-4, .info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .matrix-row { grid-template-columns: 1fr; }
  .matrix-row.header { display: none; }
  .visual-grid { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% + 0.5rem); display: none; flex-direction: column; align-items: stretch; border-radius: var(--radius-lg); padding: 0.7rem; }
  .site-nav.is-open { display: flex; }
  .site-nav a { justify-content: center; border-radius: var(--radius-sm); min-height: 42px; }
  .header-actions .button { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .app-shell, .mock-lower { grid-template-columns: 1fr; }
  .app-rail { display: none; }
  .ops-board { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .queue-board { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 1.2rem, var(--max)); }
  .brand-line { display: none; }
  .hero { padding: 4rem 0 3rem; }
  .section { padding: 2.75rem 0; }
  .section-head { display: block; }
  h1 { font-size: clamp(2.1rem, 11vw, 3rem); }
  h2 { font-size: clamp(1.6rem, 7.5vw, 2.2rem); }
  .stats-band, .timeline, .ops-board, .mock-metrics, .info-grid, .service-strip { grid-template-columns: 1fr; }
  .screen { padding: 0.7rem; }
  .phone-screen { min-height: 560px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-media-caption { position: static; border-radius: 0; }
  .popover-panel { left: 0.8rem; right: 0.8rem; width: auto; }
}


/* Tenant-version routing and audience-specific site system */
.selector-page main { min-height: calc(100vh - 76px); }
.selector-hero { padding: 2.5rem 0 2.25rem; }
.selector-shell { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(560px, 1.15fr); gap: 2rem; align-items: start; }
.selector-copy { position: sticky; top: 112px; }
.selector-copy h1 { max-width: 920px; }
.selector-copy .lead { max-width: 760px; }
.profile-toolbar { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.selector-panel { border: 1px solid rgba(22,35,60,0.92); border-radius: var(--radius-xl); padding: 1.1rem; background: radial-gradient(circle at 80% 0%, rgba(63,208,201,0.13), transparent 22rem), rgba(13,22,38,0.86); box-shadow: var(--shadow); }
.selector-panel-head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; padding: 0.8rem 0.8rem 1rem; }
.selector-panel-head p { margin: 0; color: var(--dim); font-size: 0.94rem; }
.tenant-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.8rem; }
.tenant-card { position: relative; min-height: 188px; border: 1px solid rgba(22,35,60,0.92); border-radius: var(--radius-lg); padding: 1.1rem; color: var(--ink); text-align: left; background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent), rgba(6,10,18,0.42); box-shadow: var(--soft-shadow); cursor: pointer; transition: transform 170ms ease, border-color 170ms ease, background 170ms ease; }
.tenant-card:hover, .tenant-card:focus-visible { transform: translateY(-2px); border-color: rgba(63,208,201,0.52); background: rgba(16,28,49,0.92); }
.tenant-card.is-selected { border-color: rgba(242,169,59,0.72); box-shadow: 0 0 0 1px rgba(242,169,59,0.23), var(--soft-shadow); }
.tenant-card.is-selected::after { content: "Selected"; position: absolute; top: 0.9rem; right: 0.9rem; min-height: 26px; display: inline-flex; align-items: center; padding: 0 0.5rem; border: 1px solid rgba(242,169,59,0.42); border-radius: 999px; color: var(--brand); background: rgba(242,169,59,0.08); font-family: var(--mono); font-size: 0.66rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.tenant-card .tenant-code { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 0.85rem; border: 1px solid rgba(63,208,201,0.26); border-radius: var(--radius-md); color: var(--teal); background: rgba(63,208,201,0.08); font-family: var(--mono); font-weight: 900; }
.tenant-card h3 { margin-bottom: 0.45rem; padding-right: 4.6rem; }
.tenant-card p { color: var(--dim); margin: 0 0 0.8rem; }
.tenant-card ul { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; list-style: none; }
.tenant-card li { border: 1px solid rgba(22,35,60,0.86); border-radius: 999px; padding: 0.24rem 0.45rem; color: var(--faint); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.selector-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 1rem 0.8rem 0.2rem; }
.selector-actions .status { color: var(--dim); font-size: 0.9rem; }
.button[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.button[disabled]:hover { transform: none; }
.profile-pill { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 36px; padding: 0 0.75rem; border: 1px solid rgba(63,208,201,0.34); border-radius: 999px; color: var(--teal); background: rgba(63,208,201,0.07); font-family: var(--mono); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.profile-pill::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; box-shadow: 0 0 18px currentColor; }
.route-note { margin-top: 1.2rem; padding: 1rem; border: 1px solid rgba(22,35,60,0.84); border-radius: var(--radius-md); background: rgba(6,10,18,0.38); color: var(--dim); font-size: 0.94rem; }
.version-ribbon { border-bottom: 1px solid rgba(22,35,60,0.78); background: rgba(10,17,32,0.78); }
.version-ribbon .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
.version-ribbon span { color: var(--dim); font-size: 0.85rem; }
.version-ribbon strong { color: var(--brand); }
.version-ribbon a { color: var(--teal); font-size: 0.85rem; font-weight: 800; }
.persona-hero { padding: 2.5rem 0 2.25rem; }
.persona-hero .hero-grid { grid-template-columns: minmax(0,0.95fr) minmax(480px,1.05fr); }
.persona-summary { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.8rem; margin-top: 1.4rem; }
.persona-summary .summary-item { border: 1px solid rgba(22,35,60,0.86); border-radius: var(--radius-md); padding: 0.9rem; background: rgba(13,22,38,0.62); }
.summary-item span { display: block; color: var(--faint); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; }
.summary-item strong { display: block; margin-top: 0.2rem; color: var(--ink); }
.version-index { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 1rem; }
.version-menu { display: grid; gap: 0.6rem; }
.version-menu a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0.75rem 0.9rem; border: 1px solid rgba(22,35,60,0.86); border-radius: var(--radius-md); color: var(--dim); background: rgba(13,22,38,0.7); font-weight: 800; }
.version-menu a:hover, .version-menu a[aria-current="page"] { color: var(--ink); border-color: rgba(63,208,201,0.42); background: rgba(16,28,49,0.92); }
.version-menu a[aria-current="page"]::after { content: "Active"; color: var(--teal); font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.board-titlebar { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1rem; }
.board-titlebar p { color: var(--dim); margin: 0; }
.role-dashboard { border: 1px solid rgba(22,35,60,0.98); border-radius: var(--radius-xl); background: rgba(13,22,38,0.84); box-shadow: var(--shadow); overflow: hidden; }
.role-dashboard-inner { padding: 1rem; }
.role-metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0.75rem; margin-bottom: 0.8rem; }
.role-metric { border: 1px solid rgba(22,35,60,0.82); border-radius: var(--radius-md); padding: 0.85rem; background: rgba(6,10,18,0.38); }
.role-metric span { display: block; color: var(--faint); font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.role-metric strong { display: block; margin-top: 0.25rem; font-size: 1.65rem; letter-spacing: -0.05em; }
.role-board { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0.75rem; }
.role-column { min-height: 190px; border: 1px solid rgba(22,35,60,0.82); border-radius: var(--radius-md); padding: 0.75rem; background: rgba(6,10,18,0.34); }
.role-column h4 { display: flex; justify-content: space-between; align-items: center; color: var(--teal); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; }
.role-ticket { margin-top: 0.6rem; padding: 0.72rem; border: 1px solid rgba(22,35,60,0.7); border-radius: 0.9rem; background: rgba(16,28,49,0.75); }
.role-ticket strong { display: block; font-size: 0.9rem; }
.role-ticket span { display: block; margin-top: 0.2rem; color: var(--dim); font-size: 0.78rem; }
.role-ticket.amber { border-color: rgba(242,169,59,0.26); }
.role-ticket.teal { border-color: rgba(63,208,201,0.26); }
.role-ticket.green { border-color: rgba(55,211,154,0.26); }
.role-ticket.blue { border-color: rgba(95,176,255,0.26); }
.intent-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.intent-card { border: 1px solid rgba(22,35,60,0.9); border-radius: var(--radius-lg); padding: 1.05rem; background: rgba(13,22,38,0.82); }
.intent-card span { color: var(--brand); font-family: var(--mono); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.intent-card p { color: var(--dim); }
.switch-profile-link { border-color: rgba(63,208,201,0.34); color: var(--teal); }
.redirect-message { margin-top: 1rem; color: var(--dim); }
.hide-until-ready { display: none; }
.page-kicker { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.3rem; }
@media (max-width: 1180px) {
  .selector-shell, .persona-hero .hero-grid { grid-template-columns: 1fr; }
  .selector-copy { position: static; }
  .tenant-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .role-board, .role-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .version-index, .intent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .selector-hero, .persona-hero { padding: 4rem 0 3rem; }
  .tenant-card-grid, .persona-summary, .role-board, .role-metrics { grid-template-columns: 1fr; }
  .selector-panel-head, .selector-actions, .version-ribbon .container { display: block; }
  .selector-actions .button { width: 100%; margin-top: 0.6rem; }
  .tenant-card h3 { padding-right: 0; }
  .tenant-card.is-selected::after { position: static; margin-bottom: 0.7rem; }
}

/* Keyboard focus: a single visible ring on all interactive controls (a11y round 2). */
:where(a, button, [tabindex], input, select, textarea):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: inherit;
}

/* Respect reduced-motion: neutralize transitions, transforms-on-hover, and smooth scroll. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Homepage: nav flyout + module configurator ── */
.nav-fly-wrap { position: relative; }
.nav-fly-btn { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 38px; padding: 0 0.66rem; border: 0; border-radius: 999px; color: var(--dim); background: transparent; font: inherit; font-size: 0.88rem; font-weight: 760; cursor: pointer; white-space: nowrap; }
.nav-fly-btn:hover, .nav-fly-btn[aria-expanded="true"] { color: var(--ink); background: rgba(255,255,255,0.045); }
.nav-fly-btn i { font-style: normal; font-size: 0.7rem; color: var(--teal); }
.nav-fly { position: absolute; top: calc(100% + 0.9rem); left: 50%; transform: translateX(-50%); z-index: 60; width: min(560px, 92vw); padding: 0.9rem; border: 1px solid rgba(22,35,60,0.95); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%), rgba(8,14,26,0.97); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; backdrop-filter: blur(18px); }
.nav-fly-hd { grid-column: 1 / -1; padding: 0.1rem 0.4rem 0.55rem; color: var(--faint); font-family: var(--mono); font-size: 0.66rem; font-weight: 900; letter-spacing: 0.16em; }
.nav-fly a { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.6rem; border-radius: var(--radius-sm); color: var(--dim); font-size: 0.88rem; font-weight: 700; }
.nav-fly a:hover { color: var(--ink); background: rgba(255,255,255,0.05); }
.nav-fly a b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(63,208,201,0.35); border-radius: 9px; color: var(--teal); background: rgba(63,208,201,0.07); font-family: var(--mono); font-size: 0.68rem; }

.home-hero { padding: 2.5rem 0 2.25rem; }

.mod-shell { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 1rem; align-items: start; }
.mod-rail { display: flex; flex-direction: column; gap: 0.4rem; position: sticky; top: 92px; }
.mod-tab { display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.7rem; border: 1px solid rgba(22,35,60,0.9); border-radius: var(--radius-md); background: rgba(13,22,38,0.6); color: var(--dim); font: inherit; font-size: 0.9rem; font-weight: 740; text-align: left; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.mod-tab:hover { transform: translateX(2px); border-color: rgba(63,208,201,0.4); color: var(--ink); }
.mod-tab.on { border-color: rgba(242,169,59,0.55); background: rgba(242,169,59,0.07); color: var(--ink); }
.mod-code { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(63,208,201,0.35); border-radius: 10px; color: var(--teal); background: rgba(63,208,201,0.07); font-family: var(--mono); font-size: 0.7rem; font-weight: 900; }
.mod-tab.on .mod-code { border-color: rgba(242,169,59,0.5); color: var(--brand); background: rgba(242,169,59,0.09); }

.mod-panel { border: 1px solid rgba(22,35,60,0.92); border-radius: var(--radius-lg); padding: 1.1rem; background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 50%), rgba(13,22,38,0.8); box-shadow: var(--soft-shadow); }
.mod-panel-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.9rem; }
.mod-panel-label { display: block; color: var(--ink); font-size: 1.15rem; font-weight: 820; letter-spacing: -0.03em; }
.mod-panel-aud { display: block; margin-top: 0.15rem; color: var(--faint); font-size: 0.82rem; }
.mod-count { flex: none; color: var(--teal); font-family: var(--mono); font-size: 0.68rem; font-weight: 900; letter-spacing: 0.14em; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 0.6rem; opacity: 1; transform: translateY(0); transition: opacity 220ms ease, transform 220ms ease; }
.mod-grid.swap { opacity: 0; transform: translateY(6px); transition: none; }
.mod-card { border: 1px solid rgba(22,35,60,0.85); border-radius: var(--radius-md); padding: 0.8rem 0.85rem; background: rgba(6,10,18,0.45); }
.mod-card .chip { margin-bottom: 0.55rem; }
.mod-card h3 { margin: 0 0 0.3rem; font-size: 0.98rem; letter-spacing: -0.02em; }
.mod-card p { margin: 0; color: var(--faint); font-size: 0.82rem; line-height: 1.45; }
.mod-panel-ft { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; padding-top: 0.95rem; border-top: 1px solid rgba(22,35,60,0.8); }

.split { display: grid; grid-template-columns: minmax(0,0.95fr) minmax(0,1.05fr); gap: 2.2rem; align-items: center; }

@media (max-width: 900px) {
  .mod-shell { grid-template-columns: 1fr; }
  .mod-rail { position: static; flex-direction: row; flex-wrap: wrap; overflow-x: visible; padding-bottom: 0.3rem; }
  .mod-tab { flex: 0 1 auto; }
  .nav-fly { position: fixed; left: 1rem; right: 1rem; top: 76px; transform: none; width: auto; }
  .split { grid-template-columns: 1fr; }
}

/* ── Plans & pricing ── */
.price-grid .card { display: flex; flex-direction: column; }
.price-card h3 { margin-bottom: 0.4rem; padding-right: 6rem; }
.price-card .plan-badge { position: absolute; top: 1rem; right: 1rem; margin: 0; }
.price-figure { display: flex; align-items: baseline; gap: 0.4rem; margin: 0 0 0.5rem; color: var(--ink); }
.price-figure strong { font-size: 1.9rem; letter-spacing: -0.05em; }
.price-from { color: var(--faint); font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; }
.price-unit { color: var(--dim); font-size: 0.85rem; }
.price-note { min-height: 2.6em; color: var(--dim); font-size: 0.9rem; }
.price-includes { margin: 0 0 1rem; flex: 1; }
.price-includes li { font-size: 0.88rem; }
.price-card .button { margin-top: auto; justify-content: center; }
.price-card.price-primary { border-color: rgba(242,169,59,0.55); box-shadow: 0 0 0 1px rgba(242,169,59,0.2), var(--soft-shadow); }
.mod-price-top { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; }
.mod-price-top .chip { margin-bottom: 0; }
.mod-price { color: var(--brand); font-family: var(--mono); font-weight: 900; white-space: nowrap; }
.mod-price i { font-style: normal; color: var(--faint); font-size: 0.72rem; }
@media (max-width: 1120px) { .price-grid.grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .price-card h3 { padding-right: 0; } .price-card .plan-badge { position: static; margin-bottom: 0.6rem; align-self: flex-start; } }
@media (max-width: 640px) { .price-grid.grid-4, .price-grid.grid-3 { grid-template-columns: 1fr; } }

/* ── Intake wizard ── */
.wiz { display: grid; grid-template-columns: 250px minmax(0,1fr) 290px; gap: 1rem; align-items: start; }
.wiz-rail { display: flex; flex-direction: column; gap: 0.4rem; position: sticky; top: 92px; }
.wiz-step { display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.7rem; border: 1px solid rgba(22,35,60,0.9); border-radius: var(--radius-md); background: rgba(13,22,38,0.6); color: var(--dim); font-size: 0.9rem; font-weight: 740; }
.wiz-step .mod-code { width: 30px; height: 30px; }
.wiz-step.on { border-color: rgba(242,169,59,0.55); background: rgba(242,169,59,0.07); color: var(--ink); }
.wiz-step.done { color: var(--go); border-color: rgba(55,211,154,0.3); }
.wiz-panel { border: 1px solid rgba(22,35,60,0.92); border-radius: var(--radius-lg); padding: 1.2rem; background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 50%), rgba(13,22,38,0.8); box-shadow: var(--soft-shadow); }
.wiz-panel h2 { font-size: 1.45rem; }
.wiz-side { position: sticky; top: 92px; border: 1px solid rgba(22,35,60,0.92); border-radius: var(--radius-lg); padding: 1rem; background: rgba(13,22,38,0.8); box-shadow: var(--soft-shadow); }
.wiz-side h4 { color: var(--teal); font-family: var(--mono); text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.09em; }
.wiz-actions { display: flex; justify-content: space-between; gap: 0.8rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(22,35,60,0.8); }
.wiz-field { display: grid; gap: 0.3rem; margin-bottom: 0.85rem; }
.wiz-field span { color: var(--dim); font-size: 0.85rem; font-weight: 700; }
.wiz-field input, .wiz-field select, .wiz-field textarea { min-height: 44px; padding: 0.5rem 0.75rem; border: 1px solid var(--edge); border-radius: var(--radius-sm); color: var(--ink); background: rgba(6,10,18,0.6); }
.wiz-field textarea { min-height: 90px; resize: vertical; }
.wiz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.wiz-check { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.6rem 0.7rem; border: 1px solid rgba(22,35,60,0.85); border-radius: var(--radius-md); background: rgba(6,10,18,0.42); cursor: pointer; }
.wiz-check input { margin-top: 0.2rem; accent-color: var(--brand); }
.wiz-check b { display: block; font-size: 0.92rem; }
.wiz-check i { font-style: normal; color: var(--brand); font-family: var(--mono); font-size: 0.78rem; font-weight: 900; }
.wiz-check span.sub { display: block; color: var(--faint); font-size: 0.78rem; }
.wiz-check.locked { opacity: 0.75; }
.wiz-mods { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; margin: 0.6rem 0 0.9rem; }
.wiz-mods.one { grid-template-columns: 1fr; }
.wiz-banner { margin: 0.9rem 0 0; padding: 0.85rem 1rem; border: 1px solid rgba(242,169,59,0.4); border-radius: var(--radius-md); background: rgba(242,169,59,0.08); color: var(--brand2); font-size: 0.92rem; }
.wiz-banner.enterprise { border-color: rgba(185,140,255,0.45); background: rgba(185,140,255,0.09); color: var(--violet); }
.wiz-est-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid rgba(22,35,60,0.58); color: var(--dim); font-size: 0.85rem; }
.wiz-est-row strong { color: var(--ink); }
.wiz-est-tier { display: inline-flex; margin-top: 0.7rem; }
.wiz-review dt { color: var(--faint); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.09em; text-transform: uppercase; margin-top: 0.8rem; }
.wiz-review dd { margin: 0.15rem 0 0; color: var(--ink); }
.wiz-hp { position: absolute; left: -6000px; top: -6000px; height: 1px; width: 1px; overflow: hidden; }
.wiz-ok { text-align: center; padding: 1.5rem 1rem; }
.wiz-ok .mod-code { width: 52px; height: 52px; margin: 0 auto 1rem; font-size: 1.3rem; color: var(--go); border-color: rgba(55,211,154,0.4); background: rgba(55,211,154,0.08); }
.wiz-tenants { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
@media (max-width: 1180px) { .wiz { grid-template-columns: 1fr; } .wiz-rail { position: static; flex-direction: row; flex-wrap: wrap; } .wiz-side { position: static; } }
@media (max-width: 640px) { .wiz-tenants, .wiz-mods, .wiz-row { grid-template-columns: 1fr; } }

/* ── Plans v2: operating-model detail tables (Vessel/Agency/Fleet/Network breakdown) ──
   Mobile-first: base .matrix-row already collapses to 1fr under 1050px (existing rule),
   so these only need to declare their wider layout inside a matching min-width query —
   keeps this additive without touching cascade order of the existing 6-col matrix. */
.ladder-cta { margin-top: 1.2rem; }
.micro-proof.center { justify-content: center; }

/* ── Fat footer / public sitemap ── */
.footer-brandblock { margin-bottom: 1.7rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem 2rem; margin-bottom: 1.6rem; }
.footer-col h4 { margin-bottom: 0.75rem; color: var(--faint); font-family: var(--mono); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-col a { display: block; padding: 0.28rem 0; color: var(--dim); font-size: 0.9rem; }
.footer-col a:hover { color: var(--ink); }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer-cols { grid-template-columns: 1fr; } }
.pricing-block + .pricing-block { margin-top: 2rem; }
.pricing-block-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; margin-bottom: 0.7rem; }
.pricing-block-head h3 { margin: 0; }
.matrix-note { margin: 0.7rem 0 0; color: var(--faint); font-size: 0.88rem; }
@media (min-width: 1051px) {
  .matrix-row.cols-4 { grid-template-columns: 0.95fr 0.85fr 1.15fr 1.75fr; }
  .matrix-row.cols-2 { grid-template-columns: 1.6fr 1fr; }
}


/* ════════════════════════════════════════════════════════════════════════════
   CINEMATIC REDESIGN v3 — "One operating core. Eight command decks."
   Append-only re-skin: deep-navy / champagne / harbor-green editorial system.
   Re-tokenizes the existing component vocabulary so the whole site inherits it,
   then adds the flagship components (Command Core, command decks, metric strip).
   ════════════════════════════════════════════════════════════════════════════ */
:root {
  /* Cinematic palette (design tokens) */
  --color-navy-950: #04070e;
  --color-navy-900: #0a1322;
  --color-charcoal: #0c1420;
  --color-ink: #eef1f7;
  --color-fog: #a6b4ca;
  --color-offwhite: #f5f2ea;
  --color-champagne: #e4c78d;
  --color-champagne-2: #f2ddb0;
  --color-steel: #6f819f;
  --color-harbor-green: #5cc39a;
  --color-amber: #e2a959;
  --color-exception: #d5776f;
  /* Re-map the legacy variables the components already use */
  --bg: #05080f;
  --bg2: #0a1220;
  --panel: #0c1524;
  --panel2: #0f1a2c;
  --edge: #1b2841;
  --grid: #142139;
  --ink: #eef1f7;
  --dim: #aab7cc;
  --faint: #8293ac;
  --brand: #e4c78d;
  --brand2: #f2ddb0;
  --teal: #7bb7a6;
  --go: #5cc39a;
  --wind: #86aada;
  --violet: #b7a0e0;
  --caution: #e2a959;
  --nogo: #d5776f;
  --ink-dark: #0a1120;
  --shadow: 0 34px 90px rgba(0,0,0,0.55);
  --soft-shadow: 0 20px 56px rgba(0,0,0,0.34);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --nav-height: 68px;
}
/* Cinematic blue-hour backdrop + film grain (self-contained, CSP-safe) */
body {
  background:
    radial-gradient(1200px 620px at 78% -8%, rgba(134,170,218,0.16), transparent 60%),
    radial-gradient(1000px 560px at 12% 6%, rgba(228,199,141,0.09), transparent 58%),
    radial-gradient(1400px 900px at 50% 116%, rgba(92,195,154,0.08), transparent 60%),
    linear-gradient(178deg, #071019 0%, var(--bg) 46%, #04070d 100%);
}
body::before {
  background-image:
    linear-gradient(rgba(27,40,65,0.40) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,40,65,0.32) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 70%);
}
/* grain layer */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.015) 0, transparent 0.2%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.012) 0, transparent 0.2%),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.01) 0, transparent 0.2%);
}

/* Editorial serif for major headlines; sans stays for UI + body */
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; }
h1 { line-height: 1.02; }
h2 { line-height: 1.06; }
.hero h1 { color: var(--color-offwhite); }
.eyebrow { color: var(--brand); letter-spacing: 0.22em; }

/* Glass nav over cinematic imagery */
.site-header { background: rgba(5,8,15,0.62); border-bottom: 1px solid rgba(27,40,65,0.7); backdrop-filter: blur(22px) saturate(1.2); }
.nav-shell { min-height: var(--nav-height); }
.brand-name { color: var(--brand); }
.site-nav { background: rgba(9,16,28,0.7); border-color: rgba(27,40,65,0.7); }
.site-nav a[aria-current="page"], .site-nav a:hover { background: rgba(228,199,141,0.1); color: var(--color-offwhite); }

/* Champagne primary buttons */
.button-primary { border-color: rgba(228,199,141,0.6); background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #1c1608; box-shadow: 0 16px 40px rgba(228,199,141,0.16); }
.button-primary:hover { background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #1c1608; }
.button:hover { border-color: rgba(228,199,141,0.42); }
.chip.brand { color: var(--brand); border-color: rgba(228,199,141,0.34); background: rgba(228,199,141,0.08); }

/* Card / tile cinematic treatment */
.card, .info-tile { background: linear-gradient(180deg, rgba(255,255,255,0.028), transparent 42%), rgba(12,21,36,0.82); border-color: rgba(27,40,65,0.9); }
.card::before, .info-tile::before { background: linear-gradient(90deg, transparent, rgba(228,199,141,0.5), transparent); }
.info-tile:hover, .info-tile:focus-within, .card:hover { border-color: rgba(228,199,141,0.4); box-shadow: var(--soft-shadow); }

/* ── Hero: MERIDIAN Command Core panel ── */
.hero { padding: 3.25rem 0 2.75rem; }
.cmd-core { position: relative; border: 1px solid rgba(27,40,65,0.98); border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(180deg, rgba(16,27,46,0.92), rgba(6,11,20,0.96)); box-shadow: var(--shadow); }
.cmd-core-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--edge); background: rgba(6,11,20,0.6); }
.cmd-core-bar .lbl { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--color-offwhite); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; }
.cmd-core-bar .lbl::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--go); box-shadow: 0 0 14px var(--go); }
.cmd-core-bar .meta { color: var(--faint); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.cmd-core-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--edge); }
.cmd-cell { padding: 0.9rem 0.95rem; background: rgba(10,18,32,0.92); position: relative; }
.cmd-cell .n { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--color-offwhite); letter-spacing: -0.02em; }
.cmd-cell .k { display: block; margin-top: 0.4rem; color: var(--fog); font-size: 0.76rem; }
.cmd-cell .s { position: absolute; top: 0.9rem; right: 0.95rem; width: 7px; height: 7px; border-radius: 999px; background: var(--steel); }
.cmd-cell .s.go { background: var(--go); box-shadow: 0 0 10px rgba(92,195,154,0.7); }
.cmd-cell .s.amber { background: var(--amber); box-shadow: 0 0 10px rgba(226,169,89,0.6); }
.cmd-cell .s.wind { background: var(--wind); }
.cmd-core-foot { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.8rem 1.1rem; border-top: 1px solid var(--edge); background: rgba(6,11,20,0.5); }
.cmd-tag { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.28rem 0.6rem; border: 1px solid var(--edge); border-radius: 999px; color: var(--fog); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; }
.cmd-tag i { font-style: normal; width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }

/* ── Metric / capability strip ── */
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--edge); border-radius: var(--radius-lg); overflow: hidden; background: var(--edge); box-shadow: var(--soft-shadow); }
.metric-strip .m { padding: 1.2rem 1.25rem; background: rgba(12,21,36,0.92); }
.metric-strip .m strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--color-offwhite); letter-spacing: -0.03em; }
.metric-strip .m span { display: block; margin-top: 0.45rem; color: var(--fog); font-size: 0.9rem; }

/* ── Audience-weighted command decks ── */
.deck-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.audience-tier-label { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; padding-top: 0.2rem; }
.audience-tier-label span { color: var(--brand); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.audience-tier-label strong { color: var(--fog); font-size: 0.9rem; font-weight: 600; }
.audience-tier-label.supporting { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--edge); }
.deck-grid.supporting .deck-card { background: rgba(9,16,28,0.72); box-shadow: none; }
.deck-grid.supporting .deck-card::before { opacity: 0.24; }
.tenant-card-grid.supporting .tenant-card { background: rgba(9,16,28,0.7); box-shadow: none; }
.selector-panel .audience-tier-label { margin-top: 1.2rem; }
.deck-card { position: relative; display: flex; flex-direction: column; border: 1px solid rgba(27,40,65,0.92); border-radius: var(--radius-lg);
  padding: 1.15rem; background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%), rgba(11,19,33,0.9); box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; overflow: hidden; }
.deck-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(228,199,141,0.55), transparent); opacity: 0.6; }
.deck-card:hover, .deck-card:focus-within { transform: translateY(-3px); border-color: rgba(228,199,141,0.45); background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 40%), rgba(15,25,42,0.94); }
.deck-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.deck-code { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(228,199,141,0.32); border-radius: 11px; color: var(--brand); background: rgba(228,199,141,0.07); font-family: var(--mono); font-weight: 800; font-size: 0.82rem; }
.deck-aud { color: var(--faint); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; }
.deck-card h3 { font-size: 1.06rem; line-height: 1.2; margin: 0.1rem 0 0.5rem; letter-spacing: -0.02em; }
.deck-card .deck-val { color: var(--dim); font-size: 0.9rem; margin: 0 0 0.8rem; }
.deck-caps { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.9rem; padding: 0; list-style: none; }
.deck-caps li { border: 1px solid rgba(27,40,65,0.9); border-radius: 999px; padding: 0.24rem 0.5rem; color: var(--fog); font-size: 0.72rem; }
.deck-mini { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; margin: 0 0 0.95rem; }
.deck-mini span { height: 26px; border-radius: 5px; background: rgba(20,33,57,0.9); border: 1px solid rgba(27,40,65,0.8); position: relative; overflow: hidden; }
.deck-mini span::after { content: ""; position: absolute; left: 5px; right: 5px; bottom: 5px; height: var(--h, 40%); border-radius: 3px; background: linear-gradient(180deg, rgba(228,199,141,0.7), rgba(228,199,141,0.25)); }
.deck-mini span:nth-child(2)::after { background: linear-gradient(180deg, rgba(92,195,154,0.7), rgba(92,195,154,0.2)); }
.deck-mini span:nth-child(3)::after { background: linear-gradient(180deg, rgba(134,170,218,0.7), rgba(134,170,218,0.2)); }
.deck-mini span:nth-child(1)::after { height: 52%; }
.deck-mini span:nth-child(2)::after { height: 78%; }
.deck-mini span:nth-child(3)::after { height: 40%; }
.deck-mini span:nth-child(4)::after { height: 64%; }
.deck-card .deck-cta { margin-top: auto; color: var(--brand); font-weight: 800; font-size: 0.88rem; }
.deck-card .deck-cta::after { content: " →"; }

/* Section rhythm: calmer, more editorial whitespace on marketing pages */
.section { padding: 3.75rem 0; }
.section-head h2 { max-width: 18ch; }
.lead { color: var(--fog); }

@media (max-width: 1050px) { .cmd-core-grid { grid-template-columns: repeat(2,1fr); } .deck-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .metric-strip { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .cmd-core-grid { grid-template-columns: 1fr 1fr; } .deck-grid, .metric-strip { grid-template-columns: 1fr; } .audience-tier-label { display: block; } .audience-tier-label strong { display: block; margin-top: 0.35rem; } .hero { padding-top: 4.5rem; } }

/* Restrained motion — reveal on load; respects prefers-reduced-motion via the existing block */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 640ms cubic-bezier(.2,.6,.2,1), transform 640ms cubic-bezier(.2,.6,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .cmd-cell .s.go, .cmd-core-bar .lbl::before { animation: corePulse 3.2s ease-in-out infinite; }
  @keyframes corePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }
}


/* ════════════════════════════════════════════════════════════════════════════
   REDESIGN v4 — cinematic imagery + typographic direction (from the agency-scale
   asset pack). Self-hosted Space Grotesk (display/UI) + IBM Plex Mono (data),
   the .cinematic-figure drop-in treatment, and a full-bleed hero backdrop.
   Images are atmospheric support; essential UI text stays real HTML.
   ════════════════════════════════════════════════════════════════════════════ */
@font-face { font-family:'Space Grotesk'; src:url('../assets/fonts/space-grotesk-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Space Grotesk'; src:url('../assets/fonts/space-grotesk-600.woff2') format('woff2'); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:'Space Grotesk'; src:url('../assets/fonts/space-grotesk-700.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'IBM Plex Mono'; src:url('../assets/fonts/ibm-plex-mono-400.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'IBM Plex Mono'; src:url('../assets/fonts/ibm-plex-mono-500.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }

:root {
  --font-display: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --color-command-blue: #7397eb;
  --color-harbor-teal: #5fb0b9;
  --border-soft: rgba(126,148,168,.24);
  --wind: #7397eb;
}
/* Space Grotesk display for headlines — technical/command register (overrides v3 serif) */
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.022em; }
h1 { line-height: 1.0; }
.cmd-cell .n, .metric-strip .m strong, .exec-stat b { font-family: var(--font-display); }

/* ── Cinematic figure: drop-in photography plate (crops the reference label via top anchor) ── */
.cinematic-figure { position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft); box-shadow: var(--soft-shadow); aspect-ratio: 2.55 / 1;
  background: linear-gradient(180deg, var(--panel2), var(--bg)); }
.cinematic-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: saturate(.9) contrast(1.07); }
.cinematic-figure::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,11,20,.55), rgba(5,11,20,.06) 55%, rgba(5,11,20,.4)),
    radial-gradient(circle at 18% 82%, rgba(115,151,235,.14), transparent 38%); }
.cinematic-figure.tall { aspect-ratio: 16 / 9; }
.cinematic-figure .cap { position: absolute; left: 1rem; bottom: 0.9rem; z-index: 2; display: flex; gap: 0.6rem; align-items: center;
  padding: 0.5rem 0.8rem; border: 1px solid var(--border-soft); border-radius: 999px; background: rgba(5,11,20,.6); backdrop-filter: blur(12px);
  color: var(--fog); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.cinematic-figure .cap i { font-style: normal; width: 7px; height: 7px; border-radius: 999px; background: var(--go); box-shadow: 0 0 10px var(--go); }
@media (prefers-reduced-motion: no-preference) {
  .cinematic-figure img { transition: transform 900ms ease, filter 320ms ease; }
  .cinematic-figure:hover img { transform: scale(1.03); filter: saturate(.98) contrast(1.11); }
}

/* ── Homepage cinematic hero backdrop ── */
.home-hero { position: relative; isolation: isolate; }
.home-hero .hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.home-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0.42; filter: saturate(.85) contrast(1.05); }
.home-hero .hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,15,.72), rgba(5,8,15,.66) 46%, var(--bg) 96%),
    radial-gradient(1000px 600px at 82% 8%, rgba(115,151,235,.12), transparent 60%); }

/* deck cards get a faint per-role image seam via the mini bar area (kept subtle) */
.section-figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 760px) { .section-figures { grid-template-columns: 1fr; } }

/* Cinematic hero backdrop generalized to profile (persona) heroes */
.persona-hero { position: relative; isolation: isolate; }
.persona-hero .hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.persona-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: 0.22; filter: saturate(.82) contrast(1.04); }
.persona-hero .hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,8,15,.86), rgba(5,8,15,.78) 46%, var(--bg) 96%),
    radial-gradient(900px 520px at 84% 6%, rgba(115,151,235,.1), transparent 60%); }

/* profiles.html deck cards — replaces CSP-blocked inline styles (style-src 'self', no unsafe-inline) */
.deck-card { scroll-margin-top: 96px; }
.deck-card > .lead { font-size: 1.02rem; }
.deck-card .section-head { margin: 0.6rem 0 0.4rem; }
.deck-card .micro-proof { margin: 0.6rem 0 0.9rem; }


/* ── FAQ accordion (CSP-safe: native details/summary, no JS, no inline style) ── */
.faq { display: grid; gap: 0.6rem; }
.faq details { border: 1px solid var(--edge); border-radius: var(--radius-md); background: rgba(13,22,38,0.7); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 0.95rem 1.1rem; font-family: var(--font-display); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-family: var(--mono); font-size: 1.15rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--teal); }
.faq .faq-a { padding: 0 1.1rem 1.05rem; color: var(--dim); }
.faq .faq-a p { margin: 0; }

/* ── "What you can see / what stays private" reassurance split ── */
.perm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.perm-split .perm-col { border: 1px solid var(--edge); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; background: rgba(13,22,38,0.7); }
.perm-split .perm-col.you { border-color: rgba(63,208,201,0.32); }
.perm-split .perm-col h4 { margin-bottom: 0.7rem; }
@media (max-width: 700px) { .perm-split { grid-template-columns: 1fr; } }

/* ============================================================================
   REDESIGN v5 — completion polish pass (2026-07-14)
   Append-only overrides finishing the v5 management-led reposition. Each rule
   here fixes a specific defect found in review; originals above are untouched.
   ============================================================================ */

/* Deck-mini ornament repeated the same 52/78/40/64 bars on all 8 home cards.
   Give each of the 8 (4 primary + 4 supporting) a distinct bar profile. */
.deck-grid:not(.supporting) > .deck-card:nth-child(1) .deck-mini span:nth-child(1)::after { height: 62%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(1) .deck-mini span:nth-child(2)::after { height: 84%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(1) .deck-mini span:nth-child(3)::after { height: 46%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(1) .deck-mini span:nth-child(4)::after { height: 70%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(2) .deck-mini span:nth-child(1)::after { height: 48%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(2) .deck-mini span:nth-child(2)::after { height: 66%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(2) .deck-mini span:nth-child(3)::after { height: 88%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(2) .deck-mini span:nth-child(4)::after { height: 54%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(3) .deck-mini span:nth-child(1)::after { height: 74%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(3) .deck-mini span:nth-child(2)::after { height: 52%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(3) .deck-mini span:nth-child(3)::after { height: 60%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(3) .deck-mini span:nth-child(4)::after { height: 90%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(4) .deck-mini span:nth-child(1)::after { height: 56%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(4) .deck-mini span:nth-child(2)::after { height: 80%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(4) .deck-mini span:nth-child(3)::after { height: 44%; }
.deck-grid:not(.supporting) > .deck-card:nth-child(4) .deck-mini span:nth-child(4)::after { height: 68%; }
.deck-grid.supporting > .deck-card:nth-child(1) .deck-mini span:nth-child(1)::after { height: 40%; }
.deck-grid.supporting > .deck-card:nth-child(1) .deck-mini span:nth-child(2)::after { height: 72%; }
.deck-grid.supporting > .deck-card:nth-child(1) .deck-mini span:nth-child(3)::after { height: 58%; }
.deck-grid.supporting > .deck-card:nth-child(1) .deck-mini span:nth-child(4)::after { height: 82%; }
.deck-grid.supporting > .deck-card:nth-child(2) .deck-mini span:nth-child(1)::after { height: 66%; }
.deck-grid.supporting > .deck-card:nth-child(2) .deck-mini span:nth-child(2)::after { height: 48%; }
.deck-grid.supporting > .deck-card:nth-child(2) .deck-mini span:nth-child(3)::after { height: 78%; }
.deck-grid.supporting > .deck-card:nth-child(2) .deck-mini span:nth-child(4)::after { height: 52%; }
.deck-grid.supporting > .deck-card:nth-child(3) .deck-mini span:nth-child(1)::after { height: 52%; }
.deck-grid.supporting > .deck-card:nth-child(3) .deck-mini span:nth-child(2)::after { height: 64%; }
.deck-grid.supporting > .deck-card:nth-child(3) .deck-mini span:nth-child(3)::after { height: 86%; }
.deck-grid.supporting > .deck-card:nth-child(3) .deck-mini span:nth-child(4)::after { height: 46%; }
.deck-grid.supporting > .deck-card:nth-child(4) .deck-mini span:nth-child(1)::after { height: 78%; }
.deck-grid.supporting > .deck-card:nth-child(4) .deck-mini span:nth-child(2)::after { height: 54%; }
.deck-grid.supporting > .deck-card:nth-child(4) .deck-mini span:nth-child(3)::after { height: 68%; }
.deck-grid.supporting > .deck-card:nth-child(4) .deck-mini span:nth-child(4)::after { height: 60%; }

/* Selector-panel: restore the supporting tier's extra top gap (was collapsed to 1.2rem). */
.selector-panel .audience-tier-label.supporting { margin-top: 2.4rem; }

/* Supporting-tier cards lifted on hover but their background never brightened. */
.deck-grid.supporting .deck-card:hover, .deck-grid.supporting .deck-card:focus-within { background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 40%), rgba(13,22,37,0.9); }
.tenant-card-grid.supporting .tenant-card:hover, .tenant-card-grid.supporting .tenant-card:focus-visible { background: rgba(14,24,42,0.9); }

/* FAQ accordion trigger had no hover and no site focus ring (summary isn't in the :where list). */
.faq summary:hover { color: var(--teal); }
.faq summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: var(--radius-md); }

/* Intake wizard option cards had no hover and no selected treatment. */
.wiz-check:hover { border-color: rgba(228,199,141,0.4); }
.wiz-check:has(input:checked) { border-color: rgba(242,169,59,0.55); background: rgba(242,169,59,0.07); }

/* Only price-primary cards carry the absolute badge; other cards shouldn't reserve 6rem for it. */
.price-card:not(.price-primary) h3 { padding-right: 0; }

/* Infrastructure facts in the footer. Stated, not badged — no seal imagery, because a seal implies
   an issuing authority and none issued this. */
.site-footer .infra-note{display:block;font-size:.78rem;line-height:1.5;opacity:.62;margin-bottom:.35rem}

/* ════════════════════════════════════════════════════════════════════════════
   REDESIGN v6 — messaging & conversion revision (2026-08-08)
   Append-only. Supports the reworked homepage IA (who/what/why role cards, the
   five-stage workflow labels) and, critically, FITS mobile content instead of
   clipping it: the global `main { overflow: hidden }` was removed, so any real
   horizontal overflow is fixed at the source below rather than hidden.
   ════════════════════════════════════════════════════════════════════════════ */

/* Who-MERIDIAN-serves role cards: implementation-ready who/what/why triplet. */
.deck-wwx { display: grid; gap: 0.55rem; margin: 0.1rem 0 0.95rem; }
.deck-wwx > div { min-width: 0; }
.deck-wwx dt { margin: 0 0 0.1rem; color: var(--brand); font-family: var(--mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.deck-wwx dd { margin: 0; color: var(--dim); font-size: 0.86rem; line-height: 1.42; }

/* Five-stage operating workflow: stage names sit at heading weight but tuned to the timeline cell. */
.timeline-step h3 { margin: 0; font-size: 1.02rem; line-height: 1.2; letter-spacing: -0.02em; }

/* Fit-to-viewport: let grid/flex children shrink below their content's intrinsic width so long
   copy wraps instead of forcing horizontal overflow (replaces the removed main overflow clip). */
.hero-grid > *, .split > *, .section-head, .section-head > div,
.info-grid > *, .deck-grid > *, .card-grid > *, .timeline > *,
.mod-shell > *, .mod-panel, .cta-panel { min-width: 0; }
h1, h2, h3, .lead, .deck-wwx dd, .cmd-cell .k { overflow-wrap: break-word; }
/* The command-core illustration must never widen the hero column on small screens. */
.cmd-core { max-width: 100%; }

/* ════════════════════════════════════════════════════════════════════════════
   HOMEPAGE RECRAFT (2026-08-23) — "See it before you commit" panel + gated
   demo-overview wizard. Append-only; brand tokens only, no new origins.
   ════════════════════════════════════════════════════════════════════════════ */

/* Explainer-video panel */
.demo-split { align-items: start; }
.video-figure { position: relative; margin: 0; border: 1px solid var(--edge); border-radius: var(--radius-lg); overflow: hidden; background: rgba(9,16,28,0.8); box-shadow: var(--soft-shadow); }
.explainer-video { display: block; width: 100%; height: auto; background: #05080f; }
.video-figure .cap { margin: 0; padding: 0.55rem 0.9rem; border-top: 1px solid var(--edge); }
.demo-steps { margin: 0 0 1.2rem; padding: 0; list-style: none; counter-reset: dsteps; display: grid; gap: 0.7rem; }
.demo-steps li { position: relative; min-width: 0; padding: 0.65rem 0.85rem 0.65rem 3rem; border: 1px solid var(--edge); border-radius: var(--radius-lg); background: rgba(13,22,38,0.72); color: var(--dim); font-size: 0.92rem; line-height: 1.45; }
.demo-steps li::before { counter-increment: dsteps; content: counter(dsteps, decimal-leading-zero); position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid rgba(63,208,201,0.32); border-radius: 999px; color: var(--teal); font-family: var(--mono); font-size: 0.68rem; font-weight: 700; background: rgba(63,208,201,0.06); }
.demo-steps strong { color: var(--ink); }

/* Gated demo-overview wizard */
.dw { max-width: 880px; margin: 0 auto; }
.dw-progress { display: flex; gap: 0.4rem; margin-bottom: 1.4rem; }
.dw-progress span { flex: 1; height: 4px; border-radius: 999px; background: rgba(27,40,65,0.9); }
.dw-progress span.done { background: var(--teal); }
.dw-progress span.now { background: var(--brand); }
.dw-stepmeta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.8rem; }
.dw-stepmeta .eyebrow { margin: 0; }
.dw-stepnum { font-family: var(--mono); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.12em; }
.dw-panel { border: 1px solid var(--edge); border-radius: var(--radius-xl); background: rgba(13,22,38,0.84); box-shadow: var(--soft-shadow); padding: clamp(1.2rem, 3vw, 2rem); min-width: 0; }
.dw-panel h1, .dw-panel h2 { margin-top: 0; }
.dw-panel p { color: var(--dim); }
.dw-panel p strong { color: var(--ink); }
.dw-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; flex-wrap: wrap; }
.dw-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.7rem; margin: 1rem 0 0.4rem; }
.dw-role-grid button { display: block; text-align: left; padding: 0.8rem 0.95rem; border: 1px solid var(--edge); border-radius: var(--radius-lg); background: rgba(9,16,28,0.72); color: var(--ink); cursor: pointer; font: inherit; min-width: 0; transition: border-color 160ms ease, background 160ms ease; }
.dw-role-grid button:hover, .dw-role-grid button:focus-visible { border-color: rgba(63,208,201,0.5); background: rgba(16,28,49,0.94); }
.dw-role-grid button.on { border-color: var(--brand); background: rgba(242,169,59,0.08); }
.dw-role-grid .r-name { display: block; font-weight: 600; margin-bottom: 0.2rem; }
.dw-role-grid .r-desc { display: block; color: var(--faint); font-size: 0.82rem; line-height: 1.4; }
.dw-list { margin: 0.8rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.dw-list li { min-width: 0; padding: 0.7rem 0.9rem; border: 1px solid var(--edge); border-radius: var(--radius-lg); background: rgba(9,16,28,0.66); color: var(--dim); font-size: 0.92rem; line-height: 1.45; }
.dw-list li strong { color: var(--ink); }
.dw-plan { margin-top: 1rem; border: 1px solid rgba(242,169,59,0.32); border-radius: var(--radius-lg); padding: 1rem 1.1rem; background: rgba(242,169,59,0.05); }
.dw-plan .price-figure { margin: 0.3rem 0 0.6rem; }
.dw-gate { max-width: 560px; margin: 0 auto; text-align: center; }
@media (max-width: 640px) { .dw-role-grid { grid-template-columns: 1fr; } .demo-steps li { font-size: 0.88rem; } }

/* ════════════════════════════════════════════════════════════════════════════
   PRODUCT SCREENSHOTS (2026-08-27)
   Real captures of the running app, framed in a window chrome so a screenshot
   always reads as a screenshot and never as a photograph of a finished product.
   Captures come from meridian/tools/capture_marketing_shots.mjs, run against a
   sample workspace — never against a database holding real client tenants.

   Structure: figure.shot-fig > div.shot (the framed window) + figcaption.
   The caption lives OUTSIDE .shot on purpose — .shot clips to its own rounded
   frame, so a caption inside it gets cropped into the window.
   ════════════════════════════════════════════════════════════════════════════ */
.shot-fig { margin: 0; min-width: 0; }
.shot {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: clamp(12px, 1.5vw, 18px);
  overflow: hidden;
  background: #0a1220;
  box-shadow: 0 28px 70px rgba(0,0,0,0.48);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
}
.shot-bar i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.shot-bar b {
  margin-inline: auto;
  padding: 0 10px;
  max-width: 62%;
  overflow: hidden;
  color: rgba(255,255,255,0.44);
  font: 400 10.5px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shot img { display: block; width: 100%; height: auto; }
.shot-caption { margin: 0.8rem 0 0; color: var(--faint); font-size: 0.84rem; line-height: 1.5; }

/* phone captures carry device rounding instead of a window bar */
.shot-phone .shot { max-width: 280px; margin-inline: auto; border-radius: clamp(22px, 3vw, 30px); }
.shot-phone .shot-bar { display: none; }
.shot-phone .shot-caption { text-align: center; }

/* copy beside a capture; every second row leads with the capture */
.shotrow {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3.4rem);
  align-items: center;
  margin-top: clamp(2.2rem, 5vw, 4.2rem);
}
.shotrow:nth-of-type(even) .shotrow-copy { order: 2; }
.shotrow-copy { min-width: 0; }
.shotrow-copy h3 { margin: 0 0 0.7rem; font-size: clamp(1.35rem, 2.4vw, 1.95rem); letter-spacing: -0.03em; line-height: 1.12; }
.shotrow-copy p { margin: 0; color: var(--dim); line-height: 1.6; }
.shotrow-copy p + p { margin-top: 0.8rem; }

.shot-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(0.9rem, 2vw, 1.5rem); }
.shot-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.shot-note {
  margin: clamp(1.8rem, 4vw, 2.8rem) 0 0;
  color: var(--faint);
  font-size: 0.84rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .shotrow { grid-template-columns: 1fr; }
  .shotrow:nth-of-type(even) .shotrow-copy { order: 0; }
  .shot-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .shot-pair { grid-template-columns: 1fr; }
}
