/* NextLot — design system. Editorial, warm neutrals, generous whitespace.
   No mono labels, no boxed "card" grids pretending to be a dashboard. */

:root {
  --ink: #1d1a16;
  --ink-soft: #4a4339;
  --paper: #faf6ef;
  --paper-raised: #ffffff;
  --line: #e4dccc;
  --accent: #b0491f;      /* terracotta — parcel-tape warmth, not corporate orange */
  --accent-ink: #7c3415;
  --accent-soft: #f3e3d4;
  --good: #3f6b4a;
  --good-soft: #e6eee7;
  --unconfirmed-bg: #fbe9c7;
  --unconfirmed-ink: #7a5400;
  --shadow: 0 1px 2px rgba(29,26,22,0.04), 0 8px 24px rgba(29,26,22,0.06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --radius: 3px;
  --maxw: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1ece2;
    --ink-soft: #c9c0ae;
    --paper: #1c1915;
    --paper-raised: #262219;
    --line: #3a3426;
    --accent: #e08a52;
    --accent-ink: #f3b98a;
    --accent-soft: #3a2a1d;
    --good: #8fc79c;
    --good-soft: #223326;
    --unconfirmed-bg: #4a3a16;
    --unconfirmed-ink: #e8c87a;
    --shadow: 0 1px 2px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.4);
  }
}

* { box-sizing: border-box; }
html { 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;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-top: 0; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--accent-ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
a:hover { text-decoration-color: currentColor; }
strong { color: var(--ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- header ---------- */
header.site {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
}
header.site .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 15px; font-weight: 600;
  flex: none;
}
.brand .name { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }

nav.primary { display: flex; align-items: center; gap: 22px; }
nav.primary a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.93rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
nav.primary a:hover, nav.primary a.active { color: var(--ink); border-bottom-color: var(--accent); }
.nav-toggle { display: none; }

.motion-toggle {
  border: 1px solid var(--line); background: var(--paper-raised);
  color: var(--ink-soft); font-size: 0.78rem; border-radius: 999px;
  padding: 5px 12px; cursor: pointer; font-family: var(--sans);
  display: flex; align-items: center; gap: 6px;
}
.motion-toggle:hover { color: var(--ink); }

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border: 1px solid var(--line);
    background: var(--paper-raised); border-radius: var(--radius); cursor: pointer;
  }
  nav.primary {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper-raised); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0;
  }
  nav.primary.open { display: flex; }
  nav.primary a { padding: 12px 28px; border-bottom: 1px solid var(--line); }
  .motion-toggle { display: none; }
}

/* ---------- hero + parcel belt animation ---------- */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero .kicker {
  display: inline-block; color: var(--accent-ink); font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 { max-width: 15ch; }
.hero .sub { max-width: 46ch; font-size: 1.1rem; }
.hero .cta-row { display: flex; gap: 14px; margin: 26px 0 8px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius); font-weight: 600;
  font-size: 0.97rem; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; font-family: var(--sans);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink-soft); }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.trust-strip span { font-size: 0.88rem; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; }
.trust-strip span::before { content: "✓"; color: var(--good); font-weight: 700; }

.belt { margin-top: 44px; height: 78px; position: relative; }
.belt svg { width: 100%; height: 100%; display: block; }
.belt .lane { opacity: 0.9; }
.motion-off .belt-moving { animation: none !important; transform: none !important; }

