/* Guide layout v3 (16 Nov 2026), built from Kevin's audit call: topic list on
   the left, the article in the middle, the offer and the author on the right.
   Only pages with <body class="g3"> use it. v2.css still draws the menu,
   footer, fonts and colours. Every width lines up with the menu bar (1120). */

html.v2 body.g3 { font-size: 17px; }
html.v2 body.g3 * { box-sizing: border-box; }

html.v2 body.g3 .g3-wrap {
  max-width: 1240px; margin: 0 auto; padding: 28px 24px 40px;
  display: grid; grid-template-columns: 236px minmax(0, 1fr) 280px; gap: 40px;
  align-items: start;
}

/* ── Left: the topic, in reading order ───────────────────────────── */
html.v2 body.g3 .g3-topic { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; padding-right: 4px; scrollbar-width: thin; }
html.v2 body.g3 .g3-topic .g3-all { display: block; font: 600 13px var(--sans); color: var(--muted) !important; text-decoration: none; padding: 9px 12px; border-radius: 10px; background: var(--surface); margin-bottom: 18px; }
html.v2 body.g3 .g3-topic .g3-all:hover { color: var(--text) !important; }
html.v2 body.g3 .g3-topic h2 { font: 600 13px var(--sans) !important; letter-spacing: .02em; color: var(--text); margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; }
html.v2 body.g3 .g3-topic ol { list-style: none; margin: 0 !important; padding: 0 !important; counter-reset: t; }
html.v2 body.g3 .g3-topic li { margin: 0 !important; padding: 0 !important; }
html.v2 body.g3 .g3-topic li::before { content: none !important; }
html.v2 body.g3 .g3-topic ol a { display: grid; grid-template-columns: 22px 1fr; gap: 4px; padding: 7px 10px 7px 4px; border-radius: 8px; font: 400 13.5px/1.4 var(--sans); color: var(--muted) !important; text-decoration: none; }
html.v2 body.g3 .g3-topic ol a::before { counter-increment: t; content: counter(t); font: 400 11px/1.9 var(--mono); color: var(--faint); text-align: right; padding-right: 6px; }
html.v2 body.g3 .g3-topic ol a:hover, html.v2 body.g3 .g3-topic ul a:hover { color: var(--text) !important; background: var(--surface); }
html.v2 body.g3 .g3-topic ol a[aria-current] { color: var(--text) !important; background: rgba(169,216,179,.1); font-weight: 600; }
html.v2 body.g3 .g3-topic ol a[aria-current]::before { color: var(--accent); }
html.v2 body.g3 .g3-topic .g3-more { margin-top: 18px; font: 600 12px var(--sans); color: var(--faint); letter-spacing: .08em; text-transform: uppercase; }
html.v2 body.g3 .g3-topic .g3-more + ul { list-style: none; padding: 0 !important; margin: 8px 0 0 !important; }
html.v2 body.g3 .g3-topic .g3-more + ul li::before { content: none !important; }
html.v2 body.g3 .g3-topic .g3-more + ul a { display: block; padding: 7px 10px; border-radius: 8px; font: 400 13.5px/1.4 var(--sans); color: var(--muted) !important; text-decoration: none; }

/* ── Middle: the article ─────────────────────────────────────────── */
html.v2 body.g3 .g3-art { min-width: 0; }
html.v2 body.g3 .g3-crumbs { font: 400 13px var(--sans); color: var(--faint); margin: 0 0 18px; }
html.v2 body.g3 .g3-crumbs a { color: var(--muted) !important; text-decoration: none; }
html.v2 body.g3 .g3-crumbs a:hover { color: var(--text) !important; text-decoration: underline; }
html.v2 body.g3 .g3-crumbs span { margin: 0 8px; opacity: .6; }
html.v2 body.g3 .g3-art h1 { font: 400 clamp(38px, 4.4vw, 56px)/1.04 var(--serif) !important; letter-spacing: -.01em; margin: 0 0 20px !important; color: var(--text); }
html.v2 body.g3 .g3-art h1 em { font-style: italic; color: var(--accent); }
html.v2 body.g3 .g3-lede { font: 600 19px/1.5 var(--sans); color: var(--text); margin: 0 0 14px; max-width: 64ch; }
html.v2 body.g3 .g3-intro { color: var(--muted); margin: 0 0 22px; max-width: 64ch; }

html.v2 body.g3 .g3-by { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 400 14px/1.4 var(--sans); color: var(--muted); }
html.v2 body.g3 .g3-by b { color: var(--text); font-weight: 600; }
html.v2 body.g3 .g3-face { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, #5ea7b8, #c3e8bd); color: #07171b; font: 600 14px var(--sans); }

html.v2 body.g3 .g3-ask { margin: 0 0 28px; }
html.v2 body.g3 .g3-ask p { font: 600 13px var(--sans); color: var(--muted); margin: 0 0 10px; }
html.v2 body.g3 .g3-ask div { display: flex; flex-wrap: wrap; gap: 8px; }
html.v2 body.g3 .g3-ask a { font: 600 13px var(--sans); color: var(--text) !important; text-decoration: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--edge); background: var(--surface); }
html.v2 body.g3 .g3-ask a:hover { border-color: rgba(169,216,179,.5); }

