/* Fulfillem marketing site
   One stylesheet for index.html and stores.html.
   Edit colors and spacing here; pages carry no inline styles. */

:root {
  --paper: #f3f0e8;
  --white: #ffffff;
  --ink: #17171b;
  --ink-soft: #45454c;
  --ink-mute: #55555c;
  --line: #d8d3c6;
  --line-dark: #4a4a52;
  --accent: #c2410c;
  --accent-light: #f59e6b;
  --ok: #166534;
  --navy: #1e3a5f;
  --gold: #f2c14e;

  --font-display: Archivo, "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --max: 1248px;
  --pad: clamp(20px, 5vw, 96px);
  --section-y: clamp(56px, 8vw, 112px);
  --radius: 6px;
}

* { box-sizing: border-box; }

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

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

img, svg { max-width: 100%; }

a { color: var(--ink); }
a:hover { color: var(--accent); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 50;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--accent { background: var(--accent); color: var(--white); }
.section--rule { border-top: 1px solid var(--line); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }

.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; margin: 0; }

h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 0.99; }
h2 { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.03; }
h3 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.12; font-weight: 700; }

p { margin: 0; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-soft); max-width: 60ch; }
.section--ink .lede, .section--accent .lede { color: inherit; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--accent);
}
.section--ink .eyebrow { color: var(--accent-light); }

