/* Layout: warehouse lot tag + manifest — condensed industrial display, plain readable body, mono for SKU/price data */
:root {
  --paper: #eef0ec;
  --surface: #ffffff;
  --ink: #1b1f23;
  --muted: #56606a;
  --line: #cdd3ce;
  --hi: #f5b700;
  --hi-ink: #1b1f23;
  --tag: #1f4e79;
  --ok: #2f6b3a;
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14171a; --surface: #1c2024; --ink: #e8ebe9; --muted: #9ba4ac;
    --line: #313840; --hi: #f5b700; --hi-ink: #14171a; --tag: #86b6e6; --ok: #7cc48a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #14171a; --surface: #1c2024; --ink: #e8ebe9; --muted: #9ba4ac;
  --line: #313840; --hi: #f5b700; --hi-ink: #14171a; --tag: #86b6e6; --ok: #7cc48a;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--tag); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--hi); outline-offset: 2px;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; text-wrap: balance; margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; text-transform: uppercase; letter-spacing: .02em; }
p { margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav .nav-cta { background: var(--hi); color: var(--hi-ink); padding: 6px 12px; font-weight: 600; }

/* Hero */
.hero { padding-block: 56px 48px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 7.5vw, 5.4rem); text-transform: uppercase; }
.hero h1 mark { background: var(--hi); color: var(--hi-ink); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; padding: 12px 22px; text-decoration: none; border: 2px solid var(--ink); cursor: pointer; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--hi); color: var(--hi-ink); border-color: var(--hi); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }

/* Lot tag */
.lot-tag {
  position: relative; background: var(--hi); color: var(--hi-ink);
  padding: 26px 24px 22px; transform: rotate(1.5deg);
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 22px);
  box-shadow: 0 18px 30px -18px rgba(0,0,0,.45);
  font-family: var(--font-mono); min-width: 0;
}
.lot-tag::before { content: ""; position: absolute; top: 16px; left: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px rgba(0,0,0,.25); }
.lot-tag .lot-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-left: 26px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.lot-tag .lot-num { font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; line-height: 1; margin-top: 14px; }
.lot-tag dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0 0; font-size: .9rem; }
.lot-tag dt { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; padding-top: 3px; }
.lot-tag dd { margin: 0; font-weight: 600; }
.lot-tag .barcode { height: 34px; margin-top: 18px; background: repeating-linear-gradient(90deg, var(--hi-ink) 0 2px, transparent 2px 4px, var(--hi-ink) 4px 5px, transparent 5px 8px, var(--hi-ink) 8px 11px, transparent 11px 13px); opacity: .85; }
.lot-tag .sample-note { font-size: .7rem; margin-top: 8px; letter-spacing: .06em; text-transform: uppercase; }

/* Sections */
section { padding-block: 64px; }
.section-head { display: grid; gap: 10px; margin-bottom: 32px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* Manifest table */
.manifest-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.manifest { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
.manifest th, .manifest td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.manifest thead th { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--paper); }
.manifest td.num, .manifest th.num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.manifest td.sku { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); white-space: nowrap; }
.manifest .strike { text-decoration: line-through; color: var(--muted); }
.manifest tbody tr:last-child td { border-bottom: 0; }
.cond { display: inline-block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border: 1px solid currentColor; white-space: nowrap; }
.cond-new { color: var(--ok); }
.cond-open { color: var(--tag); }
.cond-ret { color: var(--muted); }
.table-note { font-size: .88rem; color: var(--muted); margin-top: 12px; }

/* Steps + cards */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 3px solid var(--ink); }
.steps li::before { counter-increment: step; content: "Step " counter(step); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.steps p { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.cats li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.cats li span:last-child { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.cats li:nth-child(odd) { padding-right: 16px; }
.cats li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.grades { display: grid; gap: 16px; margin: 0; }
.grades div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: baseline; }
.grades dd { margin: 0; color: var(--muted); }
.perks { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.perks li { padding-left: 26px; position: relative; }
.perks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; background: var(--hi); }

/* Form */
.signup { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); padding: 28px; display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 0; padding: 11px 12px; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.consent strong { color: var(--ink); font-weight: 600; }
.form-foot { font-size: .8rem; color: var(--muted); }
.form-status { font-size: .95rem; padding: 12px 14px; background: var(--paper); border-left: 4px solid var(--ok); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-foot { background: var(--ink); color: var(--paper); padding-block: 44px; font-size: .92rem; }
.site-foot a { color: var(--paper); }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-foot h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; font-weight: 500; opacity: .75; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot address { font-style: normal; display: grid; gap: 4px; }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; opacity: .8; font-size: .82rem; }
:root[data-theme="dark"] .site-foot .legal { border-top-color: rgba(0,0,0,.2); }

/* Legal pages */
.doc { padding-block: 48px 72px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); text-transform: uppercase; margin-bottom: 8px; }
.doc h2 { font-size: 1.6rem; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc .callout { background: var(--surface); border-left: 4px solid var(--hi); padding: 16px 18px; margin: 18px 0; }
.doc .meta { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap, .grid-2, .signup { grid-template-columns: 1fr; gap: 36px; }
  .lot-tag { transform: rotate(0.8deg); max-width: 440px; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; }
  .site-foot .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .form { padding: 20px; }
  .form .row { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .cats li:nth-child(n) { padding-inline: 0; border-left: 0; }
  .grades div { grid-template-columns: 1fr; gap: 2px; }
  .site-foot .wrap { grid-template-columns: 1fr; }
  section { padding-block: 48px; }
  .nav { gap: 14px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
