:root {
  color-scheme: dark;
  --bg: #0B1F33;
  --band: #0F2740;
  --panel: #12304D;
  --line: #1C3B5C;
  --line-2: #21456A;
  --line-3: #2A4E74;
  --line-4: #35597F;
  --text: #F2F5F8;
  --muted: #C9D4E0;
  --subtle: #9FB2C6;
  --accent: #7CC4FF;
  --accent-hover: #A8D8FF;
  --accent-tint: rgba(124, 196, 255, 0.10);
  --accent-tint-strong: rgba(124, 196, 255, 0.14);
  --accent-edge: rgba(124, 196, 255, 0.35);
  --ok: #7EE2B8;
  --danger: #FF9B9B;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; }
p, ul, ol { margin: 0; }
img, svg { flex: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 8px;
  background: var(--accent); color: var(--bg); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: 96px 40px; }
.mono { font-family: var(--mono); }

.eyebrow {
  margin-bottom: 14px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.label { font-family: var(--mono); font-size: 12px; color: var(--subtle); }
.label.accent { color: var(--accent); }

.h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
.lede { max-width: 42em; color: var(--muted); }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 8px;
  font: 700 15px var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--bg); border: 0; }
.btn-primary:hover { background: var(--accent-hover); color: var(--bg); }
.btn-ghost { border: 1px solid var(--line-4); color: var(--text); font-weight: 600; background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.nav {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 32px;
  padding-block: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.tabs { display: flex; gap: 4px; font-size: 15px; }
.tabs a {
  padding: 8px 14px; border-radius: 8px; white-space: nowrap;
  color: var(--muted); font-weight: 600; text-decoration: none;
}
.tabs a:hover { color: var(--text); background: var(--panel); }
.tabs a[aria-current="page"] { color: var(--accent); background: var(--accent-tint); }
.nav-cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; padding-bottom: 10px; }
  .tabs {
    grid-column: 1 / -1; grid-row: 2;
    overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  }
  .tabs::-webkit-scrollbar { display: none; }
}
@media (max-width: 420px) {
  .nav-cta { min-height: 40px; padding: 0 12px; font-size: 14px; }
  .brand { font-size: 17px; }
}

.page-title { margin-bottom: 20px; max-width: 18em; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; }

/* Home: explore cards */
.explore { display: flex; flex-direction: column; gap: 10px; color: var(--text); text-decoration: none; transition: border-color 0.15s; }
.explore:hover { color: var(--text); border-color: var(--accent); }
.explore h3 { font-size: 22px; line-height: 1.25; }
.explore p { color: var(--muted); font-size: 16px; }
.explore .more { margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 600; }

/* Hero */
.hero {
  display: flex; flex-wrap: wrap; gap: 56px; align-items: center;
  padding-block: clamp(56px, 8vw, 112px) 72px;
}
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero-copy .h1 { margin-bottom: 24px; }
.hero-copy .lede { margin-bottom: 36px; max-width: 34em; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.console {
  flex: 1 1 420px; min-width: 0;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.console-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 12px; color: var(--subtle);
}
.status-live { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); }
.console-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.console-doc {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
.console-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-size: 14px; }
.console-fields > div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.console-fields .label { font-size: 11px; }
.console-route {
  padding: 12px 14px; border-radius: 10px; font-size: 14px;
  background: var(--accent-tint); border: 1px solid var(--accent-edge);
}
.console-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.console-actions .btn { flex: 1 1 160px; min-height: 46px; cursor: default; }
.console-actions .btn-ghost { flex: 0 1 120px; }

