:root {
  --cream: #efece4;
  --cream-2: #f4f1ea;
  --white: #fcfbf8;
  --ink: #16241c;
  --green: #1e4d3a;
  --green-deep: #142f24;
  --green-soft: #2c6a50;
  --gold: #9c6b12;
  --gold-2: #c79a3a;
  --gold-hi: #e7c766;
  --line: #ddd5c7;
  --muted: #5c6b62;
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.015em; }

.eyebrow {
  font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-2); }
.eyebrow.center { justify-content: center; }
.hl { color: var(--green); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.05em;
  height: 0.13em; background: var(--gold-2); border-radius: 2px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border-radius: 999px; padding: 13px 24px; transition: 0.18s ease;
  white-space: nowrap; cursor: pointer; border: 1px solid transparent;
}
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-primary { background: var(--green); color: #f5f3ec; border-color: var(--green); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(20, 60, 44, 0.7); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-gold {
  background: var(--gold-2); color: var(--green-deep); border-color: var(--gold-2);
  font-weight: 700; box-shadow: 0 12px 26px -12px rgba(199, 154, 58, 0.85);
}
.btn-gold:hover { background: #d6ab49; transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(199, 154, 58, 0.95); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 22px;
  padding: 16px 28px;
  background: rgba(239, 236, 228, 0.9); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold-2);
  box-shadow: 0 8px 22px -16px rgba(20, 37, 28, 0.45);
}
.nav-brand img { height: 25px; width: auto; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--green); }

/* ---- Mobile hamburger + dropdown menu ---- */
.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 42px; height: 42px; margin-left: 4px; padding: 0;
  background: transparent; border: 0; border-radius: 10px; cursor: pointer; flex-shrink: 0;
}
.nav-toggle-bar {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.nav.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }

@keyframes navItemFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(239, 236, 228, 0.98); backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold-2);
    box-shadow: 0 26px 40px -24px rgba(20, 37, 28, 0.55);
    padding: 6px 0 12px;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }
  .nav.is-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a {
    display: block; padding: 14px 28px;
    font-family: var(--font-head); font-size: 21px; font-weight: 600;
    color: var(--ink); text-decoration: none;
    border-left: 3px solid transparent; opacity: 0;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  }
  .nav.is-open .mobile-menu a { animation: navItemFade 0.55s ease forwards; }
  .nav.is-open .mobile-menu a:nth-child(1) { animation-delay: 0.06s; }
  .nav.is-open .mobile-menu a:nth-child(2) { animation-delay: 0.14s; }
  .nav.is-open .mobile-menu a:nth-child(3) { animation-delay: 0.22s; }
  .nav.is-open .mobile-menu a:nth-child(4) { animation-delay: 0.30s; }
  .mobile-menu a:hover, .mobile-menu a:focus, .mobile-menu a:active {
    background: rgba(199, 154, 58, 0.18); color: var(--green); border-left-color: var(--gold-2);
  }
}

