/* Leadership Ledger site — tokens mirror src/theme/tokens.js. Keep hexes exact. */

:root {
  --paper: #FAF8F4;
  --ink: #1A1A1A;
  --secondary: #6B6862;
  --hairline: #E5E1D8;

  --decision: #5B7C99;
  --people: #7A9471;
  --delegation: #B0885A;
  --clarity: #8B7CA8;
  --focus: #A8756B;
  --courage: #996B7D;

  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121212;
    --ink: #EDEBE6;
    --secondary: #8F8C85;
    --hairline: #2A2A2A;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

/* --- Type --- */

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; }

h1 { font-size: 2.5rem; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 1rem; }
h3 { font-size: 1.125rem; margin-bottom: 0.375rem; }

p { margin-bottom: 1rem; }

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--secondary); }

.kicker {
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.secondary { color: var(--secondary); }
.small { font-size: 0.9375rem; }

/* --- Structure --- */

section { padding: 2.75rem 0; border-top: 0.5px solid var(--hairline); }
section:first-of-type { border-top: none; padding-top: 0; }

header.hero { padding: 1rem 0 3rem; }
header.hero .tagline {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--secondary);
  margin-top: 0.75rem;
}
header.hero .lede {
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.5;
  margin-top: 2rem;
}

/* Quoted / reflective content */
blockquote {
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  border-left: 3px solid var(--hairline);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--secondary);
}

/* The six pillars — accent used only as a thin 3px bar */
.pillars {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem 2rem;
  margin: 1.5rem 0 0.5rem;
}
.pillars li { border-left: 3px solid; padding-left: 0.875rem; }
.pillars .name { font-family: var(--serif); font-size: 1.0625rem; display: block; }
.pillars .q { font-size: 0.875rem; color: var(--secondary); display: block; }
.pillar-decision   { border-color: var(--decision); }
.pillar-people     { border-color: var(--people); }
.pillar-delegation { border-color: var(--delegation); }
.pillar-clarity    { border-color: var(--clarity); }
.pillar-focus      { border-color: var(--focus); }
.pillar-courage    { border-color: var(--courage); }

/* Numbered how-it-works steps */
.steps { list-style: none; counter-reset: step; margin-top: 0.5rem; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 0.5px solid var(--hairline);
}
.steps li:first-child { border-top: none; }
.steps li::before {
  content: counter(step);
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--secondary);
}

/* Pricing rows */
.price-rows { margin-top: 0.5rem; }
.price-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.875rem 0;
  border-top: 0.5px solid var(--hairline);
}
.price-rows > div:first-child { border-top: none; }
.price-rows .amount { font-family: var(--serif); white-space: nowrap; }

/* Legal pages */
article h2 { margin-top: 2.5rem; }
article ul { margin: 0 0 1rem 1.25rem; }
article li { margin-bottom: 0.375rem; }
.effective { font-size: 0.9375rem; color: var(--secondary); margin: 0.5rem 0 2rem; }

footer {
  border-top: 0.5px solid var(--hairline);
  margin-top: 2rem;
  padding: 2rem 0 1rem;
  font-size: 0.9375rem;
  color: var(--secondary);
}
footer p { margin-bottom: 0.5rem; }
footer a { color: var(--secondary); }

@media (max-width: 480px) {
  main { padding-top: 3rem; }
  h1 { font-size: 2rem; }
  .pillars { grid-template-columns: 1fr; }
}
