/* Plain starter look. A chosen design replaces this file (and only this file): every page uses these classes and tokens. */
:root {
  --bg: #ffffff; --fg: #15171a; --muted: #5d636b; --line: #e3e5e8; --card: #f6f7f8;
  --accent: #1f5eff; --accent-fg: #ffffff; --warn: #a15c00;
  --radius: 10px; --max: 760px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1113; --fg: #eceef0; --muted: #9aa1a9; --line: #2a2e33; --card: #181b1f; --accent: #6f97ff; --accent-fg: #0f1113; --warn: #e0a24a; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--font); }
a { color: var(--accent); }
main { max-width: var(--max); margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0.4em 0; }
h2 { font-size: 1.3rem; margin: 1.6em 0 0.5em; }
.lede { font-size: 1.1rem; color: var(--muted); }
.small, .opt { font-size: 0.85rem; color: var(--muted); }

.preview-bar { background: var(--warn); color: #fff; text-align: center; padding: 6px 16px; font-size: 0.85rem; }
.site-head { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; max-width: var(--max); margin: 0 auto; padding: 16px; }
.brand { font-weight: 800; text-decoration: none; color: var(--fg); letter-spacing: 0.02em; }
.site-head nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-head nav a { text-decoration: none; color: var(--muted); }
.site-head nav a[aria-current] { color: var(--fg); font-weight: 600; }
.site-foot { max-width: var(--max); margin: 0 auto; padding: 24px 16px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }

.hero h1 { font-size: 2.3rem; }
.goals-q { margin-top: 1.4em; }
.goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.goal { display: block; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--fg); text-decoration: none; font-weight: 600; }
.goal:hover { border-color: var(--accent); }
.spine { margin: 28px 0 0; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--muted); }

.cards { display: grid; gap: 10px; }
.card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--fg); text-decoration: none; }
a.card:hover { border-color: var(--accent); }
.card span { color: var(--muted); font-size: 0.95rem; }
.card-kind { font-size: 0.75rem !important; text-transform: uppercase; letter-spacing: 0.06em; }
.tag { display: inline-block; font-size: 0.72rem; padding: 1px 7px; border-radius: 99px; border: 1px solid currentColor; vertical-align: middle; text-decoration: none; }
.card .tag { align-self: flex-start; }
.tag.draft { color: var(--warn); }
.tag.peak { color: var(--accent); }

.kicker { margin: 0; font-size: 0.9rem; }
.prose blockquote, .pull { margin: 1.2em 0; padding-left: 14px; border-left: 3px solid var(--accent); }
.pull { font-size: 1.2rem; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); }
.related ul, .sources ul { padding-left: 1.2em; }
.sources { font-size: 0.9rem; color: var(--muted); }

.stack { border-top: 1px solid var(--line); padding-top: 4px; }
.compounds { padding-left: 1.3em; }
.compounds li { margin: 6px 0; }
.compounds span { color: var(--muted); }
.caveat { font-style: italic; color: var(--muted); }

.cta { margin: 32px 0 0; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.cta p { margin: 0 0 10px; }
.button { display: inline-block; padding: 10px 18px; border-radius: var(--radius); background: var(--accent); color: var(--accent-fg); text-decoration: none; font-weight: 600; border: 0; font: inherit; cursor: pointer; }
.button.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.price { font-size: 1.15rem; }

.apply { display: grid; gap: 12px; margin-top: 24px; }
.apply label { display: grid; gap: 4px; font-weight: 600; }
.apply input, .apply select, .apply textarea { font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--fg); width: 100%; }
.apply .hp { position: absolute; left: -9999px; }