/* ---- Hero ---- */
.hero {
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: 60px 26px 88px;
}
.hero h1 {
  font-size: clamp(42px, 8vw, 82px); font-weight: 700; line-height: 1.02;
  letter-spacing: -0.03em; margin-bottom: 26px;
}
.hero .lede { font-size: clamp(17px, 2.3vw, 21px); color: #3a4a41; margin: 0 auto; max-width: 34rem; }
.hero .lede b { color: var(--ink); font-weight: 600; }
.hero-path { font-size: 15px; color: var(--ink); margin: 26px 0 0; }
.hero-path a { color: var(--green); font-weight: 700; text-decoration: none; }
.hero-path a:hover { color: var(--gold); }
.hero-path .dash { color: var(--gold-2); font-weight: 400; margin: 0 2px; }
.hero-path .see { color: var(--muted); font-weight: 600; font-size: 13px; margin-left: 6px; text-decoration: none; transition: 0.15s; }
.hero-path .see:hover { color: var(--green); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 22px; }
.hero-trust { font-size: 13px; color: var(--muted); margin: 22px 0 0; }
.hero-trust b { color: var(--gold); }

/* Hero email capture — bright field inside a green block */
.hero-signup {
  max-width: 486px; margin: 32px auto 0; text-align: left;
  background: var(--green-deep); border: 1px solid rgba(231, 199, 102, 0.22);
  border-radius: 20px; padding: 24px 24px 20px;
  box-shadow: 0 34px 66px -38px rgba(20, 47, 36, 0.75);
}
.hero-signup-h { font-family: var(--font-head); color: #fff; font-size: 20px; font-weight: 600; margin: 0 0 14px; }
.hero-signup .signup { max-width: none; margin: 0; }
.hero-signup .signup input { background: #fff; border-color: #fff; }
.hero-signup .signup input:focus { border-color: var(--gold-hi); box-shadow: 0 0 0 3px rgba(231, 199, 102, 0.4); }
.hero-signup-sub { color: #cfdcd3; font-size: 14px; line-height: 1.5; margin: 14px 0 0; }

/* ---- Path intro ---- */
.path-intro { text-align: center; padding: 44px 26px 4px; }
.path-intro h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -0.01em; }
.path-intro .dash { color: var(--gold-2); font-weight: 400; margin: 0 4px; }

/* ---- Pillars ---- */
.pillar { padding: 80px 26px; }
.pillar-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px; align-items: center;
}
.pillar-copy { max-width: 540px; }
.pillar-step {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold);
  padding-bottom: 7px; margin-bottom: 18px; border-bottom: 2.5px solid var(--gold-2);
}
.pillar h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; margin-bottom: 16px; }
.pillar-copy > p { font-size: clamp(16px, 2vw, 18.5px); color: #3a4a41; margin: 0 0 28px; }

/* Learn = intro + newsletter (centered) then the five pillars */
.learn-head { max-width: 600px; margin: 0 auto; text-align: center; }
.learn-head .signup { margin: 0 auto; }
.learn-head .signup-fine { text-align: center; }
.topics {
  max-width: var(--wrap); margin: 44px auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px;
}
.topic {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 20px; text-decoration: none; color: inherit; transition: 0.16s ease;
}
.topic:hover { transform: translateY(-3px); border-color: var(--gold-2); box-shadow: 0 22px 42px -26px rgba(20, 37, 28, 0.42); }
.topic h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.topic p { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
.topic-go { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--gold); }

/* newsletter signup */
.signup { display: flex; gap: 10px; max-width: 460px; }
.signup input {
  flex: 1; min-width: 0; padding: 15px 17px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 13px; background: var(--white); color: var(--ink);
}
.signup input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30, 77, 58, 0.1); }
.signup .btn { flex-shrink: 0; }
.signup-fine { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.signup-fine b { color: var(--ink); }

/* Dark pillar (Plan = the engine) */
.pillar-dark { background: var(--green-deep); color: #e9efeb; }
.pillar-dark .pillar-step { color: var(--gold-hi); border-color: var(--gold-hi); }
.pillar-dark h2 { color: #fff; }
.pillar-dark .pillar-copy > p { color: #bcccc2; }

/* Calculator card */
.pillar-visual { min-width: 0; }
.statement {
  max-width: 460px; margin: 0 auto; background: var(--cream); color: var(--ink);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; overflow: hidden;
  box-shadow: 0 44px 90px -46px rgba(0,0,0,0.7);
}
.statement-top { display: flex; justify-content: space-between; padding: 15px 22px; border-bottom: 2px solid var(--gold-2); background: #e7e3d8; }
.mono { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: 0.4px; }
.muted { color: var(--muted); }
.calc-controls { padding: 22px 22px 6px; display: grid; gap: 18px; }
.calc-controls label span { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.calc-controls label b { color: var(--green); }
.calc-controls input[type="range"] { width: 100%; accent-color: var(--gold); }
.statement-rows { padding: 8px 22px 22px; }
.srow { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px dashed var(--line); font-size: 14.5px; }
.srow .gold { color: var(--gold); font-weight: 700; }
.srow.result { border-top: 2px solid var(--ink); margin-top: 4px; padding-top: 15px; align-items: baseline; }
.srow.result span:first-child { font-weight: 600; }
.mono.big { font-family: var(--font-head); font-size: 28px; color: var(--green); font-weight: 700; }
.calc-note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }

/* Founder (Act visual) */
.founder { margin: 0; display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; }
.founder img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 8%;
  border-radius: 16px; border: 1px solid var(--line);
}
.founder blockquote { font-family: var(--font-head); font-size: 18px; line-height: 1.4; margin: 0 0 10px; font-weight: 500; }
.founder .byline { font-size: 13px; color: var(--gold); font-weight: 600; }

/* ---- Final ---- */
.final { text-align: center; background: var(--green); color: #eef3ef; padding: 96px 26px; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% -10%, rgba(231,199,102,0.16), transparent 60%); }
.final > * { position: relative; }
.final h2 { font-size: clamp(30px, 5vw, 52px); color: #fff; font-weight: 700; margin-bottom: 32px; line-height: 1.08; }
.final-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final .btn-ghost { color: #eef3ef; border-color: rgba(231,199,102,0.4); }
.final .btn-ghost:hover { border-color: var(--gold-hi); color: #fff; background: rgba(231,199,102,0.1); }

/* ---- Footer ---- */
.footer { text-align: center; padding: 46px 26px; border-top: 1px solid var(--line); background: var(--cream-2); }
.footer-logo { height: 22px; width: auto; margin: 0 auto 16px; opacity: 0.85; }
.footer-links { display: flex; gap: 26px; justify-content: center; margin-bottom: 16px; }
.footer-links a { color: var(--ink); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--green); }
.footer-fine { color: var(--muted); font-size: 12.5px; margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 760px) {
  section, .pillar { padding-top: 60px; padding-bottom: 60px; }
  .hero { padding-top: 44px; }
  .nav-links { display: none; }
  .pillar-inner { gap: 40px; }
  .founder { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .founder img { max-width: 180px; margin: 0 auto; }
  .signup { flex-direction: column; }
  .signup .btn { width: 100%; }
  .hero-cta .btn, .final-actions .btn { width: 100%; }
}

/* ================= Articles & topic pages ================= */
.topic-page, .article { max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.topic-head { text-align: center; padding: 66px 0 30px; max-width: 640px; margin: 0 auto; }
.topic-head h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.topic-head .lede { font-size: clamp(16px, 2.2vw, 20px); color: #3a4a41; margin: 0 auto; max-width: 34rem; }
.crumb { color: var(--gold); text-decoration: none; }
.crumb:hover { color: var(--green); }

.article-list { padding: 6px 0 80px; }
.article-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px; max-width: var(--wrap); margin: 0 auto;
}
.article-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  text-decoration: none; color: inherit; transition: 0.16s ease;
}
.article-card:hover { transform: translateY(-3px); border-color: var(--gold-2); box-shadow: 0 26px 48px -28px rgba(20, 37, 28, 0.42); }
.article-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.article-card-topic { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.article-card h2 { font-size: 20px; font-weight: 600; line-height: 1.2; margin-bottom: 8px; }
.article-card p { font-size: 14.5px; color: var(--muted); margin: 0 0 16px; line-height: 1.55; }
.article-card-meta { margin-top: auto; font-size: 13px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); font-size: 17px; max-width: 40rem; margin: 20px auto; }
.empty a { color: var(--green); font-weight: 600; }
.back-link { text-align: center; margin: 40px 0 0; }
.back-link a { color: var(--green); text-decoration: none; font-weight: 600; font-size: 15px; }
.back-link a:hover { color: var(--gold); }

/* ---- Single article ---- */
.article-inner { max-width: 720px; margin: 0 auto; padding: 60px 0 24px; }
.article-eyebrow { font-size: 13px; letter-spacing: 0.4px; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 18px; }
.article-eyebrow a { color: var(--gold); text-decoration: none; }
.article-eyebrow a:hover { color: var(--green); }
.article-inner h1 { font-size: clamp(32px, 5.4vw, 52px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 18px; }
.article-lede { font-size: clamp(18px, 2.4vw, 22px); color: #3a4a41; line-height: 1.5; margin: 0 0 28px; }
.article-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); margin: 0 0 34px; }

.prose { font-size: 18px; line-height: 1.75; color: #24312a; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-family: var(--font-head); font-size: clamp(24px, 3.4vw, 31px); font-weight: 600; letter-spacing: -0.01em; margin: 44px 0 14px; }
.prose h3 { font-family: var(--font-head); font-size: 22px; font-weight: 600; margin: 32px 0 12px; }
.prose p { margin: 0 0 20px; }
.prose a { color: var(--green); text-decoration: underline; text-decoration-color: var(--gold-2); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose blockquote {
  margin: 26px 0; padding: 6px 22px; border-left: 3px solid var(--gold-2);
  font-family: var(--font-head); font-size: 22px; line-height: 1.4; color: var(--green-deep);
}
.prose img { border-radius: 12px; border: 1px solid var(--line); margin: 24px 0; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }
.prose code { background: var(--cream-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 0.9em; }
.prose table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--ink); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--green); }
.prose tbody tr:last-child td { border-bottom: none; }
.prose tbody tr:last-child { background: var(--cream-2); }

/* ================= beehiiv-style article section cards ================= */
.prose .bh-block {
  border: 2px solid #c9a227;
  border-radius: 20px;
  padding: 26px 28px;
  margin: 22px 0;
  font-family: "Instrument Sans", var(--font-body);
  color: #14251c;
}
.prose .bh-block > :first-child { margin-top: 0; }
.prose .bh-block > :last-child { margin-bottom: 0; }
.prose .bh-kicker {
  font-family: "Instrument Sans", var(--font-body);
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  margin: 0 0 6px;
}
.prose .bh-heading {
  font-family: "Instrument Sans", var(--font-body);
  font-weight: 700; font-size: clamp(21px, 3.2vw, 26px); line-height: 1.2;
  letter-spacing: -0.01em; margin: 2px 0 14px; color: #14251c;
}
.prose .bh-block p, .prose .bh-block li { color: #22312a; }
.prose .bh-block strong { color: #14251c; }

/* Pale card colors (exact beehiiv values) */
.prose .bh-green  { background: #d7e8e3; }
.prose .bh-blue   { background: #d4dff0; }
.prose .bh-purple { background: #ddd8ee; }
.prose .bh-pink   { background: #eedae6; }
.prose .bh-amber  { background: #f2e3ce; }
.prose .bh-green  .bh-kicker { color: #1e4d3a; }
.prose .bh-blue   .bh-kicker { color: #2b3f6b; }
.prose .bh-purple .bh-kicker { color: #4a3a7c; }
.prose .bh-pink   .bh-kicker { color: #8a3a5f; }
.prose .bh-amber  .bh-kicker { color: #8a6012; }

/* Dark intro card */
.prose .bh-dark { background: #102b33; color: #eaf0ee; }
.prose .bh-dark .bh-heading { color: #ffffff; }
.prose .bh-dark p, .prose .bh-dark li { color: #d4ddd9; }
.prose .bh-dark strong { color: #e7c766; }
.prose .bh-dark .bh-kicker { color: #e7c766; }
.prose .bh-dark a:not(.btn) { color: #e7c766; }

/* "Do this now" -> white inner card (beehiiv style); hide the callout label */
.prose .bh-block .markdown-alert {
  background: #fbfdfc; border: 1px solid rgba(20, 55, 45, 0.14);
  border-left: 1px solid rgba(20, 55, 45, 0.14);
  border-radius: 12px; margin: 18px 0 2px; padding: 15px 18px;
}
.prose .bh-block .markdown-alert-title { display: none; }
.prose .bh-block .markdown-alert p { color: #22312a; }
.prose .bh-dark .btn-gold { color: var(--green-deep); }

/* ---- Draft preview banner ---- */
.draft-banner {
  background: #f2e3ce; border-bottom: 2px solid #c9a227; color: #5c4611;
  text-align: center; padding: 11px 20px; font-size: 14px; line-height: 1.5;
}
.draft-banner strong { color: #4a380d; }

/* ---- In-article "Follow along" block ---- */
.follow-along {
  margin: 40px 0 0; padding: 26px; text-align: center;
  background: #102b33; border: 2px solid #c9a227; border-radius: 18px;
}
.follow-kicker {
  font-family: "Instrument Sans", var(--font-body); color: #e7c766;
  font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 6px;
}
.follow-lead { font-family: var(--font-head); color: #fff; font-size: 20px; font-weight: 600; margin: 0 0 16px; }
.follow-along .social { margin: 0; }
.follow-along .social-link { color: #cfe0d8; }
.follow-along .social-link:hover { color: #e7c766; }

/* ================= /links (bio hub) ================= */
.links-page { max-width: 640px; margin: 0 auto; padding: 0 24px 80px; }
.links-hero { text-align: center; padding: 58px 0 28px; }
.links-hero h1 { font-size: clamp(32px, 6.5vw, 52px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; margin-bottom: 14px; }
.links-sub { font-size: 17px; color: #3a4a41; margin: 0 0 26px; }
.links-cta { width: 100%; max-width: 460px; }
.links-fine { font-size: 13px; color: var(--muted); margin: 12px 0 22px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; max-width: 500px; margin: 0 auto; }
.chip { font-size: 13.5px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; }

.links-letter { margin: 10px 0 0; }
.letter-card { background: var(--green-deep); border-radius: 22px; padding: 34px 30px; text-align: center; border: 1px solid rgba(231, 199, 102, 0.2); }
.letter-kicker { font-family: "Instrument Sans", var(--font-body); color: var(--gold-hi); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px; }
.letter-card h2 { color: #fff; font-size: clamp(26px, 5vw, 34px); font-weight: 700; margin-bottom: 12px; }
.letter-card > p { color: #c2d2c9; font-size: 15.5px; line-height: 1.6; margin: 0 auto 22px; max-width: 30rem; }
.letter-card .signup { max-width: 420px; margin: 0 auto; }
.letter-card .signup input { background: #fff; border-color: #fff; }

.ai-link-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 16px 0 0; padding: 20px 24px; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; transition: 0.16s ease;
}
.ai-link-card:hover { border-color: var(--gold-2); transform: translateY(-2px); box-shadow: 0 22px 42px -26px rgba(20, 37, 28, 0.4); }
.ai-link-copy { display: flex; flex-direction: column; text-align: left; }
.ai-link-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 700; margin-bottom: 3px; }
.ai-link-title { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--ink); }
.ai-link-go { font-size: 22px; color: var(--green); flex-shrink: 0; }

/* ================= /subscribe (branded newsletter page) ================= */
.subscribe-page { max-width: 600px; margin: 0 auto; padding: 0 24px 80px; }
.subscribe-card { text-align: center; padding: 64px 0 0; }
.subscribe-card h1 { font-size: clamp(34px, 6vw, 54px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.subscribe-lede { font-size: 17px; color: #3a4a41; margin: 0 auto 28px; max-width: 32rem; line-height: 1.6; }
.subscribe-embed { max-width: 480px; margin: 28px auto 0; }
.subscribe-embed iframe { width: 100% !important; }

/* Inline beehiiv embed (hero + links + subscribe) */
.bh-embed { width: 100%; margin: 4px auto 0; }
.bh-embed iframe { width: 100% !important; min-width: 0 !important; }
.hero-signup .bh-embed { margin: 2px 0 0; }
.letter-card .bh-embed { margin: 4px 0 0; }
.subscribe-fine { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }
.subscribe-card .back-link { margin-top: 24px; }

/* ---- Colored callout boxes (> [!TIP] / [!NOTE] / [!IMPORTANT] / [!WARNING] / [!CAUTION]) ---- */
.prose .markdown-alert {
  margin: 26px 0; padding: 16px 20px; border-radius: 14px;
  border: 1px solid var(--line); border-left: 5px solid var(--gold-2);
  background: var(--cream-2);
}
.prose .markdown-alert > :last-child { margin-bottom: 0; }
.prose .markdown-alert-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  letter-spacing: 0.02em; text-transform: uppercase; margin: 0 0 8px;
}
.prose .markdown-alert-title svg { width: 17px; height: 17px; fill: currentColor; }

/* TIP — brand green */
.prose .markdown-alert-tip { border-left-color: var(--green); background: #eef3ef; }
.prose .markdown-alert-tip .markdown-alert-title { color: var(--green); }
/* IMPORTANT — gold, the signature accent */
.prose .markdown-alert-important { border-left-color: var(--gold-2); background: #f7efd9; }
.prose .markdown-alert-important .markdown-alert-title { color: var(--gold); }
/* NOTE — deep green */
.prose .markdown-alert-note { border-left-color: var(--green-soft); background: #edf2f0; }
.prose .markdown-alert-note .markdown-alert-title { color: var(--green-soft); }
/* WARNING — amber */
.prose .markdown-alert-warning { border-left-color: #c98a1a; background: #f8f0dd; }
.prose .markdown-alert-warning .markdown-alert-title { color: #9a6a12; }
/* CAUTION — red */
.prose .markdown-alert-caution { border-left-color: #b4462f; background: #f8e9e4; }
.prose .markdown-alert-caution .markdown-alert-title { color: #8f3623; }

/* ---- Highlighted text: ==text== ---- */
.prose mark {
  background: linear-gradient(transparent 8%, var(--gold-hi) 8%, var(--gold-hi) 82%, transparent 82%);
  color: inherit; padding: 0 2px; border-radius: 2px;
}

/* ---- Buttons inside articles: ::button[Label]{href=...} ---- */
.prose .btn { text-decoration: none; margin: 6px 10px 6px 0; }
.prose .btn:hover { color: inherit; }
.prose .btn-primary:hover { color: #f5f3ec; }
.prose .btn-gold:hover { color: var(--green-deep); }

/* ---- Captioned images ---- */
.prose .article-figure { margin: 28px 0; }
.prose .article-figure img { margin: 0; width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.prose .article-figure figcaption {
  margin-top: 10px; text-align: center; font-size: 13.5px; color: var(--muted); font-style: italic;
}

/* ---- Article tag chips ---- */
.article-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 36px 0 4px; }
.tag-chip {
  font-size: 13px; font-weight: 600; color: var(--green); text-decoration: none;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; transition: 0.15s;
}
.tag-chip:hover { border-color: var(--gold-2); color: var(--gold); }

/* ---- Footer social logo bar ---- */
.social { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin: 0 0 20px; }
.social-link { color: var(--muted); display: inline-flex; transition: 0.15s; }
.social-link svg { fill: currentColor; }
.social-link:hover { color: var(--green); transform: translateY(-2px); }

.article-cta {
  margin: 48px 0 8px; padding: 30px 26px; text-align: center;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 18px;
}
.article-cta p { font-family: var(--font-head); font-size: 21px; font-weight: 600; margin: 0 0 16px; }

@media (max-width: 760px) {
  .topic-head { padding-top: 46px; }
  .article-inner { padding-top: 40px; }
  .prose { font-size: 17px; }
}
