/* Career Design Lab — shared playbook styles */
:root {
  --white: #FAFAF8;
  --surface: #F5F3EF;
  --ink: #1A1A1A;
  --body: #3A3935;
  --muted: #5C5B55;
  --border: #E2DED6;
  --indigo: #7F77DD;
  --indigo-dim: #AFA9EC;
  --indigo-bg: #EEEDFE;
  --teal: #2AACA8;
  --teal-bg: #E8F8F7;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--indigo); text-decoration: none; border-bottom: 1px solid var(--indigo-dim); }
a:hover { border-bottom-color: var(--indigo); }
.wrap { max-width: 720px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.eyebrow.accent { color: var(--indigo); }
h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
}
h1 em { font-style: italic; color: var(--indigo); }
.lead { font-size: 1.1rem; color: var(--body); max-width: 38em; margin-bottom: 2rem; }
.thesis {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink);
  border-left: 3px solid var(--indigo-dim);
  padding-left: 1.25rem;
  margin: 2rem 0;
}
section { margin-bottom: 2.75rem; }
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
h2 em { font-style: italic; }
h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}
p { color: var(--body); margin-bottom: 1rem; }
ul, ol { color: var(--body); margin: 0 0 1rem 1.25rem; }
li { margin-bottom: 0.35rem; }
.back {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  display: inline-block;
  border-bottom: none;
}
.back:hover { color: var(--ink); }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.pill {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
}
.pill.accent { background: var(--indigo-bg); border-color: var(--indigo-dim); color: var(--ink); }
.pill.teal { background: var(--teal-bg); border-color: rgba(42,172,168,0.35); }
.framework {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0 2rem;
  max-width: 28rem;
}
.framework-step {
  position: relative;
  padding: 0.65rem 1rem 0.65rem 2.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--body);
}
.framework-step:first-child { border-radius: 8px 8px 0 0; }
.framework-step:last-child { border-radius: 0 0 8px 8px; }
.framework-step + .framework-step { border-top: none; }
.framework-step::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--indigo);
}
.framework-arrow {
  text-align: center;
  color: var(--indigo-dim);
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.15rem 0;
}
.toc { list-style: none; margin: 0; padding: 0; }
.toc-part {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.75rem 0 0.5rem;
}
.toc-part:first-child { margin-top: 0; }
.toc-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.toc-item a { flex: 1; border-bottom: none; color: var(--ink); }
.toc-item a:hover { color: var(--indigo); }
.toc-num {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: var(--indigo);
  min-width: 1.5rem;
}
.toc-status {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.toc-status.live { color: var(--teal); }
.zen-read {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.35rem;
  margin-bottom: 2rem;
}
.zen-read-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.zen-read p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.zen-read p:last-child { margin-bottom: 0; }
.article-body h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}
.cta-box {
  background: var(--indigo-bg);
  border: 1px solid var(--indigo-dim);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.cta-box h2 { margin-bottom: 0.75rem; }
.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}
.cta-links a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.subscribe-wrap { margin-top: 1.5rem; text-align: left; max-width: 360px; margin-left: auto; margin-right: auto; }
.subscribe-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.75rem; }
.subscribe-row { display: flex; gap: 0.5rem; }
.subscribe-row input[type="email"] {
  flex: 1;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
}
.subscribe-row button {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  border: none;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}
.subscribe-row button:disabled { opacity: 0.5; }
.subscribe-status { font-size: 0.85rem; margin-top: 0.5rem; min-height: 1.25rem; }
.subscribe-status.ok { color: var(--indigo); }
.subscribe-status.err { color: #9a3b3b; }
.chapter-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}
.chapter-nav span { color: var(--muted); font-size: 0.8rem; display: block; margin-bottom: 0.2rem; }
