/* Swift Cargo Africa. Tokens follow DESIGN.md. */

:root {
  /* colours */
  --ink: #15171A;
  --ink-2: #2E3135;
  --muted: #4A4D52;
  --muted-2: #5C5F64;
  --placeholder: #9A9CA0;
  --hint: #6F7277;
  --ground: #E6E1D7;
  --panel: #FFFFFF;
  --panel-soft: #F4F1EB;
  --line: #DCD7CD;
  --line-soft: #E3DED4;
  --line-input: #CFC9BE;
  --accent: #B4501F;
  --accent-on-dark: #E07A45;
  --on-dark: #F1ECE3;
  --on-dark-muted: #C9C3B8;
  --on-dark-body: #D9D4CA;
  --on-dark-faint: #B8B2A7;
  --line-dark: #3A3D42;
  --hero-ground: #2A2520;

  /* type */
  --font-sans: 'Instrument Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-mark: Montserrat, 'Instrument Sans', sans-serif;

  /* radii */
  --r-image: 4px;
  --r-control: 10px;
  --r-bar: 14px;
  --r-form: 16px;
  --r-section: 22px;

  /* spacing */
  --pad-y: clamp(32px, 5vw, 72px);
  --pad-x: clamp(20px, 3.5vw, 48px);
}

/* ---------- base ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  background: var(--ground);
  font-family: var(--font-sans);
  color: var(--ink);
}
h1, h2, h3, p { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
input::placeholder, textarea::placeholder { color: var(--hint); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.on-dark :focus-visible, .hero :focus-visible { outline-color: var(--accent-on-dark); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 12px 18px; border-radius: var(--r-control);
  background: var(--ink); color: #FFFFFF; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #FFFFFF; }

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

.page {
  background: var(--ground);
  padding: 12px;
  box-sizing: border-box;
  display: flex; flex-direction: column; gap: 12px;
  min-width: 0;
}

.page-main { display: flex; flex-direction: column; gap: 12px; }
.panel { background: var(--panel); border-radius: var(--r-section); }
.panel-dark { background: var(--ink); color: #FFFFFF; border-radius: var(--r-section); }
.section-pad { padding: var(--pad-y) var(--pad-x); }

/* ---------- type ---------- */

.display {
  color: #FFFFFF;
  font-size: clamp(48px, 7.2vw, 108px); line-height: 0.92;
  font-weight: 600; letter-spacing: -0.045em;
}
.h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1; font-weight: 500; letter-spacing: -0.035em; }
.lead { font-size: 18px; line-height: 1.45; color: var(--ink-2); }
.body-lg { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); }
.eyebrow-dark { color: var(--on-dark-muted); }
.mono { font-family: var(--font-mono); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 48px;
}
.section-head .h2 { flex: 1 1 420px; }
.text-link {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; padding: 12px 0;
}

/* ---------- buttons ---------- */

