/* ZPQV — customer-facing register.
   Same brand DNA as zpqv.zpqv.io (Inter for UI, Newsreader for
   editorial serif, orange-family accent), tuned to the audience this
   page is for: founders and executives running real businesses, not
   sophisticated tech buyers. The investor/partner surfaces keep the
   pure-black sharp treatment; this surface uses warm paper and ink. */

:root {
  --bg: #f7f3eb;
  --surface: #efe9dc;
  --card: #ffffff;
  --text: #1a1612;
  --text-secondary: #6b5f4d;
  --text-tertiary: #9c8c70;
  --border: #d9cfbc;
  --border-strong: #b9aa90;
  --accent: #c34f1c;
  --accent-light: #e0671e;
  --accent-glow: rgba(195, 79, 28, 0.12);
  --ink: #1a1612;
  --max-w: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1612;
    --surface: #221c16;
    --card: #28211a;
    --text: #f3ead8;
    --text-secondary: #b0a288;
    --text-tertiary: #826f55;
    --border: #3a3024;
    --border-strong: #54442f;
    --accent: #e0671e;
    --accent-light: #f37b30;
    --accent-glow: rgba(224, 103, 30, 0.18);
  }
}

* { box-sizing: border-box; }

html { font-size: 18px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: "ss01" on, "cv11" on;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(195, 79, 28, 0.25);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a:hover {
  color: var(--accent-light);
  border-bottom-color: currentColor;
}

@media (prefers-color-scheme: dark) {
  a { border-bottom-color: rgba(224, 103, 30, 0.32); }
}

/* ---- Site header / nav ---- */

.site-header {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.5rem 2rem 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.site-title {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  border-bottom: none;
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  .site-title { color: var(--text); }
}
.site-title:hover { color: var(--accent); }

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text-secondary);
  border-bottom: none;
}
.site-nav a:hover { color: var(--accent); }

/* ---- Main column ---- */

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Hero ---- */

.hero {
  padding: 5.5rem 0 4rem 0;
}

.hero-title {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 1.75rem 0;
  max-width: 22ch;
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  .hero-title { color: var(--text); }
}

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  max-width: 34rem;
}

/* ---- Prose sections ---- */

.prose {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.prose h2 {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  .prose h2 { color: var(--text); }
}

.prose h3.sub {
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 500;
  margin: 2.5rem 0 0.85rem 0;
  letter-spacing: -0.005em;
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  .prose h3.sub { color: var(--text); }
}

.prose p {
  margin: 0 0 1.1rem 0;
  font-size: 1.05rem;
  color: var(--text);
}

.prose .summary {
  margin: 0 0 2rem 0;
  padding: 1.25rem 1.5rem 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
}

.prose .summary .label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 0.4rem;
}

.prose .summary p.tldr {
  margin: 0 0 1.1rem 0;
  font-size: 0.95rem;
  color: var(--text);
}

.prose .summary .exec {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.prose .summary .exec .label {
  display: block;
  margin-bottom: 0.75rem;
}

.prose .summary .exec ul {
  margin: 0;
  padding-left: 1.1rem;
}

.prose .summary .exec li {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.prose .summary .exec li strong {
  color: var(--text);
  font-weight: 600;
}

.prose .summary .exec li a {
  font-weight: 500;
}

.prose .callout {
  margin-top: 1.75rem;
  font-size: 1.05rem;
}

.prose .callout a {
  font-weight: 500;
}

.prose.close p {
  font-size: 1.15rem;
}

/* ---- Footer ---- */

.site-footer {
  max-width: 64rem;
  margin: 5rem auto 0 auto;
  padding: 2rem 2rem 2.5rem 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}

.site-footer p {
  margin: 0 0 0.4rem 0;
}

.site-footer a {
  color: var(--text-tertiary);
  border-bottom: none;
}
.site-footer a:hover { color: var(--accent); }

/* ---- Narrow screens ---- */

@media (max-width: 44rem) {
  .site-header, .site-footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  main { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero { padding: 4rem 0 2.5rem 0; }
}
