/* NVC Books marketing site: shared styles for every page.
   Warm, paper-like palette with a rust accent; deliberately not Etsy's own orange or typeface. */

:root {
  --bg: #fbf8f4;
  --surface: #ffffff;
  --ink: #1f1d1a;
  --muted: #5d574f;
  --line: #e7e0d6;
  --accent: #b5471b;
  --accent-ink: #ffffff;
  --accent-soft: #f6e6dc;
  --teal: #1d6b66;
  --teal-soft: #e1efed;
  --radius: 14px;
  --max: 1080px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161412;
    --surface: #1f1c19;
    --ink: #f2ede6;
    --muted: #b3aa9f;
    --line: #34302b;
    --accent: #e0754a;
    --accent-ink: #1a0f09;
    --accent-soft: #3a241a;
    --teal: #6cc2b9;
    --teal-soft: #1c2f2d;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand svg { flex: none; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 56px; }
.eyebrow { display: inline-block; background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.025em; margin: 18px 0 18px; max-width: 18ch; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 60ch; margin: 0 0 28px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid var(--accent); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { color: var(--accent); background: transparent; }

/* Sections */
section { padding: 48px 0; }
section h2 { font-size: clamp(26px, 3.5vw, 34px); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 12px; }
section > .wrap > p.sub { color: var(--muted); max-width: 62ch; margin: 0 0 28px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .num { font-weight: 800; color: var(--accent); font-size: 14px; letter-spacing: 0.05em; }

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.statement { font-variant-numeric: tabular-nums; width: 100%; max-width: 460px; border-collapse: collapse; font-size: 16px; }
.statement td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.statement td:last-child { text-align: right; }
.statement tr.total td { font-weight: 800; border-bottom: none; border-top: 2px solid var(--ink); }
.statement .neg { color: var(--muted); }
.split { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }

ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { padding-left: 30px; position: relative; margin: 0 0 12px; }
ul.checks li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 12px; height: 7px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }

/* Legal pages */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.02em; margin: 0 0 6px; line-height: 1.15; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0 8px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.doc th { background: var(--surface); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--accent-soft); border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2 220px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer nav a { color: var(--muted); }
.trademark { margin-top: 20px; max-width: 70ch; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 36px; }
  .hero p.lead { font-size: 18px; }
}
