/* ==========================================================================
   Loadout Event Logistics, marketing site
   Built S16, 2026-08-16. Brand locked in S06: black/white core, restrained
   high-vis accent. The green signals; it does not decorate.
   ========================================================================== */

:root {
  --ink:        #0a0a0a;
  --ink-soft:   #4a4a4a;
  --ink-faint:  #767676;
  --paper:      #ffffff;
  --paper-warm: #f4f4f2;
  --line:       #e0e0dd;
  --line-dark:  #2e2e2e;
  --accent:     #c8ff00;

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --pad: clamp(24px, 5vw, 64px);
  --wide: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

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

img { max-width: 100%; height: auto; display: block; }

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

/* Constrain the CONTENT to a readable measure, not the container. Shrinking the
   container instead re-centres it inside the page and the headings stop lining
   up with the hero above them. Left alignment is the default here. */
.narrow > * { max-width: 720px; }

/* --- Type ----------------------------------------------------------------- */

h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 800; }

h1 { font-size: clamp(2.25rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.125rem, 2.2vw, 1.375rem); line-height: 1.25; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.0625rem, 2.2vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
  flex: none;
}

/* --- Nav ------------------------------------------------------------------ */

.nav {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  font-weight: 900;
  font-size: 1.3125rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-links a[aria-current="page"] { font-weight: 700; }

/* `.nav-links a` outranks `.btn` on specificity, which silently painted the
   Get Started button's label #4a4a4a on near-black. Restate it here. */
.nav-links a.btn { color: var(--paper); font-size: 0.9375rem; font-weight: 700; }
.nav-links a.btn:hover { color: var(--ink); }

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 12px 22px;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background-color .15s ease, color .15s ease;
  white-space: nowrap;
}

.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

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

/* --- Sections ------------------------------------------------------------- */

.section { padding: clamp(56px, 9vw, 104px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-warm { background: var(--paper-warm); border-top: 1px solid var(--line); }

/* Inverted blocks. Black is a primary brand state, not a fallback. */
.dark {
  background: var(--ink);
  color: var(--paper);
  border-top: none !important;
}

.dark h1, .dark h2, .dark h3 { color: var(--paper); }
.dark .lede { color: #bdbdbd; }
.dark .eyebrow { color: #8a8a8a; }
.dark .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.dark .btn:hover { background: var(--accent); border-color: var(--accent); }
.dark .btn-ghost { background: transparent; color: var(--paper); border-color: #555; }
.dark .btn-ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* --- Hero ----------------------------------------------------------------- */

.hero { padding: clamp(64px, 11vw, 132px) 0 clamp(56px, 9vw, 108px); }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 24px; max-width: 52ch; }

.tagline {
  font-family: var(--mono);
  font-size: clamp(0.75rem, 1.8vw, 0.9375rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 28px 0 0;
}

/* --- Steps ---------------------------------------------------------------- */

.steps { list-style: none; padding: 0; margin: 48px 0 0; counter-reset: step; }

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: clamp(16px, 3vw, 32px);
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.step:last-child { border-bottom: 1px solid var(--line); }

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  padding-top: 4px;
}

.step p { margin: 8px 0 0; color: var(--ink-soft); max-width: 58ch; }

/* --- Card grid ------------------------------------------------------------ */

.grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  margin-top: 48px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* A four-step flow must never render 3 + 1. auto-fit did exactly that, because
   four 240px minimums plus gaps exceed the 992px content width. Be explicit. */
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

.card { border-top: 3px solid var(--ink); padding-top: 20px; }
.card p { margin: 10px 0 0; color: var(--ink-soft); font-size: 0.9375rem; }
.dark .card { border-top-color: var(--accent); }
.dark .card p { color: #b0b0b0; }

/* --- Lists ---------------------------------------------------------------- */

.ticks { list-style: none; padding: 0; margin: 32px 0 0; }

.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 13px;
  color: var(--ink-soft);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: var(--accent);
}

.ticks strong { color: var(--ink); font-weight: 700; }

.nots { list-style: none; padding: 0; margin: 32px 0 0; }

.nots li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 13px;
  color: var(--ink-soft);
}

.nots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 11px;
  height: 2px;
  background: var(--ink-faint);
}

.two-col {
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

/* --- Case label ----------------------------------------------------------- */
/* From the case-label variant in the locked logo system. */

.label { border: 1px solid var(--line); max-width: 440px; }
.dark .label { border-color: var(--line-dark); }

.label-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.dark .label-head { background: #141414; border-bottom-color: var(--line-dark); color: #8a8a8a; }

.label-body { padding: 18px 16px; margin: 0; }

.row { display: flex; gap: 16px; align-items: baseline; font-family: var(--mono); font-size: 0.8125rem; }
.row + .row { margin-top: 13px; }

.row dt {
  flex: none;
  width: 68px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.6875rem;
}

.row dd { margin: 0; overflow-wrap: anywhere; min-width: 0; }

/* Long addresses will not sit beside a label on a narrow screen. Stack them
   rather than letting them break out of the box. */
@media (max-width: 460px) {
  .row { flex-direction: column; gap: 5px; }
  .row dt { width: auto; }
  .row + .row { margin-top: 16px; }
  .label-head { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* --- Pricing placeholder -------------------------------------------------- */
/* Deliberately loud. Pricing Architecture v2 is Draft; no figure ships until
   Nathan approves it. If one of these reaches production, it is a bug. */

.tbd {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent);
  border: 1px dashed var(--ink);
  padding: 2px 8px;
  white-space: nowrap;
}

.notice {
  border: 1px solid var(--ink);
  border-left-width: 5px;
  padding: 22px 24px;
  margin: 0 0 48px;
  background: var(--paper-warm);
}

.notice p { font-size: 0.9375rem; color: var(--ink-soft); }
.notice strong { color: var(--ink); }

/* --- Fee blocks ----------------------------------------------------------- */

.fee { padding: 28px 0; border-top: 1px solid var(--line); }
.fee:last-of-type { border-bottom: 1px solid var(--line); }
.fee-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.fee p { margin: 10px 0 0; color: var(--ink-soft); max-width: 62ch; }

/* --- Links ---------------------------------------------------------------- */

.inline-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  font-weight: 600;
}

.inline-link:hover { background: var(--accent); }
.dark .inline-link { color: var(--paper); }
.dark .inline-link:hover { color: var(--ink); }

/* --- Footer --------------------------------------------------------------- */

.footer { background: var(--ink); color: #8a8a8a; padding: 56px 0 40px; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer a { color: #d0d0d0; text-decoration: none; font-size: 0.9375rem; }
.footer a:hover { color: var(--accent); }

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer .brand { color: var(--paper); }

.footer-legal {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a5a5a;
}

/* --- Staging banner ------------------------------------------------------- */
/* Remove this element from every page before the site goes public. */

.staging {
  background: var(--accent);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
  font-weight: 700;
}