/* Header picture: made in HTML, in the site's own look. */
html.v2 body.g3 .g3-hero { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--edge); background: radial-gradient(700px 300px at 20% 0%, rgba(94,167,184,.22), transparent 70%), radial-gradient(600px 280px at 100% 100%, rgba(195,232,189,.14), transparent 70%), #07171b; aspect-ratio: 16 / 7; margin: 0 0 28px; }
html.v2 body.g3 .g3-hero .big { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); font: 400 clamp(90px, 13vw, 168px)/.9 var(--serif); color: var(--text); letter-spacing: -.02em; }
html.v2 body.g3 .g3-hero .big small { display: block; font: 400 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-top: 14px; }
html.v2 body.g3 .g3-hero .cards { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: 56%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
html.v2 body.g3 .g3-hero .c { position: relative; padding: 14px 16px; border-radius: 14px; background: rgba(238,246,241,.06); border: 1px solid rgba(238,246,241,.14); backdrop-filter: blur(6px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
html.v2 body.g3 .g3-hero .c i { display: block; font: 400 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-style: normal; margin-bottom: 8px; }
html.v2 body.g3 .g3-hero .c b { display: block; font: 400 clamp(15px, 1.7vw, 21px)/1.15 var(--serif); color: var(--text); font-weight: 400; }
html.v2 body.g3 .g3-hero .c span { display: flex; gap: 2px; align-items: center; height: 18px; margin-top: 10px; }
html.v2 body.g3 .g3-hero .c span s { display: block; width: 3px; border-radius: 2px; background: rgba(169,216,179,.6); text-decoration: none; }
html.v2 body.g3 .g3-hero .c1 { transform: rotate(-2.5deg) translateY(6px); }
html.v2 body.g3 .g3-hero .c2 { transform: rotate(2deg); }
html.v2 body.g3 .g3-hero .c3 { transform: rotate(1.5deg); }
html.v2 body.g3 .g3-hero .c4 { transform: rotate(-1.5deg) translateY(-6px); background: rgba(169,216,179,.14); border-color: rgba(169,216,179,.35); }

html.v2 body.g3 .g3-take { border: 1px solid var(--edge); border-radius: 18px; padding: 22px 24px 8px; margin: 0 0 26px; background: var(--surface); position: relative; overflow: hidden; }
html.v2 body.g3 .g3-take::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--btn); }
html.v2 body.g3 .g3-take h2 { font: 600 16px var(--sans) !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; color: var(--text); }
html.v2 body.g3 .g3-take ul { list-style: none; margin: 0 !important; padding: 0 !important; max-width: none !important; }
html.v2 body.g3 .g3-take li { position: relative; padding: 0 0 0 30px !important; margin: 0 0 14px !important; color: var(--text); line-height: 1.55 !important; }
html.v2 body.g3 .g3-take li::before { content: '' !important; position: absolute; left: 0 !important; top: .2em !important; width: 18px !important; height: 18px !important; border-radius: 50% !important; opacity: 1 !important; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.6' fill='none' stroke='%230b2428' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat !important; }

html.v2 body.g3 .g3-toc { margin: 0 0 8px; }
html.v2 body.g3 .g3-toc h2 { font: 600 16px var(--sans) !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; }
html.v2 body.g3 .g3-toc ol { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; counter-reset: c; max-width: none !important; }
html.v2 body.g3 .g3-toc li { margin: 0 !important; padding: 0 !important; }
html.v2 body.g3 .g3-toc li::before { content: none !important; }
html.v2 body.g3 .g3-toc a { display: grid; grid-template-columns: 26px 1fr; padding: 6px 0; color: var(--accent) !important; text-decoration: none; font: 400 15px/1.4 var(--sans); }
html.v2 body.g3 .g3-toc a::before { counter-increment: c; content: counter(c); font: 400 12px/1.7 var(--mono); color: var(--faint); }
html.v2 body.g3 .g3-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Sections */
html.v2 body.g3 .g3-art section { padding-top: 44px; margin-top: 44px; border-top: 1px solid var(--edge); scroll-margin-top: 20px; }
html.v2 body.g3 .g3-art section > h2 { font: 400 clamp(30px, 3vw, 38px)/1.1 var(--serif) !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; color: var(--text); }
html.v2 body.g3 .g3-art section > h2 .n { font: 400 13px/1 var(--mono); color: var(--accent); display: block; letter-spacing: .14em; margin-bottom: 12px; }
html.v2 body.g3 .g3-art section > p { color: var(--muted); max-width: 66ch; margin: 0 0 16px; }
html.v2 body.g3 .g3-art section > p strong { color: var(--text); }
html.v2 body.g3 .g3-art a { color: var(--accent); text-underline-offset: 3px; }

html.v2 body.g3 .g3-ideas { list-style: none; padding: 0 !important; margin: 18px 0 18px !important; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: none !important; }
html.v2 body.g3 .g3-ideas li { margin: 0 !important; padding: 12px 14px 12px 50px !important; border-radius: 12px; background: var(--surface); border: 1px solid var(--edge); color: var(--text); line-height: 1.4 !important; position: relative; min-height: 48px; display: flex; align-items: center; }
html.v2 body.g3 .g3-ideas li::before { content: attr(data-n) !important; counter-increment: none !important; position: absolute; left: 14px !important; top: 50% !important; transform: translateY(-50%); font: 400 12px/1 var(--mono) !important; color: var(--accent) !important; }

html.v2 body.g3 .g3-try { margin: 20px 0 6px; border-radius: 16px; padding: 18px 20px; background: linear-gradient(135deg, rgba(94,167,184,.12), rgba(195,232,189,.07)); border: 1px solid rgba(169,216,179,.22); }
html.v2 body.g3 .g3-try > p:first-child { font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
html.v2 body.g3 .g3-try dl { display: grid; grid-template-columns: 92px 1fr; gap: 8px 14px; margin: 0; }
html.v2 body.g3 .g3-try dt { font: 600 13px/1.6 var(--sans); color: var(--muted); }
html.v2 body.g3 .g3-try dd { margin: 0; color: var(--text); line-height: 1.55; }
html.v2 body.g3 .g3-try dd q { font: 400 21px/1.3 var(--serif); quotes: '\201C' '\201D'; }

/* The method diagram */
html.v2 body.g3 .g3-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0 10px; counter-reset: f; }
html.v2 body.g3 .g3-flow div { border-radius: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--edge); position: relative; }
html.v2 body.g3 .g3-flow div::before { counter-increment: f; content: counter(f); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); font: 600 13px var(--sans); margin-bottom: 12px; }
html.v2 body.g3 .g3-flow b { display: block; font: 600 15px/1.3 var(--sans); color: var(--text); margin-bottom: 6px; }
html.v2 body.g3 .g3-flow span { display: block; font: 400 14px/1.5 var(--sans); color: var(--muted); }
html.v2 body.g3 .g3-flow em { display: block; margin-top: 10px; font: italic 400 17px/1.3 var(--serif); color: var(--accent); }