.note { font-size: 15px; color: var(--ink-mute); }
.section--ink .note { color: #b9b6ae; }

.muted { color: var(--ink-soft); }
.section--ink .muted { color: #c9c6be; }

/* ---------- header ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  flex-wrap: wrap;
  padding-block: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.brand span.sub { font-weight: 600; color: var(--accent); }
.site-nav { display: flex; gap: clamp(14px, 2vw, 34px); flex-wrap: wrap; font-size: 16px; font-weight: 500; }
.site-nav a { text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }

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

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 26px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: #a6360a; color: var(--white); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; color: var(--paper); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--outline-light { border-color: var(--white); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--accent); }
.btn--sm { padding: 12px 20px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-weight: 600; text-decoration: none; }

/* ---------- cards & panels ---------- */

.card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}
.card--dark { background: var(--ink); color: var(--paper); }
.card--plain { border: 0; }
.card--soft { background: var(--paper); border: 0; }
.card h3 { margin: 0; }
.card p { color: var(--ink-soft); font-size: 16px; }
.card--dark p { color: #c9c6be; }
.card__grow { flex-grow: 1; }

.panel {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
}

.stat { display: flex; flex-direction: column; gap: 6px; }
.stat b { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -0.02em; }
.stat span { font-size: 16px; color: var(--ink-soft); }

.checklist { display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: 0 0 auto; margin-top: 4px; }
ul.checklist { list-style: none; margin: 0; padding: 0; }

/* steps: real sequences only */
.steps { border-top: 2px solid var(--ink); }
.steps .step { padding: 26px 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.steps .step b { font-family: var(--font-mono); font-size: 15px; font-weight: 500; color: var(--accent); }
.steps .step p { font-size: 16px; color: var(--ink-soft); }
.section--ink .steps { border-color: var(--line-dark); }

.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.feature { border-top: 1.5px solid var(--line-dark); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.feature p { color: #c9c6be; font-size: 16px; }

/* ---------- job ticket (hero graphic) ---------- */

.ticket {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--ink);
  padding: 26px;
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ticket__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.ticket__id { font-size: 23px; }
.ticket__label { font-size: 13px; letter-spacing: 0.14em; color: var(--ink-mute); }
.ticket__rows { border-top: 1px solid var(--line); }
.ticket__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.ticket__row b { font-family: var(--font-body); font-size: 16px; }
.ticket__row .status { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.status--done { color: var(--ok); }
.status--now { color: var(--accent); }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.progress i { height: 8px; border-radius: 2px; background: var(--line); display: block; }
.progress i.on { background: var(--ink); }
.progress i.now { background: var(--accent); }
.progress-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 13px; color: var(--ink-mute); }
.ticket__foot { background: var(--paper); border-radius: 4px; padding: 13px 15px; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- one-box diagram ---------- */

.flow { display: flex; flex-direction: column; gap: 18px; font-family: var(--font-mono); }
.flow__box { border: 1.5px solid var(--line-dark); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.flow__box b { font-family: var(--font-body); font-size: 20px; }
.flow__box span { font-size: 14px; color: #b9b6ae; }
.flow__arrow { display: flex; justify-content: center; }
.flow__out { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.flow__out b { font-family: var(--font-body); font-size: 20px; }

/* ---------- scan log ---------- */

.log { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px; font-family: var(--font-mono); font-size: 15px; }
.log__row { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.log__row:first-child { padding-top: 0; }
.log__row:last-child { border-bottom: 0; padding-bottom: 0; color: var(--accent); font-weight: 500; }
.log__row time { color: var(--ink-mute); }
.log__row:last-child time { color: inherit; }

/* ---------- pricing ---------- */

.plan { border: 2px solid var(--ink); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; }
.plan--dark { background: var(--ink); color: var(--paper); }
.plan h3 { margin: 0; }
.rates { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 15px; }
.rates th, .rates td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rates td:last-child, .rates th:last-child { text-align: right; font-weight: 500; }
.rates thead th { font-size: 13px; letter-spacing: 0.1em; color: var(--ink-mute); font-weight: 500; }
.plan--dark .rates th, .plan--dark .rates td { border-color: var(--line-dark); }
.plan--dark .rates thead th { color: #b9b6ae; }
.minimum { background: #2a2a30; border-radius: 4px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.minimum b { font-size: 18px; }
.minimum p { font-size: 15px; color: #c9c6be; }

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service b { display: block; font-size: 17px; margin-bottom: 6px; }
.service p { font-size: 15px; color: var(--ink-soft); }

/* ---------- form ---------- */

.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select {
  height: 50px;
  border: 1.5px solid #8a8780;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 16px;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--ink); }
.hp { position: absolute; left: -9999px; }

/* ---------- example store card (stores page) ---------- */

.store-demo { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--ink); overflow: hidden; background: var(--white); }
.store-demo__head { background: var(--navy); color: var(--white); padding: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.store-demo__mark { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.store-demo__head b { font-family: var(--font-display); font-size: 22px; font-weight: 700; display: block; }
.store-demo__head span { font-size: 14px; color: #d6dee8; }
.store-demo__closes { font-family: var(--font-mono); font-size: 13px; background: var(--gold); color: var(--navy); padding: 8px 12px; border-radius: 3px; font-weight: 500; }
.store-demo__items { padding: 22px 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.store-demo__item { display: flex; flex-direction: column; gap: 10px; }
.store-demo__thumb { height: 130px; background: #edf1f6; border-radius: 4px; display: grid; place-items: center; }
.store-demo__item b { font-size: 15px; }
.store-demo__item span { font-size: 14px; color: var(--ink-mute); }
.store-demo__foot { padding: 0 24px 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.store-demo__stat { background: var(--paper); border-radius: 4px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.store-demo__stat span { font-size: 13px; color: var(--ink-mute); }
.store-demo__stat b { font-size: 17px; }

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(28px, 4vw, 64px); }
.faq__list { display: flex; flex-direction: column; }
.faq__item { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.faq__item:first-child { border-top: 2px solid var(--ink); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item b { font-size: 20px; }
.faq__item p { color: var(--ink-soft); }

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

.site-footer { background: var(--ink); color: #c9c6be; padding-block: clamp(48px, 6vw, 80px); }
.site-footer a { color: #c9c6be; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer h4 { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; color: #8f8c85; font-weight: 500; margin: 0 0 4px; }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--paper); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-legal { border-top: 1px solid #3a3a40; margin-top: 44px; padding-top: 22px; font-size: 14px; color: #8f8c85; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .grid-4, .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .split, .faq { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > *:first-child { order: 2; }
  .steps .step { padding-right: 16px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .services, .feature-list,
  .store-demo__items, .store-demo__foot { grid-template-columns: minmax(0, 1fr); }
  .site-header { position: static; }
  .site-header__inner { min-height: 0; }
  .site-nav { order: 3; width: 100%; gap: 12px 18px; font-size: 15px; }
  .btn { width: 100%; text-align: center; }
  .btn--sm, .header-actions .btn { width: auto; }
  .ticket { box-shadow: 6px 6px 0 var(--ink); padding: 20px; }
  .ticket__row { grid-template-columns: 1fr auto; }
  .ticket__row .ticket__method { grid-column: 1 / -1; color: var(--ink-mute); }
  .store-demo { box-shadow: 6px 6px 0 var(--ink); }
  .steps { border-top: 0; }
  .steps .step { padding: 0 0 22px; border-top: 2px solid var(--ink); padding-top: 20px; }
  .section--ink .steps .step { border-color: var(--line-dark); }
}

@media print {
  .site-header, .site-footer, .btn { display: none; }
  body { background: #fff; }
}
