@font-face {
  font-family: "Overpass";
  src: url("fonts/overpass.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Overpass Mono";
  src: url("fonts/overpass-mono.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #111417;
  --muted: #5a6168;
  --line: #d6dadd;
  --green: #0b6b48;
  --sans: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --mono: "Overpass Mono", ui-monospace, Menlo, Consolas, monospace;
  --max: 1200px;
  --gutter: clamp(18px, 4.5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { color: var(--green); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Top bar */
.top { border-bottom: 1px solid var(--ink); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.mark {
  font-weight: 800; font-size: 1.05rem; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; padding-top: 3px;
}
.top nav { display: flex; gap: 26px; font: 500 0.78rem/1 var(--mono); letter-spacing: 0.04em; }
.top nav a { text-decoration: none; padding-top: 2px; }
.top nav a:hover { text-decoration: underline; }

/* Hero: headline left, document fields right */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-top: clamp(40px, 7vw, 92px);
  padding-bottom: clamp(32px, 4.5vw, 56px);
}
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 64px; align-items: end; }
}
.kicker {
  font: 500 0.76rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 22px;
}
h1 {
  font-weight: 800;
  font-size: clamp(2.35rem, 5.4vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.022em;
  text-wrap: balance;
  padding-top: 0.06em;
  max-width: 16ch;
}

/* Shipping-document style fields */
.manifest {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.manifest div { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 12px 14px 14px; }
.manifest dt { font: 500 0.66rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.manifest dd { margin: 8px 0 0; font-weight: 700; font-size: 1.08rem; line-height: 1.2; }
@media (min-width: 960px) { .manifest { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .manifest { grid-template-columns: 1fr; } }

/* Map band */
.maps { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 0 6px; }
.map-band { margin: 0 auto; padding-bottom: clamp(44px, 6vw, 76px); }
.map { display: block; width: 100%; height: auto; background: #fff; }
.map .land-base, .map .land { fill: #eceeee; }
.map .land { stroke: #c4cace; stroke-width: 0.7; stroke-linejoin: round; }
.map .us { fill: #dcebe3; stroke: #fff; stroke-width: 0.9; stroke-linejoin: round; }
.map .origin-state { fill: #8fbfa6; stroke: #fff; stroke-width: 0.9; stroke-linejoin: round; }
.map .water { fill: #fff; stroke: #aec4b8; stroke-width: 0.7; stroke-linejoin: round; }
.map .border { fill: none; stroke: #4f6f5f; stroke-width: 1.1; stroke-linejoin: round; }
.map .country { font: 600 13px var(--mono); letter-spacing: 0.32em; fill: #7c858c; }
.map .us-name { font: 800 30px var(--sans); letter-spacing: 0.34em; fill: #2f5c46; opacity: 0.35; }

/* Arcs from Monterrey */
.map .arc, .map .arc-glow {
  fill: none; stroke: var(--green); stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.3s cubic-bezier(.5, 0, .2, 1) forwards;
}
.map .arc { stroke-width: 2.2; }
.map .arc-glow { stroke-width: 8; opacity: 0.13; }
.map .dest { fill: #fff; stroke: var(--green); stroke-width: 2.4; opacity: 0; animation: appear .35s ease-out forwards; }
.map .dest-label {
  font: 700 12.5px var(--mono); letter-spacing: 0.06em; fill: var(--ink);
  paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round;
  opacity: 0; animation: appear .35s ease-out forwards;
}
.map .a1 { animation-delay: 0.25s; } .map .e1 { animation-delay: 1.45s; }
.map .a2 { animation-delay: 0.37s; } .map .e2 { animation-delay: 1.57s; }
.map .a3 { animation-delay: 0.49s; } .map .e3 { animation-delay: 1.69s; }
.map .a4 { animation-delay: 0.61s; } .map .e4 { animation-delay: 1.81s; }
.map .a5 { animation-delay: 0.73s; } .map .e5 { animation-delay: 1.93s; }
.map .a6 { animation-delay: 0.85s; } .map .e6 { animation-delay: 2.05s; }
.map .a7 { animation-delay: 0.97s; } .map .e7 { animation-delay: 2.17s; }
.map .a8 { animation-delay: 1.09s; } .map .e8 { animation-delay: 2.29s; }
.map .a9 { animation-delay: 1.21s; } .map .e9 { animation-delay: 2.41s; }
.map .a10 { animation-delay: 1.33s; } .map .e10 { animation-delay: 2.53s; }
.map .a11 { animation-delay: 1.45s; } .map .e11 { animation-delay: 2.65s; }
.map .a12 { animation-delay: 1.57s; } .map .e12 { animation-delay: 2.77s; }
.map .a13 { animation-delay: 1.69s; } .map .e13 { animation-delay: 2.89s; }
.map .a14 { animation-delay: 1.81s; } .map .e14 { animation-delay: 3.01s; }
.map .a15 { animation-delay: 1.93s; } .map .e15 { animation-delay: 3.13s; }
.map .dot.origin { fill: var(--green); stroke: #fff; stroke-width: 3; }
.map .hub-ring {
  fill: none; stroke: var(--green); stroke-width: 1.6; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: pulse 2.6s ease-out 3.2s infinite;
}
.map .origin-label {
  font: 700 13.5px var(--mono); letter-spacing: 0.05em; fill: var(--ink);
  paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes pulse { 0% { transform: scale(.55); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .map .arc, .map .arc-glow { animation: none; stroke-dashoffset: 0; }
  .map .dest, .map .dest-label { animation: none; opacity: 1; }
  .map .hub-ring { animation: none; }
}
.legend {
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center;
  padding-top: 14px; font: 500 0.74rem/1.3 var(--mono); color: var(--ink);
}
.key { display: inline-flex; align-items: center; gap: 9px; }
.key i { display: inline-block; flex: none; }
.k-origin { width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.k-arc { width: 22px; height: 2px; background: var(--green); border-radius: 2px; }
.k-us { width: 18px; height: 12px; background: #dcebe3; border: 1px solid #5d7a6b; }
.credit { margin-left: auto; color: var(--muted); }
@media (max-width: 640px) {
  .map .country { font-size: 22px; }
  .map .us-name { font-size: 32px; letter-spacing: 0.3em; }
  .map .arc { stroke-width: 3.5; }
  .map .dest { stroke-width: 3.5; }
  .map .dest-label { display: none; }
  .map .origin-label { font-size: 24px; stroke-width: 6px; }
}
@media (max-width: 640px) { .credit { margin-left: 0; } }

/* Numbered sections */
.band { position: relative; padding-top: clamp(44px, 6vw, 76px); padding-bottom: clamp(44px, 6vw, 76px); }
.band::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
h2 {
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: clamp(24px, 3.5vw, 40px);
  text-wrap: balance;
  max-width: 26ch;
}
h2 .no {
  display: inline-block; margin-right: 14px; transform: translateY(-0.28em);
  font: 600 0.8rem/1 var(--mono); color: #fff; background: var(--green);
  padding: 5px 7px 3px; border-radius: 3px; letter-spacing: 0.06em;
}

/* 01 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.steps li { border-top: 4px solid var(--green); padding-top: 16px; }
.steps h3 { font: 600 0.82rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.steps p { max-width: 36ch; }

/* 02 */
.note { font: 500 0.7rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: -16px 0 18px; }
.codes {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--ink); border-left: 1px solid var(--ink);
}
.codes li { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 16px 16px 18px; min-height: 108px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.codes b { font: 700 1.6rem/1 var(--mono); color: var(--green); }
@media (min-width: 340px) { .codes { grid-template-columns: repeat(2, 1fr); } .codes li:last-child { grid-column: span 2; } }
@media (min-width: 960px) { .codes { grid-template-columns: repeat(4, 1fr); } .codes li:last-child { grid-column: span 2; } }
.codes span { font-weight: 600; line-height: 1.25; }

/* 03: guide-sign panel */
.sign { background: var(--green); border-radius: 12px; padding: 8px; max-width: 760px; }
.sign-in { border: 3px solid #fff; border-radius: 7px; padding: clamp(20px, 3.5vw, 34px); color: #fff; display: grid; gap: 14px; }
.sign-in p { font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.35; }
.sign-in b { font-weight: 800; }
.founder { margin-top: 22px; max-width: 60ch; color: var(--muted); font-size: 0.98rem; }

/* 04 */
.es-body { display: grid; gap: 14px; max-width: 62ch; }
.es .write { margin-top: 10px; font: 500 0.9rem/1.5 var(--mono); }

/* Footer */
.foot { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 84px) 0 36px; }
.foot .big {
  font-weight: 800; font-size: clamp(1.6rem, 5.4vw, 3.6rem); letter-spacing: -0.02em; line-height: 1.1;
  text-decoration: none; border-bottom: 4px solid var(--green); word-break: break-word;
}
.foot .big:hover { color: #fff; border-color: #fff; }
.foot p { margin-top: 36px; font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #a9b0b6; }

@media (max-width: 640px) {
  .top-in { flex-direction: column; align-items: flex-start; padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .top nav { flex-wrap: wrap; gap: 16px; }
}