html.v2 body.g3 .g3-shot { margin: 22px 0 8px; border-radius: 16px; overflow: hidden; border: 1px solid var(--edge); background: #07171b; }
html.v2 body.g3 .g3-shot img { display: block; width: 100%; height: auto; }
html.v2 body.g3 .g3-shot figcaption { font: 400 13px/1.5 var(--sans); color: var(--faint); padding: 10px 14px; border-top: 1px solid var(--edge); }

html.v2 body.g3 .g3-owen { margin: 22px 0 8px; padding: 18px 20px; border-radius: 16px; border: 1px dashed rgba(255,214,102,.6); background: rgba(255,214,102,.06); color: #ffe7a3; font: 400 15px/1.5 var(--sans); }

html.v2 body.g3 .g3-faq details { border-bottom: 1px solid var(--edge); padding: 16px 0; }
html.v2 body.g3 .g3-faq summary { cursor: pointer; font: 600 17px/1.4 var(--sans); color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
html.v2 body.g3 .g3-faq summary::-webkit-details-marker { display: none; }
html.v2 body.g3 .g3-faq summary::after { content: '+'; color: var(--accent); font: 400 22px/1 var(--sans); }
html.v2 body.g3 .g3-faq details[open] summary::after { content: '\2212'; }
html.v2 body.g3 .g3-faq details p { color: var(--muted); margin: 10px 0 0; max-width: 64ch; }

/* ── Right: the offer, then the author ───────────────────────────── */
html.v2 body.g3 .g3-side { position: sticky; top: 24px; display: grid; gap: 16px; }
html.v2 body.g3 .g3-offer { border-radius: 18px; padding: 22px; background: radial-gradient(300px 200px at 100% 0%, rgba(169,216,179,.16), transparent 70%), #0c2228; border: 1px solid rgba(169,216,179,.25); }
html.v2 body.g3 .g3-offer h2 { font: 400 26px/1.1 var(--serif) !important; margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; color: var(--text); }
html.v2 body.g3 .g3-offer .p { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; }
html.v2 body.g3 .g3-offer .p b { font: 600 34px/1 var(--sans); color: var(--text); }
html.v2 body.g3 .g3-offer .p span { font: 400 14px var(--sans); color: var(--muted); }
html.v2 body.g3 .g3-offer .m { font: 400 13px var(--sans); color: var(--faint); margin: 0 0 14px; }
html.v2 body.g3 .g3-offer ul { list-style: none; padding: 0 !important; margin: 0 0 18px !important; max-width: none !important; }
html.v2 body.g3 .g3-offer li { padding: 0 0 0 26px !important; margin: 0 0 9px !important; font: 400 14px/1.45 var(--sans); color: var(--text); position: relative; }
html.v2 body.g3 .g3-offer li::before { content: '' !important; position: absolute; left: 0 !important; top: .15em !important; width: 16px !important; height: 16px !important; border-radius: 50%; opacity: 1 !important; background: rgba(169,216,179,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.1 4.8-4.8' fill='none' stroke='%239ddbad' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat !important; }
html.v2 body.g3 .g3-go { display: block; text-align: center; padding: 13px 16px; border-radius: 999px; background: var(--btn); color: var(--btn-ink) !important; font: 600 15px var(--sans); text-decoration: none !important; box-shadow: 0 10px 30px -10px rgba(169,216,179,.5); }
html.v2 body.g3 .g3-go:hover { filter: brightness(1.05); }
html.v2 body.g3 .g3-offer .g { text-align: center; font: 400 12px var(--sans); color: var(--faint); margin: 10px 0 0; }

html.v2 body.g3 .g3-author { border-radius: 18px; padding: 20px; background: var(--surface); border: 1px solid var(--edge); }
html.v2 body.g3 .g3-author .h { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
html.v2 body.g3 .g3-author .h b { display: block; font: 600 15px var(--sans); color: var(--text); }
html.v2 body.g3 .g3-author .h span { display: block; font: 400 12.5px/1.35 var(--sans); color: var(--muted); }
html.v2 body.g3 .g3-author p { font: 400 13.5px/1.6 var(--sans); color: var(--muted); margin: 0 0 10px; }
html.v2 body.g3 .g3-author .links { font: 400 12.5px var(--sans); color: var(--faint); }

/* Phone bar: the offer, once you have scrolled past the top */
html.v2 body.g3 .g3-bar { display: none; }

@media (max-width: 1180px) {
  html.v2 body.g3 .g3-wrap { grid-template-columns: 210px minmax(0, 1fr); }
  html.v2 body.g3 .g3-side { grid-column: 1 / -1; position: static; grid-template-columns: 1fr 1fr; }
  html.v2 body.g3 .g3-topic { position: static; max-height: none; }
}
@media (max-width: 860px) {
  html.v2 body.g3 .g3-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 18px 16px 90px; }
  html.v2 body.g3 .g3-topic { position: static; max-height: none; order: 3; }
  html.v2 body.g3 .g3-side { order: 2; grid-template-columns: 1fr; }
  html.v2 body.g3 .g3-art { order: 1; }
  html.v2 body.g3 .g3-ideas, html.v2 body.g3 .g3-toc ol { grid-template-columns: 1fr; }
  html.v2 body.g3 .g3-flow { grid-template-columns: 1fr 1fr; }
  html.v2 body.g3 .g3-hero { aspect-ratio: 4 / 3; }
  html.v2 body.g3 .g3-hero .big { left: 7%; top: 26%; font-size: 92px; }
  html.v2 body.g3 .g3-hero .cards { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: 56%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  html.v2 body.g3 .g3-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 999px; background: rgba(12,33,40,.94); border: 1px solid rgba(169,216,179,.3); backdrop-filter: blur(10px); font: 600 14px var(--sans); color: var(--text); }
  html.v2 body.g3 .g3-bar a { padding: 9px 16px; border-radius: 999px; background: var(--btn); color: var(--btn-ink) !important; text-decoration: none; font: 600 14px var(--sans); white-space: nowrap; }
  html.v2 body.g3 .g3-try dl { grid-template-columns: 1fr; gap: 2px; }
  html.v2 body.g3 .g3-try dd { margin-bottom: 8px; }
}

/* Menu bar and footer line up with the three columns (Kevin: same width everywhere). */
html.v2 body.g3 .v2-bar, html.v2 body.g3 .v2-foot { max-width: 1240px !important; padding-left: 24px !important; padding-right: 24px !important; }
html.v2 body.g3 .g3-note { color: #ffe7a3 !important; }
@media (max-width: 860px) { html.v2 body.g3 .v2-bar, html.v2 body.g3 .v2-foot { padding-left: 16px !important; padding-right: 16px !important; } }
@media (max-width: 860px) { html.v2 body.g3 .g3-lede { font-size: 17px; color: var(--text); } }

/* ── Every guide (16 Nov 2026): the page's own content inside the v3 layout ── */
html.v2 body.g3 .g3-intro { color: var(--muted); max-width: 66ch; margin: 0 0 18px; }
html.v2 body.g3 .g3-intro p { margin: 0 0 12px !important; }
html.v2 body.g3 .g3-art section > p, html.v2 body.g3 .g3-art section > ul, html.v2 body.g3 .g3-art section > ol, html.v2 body.g3 .g3-art section > div { color: var(--muted); max-width: 66ch; }
html.v2 body.g3 .g3-art section p strong, html.v2 body.g3 .g3-art section li strong { color: var(--text); }
html.v2 body.g3 .g3-art section h3 { font: 600 18px/1.35 var(--sans) !important; color: var(--text); margin: 26px 0 8px !important; padding: 0 !important; border: 0 !important; }
html.v2 body.g3 .g3-art section > ul, html.v2 body.g3 .g3-art section > ol { list-style: none; padding: 0 !important; margin: 14px 0 20px !important; counter-reset: g3li; }
html.v2 body.g3 .g3-art section > ul > li, html.v2 body.g3 .g3-art section > ol > li { position: relative; padding: 12px 14px 12px 44px !important; margin: 0 0 8px !important; border-radius: 12px; background: var(--surface); border: 1px solid var(--edge); line-height: 1.55 !important; }
html.v2 body.g3 .g3-art section > ul > li::before { content: '' !important; position: absolute; left: 18px !important; top: 1.25em !important; width: 8px !important; height: 8px !important; border-radius: 50%; background: var(--accent) !important; opacity: 1 !important; }
html.v2 body.g3 .g3-art section > ol > li::before { counter-increment: g3li !important; content: counter(g3li, decimal-leading-zero) !important; position: absolute; left: 14px !important; top: 1.05em !important; font: 400 12px/1 var(--mono) !important; color: var(--accent) !important; opacity: 1 !important; background: none !important; width: auto !important; height: auto !important; }
html.v2 body.g3 .g3-art table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0 22px; min-width: 520px; }
html.v2 body.g3 .g3-art th, html.v2 body.g3 .g3-art td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--edge); color: var(--muted); }
html.v2 body.g3 .g3-art th { color: var(--text); font-weight: 600; }
html.v2 body.g3 .g3-art section { overflow-x: auto; }
html.v2 body.g3 .g3-art pre { background: var(--surface); border: 1px solid var(--edge); border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: 400 14px/1.6 var(--mono); color: var(--text); }
html.v2 body.g3 .g3-sd { margin: 22px 0 6px; border-radius: 16px; padding: 18px 20px; background: linear-gradient(135deg, rgba(94,167,184,.12), rgba(195,232,189,.07)); border: 1px solid rgba(169,216,179,.22); color: var(--muted); }
html.v2 body.g3 .g3-sd .g3-sd-h { font: 400 11px/1 var(--mono) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px !important; }
html.v2 body.g3 .g3-sd p { margin: 0 0 8px !important; }
html.v2 body.g3 .g3-related ul { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: none !important; }
html.v2 body.g3 .g3-related li { margin: 0 !important; padding: 0 !important; }
html.v2 body.g3 .g3-related li::before { content: none !important; }
html.v2 body.g3 .g3-related a { display: block; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--edge); color: var(--text) !important; text-decoration: none; }
html.v2 body.g3 .g3-related a:hover { border-color: rgba(169,216,179,.5); }
html.v2 body.g3 .g3-related > p a { display: inline; padding: 0; background: none; border: 0; color: var(--accent) !important; }
html.v2 body.g3 .g3-hero--text .big { font-size: clamp(38px, 4.6vw, 60px) !important; line-height: 1.02 !important; max-width: 38%; }
html.v2 body.g3 .g3-hero--text .c b { font-size: clamp(14px, 1.4vw, 18px) !important; }
@media (max-width: 860px) {
  html.v2 body.g3 .g3-related ul { grid-template-columns: 1fr; }
  html.v2 body.g3 .g3-hero--text .big { max-width: 90%; top: 18%; font-size: 40px !important; }
  html.v2 body.g3 .g3-hero--text { aspect-ratio: 4 / 3.4; }
}
html.v2 body.g3 .g3-art section.g3-related > ul > li { padding: 0 !important; background: none !important; border: 0 !important; margin: 0 !important; }
html.v2 body.g3 .g3-art section.g3-related > ul > li::before { content: none !important; display: none !important; }
html.v2 body.g3 .g3-quote { margin: 22px 0 8px; padding: 20px 22px; border-left: 3px solid var(--accent); border-radius: 0 16px 16px 0; background: var(--surface); }
html.v2 body.g3 .g3-quote p { font: 400 22px/1.35 var(--serif) !important; color: var(--text); margin: 0 0 10px !important; }
html.v2 body.g3 .g3-quote cite { font: 400 13px var(--sans); color: var(--muted); font-style: normal; }

/* Guides index by topic (16 Nov 2026) */
html.v2 body.gi-page main.gi { max-width: 1240px !important; padding: 28px 24px 80px !important; margin: 0 auto; }
html.v2 body.gi-page .gi-eyebrow { font: 400 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px !important; }
html.v2 body.gi-page main.gi > h1 { font: 400 clamp(40px, 5vw, 64px)/1.02 var(--serif) !important; margin: 0 0 14px !important; }
html.v2 body.gi-page .gi-lede { font: 400 19px/1.55 var(--sans); color: var(--muted); max-width: 62ch; margin: 0 0 24px !important; }
/* 20 Nov 2026, Owen on the guides index: "a bit messy". Eleven bordered pills across the top, and more of
   them further down, repeating the topics the cards underneath already carry. The brand has one pill per
   page, above the headline, and design-donts calls a row of tags an AI tell. They read as quiet links now:
   nothing removed, nothing moved, every link still goes where it went. */
html.v2 body.gi-page .gi-jump { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 32px; }
html.v2 body.gi-page .gi-jump a { font: 500 13.5px var(--sans); color: var(--muted) !important; text-decoration: none; padding: 2px 0; border: 0; background: none; border-bottom: 1px solid transparent; }
html.v2 body.gi-page .gi-jump a:hover { color: var(--accent) !important; border-bottom-color: var(--accent); }
html.v2 body.gi-page .gi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
html.v2 body.gi-page .gi-topic { border: 1px solid var(--edge); border-radius: 18px; padding: 22px 22px 14px; background: var(--surface); scroll-margin-top: 20px; }
html.v2 body.gi-page .gi-topic h2 { font: 400 28px/1.1 var(--serif) !important; margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; }
html.v2 body.gi-page .gi-topic > p { font: 400 14px/1.5 var(--sans); color: var(--muted); margin: 0 0 12px !important; }
html.v2 body.gi-page .gi-topic ol { list-style: none; margin: 0 !important; padding: 0 !important; counter-reset: gi; max-width: none !important; }
html.v2 body.gi-page .gi-topic li { margin: 0 !important; padding: 0 !important; border-top: 1px solid var(--edge); }
html.v2 body.gi-page .gi-topic li::before { content: none !important; }
html.v2 body.gi-page .gi-topic a { display: grid; grid-template-columns: 24px 1fr; padding: 9px 0; font: 400 14.5px/1.4 var(--sans); color: var(--text) !important; text-decoration: none; }
html.v2 body.gi-page .gi-topic a::before { counter-increment: gi; content: counter(gi); font: 400 11px/1.9 var(--mono); color: var(--accent); }
html.v2 body.gi-page .gi-topic a:hover { color: var(--accent) !important; }
html.v2 body.gi-page .gi-more { margin-top: 40px; }
html.v2 body.gi-page .gi-more h2 { font: 400 26px var(--serif) !important; border: 0 !important; padding: 0 !important; margin: 0 0 10px !important; }
html.v2 body.gi-page .gi-more ul { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px 18px; max-width: none !important; }
html.v2 body.gi-page .gi-more li { margin: 0 !important; padding: 0 !important; }
html.v2 body.gi-page .gi-more li::before { content: none !important; }
html.v2 body.gi-page .gi-more a { display: block; padding: 2px 0; border: 0; color: var(--muted) !important; text-decoration: none; font: 400 14px var(--sans); border-bottom: 1px solid transparent; }
html.v2 body.gi-page .gi-more a:hover { color: var(--accent) !important; border-bottom-color: var(--accent); }
html.v2 body.gi-page .v2-bar, html.v2 body.gi-page .v2-foot { max-width: 1240px !important; padding-left: 24px !important; padding-right: 24px !important; }
@media (max-width: 1100px) { html.v2 body.gi-page .gi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { html.v2 body.gi-page .gi-grid { grid-template-columns: 1fr; } html.v2 body.gi-page main.gi { padding: 18px 16px 60px !important; } }
html.v2 body.g3 .g3-art section > p.g3-ctx { font: 400 17px/1.6 var(--sans); color: var(--text); opacity: .86; margin: 0 0 14px !important; max-width: 64ch; }
html.v2 body.g3 img.g3-face--img { display: block; object-fit: cover; padding: 0; background: #10282e; }
html.v2 body.g3 .g3-author img.g3-face--img { width: 52px; height: 52px; }

/* About page: who built it (16 Nov 2026) */
html.v2 .about-owen { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; margin: 40px 0 8px; padding: 24px; border-radius: 20px; border: 1px solid var(--edge); background: var(--surface); }
html.v2 .about-owen figure { margin: 0; }
html.v2 .about-owen img { display: block; width: 100%; height: auto; border-radius: 14px; }
html.v2 .about-owen figcaption { font: 400 12px/1.4 var(--sans); color: var(--faint); margin-top: 8px; }
html.v2 .about-owen h2 { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
html.v2 .about-owen p { color: var(--muted); }
@media (max-width: 700px) { html.v2 .about-owen { grid-template-columns: 1fr; } html.v2 .about-owen figure { max-width: 260px; } }

/* ── Guide pictures (17 Nov 2026, Kevin): inline SVG, one decided palette,
   no gradients, words big enough for a phone. Drawn by scripts/guide_figures.py ── */
html.v2 body.g3 .g3-pic { margin: 24px 0 12px; padding: 22px 22px 0; border-radius: 16px; background: #07171b; border: 1px solid var(--edge); max-width: 66ch; }
html.v2 body.g3 .g3-pic svg { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
html.v2 body.g3 .g3-pic figcaption { font: 400 14px/1.5 var(--sans); color: var(--muted); padding: 14px 0 16px; max-width: 560px; margin: 0 auto; }
html.v2 body.g3 .g3-pic--hero { max-width: none; margin: 0 0 28px; padding: 32px 32px 0; }
html.v2 body.g3 .g3-pic--hero svg { max-width: 600px; }
html.v2 body.g3 .g3-pic--hero figcaption { max-width: 600px; }
html.v2 body.g3 .g3-pic text { font-family: var(--sans); }
html.v2 body.g3 .g3-pic .k-serif { font-family: var(--serif); fill: #eef6f1; }
html.v2 body.g3 .g3-pic .k-text { fill: #eef6f1; }
html.v2 body.g3 .g3-pic .k-mute { fill: rgba(238,246,241,.66); }
html.v2 body.g3 .g3-pic .k-acc { fill: #a9d8b3; }
html.v2 body.g3 .g3-pic .k-card { fill: #10282e; stroke: rgba(255,255,255,.14); stroke-width: 1.5; }
html.v2 body.g3 .g3-pic .k-col { fill: #0d2429; }
html.v2 body.g3 .g3-pic .k-row { fill: #07171b; stroke: rgba(255,255,255,.14); stroke-width: 1.5; }
html.v2 body.g3 .g3-pic .k-rowf { fill: #07171b; }
html.v2 body.g3 .g3-pic .k-hi { stroke: #a9d8b3; stroke-width: 2; }
html.v2 body.g3 .g3-pic .k-ghost { fill: none; stroke: rgba(238,246,241,.66); stroke-width: 1.5; stroke-dasharray: 6 6; }
html.v2 body.g3 .g3-pic .k-dev { fill: #10282e; stroke: rgba(238,246,241,.66); stroke-width: 2; }
html.v2 body.g3 .g3-pic .k-bar { fill: rgba(255,255,255,.14); }
html.v2 body.g3 .g3-pic .k-barhi { fill: #a9d8b3; }
html.v2 body.g3 .g3-pic .k-wv { fill: #a9d8b3; }
html.v2 body.g3 .g3-pic .k-wv2 { fill: rgba(255,255,255,.2); }
html.v2 body.g3 .g3-pic .k-ring { fill: none; stroke: rgba(238,246,241,.66); stroke-width: 1.5; }
html.v2 body.g3 .g3-pic .k-mutef { fill: rgba(238,246,241,.66); }
html.v2 body.g3 .g3-pic .k-accf { fill: #a9d8b3; }
html.v2 body.g3 .g3-pic .k-ink { fill: #07171b; }
html.v2 body.g3 .g3-pic .k-off { fill: rgba(255,255,255,.14); }
html.v2 body.g3 .g3-pic .k-arrow { fill: none; stroke: #a9d8b3; stroke-width: 2.5; stroke-linecap: round; }
@media (max-width: 860px) {
  html.v2 body.g3 .g3-pic, html.v2 body.g3 .g3-pic--hero { padding: 12px 4px 0; margin-left: -8px; margin-right: -8px; }
  html.v2 body.g3 .g3-pic figcaption { padding: 10px 6px 14px; }
}

/* Text header (guides with no picture yet, and compare pages): the title and
   the part cards sit one above the other, so a long title can never run into
   the cards (17 Nov 2026: "songdrafts vs Google Drive" ran into Part 1). */
html.v2 body.g3 .g3-hero--text { aspect-ratio: auto !important; background: #07171b; padding: 30px 32px 32px; }
html.v2 body.g3 .g3-hero--text .big { position: static !important; transform: none !important; max-width: none !important; font-size: clamp(30px, 3.4vw, 44px) !important; margin: 0 0 22px; }
html.v2 body.g3 .g3-hero--text .big small { font: 400 15px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--accent); margin-top: 10px; }
html.v2 body.g3 .g3-hero--text .cards { position: static !important; transform: none !important; width: auto !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
html.v2 body.g3 .g3-hero--text .c { transform: none !important; backdrop-filter: none; box-shadow: none; background: #10282e; border-color: var(--edge); }
html.v2 body.g3 .g3-hero--text .c4 { background: #10282e; border-color: var(--edge); }
html.v2 body.g3 .g3-hero--text .c i { font: 400 13px/1 var(--sans); letter-spacing: 0; text-transform: none; }
@media (max-width: 860px) {
  html.v2 body.g3 .g3-hero--text { padding: 20px 18px 20px; }
  html.v2 body.g3 .g3-hero--text .big { font-size: 30px !important; }
  html.v2 body.g3 .g3-hero--text .cards { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* ── More value, calmer look (18 Nov 2026, Owen: "not looking fantastic").
   Lists lose their boxes, sections lose their divider lines, labels are plain
   sentence case. New blocks: worked examples (before/after), step cards,
   checklists, tables, a song map with timings, and short callouts. ── */
html.v2 body.g3 .g3-art section { border-top: 0; padding-top: 8px; margin-top: 56px; }
html.v2 body.g3 .g3-art section > ul > li, html.v2 body.g3 .g3-art section > ol > li { background: none; border: 0; border-radius: 0; padding: 7px 0 7px 30px !important; margin: 0 !important; }
html.v2 body.g3 .g3-art section > ul > li::before { left: 8px !important; top: 1.05em !important; width: 7px !important; height: 7px !important; }
html.v2 body.g3 .g3-art section > ol > li::before { left: 0 !important; top: .95em !important; }
html.v2 body.g3 .g3-sd .g3-sd-h, html.v2 body.g3 .g3-try > p:first-child { font: 600 15px/1.3 var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--text) !important; }

/* Worked example: a line before, the line after, and why */
html.v2 body.g3 .g3-ba { margin: 22px 0 10px; max-width: none !important; border-radius: 16px; background: #07171b; padding: 8px 22px 14px; }
html.v2 body.g3 .g3-ba .t { font: 600 15px/1.4 var(--sans); color: var(--text); margin: 12px 0 4px; }
html.v2 body.g3 .g3-ba .r { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 6px 22px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); align-items: baseline; }
html.v2 body.g3 .g3-ba .r.h { border-top: 0; padding: 6px 0 2px; font: 600 13px var(--sans); color: var(--faint); }
html.v2 body.g3 .g3-ba .b { color: rgba(238,246,241,.5); font: 400 15px/1.5 var(--sans); }
html.v2 body.g3 .g3-ba .a { color: #eef6f1; font: 400 21px/1.3 var(--serif); }
html.v2 body.g3 .g3-ba .w { color: var(--muted); font: 400 14px/1.5 var(--sans); }
html.v2 body.g3 .g3-ba .r.h .b, html.v2 body.g3 .g3-ba .r.h .a, html.v2 body.g3 .g3-ba .r.h .w { font: 600 13px var(--sans); color: var(--faint); }
html.v2 body.g3 .g3-ba .n { font: 400 14px/1.55 var(--sans); color: var(--muted); margin: 10px 0 0; }

/* Step cards */
html.v2 body.g3 .g3-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 10px; counter-reset: st; max-width: none !important; }
html.v2 body.g3 .g3-steps > div { border-radius: 14px; padding: 18px 18px 16px; background: var(--surface); }
html.v2 body.g3 .g3-steps > div::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); font: 600 13px var(--sans); margin-bottom: 12px; }
html.v2 body.g3 .g3-steps b { display: block; font: 600 16px/1.35 var(--sans); color: var(--text); margin-bottom: 6px; }
html.v2 body.g3 .g3-steps p { font: 400 15px/1.55 var(--sans); margin: 0 !important; }
html.v2 body.g3 .g3-steps .ex { display: block; margin-top: 10px; font: 400 18px/1.3 var(--serif); color: var(--accent); }

/* Checklist */
html.v2 body.g3 .g3-art section > ul.g3-check { margin: 18px 0 18px !important; padding: 18px 22px 10px !important; border-radius: 16px; background: var(--surface); }
html.v2 body.g3 .g3-art section > ul.g3-check > li { padding: 6px 0 8px 34px !important; color: var(--text) !important; }
html.v2 body.g3 .g3-art section > ul.g3-check > li::before { width: 18px !important; height: 18px !important; left: 0 !important; top: .45em !important; border-radius: 5px !important; background: none !important; border: 1.5px solid var(--accent); }
html.v2 body.g3 .g3-check-h { font: 600 15px var(--sans) !important; color: var(--text) !important; margin: 26px 0 -6px !important; }

/* Tables that fit a phone */
html.v2 body.g3 .g3-tbl { margin: 18px 0 22px; overflow-x: auto; max-width: none !important; }
html.v2 body.g3 .g3-tbl table { min-width: 0; margin: 0; font-size: 15px; }
html.v2 body.g3 .g3-tbl th { font: 600 13px/1.4 var(--sans); color: var(--faint) !important; border-bottom: 1px solid var(--edge); }
html.v2 body.g3 .g3-tbl td:first-child { color: var(--text) !important; font-weight: 600; }
html.v2 body.g3 .g3-tbl td { color: var(--muted) !important; line-height: 1.5; }
html.v2 body.g3 .g3-tbl caption { caption-side: bottom; text-align: left; font: 400 13px/1.5 var(--sans); color: var(--faint); padding-top: 10px; }

/* Song map with timings */
html.v2 body.g3 .g3-map { margin: 22px 0 10px; padding: 20px 22px 16px; border-radius: 16px; background: #07171b; max-width: none !important; }
html.v2 body.g3 .g3-map .t { font: 600 15px/1.4 var(--sans); color: var(--text); margin: 0 0 14px; }
html.v2 body.g3 .g3-map .r { display: grid; grid-template-columns: 88px 1fr 92px; gap: 12px; align-items: center; height: 30px; }
html.v2 body.g3 .g3-map .l { font: 400 14px var(--sans); color: var(--muted); white-space: nowrap; }
html.v2 body.g3 .g3-map .k { position: relative; height: 18px; background: rgba(255,255,255,.04); border-radius: 4px; }
html.v2 body.g3 .g3-map .k i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: rgba(238,246,241,.28); }
html.v2 body.g3 .g3-map .r.c .k i { background: #a9d8b3; }
html.v2 body.g3 .g3-map .r.c .l { color: #eef6f1; font-weight: 600; }
html.v2 body.g3 .g3-map .s { font: 400 13px var(--sans); color: var(--faint); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
html.v2 body.g3 .g3-map .n { font: 400 14px/1.5 var(--sans); color: var(--muted); margin: 14px 0 0; }

/* Callout */
html.v2 body.g3 .g3-call { margin: 20px 0 10px; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); max-width: 64ch; }
html.v2 body.g3 .g3-call p { margin: 0 0 6px !important; color: var(--text) !important; font: 400 16px/1.6 var(--sans); }
html.v2 body.g3 .g3-call p.h { font-weight: 600 !important; }

@media (max-width: 860px) {
  html.v2 body.g3 .g3-art section { margin-top: 44px; }
  html.v2 body.g3 .g3-ba { padding: 6px 16px 12px; margin-left: -8px; margin-right: -8px; }
  html.v2 body.g3 .g3-ba .r { grid-template-columns: 1fr; gap: 4px; }
  html.v2 body.g3 .g3-ba .r.h { display: none; }
  html.v2 body.g3 .g3-ba .b::before { content: 'Before: '; font-weight: 600; }
  html.v2 body.g3 .g3-ba .a { font-size: 20px; }
  html.v2 body.g3 .g3-steps { grid-template-columns: 1fr; }
  html.v2 body.g3 .g3-map { padding: 16px 14px 14px; margin-left: -8px; margin-right: -8px; }
  html.v2 body.g3 .g3-map .r { grid-template-columns: 70px 1fr 74px; gap: 8px; }
  html.v2 body.g3 .g3-map .l { font-size: 13px; }
  html.v2 body.g3 .g3-map .s { font-size: 12px; }
  html.v2 body.g3 .g3-tbl table { font-size: 14px; }
  html.v2 body.g3 .g3-tbl th, html.v2 body.g3 .g3-tbl td { padding: 9px 8px; }
}
html.v2 body.g3 .g3-art section > ol > li::before { top: 7px !important; font: 400 12px/26px var(--mono) !important; }
html.v2 body.g3 .g3-art section > ul > li::before { top: 16px !important; }
html.v2 body.g3 .g3-art section > ul.g3-check > li::before { top: 10px !important; }
html.v2 body.g3 .g3-art section > ol > li::before { content: counter(g3li) "." !important; font: 600 15px/26px var(--sans) !important; color: var(--accent) !important; }

/* ── One look for every guide (20 Nov 2026, Owen on the 14 rewritten guides: "these look better. It just has to be
   the same across the whole board."). The older guides differed from the 14 in two places:
   1. A text "picture" under the byline: the title again plus four "Part 1..4" boxes. It repeats the headline and
      the contents list, and numbered parts are an AI tell (design-donts). The 14 have a real picture or none, so
      the older pages now go straight from the byline to the takeaways, as those do.
   2. Tables in a boxed card (.tablewrap). The 14 set tables open on the page (.g3-tbl): a quiet header row, the
      first column in the text colour, hairlines between rows. Same now everywhere. */
html.v2 body.g3 .g3-hero--text { display: none !important; }
html.v2 body.g3 .g3-art .tablewrap { margin: 18px 0 22px !important; border: 0 !important; border-radius: 0 !important; background: none !important; overflow-x: auto; }
html.v2 body.g3 .g3-art .tablewrap table { min-width: 0; margin: 0; font-size: 15px !important; }
html.v2 body.g3 .g3-art .tablewrap th { font: 600 13px/1.4 var(--sans) !important; color: var(--faint) !important; border-bottom: 1px solid var(--edge) !important; }
html.v2 body.g3 .g3-art .tablewrap td { color: var(--muted) !important; line-height: 1.5; }
html.v2 body.g3 .g3-art .tablewrap td:first-child { color: var(--text) !important; font-weight: 600; }
html.v2 body.g3 .g3-art .tablewrap td:last-child { color: var(--muted) !important; }
@media (max-width: 600px) {
  html.v2 body.g3 .g3-art .tablewrap table { font-size: 14px !important; }
  html.v2 body.g3 .g3-art .tablewrap :is(th, td) { padding: 9px 8px !important; }
}
/* Headlines and the label above them, as the homepage draws them (20 Nov 2026): tight serif, the mint pill. */
html.v2 body.g3 .g3-art h1, html.v2 body.gi-page main.gi > h1 { letter-spacing: -.025em !important; line-height: .98 !important; }
html.v2 body.gi-page main.gi > h1 { font-size: clamp(46px, 6.4vw, 84px) !important; margin-bottom: 18px !important; }
html.v2 body.g3 .g3-art section > h2, html.v2 body.gi-page .gi-topic h2 { letter-spacing: -.02em !important; }
html.v2 body.gi-page .gi-eyebrow {
  display: inline-flex !important; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; margin: 0 0 20px !important;
  border-radius: 999px; border: 1px solid rgba(143, 230, 198, .28); background: rgba(143, 230, 198, .07);
  font: 600 12px/1 var(--sans) !important; letter-spacing: .02em !important; text-transform: none !important; color: #8fe6c6 !important;
}
html.v2 body.gi-page .gi-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #8fe6c6; box-shadow: 0 0 12px #8fe6c6; }
