:root {
  --ink: #0e1a2b;
  --ink-2: #16253a;
  --ink-line: #283a52;
  --text: #17212f;
  --muted: #4a5a70;
  --paper: #f3f5f8;
  --paper-2: #e7ebf0;
  --surface: #ffffff;
  --line: #d3dae3;
  --accent: #c2410c;
  --accent-fill: #ff6b35;
  --accent-fill-hover: #ff8456;
  --accent-on-ink: #ff7a45;
  --map-dot: #b4bfcc;
  --focus: #1f6feb;

  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1160px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 82%;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.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: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font: 500 15px/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-small { padding: 10px 16px; font-size: 14px; }
.btn-accent { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--ink); }
.btn-accent:hover { background: var(--accent-fill-hover); border-color: var(--accent-fill-hover); }
.btn-block { width: 100%; }

/* Utility bar */
.utility { background: var(--ink); color: #b9c1cd; font: 12.5px/1 var(--mono); letter-spacing: 0.04em; }
.utility-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.utility a { color: var(--accent-on-ink); text-decoration: none; }
.utility a:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-size: 21px; font-weight: 700; font-stretch: 85%; letter-spacing: 0.06em; text-transform: uppercase; }
.brand-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { font-size: 15px; text-decoration: none; color: var(--text); padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:not(.btn):hover { border-bottom-color: var(--ink); }

.nav-toggle { display: none; }

/* Hero */
.hero { padding: 96px 0 104px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 72px; align-items: end; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); color: var(--ink); max-width: 17ch; line-height: 1.02; }
.lede { font-size: 19.5px; color: var(--muted); max-width: 54ch; margin: 28px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.desk-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent-fill); padding: 28px; }
.desk-label { font: 500 12px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.desk-list { list-style: none; margin: 0 0 18px; padding: 0; }
.desk-list li { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--paper-2); font-size: 15.5px; }
.desk-list li:last-child { border-bottom: 0; }
.desk-code { font: 500 12px/1 var(--mono); color: var(--accent); letter-spacing: 0.08em; min-width: 32px; }
.desk-foot { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.desk-link { font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.desk-link:hover { color: var(--accent); border-color: var(--accent); }

/* Sections */
.section { padding: 104px 0; }
.section h2 { font-size: clamp(32px, 4vw, 48px); color: var(--ink); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-intro { color: var(--muted); max-width: 56ch; margin-top: 20px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 72px; }
.about-grid h2 { max-width: 18ch; }
.about-body > p { font-size: 18px; }
.principles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.principles li { padding: 24px 24px 0 0; }
.principles li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.principle-num { font: 500 12px/1 var(--mono); color: var(--accent); letter-spacing: 0.1em; }
.principles h3 { font-size: 21px; margin: 10px 0 8px; color: var(--ink); }
.principles p { font-size: 15px; color: var(--muted); margin: 0; }

/* Terms strip (under hero) */
.terms-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 72px 0 0; border-top: 1px solid var(--line); }
.terms-strip div { padding: 22px 24px 0 0; }
.terms-strip div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.terms-strip dt { font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.terms-strip dd { margin: 0; font-size: 16px; color: var(--ink); font-weight: 500; }

/* Chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.chips li { font: 400 12.5px/1 var(--mono); letter-spacing: 0.02em; padding: 7px 10px; border: 1px solid var(--ink-line); color: #c9d0da; border-radius: 2px; }
.chips-light li { border-color: var(--line); color: var(--text); background: var(--paper); }

.fine-print { font-size: 13px; color: var(--muted); margin: 20px 0 0; max-width: 80ch; }

/* Divisions */
.section-ink { background: var(--ink); color: #d5dae2; }
.section-ink h2 { color: #fff; }
.section-ink .eyebrow { color: var(--accent-on-ink); }
.divisions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink-line); border-left: 1px solid var(--ink-line); }
.division { padding: 40px 40px 44px; border-right: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); transition: background-color .2s; }
.division:hover { background: var(--ink-2); }
.division-num { font: 500 13px/1 var(--mono); color: var(--accent-on-ink); letter-spacing: 0.1em; }
.division h3 { font-size: 25px; color: #fff; margin: 18px 0 14px; max-width: 22ch; }
.division p { color: #aab3c0; margin: 0; max-width: 48ch; }

/* Sourcing */
.sourcing-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 72px; align-items: end; margin-bottom: 48px; }
.sourcing-head h2 { max-width: 21ch; }
.sourcing-head .section-intro { margin: 0; }

.map-card { margin: 0; background: var(--surface); border: 1px solid var(--line); padding: 20px 20px 16px; }
.world-map { display: block; width: 100%; height: auto; }
.map-sphere { fill: var(--paper); }
.map-graticule { fill: none; stroke: var(--paper-2); stroke-width: 0.7; }
.map-land { fill: url(#land-dots); }
.map-dot { fill: var(--map-dot); }
.map-route { fill: none; stroke: var(--accent-fill); stroke-width: 1.5; stroke-dasharray: 3 4; animation: lane-flow 1.4s linear infinite; }
.map-origins circle { fill: var(--surface); stroke: var(--ink); stroke-width: 1.6; }
.map-hubs circle { fill: var(--ink); }
.map-hubs .map-hub-ring { fill: none; stroke: var(--ink); stroke-width: 1; opacity: 0.3; }
.map-port { font: 500 10px var(--mono); letter-spacing: 0.04em; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; }
.map-region { font: 500 10.5px var(--mono); letter-spacing: 0.14em; fill: var(--muted); }
.map-region-dest { fill: var(--ink); font-size: 11.5px; }
@keyframes lane-flow { to { stroke-dashoffset: -14; } }

.map-legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--paper-2); font: 12px/1.3 var(--mono); letter-spacing: 0.04em; color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.key { display: inline-block; flex: none; }
.key-origin { width: 9px; height: 9px; border: 1.6px solid var(--ink); border-radius: 50%; background: var(--surface); }
.key-hub { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px rgba(17, 26, 39, 0.3); }
.key-lane { width: 22px; height: 0; border-top: 1.5px dashed var(--accent-fill); }

.regions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.region { padding: 24px 20px 0 0; display: flex; flex-direction: column; }
.region + .region { padding-left: 20px; border-left: 1px solid var(--line); }
.region h3 { font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.region p { font-size: 14.5px; color: var(--muted); margin: 0 0 12px; }
.region .region-countries { font: 12px/1.5 var(--mono); letter-spacing: 0.02em; color: var(--accent); }
.region .region-transit { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--text); }
.region-transit span { display: block; font: 500 11px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* Onboarding */
.onboarding-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.onboarding-grid h2 { max-width: 18ch; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 8px; padding: 22px 0; border-top: 1px solid var(--line); position: relative; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-num { font: 500 13px/1 var(--mono); color: var(--accent); letter-spacing: 0.08em; padding-top: 6px; }
.steps h3 { font-size: 21px; color: var(--ink); margin-bottom: 6px; }
.steps p { font-size: 15.5px; color: var(--muted); margin: 0; max-width: 56ch; }
.onboarding-grid .requirements { position: sticky; top: 104px; }
.requirements .btn { margin-top: 20px; }
.checklist a { color: var(--ink); }

.requirements { background: var(--surface); border: 1px solid var(--line); padding: 36px; }
.requirements h3 { font-size: 24px; color: var(--ink); margin-bottom: 20px; }
.checklist { list-style: none; margin: 0; padding: 0; counter-reset: req; }
.checklist li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--paper-2); font-size: 15px; color: var(--muted); }
.checklist li strong { color: var(--text); font-weight: 600; }
.checklist li::before {
  counter-increment: req;
  content: counter(req, decimal-leading-zero);
  position: absolute; left: 0; top: 17px;
  font: 500 11.5px/1 var(--mono); color: var(--accent); letter-spacing: 0.06em;
}

/* Compliance tabs */
.tabs { background: var(--surface); border: 1px solid var(--line); }
.tab-list { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto;
  font: 500 14.5px/1.2 var(--sans);
  color: var(--muted);
  background: var(--paper);
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 3px solid transparent;
  padding: 18px 22px 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, background-color .15s, border-color .15s;
}
.tab:last-child { border-right: 0; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); background: var(--surface); border-bottom-color: var(--accent-fill); }
.tab-panel { padding: 36px 40px 40px; }
.tab-panel:focus-visible { outline-offset: -4px; }
.tab-panel[hidden] { display: none; }
.panel-title { font-size: 24px; color: var(--ink); margin-bottom: 28px; }
.market-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.market h4 { font: 500 12px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.market ul { list-style: none; margin: 0; padding: 0; }
.market li { font-size: 15px; color: var(--muted); padding: 12px 0; border-bottom: 1px solid var(--paper-2); }
.market li strong { color: var(--text); font-weight: 600; }
.docs { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.docs-label { font: 500 12px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.docs .chips { margin: 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 72px; align-items: start; }
.faq-grid h2 { max-width: 14ch; }
.section-intro a { color: var(--ink); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-family: var(--display); font-size: 20px; font-weight: 500; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
              linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: -6px 0 24px; color: var(--muted); max-width: 62ch; }

/* Portal */
.section-paper { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.portal-copy h2 { margin-bottom: 24px; max-width: 16ch; }
.portal-copy > p { color: var(--muted); max-width: 48ch; }
.contact-list { margin: 36px 0 0; border-top: 1px solid var(--line); }
.contact-list div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font: 500 12px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-list dd { margin: 0; font-size: 15.5px; }
.contact-list a { color: var(--ink); font-weight: 500; }

.portal-form { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 36px; }
.field { display: flex; flex-direction: column; margin-bottom: 20px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; font-weight: 500; margin-bottom: 7px; color: var(--text); }
.field input,
.field select,
.field textarea {
  font: 400 16px/1.4 var(--sans);
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 3px rgba(17, 26, 39, 0.08); }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #b3261e; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-status { font-size: 14.5px; margin: 12px 0 0; text-align: center; min-height: 1em; }
.form-status.ok { color: #1f6b3a; }
.form-status.err { color: #b3261e; }

/* Portal entry card (home page) */
.portal-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent-fill); padding: 36px; }
.portal-card h3 { font-size: 26px; color: var(--ink); margin-bottom: 20px; }
.portal-points, .next-list { list-style: none; margin: 0; padding: 0; }
.portal-points li, .next-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr); padding: 14px 0; border-top: 1px solid var(--paper-2); font-size: 15px; color: var(--muted); }
.portal-points li span, .next-list li span { font: 500 11.5px/1.9 var(--mono); color: var(--accent); letter-spacing: 0.06em; }
.portal-card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Portal page */
.portal-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.portal-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; align-items: end; }
.portal-hero h1, .status-title { font-size: clamp(34px, 4.4vw, 52px); color: var(--ink); max-width: 22ch; }
.portal-hero .lede { margin-bottom: 0; }
.next-card { background: var(--surface); border: 1px solid var(--line); padding: 24px 28px 14px; }
.next-list li:first-child { border-top: 0; }
.next-list a { color: var(--ink); }
.portal-section { padding-top: 56px; }

.portal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
.portal-aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 16px; }
.aside-card { background: var(--surface); border: 1px solid var(--line); padding: 22px 24px; font-size: 14.5px; color: var(--muted); }
.aside-card p { margin: 0 0 14px; }
.aside-card p:last-child { margin-bottom: 0; }
.aside-card a { color: var(--ink); }
.aside-nav { list-style: none; margin: 0; padding: 0; }
.aside-nav a { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--paper-2); text-decoration: none; color: var(--text); }
.aside-nav li:first-child a { border-top: 0; }
.aside-nav a:hover { color: var(--accent); }
.aside-nav span { font: 500 11.5px/1.9 var(--mono); color: var(--accent); }
.next-list p { margin: 0; }
.pf-section { scroll-margin-top: 100px; }
.pf-section { border: 0; margin: 0 0 20px; padding: 32px 36px 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.pf-section legend { float: left; width: 100%; padding: 0; margin: 0 0 24px; font-family: var(--display); font-size: 24px; font-weight: 500; color: var(--ink); display: flex; align-items: baseline; gap: 14px; }
.pf-section legend + * { clear: both; }
.pf-num { font: 500 12px/1 var(--mono); color: var(--accent); letter-spacing: 0.08em; }
.pf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; }
.pf-wide { grid-column: 1 / -1; }
.pf-label { font-size: 14px; font-weight: 500; margin-bottom: 7px; color: var(--text); }
.req { color: var(--accent); }

.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: flex-start; gap: 9px; cursor: pointer; font-size: 14.5px; color: var(--text); }
.checks .check { padding: 9px 12px; border: 1px solid var(--line); background: var(--paper); border-radius: 2px; transition: border-color .15s, background-color .15s; }
.checks .check:hover { border-color: var(--ink); }
.checks .check:has(input:checked) { border-color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink); }
.field .check input, .check input { width: 16px; height: 16px; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--ink); }

