/* stephendugger.com — one stylesheet for every page.
   Palette and type carried over from the Sept 2026 Carrd homepage. */
:root {
  --void: #0A0A0A;
  --bone: #F5F0E8;
  --slate: #4A5568;
  --charcoal: #1C1C1C;
  --gold: #B8960C;
  --gold-soft: rgba(184,150,12,0.12);
  --line: rgba(245,240,232,0.08);
  --muted: rgba(245,240,232,0.68);
  --faint: rgba(245,240,232,0.42);
  --todo: #E5484D;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--void); color: var(--bone); font-family: 'Inter', system-ui, sans-serif; line-height: 1.65; font-size: 17px; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 700px; }

/* NAV */
nav { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 62px; }
.nav-mark { display: flex; align-items: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.05em; }
.dot { width: 16px; height: 16px; border: 1.5px solid var(--gold); border-radius: 50%; position: relative; flex: none; }
.dot::after { content: ""; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.nav-links { display: flex; gap: 26px; font-size: 13px; }
.nav-links a { color: rgba(245,240,232,0.6); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: var(--bone); font-size: 22px; cursor: pointer; padding: 8px; }
@media (max-width: 760px) {
  .nav-links { position: fixed; top: 62px; left: 0; right: 0; background: var(--void); border-bottom: 1px solid var(--line); flex-direction: column; padding: 20px 24px; gap: 18px; font-size: 15px; transform: translateY(-130%); transition: transform 0.25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
}

/* TYPE */
.eyebrow, .label { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 50px; line-height: 1.15; margin-bottom: 22px; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 32px; line-height: 1.2; margin-bottom: 18px; }
h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.25; margin-bottom: 10px; }
.sub { font-size: 19px; color: var(--muted); max-width: 600px; }
.center { text-align: center; }
.center .sub { margin: 0 auto; }
@media (max-width: 720px) { h1 { font-size: 36px; } h2 { font-size: 27px; } }

/* SECTIONS */
.hero { padding: 100px 0 70px; border-bottom: 1px solid var(--line); }
.page-head { padding: 80px 0 50px; border-bottom: 1px solid var(--line); }
section { padding: 64px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }
@media (max-width: 720px) { .hero { padding: 70px 0 50px; } .page-head { padding: 56px 0 36px; } section { padding: 48px 0; } }

.prose p, .prose ul, .prose ol { margin-bottom: 18px; color: var(--muted); }
.prose p strong, .prose li strong { color: var(--bone); font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a, a.inline { color: var(--gold); border-bottom: 1px solid rgba(184,150,12,0.4); }
.prose a:hover, a.inline:hover { border-bottom-color: var(--gold); }

/* CARDS */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .grid, .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--charcoal); border: 1px solid var(--line); border-radius: 4px; padding: 28px 26px; display: block; transition: border-color 0.2s, transform 0.2s; }
a.card:hover { border-color: var(--gold); transform: translateY(-3px); }
.card .path { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gold); margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--muted); }
.card .arrow { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--faint); }
a.card:hover .arrow { color: var(--gold); }
.card.feature { border-color: rgba(184,150,12,0.45); }

/* STEPS / LADDER */
.ladder { counter-reset: step; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: start; background: var(--charcoal); border: 1px solid var(--line); border-radius: 4px; padding: 22px 22px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--gold); padding-top: 4px; }
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }
.step .price { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--bone); white-space: nowrap; padding-top: 4px; }
@media (max-width: 600px) { .step { grid-template-columns: 34px 1fr; } .step .price { grid-column: 2; padding-top: 0; } }

/* LISTS */
.checks { list-style: none; padding: 0 !important; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: "◎"; position: absolute; left: 0; color: var(--gold); font-size: 13px; top: 3px; }
.nots li::before { content: "×"; font-size: 17px; top: -1px; color: var(--faint); }

/* BUTTONS */
.btn { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; padding: 14px 22px; border: 1px solid var(--gold); color: var(--gold); border-radius: 3px; transition: background 0.15s, color 0.15s; }
.btn:hover { background: var(--gold); color: var(--void); }
.btn.solid { background: var(--gold); color: var(--void); }
.btn.solid:hover { background: transparent; color: var(--gold); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* QUOTE */
blockquote.thesis { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 30px; line-height: 1.3; max-width: 640px; margin: 0 auto 18px; }
.attribution { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--faint); letter-spacing: 0.05em; }
@media (max-width: 720px) { blockquote.thesis { font-size: 24px; } }

.note { border-left: 2px solid var(--gold); background: var(--gold-soft); padding: 16px 20px; border-radius: 0 4px 4px 0; font-size: 15px; color: var(--muted); margin: 24px 0; }
.small { font-size: 14px; color: var(--faint); }

/* Unfinished items Steve has to fill. build.py --release refuses to ship any page that still has one. */
.todo { background: rgba(229,72,77,0.15); border: 1px dashed var(--todo); color: #FFB4B6; padding: 1px 6px; border-radius: 3px; font-size: 0.9em; }
div.todo { display: block; padding: 12px 16px; margin: 16px 0; }

/* FOOTER */
footer { padding: 50px 24px 60px; text-align: center; border-top: 1px solid var(--line); }
.foot-links { display: flex; justify-content: center; gap: 22px; margin-bottom: 20px; font-size: 13px; flex-wrap: wrap; }
.foot-links a { color: rgba(245,240,232,0.55); }
.foot-links a:hover { color: var(--gold); }
.made { font-size: 12px; color: var(--faint); max-width: 520px; margin: 0 auto 14px; }
.copy { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(245,240,232,0.3); }

/* PLAN SHELF (added 2026-10-13): cards on /coaching built from plans/catalog.json by build.py */
.shelf { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 8px; }
.plan { background: var(--charcoal); border: 1px solid var(--line); border-radius: 4px; padding: 26px 24px; display: flex; flex-direction: column; }
.plan.feature { border-color: rgba(184,150,12,0.45); grid-column: 1 / -1; }
.plan .meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.plan h3 { margin-bottom: 8px; }
.plan p { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.plan .for { font-size: 13px; color: var(--faint); margin-bottom: 16px; }
.plan .for strong { color: var(--muted); font-weight: 500; }
.plan .buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.plan .price { font-family: 'JetBrains Mono', monospace; font-size: 15px; color: var(--bone); }
.plan .soon { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.shelf-note { font-size: 13px; color: var(--faint); margin-top: 18px; }
@media (max-width: 760px) { .shelf { grid-template-columns: 1fr; } .plan.feature { grid-column: auto; } }