@keyframes beltScroll { from { transform: translateX(0); } to { transform: translateX(-120px); } }
@keyframes parcelBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* ---------- section rhythm ---------- */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 56ch; margin-bottom: 32px; }
.section-head .kicker {
  color: var(--accent-ink); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; display: block; margin-bottom: 10px;
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
.step { display: flex; gap: 16px; }
.step .num {
  font-family: var(--serif); font-size: 1.6rem; color: var(--accent);
  flex: none; width: 2ch;
}
.step h3 { margin-bottom: 6px; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

/* ---------- category grid (editorial, not boxed cards) ---------- */
.category-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.category-list .item { border-top: 1px solid var(--line); padding-top: 16px; }
.category-list .item h3 { margin-bottom: 6px; }
@media (max-width: 700px) { .category-list { grid-template-columns: 1fr; } }

.not-accepted { margin-top: 10px; }
.not-accepted .item { border-top: 1px solid var(--line); padding: 16px 0; }
.not-accepted .item h4 { margin: 0 0 4px; font-family: var(--sans); font-weight: 700; font-size: 1rem; }

/* ---------- pricing table ---------- */
table.tiers { width: 100%; border-collapse: collapse; margin: 18px 0 8px; }
table.tiers th, table.tiers td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
table.tiers th { font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-soft); font-weight: 600; }
table.tiers td.rate { color: var(--accent-ink); font-weight: 700; }
table.tiers td.payout { color: var(--good); font-weight: 600; }

.extra-costs { margin-top: 8px; }
.extra-costs .row { display: flex; gap: 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.extra-costs .row dt { flex: 0 0 240px; font-weight: 600; color: var(--ink); }
.extra-costs .row dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 700px) { .extra-costs .row { flex-direction: column; gap: 4px; } .extra-costs .row dt { flex: none; } }

.example-box {
  background: var(--accent-soft); border-radius: var(--radius);
  padding: 20px 24px; margin-top: 18px;
}
.example-box p { color: var(--ink); margin: 0; }

/* ---------- calculator ---------- */
.calculator {
  background: var(--paper-raised); border: 1px solid var(--line);
  border-radius: 8px; padding: 28px; margin-top: 10px; box-shadow: var(--shadow);
}
.calc-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.calc-field label { display: block; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 6px; }
.calc-field input {
  font-size: 1.1rem; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper); color: var(--ink);
  width: 180px; font-family: var(--sans);
}
.calc-field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.calc-result { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: none; }
.calc-result.show { display: block; }
.calc-result .headline { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 6px; }
.calc-result .headline .payout { color: var(--good); }
.calc-result .breakdown { font-size: 0.92rem; color: var(--ink-soft); }
.calc-result.below-min .headline { color: var(--unconfirmed-ink); font-size: 1.15rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 72ch; }
details.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
details.faq-item summary {
  cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 400; flex: none; }
details.faq-item[open] summary::after { content: "–"; }
details.faq-item .a { padding-top: 10px; max-width: 64ch; }

/* ---------- reviews ---------- */
.placeholder-badge {
  display: inline-block; background: var(--unconfirmed-bg); color: var(--unconfirmed-ink);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; margin-bottom: 10px;
}
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.review-card h3 { font-size: 1rem; margin-bottom: 10px; }
.review-card p { font-size: 0.95rem; margin: 0; }
@media (max-width: 760px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- unconfirmed badge ---------- */
.unconfirmed {
  background: var(--unconfirmed-bg); color: var(--unconfirmed-ink);
  padding: 1px 7px; border-radius: 4px; font-size: 0.88em; font-weight: 600;
  white-space: nowrap;
}

/* ---------- not-yet / honesty list ---------- */
.honesty-list { list-style: none; padding: 0; margin: 0; }
.honesty-list li {
  padding: 10px 0 10px 26px; border-top: 1px solid var(--line);
  position: relative; color: var(--ink-soft); font-size: 0.95rem;
}
.honesty-list li::before { content: "—"; position: absolute; left: 0; color: var(--unconfirmed-ink); }

/* ---------- contact form ---------- */
form.enquiry { max-width: 56ch; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; font-size: 1rem; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper-raised); color: var(--ink);
  font-family: var(--sans);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: -4px; margin-bottom: 18px; }

.direct-contact { display: flex; flex-direction: column; gap: 6px; }

/* ---------- misc blocks ---------- */
.callout {
  background: var(--good-soft); border-radius: var(--radius);
  padding: 16px 20px; font-size: 0.93rem; color: var(--ink);
}
.template-note {
  background: var(--unconfirmed-bg); color: var(--unconfirmed-ink);
  border-radius: var(--radius); padding: 14px 18px; font-size: 0.9rem; margin-bottom: 28px;
}
.template-note p { color: var(--unconfirmed-ink); margin: 0; }

.legal-section { border-top: 1px solid var(--line); padding: 20px 0; }
.legal-section h3 { font-size: 1.05rem; }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 20px; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: flex-start; }
footer.site .cols { display: flex; gap: 32px; flex-wrap: wrap; }
footer.site a { color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; }
footer.site a:hover { color: var(--ink); }
footer.site .disclaimer { font-size: 0.8rem; color: var(--ink-soft); max-width: 640px; margin-top: 18px; }
footer.site .byline { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; }

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