.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 28px 20px; text-align: center; border: 1.5px dashed var(--line); background: var(--paper); cursor: pointer; transition: border-color .15s, background-color .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--ink); background: var(--surface); }
.dropzone:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.dropzone.full { opacity: 0.55; pointer-events: none; }
.field .dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; padding: 0; }
.dz-title { font-weight: 500; color: var(--ink); }
.dz-hint { font-size: 13px; color: var(--muted); max-width: 52ch; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--paper-2); font-size: 14.5px; }
.fl-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fl-size { font: 12px var(--mono); color: var(--muted); }
.fl-remove { font: 500 13px var(--sans); color: var(--muted); background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; }
.fl-remove:hover { color: #b3261e; }

.pf-submit { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px 36px 32px; background: var(--paper-2); border: 1px solid var(--line); }
.consent { font-size: 14.5px; color: var(--text); max-width: 72ch; }
.consent.invalid span { color: #b3261e; }
.pf-submit .form-status { text-align: left; margin: 0; }
.field.invalid .checks .check { border-color: #b3261e; }

.portal-done { max-width: 720px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 40px; }
.portal-done:focus { outline: none; }
.portal-done h2 { font-size: 28px; color: var(--ink); }
.ref-number { display: flex; align-items: center; gap: 16px; margin: 14px 0 20px; }
.ref-number span { font: 500 34px/1 var(--mono); letter-spacing: 0.06em; color: var(--ink); }
.portal-done > p { color: var(--muted); }
.done-warn { color: #8a4b00 !important; background: #fdf3e2; border: 1px solid #f0d9ae; padding: 12px 14px; }

/* Status page */
.status-section { padding-top: 72px; }
.status-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.status-form { margin-top: 32px; max-width: 440px; }
.status-form .form-status { text-align: left; }
.status-result { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 32px; }
.status-result:focus { outline: none; }
.status-org { font-family: var(--display); font-size: 26px; color: var(--ink); margin-bottom: 14px; }
.status-badge, .adm-badge { display: inline-block; font: 500 12.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 10px; border-radius: 2px; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.status-badge { margin-bottom: 14px; }
.s-under_review { background: #e9f0fb; color: #1d4b8f; border-color: #c9d9f2; }
.s-samples_requested, .s-in_discussion { background: #fdf3e2; color: #7a4a00; border-color: #f0d9ae; }
.s-approved { background: #e5f3ea; color: #1f6b3a; border-color: #bfe0cb; }
.s-closed { background: #f1f1f1; color: #555; border-color: #ddd; }
.status-result > p:not([class]) { color: var(--muted); }
.status-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; padding: 16px 0; border-top: 1px solid var(--paper-2); border-bottom: 1px solid var(--paper-2); }
.status-dates dt { font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.status-dates dd { margin: 0; color: var(--ink); }

/* Admin inbox (served by the worker) */
.adm { background: var(--paper); }
.adm-header { background: var(--ink); color: #c9d0da; }
.adm-header .wrap { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.adm-brand { font-family: var(--display); font-size: 19px; font-weight: 600; color: #fff; text-decoration: none; }
.adm-brand span { font: 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-on-ink); margin-left: 10px; }
.adm-site { color: #c9d0da; font-size: 14px; }
.adm-main { padding-top: 36px; padding-bottom: 80px; }
.adm-main h1 { font-size: 30px; color: var(--ink); margin-bottom: 24px; }
.adm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.adm-filter { font-size: 14px; text-decoration: none; color: var(--text); padding: 7px 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 2px; }
.adm-filter span { font: 12px var(--mono); color: var(--muted); margin-left: 4px; }
.adm-filter.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.adm-filter.on span { color: var(--accent-on-ink); }
.adm-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.adm-table th { text-align: left; font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-table td { padding: 12px 14px; border-bottom: 1px solid var(--paper-2); vertical-align: top; }
.adm-table td:first-child a { font-family: var(--mono); color: var(--ink); font-weight: 500; }
.adm-empty { color: var(--muted); text-align: center; padding: 40px 14px !important; }
.adm-back a { color: var(--ink); font-size: 14px; }
.adm-saved { color: #1f6b3a; font-weight: 500; }
.adm-detail { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.adm-card { background: var(--surface); border: 1px solid var(--line); padding: 22px 24px; margin-bottom: 20px; }
.adm-card h2 { font-size: 19px; color: var(--ink); margin-bottom: 14px; }
.adm-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0; }
.adm-field.wide { grid-column: 1 / -1; }
.adm-field dt { font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.adm-field dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.adm-field a { color: var(--ink); }
.adm-form { display: flex; flex-direction: column; gap: 10px; }
.adm-form select, .adm-form textarea { font: 15px var(--sans); padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); border-radius: 2px; width: 100%; }
.adm-form label { font-size: 13.5px; font-weight: 500; margin-top: 6px; }
.adm-muted { color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }
.adm-warn { color: #8a4b00; background: #fdf3e2; padding: 10px 12px; font-size: 14px; }
.adm-files { list-style: none; margin: 0; padding: 0; }
.adm-files li { padding: 9px 0; border-bottom: 1px solid var(--paper-2); font-size: 14.5px; overflow-wrap: anywhere; }
.adm-files a { color: var(--ink); font-weight: 500; }
.adm-files span { font: 12px var(--mono); color: var(--muted); margin-left: 6px; }

@media (max-width: 960px) {
  .portal-hero-grid, .status-grid, .adm-detail, .portal-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .portal-aside { display: none; }
}
@media (max-width: 640px) {
  .pf-section { padding: 24px 20px 10px; }
  .pf-grid, .adm-fields { grid-template-columns: minmax(0, 1fr); }
  .pf-submit { padding: 24px 20px; }
  .portal-card, .portal-done, .status-result { padding: 24px; }
  .ref-number { flex-wrap: wrap; }
  .ref-number span { font-size: 28px; }
}

/* Footer */
.site-footer { background: var(--ink); color: #9aa4b2; padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; line-height: 1.15; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #8792a2; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; margin: 18px 0 0; max-width: 36ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #8792a2; margin: 0 0 6px; }
.footer-col a { color: #c9d0da; text-decoration: none; font-size: 14.5px; overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; }
.footer-legal { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--ink-line); font: 12.5px/1.6 var(--mono); letter-spacing: 0.02em; }

/* Responsive */
@media (max-width: 1100px) {
  .regions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .region,
  .region + .region { padding: 24px 20px 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .region:nth-child(3n + 2),
  .region:nth-child(3n + 3) { padding-left: 20px; border-left: 1px solid var(--line); }
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .sourcing-head,
  .onboarding-grid,
  .faq-grid,
  .portal-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .sourcing-head { gap: 20px; }
  .hero { padding: 72px 0 80px; }
  .section { padding: 80px 0; }
  .about-grid h2,
  .portal-copy h2,
  .faq-grid h2 { max-width: 20ch; }
  .onboarding-grid .requirements { position: static; }
  .terms-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms-strip div,
  .terms-strip div + div { padding: 18px 20px 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .terms-strip div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
  }
  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s; }
  .nav-toggle-bar::before,
  .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--paper-2); }
  .site-nav .btn { margin-top: 16px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .utility-inner span { display: none; }
  .utility-inner { justify-content: center; }
  .lede { font-size: 17.5px; }
  .divisions { grid-template-columns: minmax(0, 1fr); }
  .division { padding: 32px 24px 36px; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .principles li,
  .principles li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .terms-strip { grid-template-columns: minmax(0, 1fr); margin-top: 56px; }
  .terms-strip div:nth-child(even) { padding-left: 0; border-left: 0; }
  .regions { grid-template-columns: minmax(0, 1fr); }
  .region:nth-child(3n + 2),
  .region:nth-child(3n + 3) { padding-left: 0; border-left: 0; }
  .map-card { padding: 10px 10px 12px; }
  /* At phone width the map renders at ~1/3 scale: drop the unreadable labels and thicken marks.
     The region cards below carry the same information. */
  .map-port,
  .map-region { display: none; }
  .map-route { stroke-width: 3.2; stroke-dasharray: 6 8; }
  .map-graticule { stroke-width: 1.4; }
  .map-origins circle { r: 7px; stroke-width: 3; }
  .map-hubs circle { r: 9px; }
  .map-hubs .map-hub-ring { r: 18px; stroke-width: 2; }
  .market-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tab { padding: 15px 16px 12px; font-size: 14px; }
  .tab-panel { padding: 28px 20px 28px; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); }
  .faq summary { font-size: 18px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .portal-form,
  .requirements,
  .desk-card { padding: 24px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .map-route { animation: none; }
}

/* Freight look: other display-face headings match the condensed h1–h3 */
.faq summary,
.pf-section legend,
.status-org,
.adm-brand { font-weight: 600; font-stretch: 82%; }
.faq summary { font-size: 21px; }

/* Supplier portal menu bar (all portal pages) */
.portal-subnav { background: var(--ink); color: #c9d3e0; border-bottom: 3px solid var(--accent-fill); }
.portal-subnav-inner { display: flex; align-items: stretch; gap: 32px; min-height: 52px; }
.portal-subnav-label { display: flex; align-items: center; font: 500 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-on-ink); white-space: nowrap; }
.portal-subnav-links { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.portal-subnav-links::-webkit-scrollbar { display: none; }
.portal-subnav-links a { display: flex; align-items: center; padding: 0 18px; font-size: 14.5px; font-weight: 500; color: #c9d3e0; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.portal-subnav-links a:hover { color: #fff; background: var(--ink-2); }
.portal-subnav-links a[aria-current="page"] { color: #fff; background: var(--ink-2); border-bottom-color: #fff; }
.site-nav .btn[aria-current] { box-shadow: inset 0 0 0 2px var(--ink); }

/* Portal landing: two pathways */
.pathways-section { padding-top: 56px; }
.pathways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.pathway { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--ink); padding: 36px 36px 32px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s; }
.pathway-primary { border-top-color: var(--accent-fill); }
.pathway:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px -16px rgba(14, 26, 43, 0.45); }
.pathway-tag { font: 500 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.pathway h2 { font-size: clamp(28px, 3vw, 36px); color: var(--ink); margin-bottom: 14px; }
.pathway > p { color: var(--muted); font-size: 16px; margin: 0 0 18px; }
.pathway-points { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--paper-2); }
.pathway-points li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--paper-2); font-size: 14.5px; position: relative; }
.pathway-points li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 2px; background: var(--accent-fill); }
.pathway-cta { margin-top: auto; align-self: flex-start; font-weight: 600; font-size: 15px; padding: 13px 20px; background: var(--ink); color: #fff; }
.pathway-primary .pathway-cta { background: var(--accent-fill); color: var(--ink); }
.pathway:hover .pathway-cta { background: var(--ink-2); color: #fff; }
.pathway-primary:hover .pathway-cta { background: var(--accent-fill-hover); color: var(--ink); }
.pathway-after { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.next-list-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; margin-bottom: 16px; }
.next-list-row li { border-top: 0; }
.pathway-after .fine-print a { color: var(--ink); }
.status-section .section-intro a { color: var(--ink); }

@media (max-width: 760px) {
  .pathways, .next-list-row { grid-template-columns: minmax(0, 1fr); }
  .pathway { padding: 26px 22px 24px; }
  .portal-subnav-inner { gap: 12px; }
  .portal-subnav-label { display: none; }
  .portal-subnav-links { margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .portal-subnav-links a { padding: 0 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .pathway:hover { transform: none; } }
