/* post-light.css -- the blog post template, rebuilt from the measured
   big-company design system. Lloyd, 2026-09-21 05:50: "Copy what the big
   companies do exactly."

   Every number below is measured, not taste. Sources:
     chief-home/out/apple-site-design-lessons/  (18 Apple pages, 8 OpenAI,
       4 Meta, at 390x844 and 1440x900: summary.json, font-scale.json,
       colour-pairs.json)
     chief-home/out/anthropic-site-design-lessons/LESSONS.md

   What was measured, and what it set here:
     body colour on ground   rgb(29,29,31) on rgb(245,245,247)  --ink / --ground
     secondary text          rgb(110,110,115)                   --ink-2
     body size               17px (apple body_px median)        --t-body
     small print             12-14px (top of the apple font scale)
     h1                      40px phone / 64px desktop          about 2.9x body
     h2 max                  32px phone / 48px desktop
     h1 length               2 words median; ours carries the search query
     first screen            23-25 words median
     section                 54-62 words median on a phone
     CTA label               2 words median
     autoplay                0 on every page measured

   Scoped to body.post-light so the rest of getgodmode.dev is untouched. Copy
   the design system, never anyone's logo, image or sentence. */

body.post-light {
  --ground: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --hair: #d2d2d7;
  --t-body: 17px;
  --t-small: 14px;
  /* data colours, all AA or better against white */
  --d-good: #0b64c8;
  --d-warn: #a35a00;
  --d-bad: #b3141f;
  --d-on: #ffffff;
  /* 2026-09-28: house sans is Inter, loaded via Google Fonts link in each post's
     <head> (400/500/600 -- Apple's own 400/600 pairing plus 500 for CTA labels).
     Never rely on a house font nobody has (Apple/Anthropic/OpenAI each ship
     their own); Inter is free, self-servable, and matches SF Pro's x-height
     and spacing closely enough that the measured scale above still holds. */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Helvetica, Arial, sans-serif;

  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* Nothing animates and nothing is dark: the rain canvas is gone from the markup
   on these pages, the site-wide CRT scanline overlay is switched off, and the
   terminal nav is repainted as a plain light bar. None of the pages measured
   ships a texture over its type. */
body.post-light::after { content: none; display: none; }

body.post-light nav {
  background: rgba(245, 245, 247, 0.94);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair);
  font-family: var(--sans);
}
body.post-light nav .container {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  height: 48px;
  flex-wrap: nowrap;
}
/* The site hides its nav links under a hamburger below 768px. These posts do
   not ship the hamburger markup, and three short links fit a 390px bar, so
   they stay visible here. */
body.post-light nav .nav-link,
body.post-light nav .nav-cta { display: inline-block; white-space: nowrap; }
body.post-light nav a { text-decoration: none; letter-spacing: 0; text-transform: none; }
body.post-light nav .nav-logo,
body.post-light nav .nav-logo:link,
body.post-light nav .nav-logo:visited { color: var(--ink); font-size: 15px; font-weight: 600; margin-right: auto; }
body.post-light nav .nav-link,
body.post-light nav .nav-link:link,
body.post-light nav .nav-link:visited { color: var(--ink); font-size: var(--t-small); font-weight: 400; }
body.post-light nav .nav-link:hover { color: var(--d-good); }
body.post-light nav .nav-cta,
body.post-light nav .nav-cta:link,
body.post-light nav .nav-cta:visited {
  /* .nav-cta declares JetBrains Mono directly, and a declaration on the element
     beats an inherited one, so the family has to be repainted here or the pill
     is the only monospace thing left on the page. */
  background: var(--ink); color: #ffffff; font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 980px; border: none; letter-spacing: 0;
  font-family: var(--sans);
}

/* ---- the article ------------------------------------------------------- */
body.post-light .article-wrap {
  max-width: 692px;
  margin: 0 auto;
  /* air above the headline: the first pass had the h1 hard against the nav rule */
  padding: 88px 22px 72px;
  position: relative;
  z-index: 1;
}