/* Proof strip */
.proof { background: var(--band); border-block: 1px solid var(--line); }
.proof-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px;
  padding-block: 36px 20px;
}
.stat { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--accent); }
.stat-label { color: var(--muted); font-size: 15px; }
.proof-note { padding-bottom: 28px; font-family: var(--mono); font-size: 12px; color: var(--subtle); }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 320px), 100%), 1fr)); }
.card { padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.outcome { display: flex; flex-direction: column; gap: 12px; }
.outcome h3 { font-size: 21px; }
.outcome p { color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.outcome .chips { margin-top: auto; padding-top: 8px; }
.chip {
  padding: 4px 10px; border: 1px solid var(--line-3); border-radius: 999px;
  font-size: 13px; color: var(--muted);
}
.chips.lg .chip { padding: 6px 12px; }

/* Case study summary (home) */
.case {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.case-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 28px 32px; border-bottom: 1px solid var(--line);
}
.case-head h3 { margin-top: 6px; font-size: 26px; line-height: 1.25; }
.case-head a { font-weight: 600; }
.before-after { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.before-after > div { padding: 32px; }
.before-after > div + div { background: var(--band); border-left: 1px solid var(--line); }
@media (max-width: 720px) {
  .before-after > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
.before-after .label { margin-bottom: 16px; }
.steps { padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
.case-chips { padding: 20px 32px; border-top: 1px solid var(--line); }
.bigger-win {
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center;
  padding: 32px; border-top: 1px solid var(--line); background: rgba(124, 196, 255, 0.07);
}
.bigger-win > div:first-child { flex: 1 1 460px; min-width: 0; }
.bigger-win h4 { margin: 6px 0 8px; font-size: 22px; line-height: 1.25; }
.bigger-win p { color: var(--muted); font-size: 16px; }
.swap { flex: 0 1 300px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-size: 14px; }
.swap > div { padding: 12px; border: 1px solid var(--line-3); border-radius: 8px; }
.swap .old { color: var(--subtle); text-decoration: line-through; }
.swap .new { border-color: var(--accent); }

.in-progress {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  padding: 28px 32px; border: 1px dashed var(--line-4); border-radius: 16px;
}
.in-progress > div:first-child { flex: 1 1 520px; min-width: 0; }
.in-progress h3 { margin: 6px 0 8px; font-size: 22px; }
.in-progress p { color: var(--muted); font-size: 16px; }
.progress { display: flex; gap: 6px; }
.progress span { width: 64px; height: 8px; border-radius: 4px; background: var(--line-3); }
.progress span.done { background: var(--accent); }

/* Process */
.process {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.process > li { padding: 28px; background: var(--panel); }
.process .label { font-size: 13px; color: var(--accent); }
.process h3 { margin: 10px 0 8px; font-size: 20px; }
.process p { color: var(--muted); font-size: 15px; }
.connects { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.connects .label { margin-right: 8px; }
.tool { padding: 6px 12px; background: var(--panel); border: 1px solid var(--line-3); border-radius: 6px; font-size: 14px; }
.tool.more { background: transparent; border-style: dashed; border-color: var(--line-4); color: var(--muted); }

/* Engagement */
.plan { padding: 36px; border-radius: 14px; }
.plan.featured { border-color: var(--accent); }
.plan h3 { margin: 8px 0 4px; font-size: 28px; }
.plan .price { margin-bottom: 20px; font-size: 18px; font-weight: 700; color: var(--accent); }
.plan p { margin-bottom: 12px; color: var(--muted); font-size: 16px; }
.plan ul { padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }

/* Contact */
.contact-card {
  display: flex; flex-wrap: wrap; gap: 48px; padding: clamp(28px, 4vw, 56px);
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
}
.contact-card > div { flex: 1 1 340px; min-width: 0; }
.contact-card .page-title { margin-bottom: 16px; font-size: clamp(32px, 4vw, 48px); }
.contact-form {
  flex: 1 1 440px; min-width: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full, .form-foot { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 0 14px; width: 100%;
  background: var(--bg); border: 1px solid var(--line-4); border-radius: 8px;
  color: var(--text); font: 16px var(--sans);
}
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-foot .btn { min-width: 120px; }
.form-foot .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status { flex-basis: 100%; min-height: 1.6em; font-size: 15px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 28px; font-size: 14px; color: var(--subtle);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--subtle); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ---------- Case study page ---------- */
.cs-title { padding-block: clamp(56px, 7vw, 96px) 56px; }
.cs-title .h1 { margin-bottom: 24px; max-width: 15em; font-size: clamp(38px, 5.4vw, 68px); }
.cs-title .lede { max-width: 40em; font-size: 19px; }
.stat-band {
  margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.stat-band > div { padding: 22px; background: var(--band); }
.stat-band .label { font-size: 11px; }
.stat-band .value { font-size: 32px; font-weight: 800; }
.cs-part { padding-block: 56px; }
.cs-part .h2 { margin-bottom: 16px; font-size: clamp(30px, 3.6vw, 44px); }
.cs-part .lede { margin-bottom: 40px; max-width: 40em; }
.metric-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.metric-head h3 { font-size: 20px; }
.badge {
  padding: 4px 10px; border-radius: 6px; background: var(--accent-tint-strong);
  color: var(--accent); font-weight: 700; font-size: 14px;
}
.metric-cells { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-align: center; }
.metric-cells > div { padding: 14px 8px; background: var(--bg); border-radius: 8px; }
.metric-cells .n { font-size: 24px; font-weight: 800; }
.metric-cells .n.was { color: var(--subtle); }
.metric-cells .k { font-size: 12px; color: var(--subtle); }
.metric-foot { margin-top: 16px; display: flex; justify-content: space-between; font-size: 15px; }
.metric-foot span { color: var(--muted); }

.timeline { margin-block: 40px; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.timeline > .label { padding: 18px 28px; border-bottom: 1px solid var(--line); }
.timeline ol { list-style: none; padding: 0; }
.timeline li { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.timeline time, .timeline .when { flex: 0 0 120px; padding-top: 2px; font-family: var(--mono); font-size: 15px; color: var(--accent); }
.timeline li > div { flex: 1 1 400px; min-width: 0; }
.timeline strong { display: block; font-size: 18px; }
.timeline li p { color: var(--muted); font-size: 16px; }
.timeline-foot { padding: 16px 28px; background: var(--bg); font-size: 15px; color: var(--subtle); }

.module h3 { margin-bottom: 6px; font-size: 18px; }
.module p { color: var(--muted); font-size: 15px; }
.module { padding: 24px; }

.growth { background: var(--band); border-block: 1px solid var(--line); }
.growth > .wrap { padding-block: 96px; }
.growth .h2 { margin-bottom: 16px; max-width: 18em; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -0.025em; }
.growth .lede { margin-bottom: 32px; }
.shift {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 48px;
  padding: 28px 32px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
}
.shift > div { flex: 1 1 300px; min-width: 0; }
.shift .label { margin-bottom: 6px; }
.shift .was { font-size: 22px; font-weight: 700; color: var(--subtle); }
.shift .now { font-size: 22px; font-weight: 800; }
.compare { margin-bottom: 56px; }
.compare > div { padding: 32px; border: 1px solid var(--line-3); border-radius: 14px; }
.compare > div.with { border-color: var(--accent); background: var(--panel); }
.compare .label { margin-bottom: 16px; }
.ticks { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; }
.ticks svg { margin-top: 3px; }
.without .ticks { color: var(--muted); }

.portal-intro { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; margin-bottom: 28px; }
.portal-intro > div:first-child { flex: 1 1 420px; min-width: 0; }
.portal-intro h3 { margin-bottom: 10px; font-size: 26px; line-height: 1.2; }
.portal-intro p { color: var(--muted); }
.legend { flex: 1 1 340px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.legend div { display: flex; gap: 10px; align-items: center; }
.dot { flex: none; width: 10px; height: 10px; border-radius: 5px; background: var(--accent); }
.dot.ok { background: var(--ok); }

.cta { padding-block: 96px 112px; text-align: center; }
.cta .h2 { margin: 0 auto 16px; max-width: 18em; font-size: clamp(30px, 3.6vw, 44px); }
.cta p { margin: 0 auto 32px; max-width: 34em; color: var(--muted); }

/* Portal preview: mirrors the production partner portal's light UI */
.portal {
  margin: 0;
  background: #F6F5F1; color: #1F2420; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  font-family: 'Public Sans', system-ui, sans-serif; line-height: 1.45;
  --p-line: #E3E0D7; --p-line-soft: #ECEAE2; --p-muted: #5B6560; --p-navy: #10284F; --p-navy-dark: #0A1C38;
}
.portal-top, .portal-nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 32px; background: #FFFFFF; border-bottom: 1px solid var(--p-line);
}
.portal-nav { gap: 8px; padding-block: 8px; }
.portal-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.portal-logo {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 7px; background: var(--p-navy); color: #FFFFFF; font-weight: 800; font-size: 14px;
}
.portal-name { display: flex; flex-direction: column; line-height: 1.1; }
.portal-name strong { font-size: 17px; }
.portal-name span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--p-muted); }
.portal-pill { padding: 6px 14px; border: 1px solid var(--p-line); border-radius: 999px; background: #F6F5F1; font-weight: 600; font-size: 14px; }
.portal-avatar {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 16px;
  background: #E7EAF1; color: var(--p-navy-dark); font-weight: 700; font-size: 13px;
}
.portal-user { line-height: 1.2; }
.portal-user span { display: block; font-size: 14px; font-weight: 600; }
.portal-user small { font-size: 11.5px; color: var(--p-muted); }
.portal-btn {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--p-line); border-radius: 6px; background: #FFFFFF; font-weight: 600; font-size: 14px;
}
.portal-btn.primary { min-height: 38px; padding: 0 16px; border: 0; background: var(--p-navy); color: #FFFFFF; font-weight: 700; }
.portal-tabs { display: flex; flex-wrap: wrap; gap: 4px; font-size: 14.5px; }
.portal-tabs span { padding: 8px 14px; color: var(--p-muted); font-weight: 600; border-radius: 6px; }
.portal-tabs span.on { background: #E7EAF1; color: var(--p-navy); font-weight: 700; }
.portal-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 22px; }
.portal-body .title { font-size: 22px; font-weight: 700; }
.portal-body .sub { font-size: 13.5px; color: var(--p-muted); }
.portal-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 16px; }
.portal-panel { padding: 18px; background: #FFFFFF; border: 1px solid var(--p-line); border-radius: 12px; }
.portal-stats .k { margin-bottom: 6px; font-size: 12.5px; color: var(--p-muted); }
.portal-stats .v { font-size: 24px; font-weight: 700; }
.portal-stats .v.warn { color: #8A5B22; }
.portal-split { display: flex; flex-wrap: wrap; gap: 20px; }
.portal-split > .portal-panel { padding: 22px; min-width: 0; }
.portal-split > .portal-panel:first-child { flex: 1 1 420px; }
.portal-split > .portal-panel:last-child { flex: 1 1 360px; }
.portal-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.portal-panel-head strong { font-size: 16px; }
.portal-panel-head span { font-size: 13px; font-weight: 600; color: var(--p-navy-dark); }
.portal-table-wrap { overflow-x: auto; }
.portal table { width: 100%; min-width: 320px; border-collapse: collapse; font-size: 13.5px; }
.portal th { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--p-line); color: var(--p-muted); font-weight: 600; }
.portal td { padding: 9px 12px; border-bottom: 1px solid var(--p-line-soft); }
.portal tr:last-child td { border-bottom: 0; }
.p-pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.p-pill.low { background: #FBEEDD; color: #8A5B22; }
.p-pill.moving { background: #E4ECF5; color: #2F5E8C; }
.p-pill.delivered { background: #E7EAF1; color: var(--p-navy-dark); }
.p-pill.processing { background: #ECEEF0; color: #51565B; }
.portal-order { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--p-line-soft); }
.portal-order:last-child { border-bottom: 0; }
.portal-order strong { display: block; font-size: 14px; font-weight: 600; }
.portal-order small { font-size: 12.5px; color: var(--p-muted); }
.portal-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding: 16px 32px; background: var(--p-navy-dark); color: #CDD6E4; font-size: 12.5px;
}
@media (max-width: 560px) {
  .portal-top, .portal-nav, .portal-body, .portal-foot { padding-inline: 16px; }
}

/* 404 */
.not-found { padding-block: clamp(80px, 14vw, 160px); }
.not-found .h1 { margin-bottom: 20px; }
.not-found p { margin-bottom: 32px; }
