:root {
  --ink: #171b19;
  --muted: #626b66;
  --line: #dfe5e1;
  --paper: #fffefb;
  --green: #6dd0ae;
  --green-soft: #dcf5eb;
  --green-deep: #1f7d61;
  --yellow: #f3d365;
  --yellow-soft: #fff4c9;
  --purple: #ab9be5;
  --purple-soft: #eee9ff;
  --red: #cf4a44;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,254,251,.96); }
.site-nav { min-height: 70px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 18px; }
.brand-dots { display: flex; gap: 5px; }
.brand-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }
.brand-dot:nth-child(1) { background: var(--green); }
.brand-dot:nth-child(2) { background: var(--yellow); }
.brand-dot:nth-child(3) { background: var(--purple); }
.nav-links { display: flex; justify-content: center; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 650; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.btn { min-height: 42px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; font-size: 14px; background: #fff; cursor: pointer; }
.btn-primary { background: var(--ink); color: #fff; }
.eyebrow { margin: 0 0 13px; color: var(--green-deep); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.page-hero { padding: 105px 0 85px; text-align: center; }
.page-hero h1 { margin: 0; font-size: clamp(58px, 8vw, 104px); line-height: .96; letter-spacing: 0; }
.philosophy-you {
  display: inline-block;
  padding: .02em .17em .08em;
  border-radius: 8px;
  background: var(--purple-soft);
}
.page-hero p { max-width: 700px; margin: 24px auto 0; font: italic 23px/1.45 Georgia, serif; color: #424a46; }
.page-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.chapter { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 65px; padding: 76px 0; border-top: 1px solid #d5dad6; }
.chapter-label { position: sticky; top: 24px; align-self: start; }
.chapter-label span { display: block; color: var(--green-deep); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.chapter-label strong { display: block; margin-top: 9px; font: 700 29px/1.08 Georgia, serif; }
.chapter-body { max-width: 760px; }
.chapter-body h2 { margin: 0 0 20px; font-size: clamp(31px, 4vw, 49px); line-height: 1.06; }
.chapter-body p { margin: 0 0 19px; color: #3d4541; font-size: 18px; }
.rule-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 28px 0; }
.rule-list div { display: flex; gap: 11px; align-items: center; padding: 14px 0; border-bottom: 1px solid #d4d9d5; font: italic 19px Georgia, serif; }
.rule-x { color: var(--red); font: 800 21px/1 sans-serif; }
.pull { margin: 34px 0; padding-left: 22px; border-left: 4px solid var(--yellow); font: italic 30px/1.25 Georgia, serif; }
.word-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0; }
.word-row span { padding: 7px 11px; border: 1px solid #cfd5d1; border-radius: 5px; background: #fff; font-size: 13px; font-weight: 700; }
.net-carb-note { margin: 30px 0; padding: 24px; border: 1px solid var(--ink); border-radius: 8px; background: #fff; }
.net-carb-note strong { display: block; margin-bottom: 8px; }
.net-carb-math { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 18px; font-weight: 750; }
.net-carb-math span { padding: 7px 10px; border-radius: 5px; }
.net-carb-math span:nth-child(1) { background: var(--purple-soft); }
.net-carb-math span:nth-child(3) { background: var(--green-soft); }
.net-carb-math span:nth-child(5) { background: var(--yellow-soft); }
.net-carb-math span:last-child { background: var(--purple); }
.need-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0; }
.need-column { padding: 22px; border-top: 4px solid var(--red); background: #fff; }
.need-column:nth-child(2) { border-color: var(--green); }
.need-column h3 { margin: 0 0 12px; font-size: 14px; text-transform: uppercase; }
.need-column p { margin: 8px 0; font-size: 17px; }
.closing { padding: 90px 20px; background: var(--ink); color: #fff; text-align: center; font: italic 28px/1.45 Georgia, serif; }
.closing strong { display: block; margin-top: 14px; font: 800 53px/1 sans-serif; }
.story-main { padding: 105px 0 120px; }
.story-layout { display: grid; grid-template-columns: minmax(420px, .95fr) 1.05fr; gap: 70px; align-items: start; }
.founder-photo-wrap { position: sticky; top: 28px; }
.founder-photo { aspect-ratio: 4/3; border: 2px solid var(--ink); border-radius: 8px; background: #f2eee5; box-shadow: 8px 9px 0 var(--purple-soft); overflow: hidden; }
.founder-photo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.founder-caption { margin-top: 16px; display: grid; justify-items: center; gap: 5px; text-align: center; color: var(--muted); font-size: 13px; }
.founder-caption a { color: var(--green-deep); font-weight: 700; text-decoration: none; }
.founder-caption a:hover { text-decoration: underline; text-underline-offset: 3px; }
.story-copy h1 { margin: 0 0 32px; line-height: .96; }
.story-title-main { display: block; font-size: clamp(58px, 7vw, 90px); font-weight: 800; }
.story-created {
  display: inline-block;
  padding: .01em .14em .07em;
  border-radius: 8px;
  background: var(--green-soft);
}
.story-title-brand {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.05;
}
.story-copy p { margin: 0 0 21px; max-width: 720px; color: #3e4642; font-size: 18px; }
.founder-question { margin: 38px 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.founder-question small { display: block; margin: 14px 0 6px; color: var(--muted); text-transform: uppercase; font-weight: 800; }
.founder-question blockquote { margin: 0; font: italic 30px/1.25 Georgia, serif; }
.signoff { margin-top: 42px; font: italic 28px/1.4 Georgia, serif; }
.signoff strong { font-style: normal; }
.page-cta { padding: 90px 20px; border-top: 1px solid var(--line); text-align: center; background: #f3f7f4; }
.page-cta h2 { margin: 0; font-size: clamp(42px, 5vw, 66px); }
.page-cta p { color: var(--muted); }
.site-footer { padding: 34px 0 42px; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 800px) {
  .site-nav { grid-template-columns: auto auto; }
  .nav-links { display: none; }
  .chapter { grid-template-columns: 150px 1fr; gap: 35px; }
  .story-layout { grid-template-columns: 1fr; }
  .founder-photo-wrap { position: relative; top: auto; }
  .founder-photo { width: 100%; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .brand span:last-child { display: none; }
  .page-hero, .story-main { padding: 72px 0; }
  .chapter { grid-template-columns: 1fr; gap: 20px; padding: 55px 0; }
  .chapter-label { position: relative; top: auto; }
  .rule-list, .need-grid { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