.btn {
  box-sizing: border-box;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r-control);
  font: inherit; font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
}
.btn, .icon-btn, .round-btn, .nav-link, .choice, .switch-option, .input, .footer-nav a, .topbar a, .mobile-menu a {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13px; }
.btn-primary { border: 0; background: var(--ink); color: #FFFFFF; }
.btn-primary:hover { color: #FFFFFF; background: var(--ink-2); }
.btn-light { background: #FFFFFF; color: var(--ink); }
.btn-light:hover { color: var(--ink); background: var(--on-dark); }
.btn-outline { border: 1.5px solid var(--line-input); color: var(--ink); }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }
.btn-outline-dark { border: 1.5px solid var(--muted-2); color: #FFFFFF; }
.btn-outline-dark:hover { color: #FFFFFF; border-color: var(--on-dark-muted); }
.btn-wide { min-height: 52px; padding: 0 18px; font-size: 15px; justify-content: space-between; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.icon-btn {
  position: absolute; right: 14px; bottom: 14px;
  width: 44px; height: 44px; border-radius: var(--r-control);
  background: var(--ink); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.icon-btn:hover { color: #FFFFFF; background: var(--ink-2); }

/* ---------- hero ---------- */

.hero {
  position: relative; border-radius: var(--r-section); overflow: hidden;
  min-height: 780px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--hero-ground);
}
.hero-scene { position: absolute; inset: 0; overflow: hidden; }
.hero-scene::after { content: ""; position: absolute; inset: 0; background: rgba(21, 23, 26, 0.16); }
@media (max-width: 760px) {
  .hero-scene::after { background: rgba(21, 23, 26, 0.5); }
}
.hero-layer {
  position: absolute; inset: 0; width: 100%; height: 100%;
  will-change: transform;
}
.hero-layer img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-ship img { transform-origin: 70% 62%; }

.nav {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px; padding: 28px clamp(20px, 3vw, 40px);
}
.nav-group { flex: 1 1 200px; display: flex; gap: 32px; }
.nav-group-end { justify-content: flex-end; }
.nav-group-end { align-items: center; }
.nav-link {
  color: #FFFFFF; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none;
  display: inline-flex; align-items: center; min-height: 40px;
}
.nav-link:hover { color: var(--on-dark-muted); }

.nav-toggle {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: var(--r-control);
  border: 1.5px solid rgba(255, 255, 255, 0.5); background: transparent; color: #FFFFFF;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.nav-toggle:hover { border-color: #FFFFFF; }
.mobile-menu {
  flex: 1 1 100%;
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px; border-radius: var(--r-bar); background: var(--ink);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 8px;
  color: #FFFFFF; font-size: 16px; text-decoration: none;
}
.mobile-menu a:not(.btn):hover { background: var(--ink-2); color: #FFFFFF; }
.mobile-menu .btn { justify-content: center; margin-top: 4px; }

@media (max-width: 760px) {
  .nav .nav-group { display: none; }
  .nav-toggle { display: inline-flex; flex: 0 0 auto; padding: 0 12px; }
  .nav { padding-top: 20px; gap: 16px 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand img { height: 32px; }
  .brand .wordmark-1 { font-size: 15px; letter-spacing: 0.2em; }
  .brand .wordmark-2 { font-size: 11px; letter-spacing: 0.24em; }
  .brand .wordmark-3 { font-size: 8px; }
}
@media (min-width: 761px) {
  .mobile-menu { display: none !important; }
}

/* compact bar once the hero is out of view */
.topbar {
  position: fixed; z-index: 20; top: 12px; left: 12px; right: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 8px 8px 8px 16px; box-sizing: border-box;
  border-radius: var(--r-bar); background: var(--ink); color: #FFFFFF;
  transform: translateY(calc(-100% - 24px)); visibility: hidden;
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}
.topbar.is-visible { transform: none; visibility: visible; transition: transform 0.25s ease; }
.topbar-brand { display: flex; align-items: center; gap: 10px; color: #FFFFFF; text-decoration: none; }
.topbar-brand:hover { color: #FFFFFF; }
.topbar-brand img { height: 28px; width: auto; }
.topbar-brand .wordmark-1 { font-size: 13px; }
.topbar-brand .wordmark-2 { font-size: 10px; }
.topbar-links { display: flex; gap: 4px; }
.topbar-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px;
  color: var(--on-dark); font-size: 14px; text-decoration: none;
}
.topbar-links a:hover { background: var(--ink-2); color: #FFFFFF; }
@media (max-width: 760px) {
  .topbar-links { display: none; }
}

.brand { color: #FFFFFF; text-decoration: none; display: flex; align-items: center; gap: 14px; }
.brand:hover { color: #FFFFFF; }
.brand img { height: 40px; width: auto; }
.wordmark { display: flex; flex-direction: column; gap: 3px; font-family: var(--font-mark); line-height: 1; }
.wordmark-1 { font-size: 17px; font-weight: 700; letter-spacing: 0.22em; }
.wordmark-2 { font-size: 13px; font-weight: 600; letter-spacing: 0.26em; }
.wordmark-3 { font-size: 9px; font-weight: 700; letter-spacing: 0.3em; color: var(--accent-on-dark); }

.hero-body {
  position: relative;
  padding: 0 clamp(20px, 3vw, 40px) clamp(20px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 28px;
}
.hero-copy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 48px; }
.hero-copy .display { flex: 1 1 520px; }
.hero-note { flex: 0 1 220px; color: var(--on-dark); font-size: 14px; line-height: 1.5; }

/* quick quote bar */
.qbar {
  background: #FFFFFF; border-radius: var(--r-bar); padding: 8px;
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 4px;
}
.qbar-field {
  flex: 1 1 170px; display: flex; flex-direction: column; gap: 4px;
  padding: 10px 16px; border-right: 1px solid var(--line-soft);
}
.qbar-field-sm { flex-basis: 150px; }
.qbar-field:last-of-type { border-right: 0; }
.qbar-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.qbar-input {
  border: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 600;
  color: var(--ink); background: transparent; outline-color: var(--accent);
  min-height: 24px;
}
.qbar-input::placeholder { color: var(--ink); }
.qbar-submit { flex: 0 1 200px; min-height: 52px; justify-content: center; }
@media (max-width: 760px) {
  .qbar-field { flex-basis: 100%; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .qbar-field:last-of-type { border-bottom: 0; }
  .qbar-submit { flex: 1 1 100%; }
}

/* ---------- lanes ---------- */

.lanes-section {
  padding: var(--pad-y) 0 clamp(32px, 5vw, 64px) var(--pad-x);
  display: flex; flex-direction: column; gap: 48px; overflow: hidden;
}
.lanes-section .section-head { padding-right: var(--pad-x); }
.lanes-section .lead { flex: 0 1 360px; }
.lanes-controls { display: flex; align-items: center; gap: 8px; }
.lanes-controls .text-link { margin-right: 12px; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line-input); background: #FFFFFF; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.round-btn:hover:not(:disabled) { border-color: var(--ink); }
.round-btn:disabled { opacity: 0.35; cursor: default; }
.round-btn[hidden] { display: none; }
@media (hover: none) { .round-btn { display: none; } }
.lanes {
  display: flex; gap: 24px; overflow-x: auto;
  padding: 0 var(--pad-x) 12px 0; align-items: flex-start;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.lane { scroll-snap-align: start; flex: 0 0 340px; display: flex; flex-direction: column; gap: 14px; }
.lane-media { position: relative; height: 400px; border-radius: var(--r-image); overflow: hidden; }
.lane-media > img { width: 100%; height: 100%; object-fit: cover; }
.lane-media-tall { height: 520px; }
.lane-media-short { height: 290px; }
.bg-sand { background: #D3C1A0; }
.bg-sage { background: #B8BDB6; }
.bg-sea { background: #A7AFAA; }
.bg-wheat { background: #D8C6A2; }
.bg-clay { background: #C9B394; }
.lane-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lane-title h3 { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.lane-modes { font-size: 13px; color: var(--muted); white-space: nowrap; }
.lane-desc { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.lane-ports { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.lane-transit { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
/* phones: card fits with the next one peeking; a partial swipe completes to the next card */
@media (max-width: 760px) {
  .lanes { scroll-snap-type: x mandatory; gap: 16px; }
  .lane { flex-basis: 90%; max-width: 340px; scroll-snap-stop: always; }
  .lane-media { height: 340px; }
  .lane-media-tall { height: 400px; }
  .lane-media-short { height: 280px; }
}

/* ---------- key figures ---------- */

.kpis {
  padding: clamp(28px, 4vw, 48px) var(--pad-x);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
}
.kpi { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--ink); padding-top: 18px; }
.kpi-value { font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.04em; }
.kpi-value.is-placeholder { color: var(--placeholder); }
.kpi-label { font-size: 14px; color: var(--ink-2); }

/* ---------- services ---------- */

.services { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.services-intro { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.services-intro .body-lg { max-width: 34ch; }
.svc-list { flex: 2 1 560px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.svc { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-num { flex: 0 0 48px; font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); padding-top: 8px; }
.svc-body { flex: 1 1 380px; display: flex; flex-direction: column; gap: 8px; }
.svc-body h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; }
.svc-body p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.svc-tags { flex: 0 0 auto; font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-top: 10px; }

/* ---------- how it works ---------- */

.process { display: flex; flex-direction: column; gap: 48px; }
.process .lead { flex: 0 1 380px; }
.steps {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
}
.step {
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 20px; border-top: 2px solid var(--ink);
  transition: border-color 0.4s ease;
}
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.step h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.step p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* A small ship sails along the step rules as the section scrolls past (JS only) */
.route { display: none; }
.has-motion .route {
  display: block; position: relative; height: 28px; margin-bottom: -15px; z-index: 1;
}
.route-dot { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; }
.route-dot-start { left: 0; background: var(--ink); }
.route-dot-end { right: 0; background: var(--accent); }
.route-ship { position: absolute; top: 50%; left: 0; width: 34px; height: 20px; margin-top: -17px; color: var(--ink); }
.has-motion .process .step:not(.is-reached) { border-top-color: var(--line); }
.has-motion .process.is-stacked .route { display: none; }

/* ---------- forwarders ---------- */

.forwarders { overflow: hidden; display: flex; flex-wrap: wrap; }
.forwarders-copy {
  flex: 1 1 520px; padding: var(--pad-y) var(--pad-x);
  display: flex; flex-direction: column; gap: 24px; justify-content: center;
}
.forwarders-copy p { max-width: 44ch; font-size: 17px; line-height: 1.5; color: var(--on-dark-body); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.forwarders-media { flex: 1 1 420px; min-height: 420px; position: relative; }
.forwarders-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- contact ---------- */

.contact { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.contact-intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 24px; }
.contact-intro .body-lg { max-width: 36ch; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }

.quote-form {
  flex: 1.4 1 520px; background: var(--panel-soft); border-radius: var(--r-form);
  padding: clamp(20px, 3vw, 36px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.field-full, .form-full { grid-column: 1 / -1; }

.input {
  box-sizing: border-box;
  height: 48px; padding: 0 14px;
  border: 1px solid var(--line-input); border-radius: var(--r-control);
  background: #FFFFFF; color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 400;
  outline-color: var(--accent);
}
select.input { padding: 0 12px; }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.input:focus { border-color: var(--accent); }
.input.is-invalid { border-color: #9B2C10; }
.field-error { margin: 0; font-size: 13px; font-weight: 500; color: #9B2C10; }
.form-submit { min-height: 54px; font-size: 15px; justify-content: center; }
.quote-form > * { min-width: 0; }

/* quote / partner switch */
.switch {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 4px; padding: 4px;
  background: #FFFFFF; border: 1px solid var(--line-input); border-radius: var(--r-control);
}
.switch-option {
  position: relative;
  min-height: 44px; padding: 0 12px; border-radius: 7px; text-align: center;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.switch-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch-option:has(input:checked) { background: var(--ink); color: #FFFFFF; }
.switch-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.form-group {
  grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 16px;
}
.form-group[hidden] { display: none; }
.form-group > * { min-width: 0; }
.choice-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; box-sizing: border-box;
  border: 1px solid var(--line-input); border-radius: var(--r-control); background: #FFFFFF;
  font-size: 15px; font-weight: 400; cursor: pointer;
}
.choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.choice:has(input:checked) { border-color: var(--ink); }

.form-fallback { display: flex; flex-wrap: wrap; gap: 12px; }
.form-fallback[hidden] { display: none; }

.form-status { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.form-status:empty { display: none; }
.form-status.is-error { color: #9B2C10; }

/* ---------- footer ---------- */

.footer { padding: clamp(32px, 5vw, 64px) var(--pad-x) 28px; display: flex; flex-direction: column; gap: 48px; }
.teaser {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px 32px; padding: 20px 24px; border: 1px solid var(--line-dark); border-radius: var(--r-bar);
}
.teaser-text { flex: 1 1 320px; font-size: 18px; color: var(--on-dark); }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 22px; }
.footer-brand img { height: 72px; width: auto; }
.footer-brand .wordmark { gap: 6px; }
.footer-brand .wordmark-1 { font-size: clamp(26px, 3vw, 38px); letter-spacing: 0.2em; }
.footer-brand .wordmark-2 { font-size: clamp(20px, 2.3vw, 29px); letter-spacing: 0.24em; }
.footer-brand .wordmark-3 { font-size: clamp(11px, 1.1vw, 14px); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 40px; align-items: flex-start; }
.footer-nav a { color: #FFFFFF; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.footer-nav a:hover { color: var(--on-dark-muted); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--line-dark);
  font-size: 13px; color: var(--on-dark-faint);
}

/* ---------- motion ---------- */

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-0.35%) rotate(-0.25deg); }
}
.has-motion .hero-ship img { animation: bob 7s ease-in-out infinite; }

.has-motion [data-reveal] { transition: opacity 0.35s ease-out, transform 0.35s ease-out; }
.has-motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(12px); }

@media (prefers-reduced-motion: reduce) {
  .hero-layer { transform: none !important; }
  .hero-ship img { animation: none !important; }
  .step { transition: none; }
  .topbar { transition: none !important; }
}

/* ---------- network page ---------- */

.hero-network { min-height: 720px; background: var(--ink); }
.hero-network .nav, .hero-network .hero-body { z-index: 2; }
.hero-network .display { font-size: clamp(44px, 5.8vw, 88px); }
.hero-network .hero-copy { max-width: 600px; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero-network .hero-copy .display { flex: none; }
.hero-network .hero-note { flex: none; max-width: 44ch; font-size: 15px; color: var(--on-dark-body); }

/* 3D network stage: right half on desktop, a band under the nav on phones */
.net-stage { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; }
.net-layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.net-front { z-index: 1; }
.net-core {
  position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px;
  border-radius: 50%; background: var(--ink); border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
}
.net-core img { width: 58px; height: auto; }
@media (max-width: 900px) {
  .net-stage { position: relative; width: 100%; height: 340px; margin: -12px 0 -8px; }
  .net-core { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .net-core img { width: 48px; }
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { min-height: 52px; }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, 0.6); color: #FFFFFF; }
.btn-outline-light:hover { color: #FFFFFF; border-color: #FFFFFF; }
.kpi-value-sm { font-size: clamp(28px, 3vw, 40px); }

.how { display: flex; flex-direction: column; gap: 48px; }
.how .lead { flex: 0 1 380px; }

/* country availability: one card per region, a chip per country */
.countries { display: flex; flex-direction: column; gap: 40px; }
.countries .lead { flex: 0 1 420px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.dot-review { background: transparent; border: 1.5px solid var(--accent); box-sizing: border-box; }
.dot-taken { background: var(--placeholder); }
.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 24px; }
.region { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 2px solid var(--ink); }
.region h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.region-count { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.slots { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.slot a, .slot span.slot-name {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--line-input); border-radius: 8px; background: #FFFFFF;
  font-size: 14px; color: var(--ink); text-decoration: none;
}
.slot a { transition: border-color 0.18s ease; }
.slot a:hover { color: var(--ink); border-color: var(--ink); }
.slot.is-taken span.slot-name { color: var(--muted-2); background: var(--panel-soft); border-style: dashed; }

/* member rules band */
.rules-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; max-width: 52ch; }
.rules-list li {
  padding: 14px 0; border-top: 1px solid var(--line-dark);
  font-size: 16px; line-height: 1.5; color: var(--on-dark-body);
}
.rules-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.rules-list strong { color: #FFFFFF; font-weight: 600; }
.forwarders-copy-wide { flex-basis: 640px; }
.rules-aside {
  flex: 1 1 360px; padding: var(--pad-y) var(--pad-x);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 16px;
  border-left: 1px solid var(--line-dark);
}
.rules-aside .btn { align-self: flex-start; }
.rules-aside p { font-size: 15px; line-height: 1.5; color: var(--on-dark-muted); max-width: 40ch; }
@media (max-width: 760px) { .rules-aside { border-left: 0; border-top: 1px solid var(--line-dark); } }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.faq-list { flex: 2 1 560px; display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; cursor: pointer; list-style: none;
  font-size: 20px; font-weight: 500; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 18px; color: var(--accent); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 24px; max-width: 64ch; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

.consent { font-weight: 400; font-size: 14px; line-height: 1.45; display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--ink); }
.field-hint { font-size: 12px; font-weight: 400; color: var(--muted-2); }