body.post-light h1 {
  font-size: 40px;
  line-height: 1.07;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 18px;
}
/* the one line under the headline. Near-black at 19px, not grey at 15px: the
   first pass ran it at #5c6f62 on near-black, about 3.6:1. */
body.post-light .answer {
  font-size: 19px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 28px;
}
body.post-light h2 {
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.012em;
  font-weight: 600;
  color: var(--ink);
  margin: 72px 0 20px;
  border: none;
  padding: 0;
  background: none;
}
body.post-light p,
body.post-light li { font-size: var(--t-body); line-height: 1.5; color: var(--ink); }
body.post-light a:link,
body.post-light a:visited { color: var(--d-good); text-decoration: none; }
body.post-light a:hover { text-decoration: underline; }
body.post-light code {
  background: rgba(0, 0, 0, 0.05); border: none; border-radius: 5px;
  padding: 2px 6px; font-size: 15px; color: var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
body.post-light strong { font-weight: 600; }

/* metadata as label:value rows, under the hero visual, never above the headline */
body.post-light .article-meta {
  display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px;
  align-items: baseline; margin: 26px 0 0;
  border-top: 1px solid var(--hair); padding-top: 14px;
}
body.post-light .article-meta .tag,
body.post-light .article-meta time,
body.post-light .article-meta .read,
body.post-light .article-meta .byline {
  grid-column: 1 / -1; margin: 0;
  font-size: 12px; line-height: 1.5; color: var(--ink-2);
  letter-spacing: 0; text-transform: none; background: none; padding: 0;
  clip-path: none; border: none; font-weight: 400;
}
body.post-light .article-meta .byline strong { color: var(--ink-2); font-weight: 600; }

/* ---- drawn graphics ---------------------------------------------------- */
/* Joe, 2026-09-21, on the first pass: "the graphics are a bordered bullet list
   and a three column TEXT table. Boxed text is still text." Every point is now
   an <svg>, and the budget gate refuses anything else. */
body.post-light .gfx {
  display: block; width: 100%; height: auto;
  background: var(--card); border-radius: 18px;
  margin: 0 0 16px; padding: 0;
}
body.post-light .gfx text { font-family: var(--sans); }
body.post-light .gfx .g-track { fill: #ececed; }
body.post-light .gfx .g-panel { fill: #f5f5f7; }
body.post-light .gfx .g-fill { fill: var(--d-good); }
body.post-light .gfx .g-warn { fill: var(--d-warn); }
body.post-light .gfx .g-bad { fill: var(--d-bad); }
body.post-light .gfx .g-lab { fill: var(--ink-2); font-size: 10px; letter-spacing: 1.4px; font-weight: 600; }
body.post-light .gfx .g-lab2 { fill: var(--ink-2); font-size: 12px; }
body.post-light .gfx .g-val { fill: var(--ink); font-size: 14px; font-weight: 600; }
body.post-light .gfx .g-on { fill: var(--d-on); font-size: 15px; font-weight: 600; }
body.post-light .gfx .g-on-s { fill: var(--d-on); font-size: 12px; font-weight: 600; }
body.post-light .gfx .g-huge { fill: var(--ink); font-size: 44px; font-weight: 600; letter-spacing: -1.5px; }
body.post-light .gfx .g-unit { fill: var(--ink-2); font-size: 9px; letter-spacing: 1.4px; font-weight: 600; }
body.post-light .gfx .g-axis { stroke: var(--hair); stroke-width: 1; }
body.post-light .gfx .g-arrow { fill: none; stroke: #b0b0b6; stroke-width: 1.5; }
body.post-light .gfx .g-tick { fill: none; stroke: var(--d-good); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
body.post-light .gfx .g-cross { fill: none; stroke: var(--d-bad); stroke-width: 5; stroke-linecap: round; }
body.post-light .gfx .g-ico { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.post-light .gfx .g-ico-2 { fill: none; stroke: var(--d-good); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.post-light .gfx .g-dot { fill: var(--card); stroke: var(--d-good); stroke-width: 2.5; }

/* the caption: one line under the picture, about 15 words, never a paragraph */
body.post-light .gfx + p {
  font-size: var(--t-body); line-height: 1.5; color: var(--ink-2);
  margin: 0 0 6px;
}

/* ---- detail behind a tap ------------------------------------------------ */
body.post-light .more-d,
body.post-light .qa-item,
body.post-light .sources-d { border-bottom: 1px solid var(--hair); }
body.post-light .more-d { border-top: 1px solid var(--hair); margin-top: 18px; }
body.post-light .more-d summary,
body.post-light .qa-item summary,
body.post-light .sources-d summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 16px 32px 16px 0;
  font-size: var(--t-body); line-height: 1.4; color: var(--ink); font-weight: 400;
}
body.post-light .more-d summary { font-size: var(--t-small); color: var(--ink-2); }
body.post-light .sources-d summary { font-size: var(--t-small); color: var(--ink-2); }
body.post-light summary::-webkit-details-marker { display: none; }
body.post-light .more-d summary::after,
body.post-light .qa-item summary::after,
body.post-light .sources-d summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 20px; line-height: 1; color: var(--d-good); font-weight: 300;
}
body.post-light .more-d[open] summary::after,
body.post-light .qa-item[open] summary::after,
body.post-light .sources-d[open] summary::after { content: "\2212"; }
body.post-light summary:focus-visible { outline: 2px solid var(--d-good); outline-offset: 3px; }
body.post-light .more-d p,
body.post-light .qa-item p { font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); margin: 0 0 16px; }
body.post-light .more-d ul,
body.post-light .more-d ol { margin: 0 0 16px; padding-left: 20px; }
body.post-light .more-d li { font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); margin-bottom: 7px; }
body.post-light .more-d .mrow { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0 0 16px; }
body.post-light .more-d .mrow dt { font-size: var(--t-small); font-weight: 600; color: var(--ink); }
body.post-light .more-d .mrow dd { font-size: var(--t-small); color: var(--ink-2); margin: 0; line-height: 1.5; }
body.post-light .qa h2 { margin-bottom: 8px; }

/* ---- the calculators ---------------------------------------------------- */
body.post-light .calc {
  background: var(--card); border: none; border-radius: 18px;
  padding: 22px 20px; margin: 0 0 16px;
}
/* A <legend> sits ON the fieldset's top edge by default, which on a borderless
   rounded card reads as a clipped label riding the corner (Joe, on
   screen-hours-0). float:left drops it into the flow as an ordinary block. */
body.post-light .calc legend {
  float: left; width: 100%; display: block;
  font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink-2); font-weight: 600; padding: 0; margin: 0 0 16px;
}
body.post-light .calc legend + * { clear: both; }
body.post-light .calc .c-row { display: grid; gap: 6px; margin-bottom: 14px; }
body.post-light .calc label { font-size: var(--t-small); color: var(--ink-2); }
body.post-light .calc select,
body.post-light .calc input {
  width: 100%; font-family: var(--sans); font-size: var(--t-body);
  padding: 11px 12px; color: var(--ink);
  background: #f5f5f7; border: 1px solid var(--hair); border-radius: 10px;
}
body.post-light .calc select:focus-visible,
body.post-light .calc input:focus-visible { outline: 2px solid var(--d-good); outline-offset: 2px; }
body.post-light .c-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
body.post-light .c-out-3 { grid-template-columns: repeat(3, 1fr); }
body.post-light .c-fig { background: #f5f5f7; border-radius: 12px; padding: 14px 12px; }
body.post-light .c-num { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.5px; color: var(--ink); line-height: 1.1; }
body.post-light .c-cap { display: block; font-size: 12px; color: var(--ink-2); margin-top: 6px; line-height: 1.35; }
body.post-light .c-verdict { font-size: var(--t-body); line-height: 1.45; color: var(--ink); margin: 14px 0 0; font-weight: 500; }
body.post-light .c-verdict[data-state="never"] { color: var(--d-bad); }
body.post-light .c-note { font-size: 12px; color: var(--ink-2); margin: 10px 0 0; line-height: 1.5; }

/* ---- the offer ---------------------------------------------------------- */
/* CTA label is 2 words on the pages measured. Dark pill, white label: nothing
   for a client to invert, and it clears the button-contrast rule outright. */
body.post-light .cta-box {
  background: var(--card); border: none; border-radius: 18px;
  padding: 32px 24px; margin: 56px 0 0; text-align: left;
}
body.post-light .cta-box h3 { font-size: 26px; line-height: 1.15; font-weight: 600; color: var(--ink); margin: 0 0 12px; letter-spacing: -0.01em; }
body.post-light .cta-box p { font-size: var(--t-body); color: var(--ink-2); margin: 0 0 16px; }
body.post-light .cta-box .mrow { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0 0 22px; }
body.post-light .cta-box .mrow dt { font-size: var(--t-small); font-weight: 600; color: var(--ink); }
body.post-light .cta-box .mrow dd { font-size: var(--t-small); color: var(--ink-2); margin: 0; }
body.post-light .cta-btn,
body.post-light .cta-btn:link,
body.post-light .cta-btn:visited {
  display: inline-block; background: var(--ink); color: #ffffff;
  font-size: var(--t-body); font-weight: 500; padding: 13px 26px;
  border-radius: 980px; text-decoration: none; letter-spacing: 0; text-transform: none;
  clip-path: none;
}
body.post-light .cta-btn:hover { background: #000000; text-decoration: none; }
body.post-light .cta-note { display: block; margin-top: 14px; font-size: 12px; color: var(--ink-2); }

/* shared-article.css still ships (the offer-cta test requires it on any post
   carrying the block), and it paints the offer in the terminal look: a near
   black facts panel, a green button, monospace everywhere. Every one of those
   properties has to be repainted here, not just the ones that looked wrong,
   or the block half-converts. Caught on the rendered phone screen, not by
   reading the stylesheet. */
body.post-light .article-wrap,
body.post-light .article-wrap :not(code):not(pre) { font-family: var(--sans); }

body.post-light .offer-cta {
  background: var(--card); border: none; border-radius: 18px;
  padding: 28px 24px; margin: 16px 0 0; display: block; box-shadow: none;
}
body.post-light .offer-cta .oc-kicker { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-2); font-weight: 600; margin: 0 0 10px; }
body.post-light .offer-cta .oc-lead { font-size: 21px; line-height: 1.25; font-weight: 600; color: var(--ink); margin: 0 0 18px; letter-spacing: -0.01em; }
body.post-light .offer-cta .oc-facts {
  list-style: none; margin: 0 0 20px; padding: 0; display: block;
  background: none; border: none; gap: 0;
}
body.post-light .offer-cta .oc-facts li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; font-size: var(--t-small); padding: 9px 0; border-top: 1px solid var(--hair); align-items: baseline; }
body.post-light .offer-cta .oc-k {
  color: var(--ink-2); font-size: var(--t-small); letter-spacing: 0;
  text-transform: none; font-weight: 400;
}
body.post-light .offer-cta .oc-v { color: var(--ink); }
body.post-light .offer-cta .oc-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
body.post-light .offer-cta .oc-cta,
body.post-light .offer-cta .oc-cta:link,
body.post-light .offer-cta .oc-cta:visited {
  display: inline-block; background: var(--ink); color: #ffffff;
  font-size: var(--t-small); font-weight: 500; padding: 11px 22px;
  border-radius: 980px; text-decoration: none;
  border: none; letter-spacing: 0; text-transform: none; min-height: 0;
  width: auto; text-align: center;
  /* .offer-cta .oc-cta:link in shared-article.css outranks the blanket family
     reset above, so the family is repainted on the same shape of selector. */
  font-family: var(--sans);
}
body.post-light .offer-cta .oc-cta:hover { background: #000000; }
body.post-light .offer-cta .oc-sig { font-size: 12px; color: var(--ink-2); margin: 0; letter-spacing: 0; }
body.post-light .offer-cta .oc-kicker { letter-spacing: 1.4px; }

/* Codex round 1: the proof block and free-audit link kept the dark terminal
   panel (shared-article.css .oc-proof/.oc-free) because this file never
   repainted them, so a black box sat inside the light offer card. Same
   card/ink tokens as the rest of the block above. */
body.post-light .offer-cta .oc-proof {
  display: grid; gap: 10px; padding: 14px 16px; margin: 0 0 20px;
  border: none; background: var(--ground); border-radius: 12px;
}
body.post-light .offer-cta .oc-proof-stats {
  display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0;
  font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--ink-2);
}
body.post-light .offer-cta .oc-stat b { color: var(--ink); font-weight: 600; }
body.post-light .offer-cta .oc-quote { margin: 0; padding: 0; border: 0; display: grid; gap: 5px; }
body.post-light .offer-cta .oc-quote p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink); max-width: 40em; }
body.post-light .offer-cta .oc-quote cite { font-family: var(--sans); font-size: 12px; font-style: normal; letter-spacing: 0; color: var(--ink-2); }
body.post-light .offer-cta .oc-proof-note { margin: 0; font-size: 12px; line-height: 1.6; color: var(--ink-2); }
body.post-light .offer-cta .oc-proof-note a:link,
body.post-light .offer-cta .oc-proof-note a:visited { color: var(--ink); text-decoration: underline; }
body.post-light .offer-cta .oc-free,
body.post-light .offer-cta .oc-free:link,
body.post-light .offer-cta .oc-free:visited {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0;
  color: var(--ink); text-decoration: underline; min-height: 0; display: inline-flex; align-items: center;
}
body.post-light .offer-cta .oc-free:hover { color: #000000; }
@media (max-width: 480px) {
  body.post-light .offer-cta .oc-proof-stats { display: grid; gap: 4px; }
  body.post-light .offer-cta .oc-quote p { font-size: 13px; }
  body.post-light .offer-cta .oc-free { width: 100%; justify-content: center; }
}

body.post-light .need-built { border-top: 1px solid var(--hair); margin-top: 40px; padding-top: 20px; font-size: var(--t-small); color: var(--ink-2); }
body.post-light .need-built a { font-weight: 500; }
body.post-light .sources { font-size: 13px; line-height: 1.6; color: var(--ink-2); border: none; margin: 0 0 16px; padding: 0; }

body.post-light .was-useful {
  display: block; background: none; border: none;
  border-top: 1px solid var(--hair); margin: 32px 0 0; padding: 20px 0 0;
}
body.post-light .was-useful .wu-q { font-size: var(--t-small); color: var(--ink-2); margin: 0 0 10px; }
body.post-light .was-useful .wu-btns { display: flex; gap: 10px; }
body.post-light .was-useful button {
  font: 400 var(--t-small)/1.2 var(--sans); letter-spacing: 0; text-transform: none;
  padding: 10px 22px; min-height: 0;
  border-radius: 980px; border: 1px solid var(--hair); background: var(--card); color: var(--ink); cursor: pointer;
}
body.post-light .was-useful button:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
body.post-light .was-useful button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
body.post-light .was-useful button:hover { border-color: var(--ink); }
body.post-light .was-useful .wu-thanks { font-size: var(--t-small); color: var(--ink-2); }

body.post-light .nav-links {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  margin-top: 40px; border-top: 1px solid var(--hair); padding-top: 22px;
}
body.post-light .nav-links a:link,
body.post-light .nav-links a:visited { color: var(--d-good); font-size: var(--t-small); text-transform: none; letter-spacing: 0; }

/* ---- desktop ------------------------------------------------------------ */
@media (min-width: 720px) {
  body.post-light .article-wrap { padding: 112px 24px 96px; }
  body.post-light h1 { font-size: 64px; letter-spacing: -0.02em; }
  body.post-light .answer { font-size: 22px; }
  body.post-light h2 { font-size: 48px; margin-top: 96px; }
  body.post-light .calc .c-row { grid-template-columns: 1fr 220px; align-items: center; gap: 8px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  body.post-light * { transition: none !important; }
}
