/* site-03 — Discogs inventory export landing page
   Pure static, no framework, no webfonts, no cookies. Mobile first. */

:root {
  --bg: #0c0c0d;
  --surface: #141312;
  --line: #26231f;
  --line-strong: #3a352f;
  --ink: #ece7dd;
  --ink-2: #b6afa2;
  --ink-3: #8b8477;
  --accent: #e8b04b;
  --accent-ink: #14110c;
  --radius: 14px;
  --wrap: 960px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  z-index: 10;
}
.skip:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- [0] top bar ---------- */
.topbar {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  padding: 10px 16px;
}

/* ---------- [1] hero ---------- */
.hero { padding: 46px 0 40px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 3px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(29px, 6.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 750;
  max-width: 20ch;
}

.lede {
  margin: 0 0 26px;
  font-size: clamp(16px, 2.5vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 750;
  font-size: 17px;
  line-height: 1.2;
  padding: 15px 26px;
  min-height: 52px;
  border-radius: 10px;
  border: 1px solid #f0c368;
}
.btn:hover { background: #f3c877; color: var(--accent-ink); }

.trust {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* ---------- shared section ---------- */
section { border-top: 1px solid var(--line); padding: 42px 0; }

h2 {
  margin: 0 0 18px;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
}

section h2::before {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- [2] pain ---------- */
.pain {
  display: grid;
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
}

.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- [3] steps ---------- */
.steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 46px;
  color: var(--ink-2);
  font-size: 16px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.note {
  margin: 0;
  border-left: 3px solid var(--accent);
  padding: 10px 0 10px 14px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- [4] fields table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

caption {
  caption-side: top;
  text-align: left;
  font-size: 13px;
  color: var(--ink-3);
  padding: 0 0 8px;
}

th, td {
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

td code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  color: var(--ink);
  background: #1b1917;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  white-space: nowrap;
}

td:last-child, th:last-child { padding-right: 0; }

.table-note {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}

.sample-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
}

/* ---------- [5] for / not for ---------- */
.two-col { display: grid; gap: 16px; }

.two-col h3 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}

.two-col ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.two-col li { margin: 0 0 8px; }
.two-col li:last-child { margin-bottom: 0; }

/* ---------- [6] pricing ---------- */
.price-table { min-width: 520px; }

.price-table th,
.price-table td { padding: 12px 14px; }

.price-table thead th {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

.price-table thead th:first-child { width: 82px; }
.price-table thead th:nth-child(2) { width: 46%; }
.price-table thead th:nth-child(3) { width: 40%; }

.price-table tbody th {
  color: var(--ink-3);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.price-table td { color: var(--ink-2); }

.price-table .price {
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
}

.price-table .muted { display: block; color: var(--ink-3); font-size: 13px; font-weight: 400; }

.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: 0; padding-top: 16px; }

.btn-small {
  display: inline-block;
  padding: 11px 16px;
  font-size: 14px;
  min-height: 44px;
  border-radius: 9px;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink-3); }

.refund-line {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.refund-line + p { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); }

/* ---------- [7] faq ---------- */
.faq { border-top: 1px solid var(--line); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq summary {
  cursor: pointer;
  padding: 13px 30px 13px 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-3);
}

.faq details[open] summary::after { content: "\2013"; }

.faq details p {
  margin: 0 0 14px;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 68ch;
}

/* ---------- [8] footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
  color: var(--ink-3);
  font-size: 14px;
}

.foot-brand {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 750;
  color: var(--ink);
}

.foot-brand::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 3px;
}

.foot-links {
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}

.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--accent); text-decoration: underline; }

.legal-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  max-width: 62ch;
}

/* ---------- legal pages ---------- */
.doc { padding: 40px 0 56px; max-width: 68ch; }
.doc h1 { font-size: clamp(26px, 5vw, 36px); margin: 0 0 8px; letter-spacing: -0.02em; }
.doc .updated { margin: 0 0 28px; color: var(--ink-3); font-size: 14px; }
.doc h2 { font-size: 19px; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--ink-2); font-size: 15.5px; }
.doc ul { padding-left: 20px; }
.doc .back { display: inline-block; margin-bottom: 18px; font-size: 14px; }

/* ---------- larger screens ---------- */
@media (min-width: 720px) {
  .pain { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero { padding: 64px 0 52px; }
  section { padding: 52px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
