
:root { --rosa: #F4C4B8; --rosa2: #F8D7CE; --ink: #1F1D19; --verde: #14452F; --cream: #F5F0E6; --pink: #E8567F; --yellow: #F3D44F; --white: #FFFFFF; --muted: #55514A; --em: #A3234A; --rule: rgba(31, 29, 25, 0.3);
  --display: 'Instrument Serif', Georgia, 'Times New Roman', serif; --body: Geist, system-ui, -apple-system, 'Segoe UI', sans-serif; --label: 'Courier Prime', 'Courier New', ui-monospace, monospace; --pad: 18px; --wide: 1160px; --read: 800px; }
@media (min-width: 900px) { :root { --pad: 56px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
.pg { margin: 0; background: var(--rosa); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-wrap: break-word; }
@media (min-width: 900px) { .pg { font-size: 18px; } }
.pg img, .pg svg, .pg video { max-width: 100%; height: auto; }
.pg a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.pg a:hover { color: var(--em); }
.pg :focus-visible { outline: 3px solid var(--verde); outline-offset: 2px; }
.pg ::selection { background: var(--yellow); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--rosa); }
.shell { width: 100%; max-width: calc(var(--wide) + 2 * var(--pad)); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.shell .shell { padding-left: 0; padding-right: 0; }

/* ---- the strip, the header, the menu */
.tick { display: flex; gap: 28px; padding: 7px var(--pad); background: var(--ink); color: var(--rosa); font-size: 12px; font-weight: 800; font-style: italic; line-height: 1.35; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.tick span::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 9px; background: var(--pink); transform: rotate(45deg); }
.hd { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px var(--pad); border-bottom: 1px solid var(--rule); }
.hd .logo { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 23px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.hd .nav { display: none; align-items: center; gap: 26px; font-size: 16px; font-weight: 500; }
.hd .nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.hd .nav a:hover, .hd .nav a[aria-current] { text-decoration: underline; }
.hd a.join { padding: 0 20px; min-height: 48px; border-radius: 10px; background: var(--ink); color: var(--rosa); font-weight: 700; }
.hd a.join:hover { color: var(--white); text-decoration: none; }
.menu summary { list-style: none; display: flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: var(--rosa); }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; display: flex; flex-direction: column; padding: 4px var(--pad) 14px; background: var(--rosa2); border-bottom: 2px solid var(--ink); }
.menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--rule); font-family: var(--display); font-size: 28px; line-height: 1; text-decoration: none; }
.menu nav a::after { content: '→'; font-family: var(--label); font-size: 16px; }
.menu nav a.join { margin-top: 12px; justify-content: center; border-radius: 10px; font-family: var(--body); font-size: 17px; }
.menu nav a.join::after { content: none; }
@media (min-width: 1000px) { .hd .nav { display: flex; } .menu { display: none; } }

/* ---- the two sign-in pages: invite only, for now */
.gl-access-roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 26px; }
.pg main .gl-access-roles a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 8px; font-weight: 600; text-decoration: none; }
.pg main .gl-access-roles a[aria-current="page"] { background: var(--ink); color: var(--rosa); }
.gl-access-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: start; }
@media (min-width: 900px) { .gl-access-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; } }
.gl-access-lede { margin: 0 0 20px; font-family: var(--display); font-style: italic; font-size: clamp(21px, 5.4vw, 30px); line-height: 1.25; }
.gl-access-status { margin: 0 0 22px; padding: 14px 16px 16px; background: var(--white); border: 2px solid var(--ink); border-left-width: 8px; }
.gl-access-status span { display: block; font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.gl-access-status p { margin: 6px 0 0; }
.gl-access-note { margin: 16px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.gl-access-art { position: relative; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--verde); color: var(--cream); }
.gl-access-art-top, .gl-access-art-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.gl-access-art-top { justify-content: flex-start; font-family: var(--body); font-size: 19px; font-weight: 800; letter-spacing: -0.03em; text-transform: none; }
.gl-access-art-top img { filter: brightness(0) invert(1); }
.gl-access-art-word { position: absolute; left: 16px; top: 54px; z-index: 1; font-family: var(--display); font-style: italic; font-size: 58px; line-height: 1; color: var(--rosa); }
.gl-access-art picture, .gl-access-art picture img { display: block; }
.gl-access-art picture img { width: 62%; height: auto; margin: 46px auto 0; border: 0; background: transparent; }
.gl-access-resources { margin-top: 44px; padding-top: 18px; border-top: 2px solid var(--ink); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.gl-access-resources p { margin: 0 0 6px; font-family: var(--display); font-size: 30px; line-height: 1.05; }
.pg main .gl-access-resources a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.pg-login main { padding-top: 26px; padding-bottom: 56px; }
.pg-login .rail { padding-top: 20px; }

/* ---- the top of a page: where you are, what this is, the question, the short version */
.mast { padding-top: 30px; padding-bottom: 22px; }
@media (min-width: 900px) { .mast { padding-top: 64px; padding-bottom: 36px; } }
.mast > nav:not([aria-label="Breadcrumb"]) { margin: 0 0 14px; font-family: var(--label); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.lines > span { display: block; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0 0 18px; padding: 0; list-style: none; font-family: var(--label); font-size: 12px; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; }
.breadcrumbs li + li::before { content: '/'; margin: 0 8px; color: var(--muted); }
.breadcrumbs a { text-decoration: none; } .breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs li:last-child a { color: var(--muted); }
.eyebrow, .foundation-kicker, .p-kicker, .science-kicker, .bridge-kicker, .figure-kicker { margin: 0 0 12px; font-family: var(--label); font-size: 12px; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pg h1 { margin: 0 0 18px; font-family: var(--display); font-size: clamp(42px, 11.2vw, 92px); font-weight: 400; line-height: 0.96; letter-spacing: -0.025em; max-width: 16ch; text-wrap: balance; }
.pg-note h1, .pg-study h1, .pg-foundation h1, .pg-research h1 { font-size: clamp(38px, 9.4vw, 76px); max-width: 20ch; }
.pg .lede, .pg .bridge-lede { margin: 0 0 18px; font-family: var(--display); font-style: italic; font-size: clamp(21px, 5.4vw, 30px); line-height: 1.25; max-width: 27em; }
.byline, .foundation-byline, .paper-meta { margin: 0; font-family: var(--label); font-size: 12px; line-height: 1.7; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.byline a, .foundation-byline a { color: inherit; }
.rail { margin-bottom: 6px; }
.onpage { margin: 0 0 22px; border: 2px solid var(--ink); background: var(--white); }
.onpage summary { padding: 10px 14px; font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.onpage ol { margin: 0; padding: 0 14px 12px 36px; font-size: 16px; }
.onpage li { margin: 4px 0; }

/* ---- reading */
main.shell { padding-bottom: 56px; }
.body-note, .body-study, .body-foundation, .body-research, .body-guide, .body-legal, .body-plain { max-width: calc(var(--read) + 2 * var(--pad)); }
.rail, .pg-note .mast > .shell, .pg-study .mast > .shell, .pg-foundation .mast, .pg-research .mast > .shell, .pg-guide .mast > .shell, .pg-legal .mast > .shell { max-width: calc(var(--read) + 2 * var(--pad)); }
.pg main h2 { margin: 1.9em 0 0.45em; font-family: var(--display); font-size: clamp(31px, 7.4vw, 44px); font-weight: 400; line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
.pg main h3 { margin: 1.5em 0 0.4em; font-family: var(--display); font-size: clamp(24px, 5.6vw, 30px); font-weight: 400; line-height: 1.08; }
.pg main h4 { margin: 1.3em 0 0.3em; font-size: 18px; font-weight: 700; line-height: 1.3; }
.pg main p, .pg main ul, .pg main ol, .pg main dl { margin: 0 0 1em; }
.pg main ul, .pg main ol { padding-left: 1.25em; } .pg main li { margin: 0.35em 0; }
.pg main li::marker { color: var(--em); }
.pg main p, .pg main li, .pg main dd, .pg main dt, .pg main blockquote { max-width: 44em; }
.pg main strong, .pg main b { font-weight: 700; }
.pg main em, .pg main i { font-style: italic; }
.pg main blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--pink); font-family: var(--display); font-size: 24px; font-style: italic; line-height: 1.25; }
.pg main hr { border: 0; border-top: 2px solid var(--ink); margin: 2em 0; }
.pg main figure { margin: 1.6em 0; } .pg main figure img { display: block; border: 2px solid var(--ink); background: var(--white); }
.pg main figcaption, .note, .pg main small { font-family: var(--label); font-size: 12px; line-height: 1.5; letter-spacing: 0.04em; color: var(--muted); }
.note { font-size: 13px; letter-spacing: 0.01em; }
.pg main dt { margin-top: 0.9em; font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.pg main dd { margin: 2px 0 0; }
.pg main details { border-top: 1px solid var(--ink); } .pg main details:last-of-type { border-bottom: 1px solid var(--ink); }
.pg main summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 8px 0; font-family: var(--display); font-size: clamp(22px, 5.4vw, 27px); line-height: 1.1; cursor: pointer; list-style: none; }
.pg main summary::-webkit-details-marker { display: none; }
.pg main summary::after { content: '+'; flex: none; font-family: var(--label); font-size: 22px; } .pg main details[open] > summary::after { content: '−'; }
.pg main details > :not(summary) { margin-bottom: 14px; }
.button, .pg main a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 10px; background: var(--ink); color: var(--rosa); font-family: var(--body); font-size: 17px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; }
.button:hover, .pg main a.button:hover { background: var(--verde); border-color: var(--verde); color: var(--cream); }
/* a button outside <main> and the band at the foot keeps its own words readable: ".pg a" would otherwise paint them ink on ink */
.pg a.button:not(.secondary):not(main a, .cta a) { color: var(--rosa); } .pg a.button:not(.secondary):not(main a, .cta a):hover { color: var(--cream); }
.button.secondary, .quiet-link { background: transparent; color: var(--ink); }

/* ---- spacing: a small label owns the space above its heading; the first thing in a box sits at its top */
.pg main .eyebrow, .pg main .p-kicker, .pg main .science-kicker, .pg main .foundation-kicker { margin-top: 2.6em; }
.pg main :is(.eyebrow, .p-kicker, .science-kicker, .foundation-kicker, .figure-kicker) + :is(h2, h3) { margin-top: 0; }
.pg main :is(.callout, .intro, .method, .athlete-explainer, .foundation-callout, .paper-disclosure, .card, .evidence-card, .research-card, .merch-item, .limit-card, .science-node, .boundary-box, .register-row, .week-study, .study-heading, .answer, .toc, .result-boundary, .document-object) > :first-child { margin-top: 0; }
.pg main :is(.card, .merch-item, .limit-card, .science-node, .boundary-box, .research-card) :is(h2, h3, h4) { margin-top: 6px; }
.pg main :is(.card, .science-node, .boundary-box, .limit-card, .merch-item) small { display: block; margin-top: 4px; }
.pg main > :first-child, .pg main > section:first-child > :first-child { margin-top: 0; }
/* ---- the research papers: their shortcuts, their series, their cover */
.reader-shortcuts, .paper-series { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.paper-series { margin: 0 0 1.4em; padding: 0; list-style: none; } .paper-series a { display: inline-flex; gap: 6px; padding: 8px 12px; background: var(--white); border: 2px solid var(--ink); text-decoration: none; font-size: 15px; }
.document-object { display: flex; flex-direction: column; gap: 4px; margin: 18px 0 0; padding: 14px 16px; background: var(--white); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); font-size: 15px; }
.document-under { display: none; } .document-top, .document-meta { font-family: var(--label); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.document-face strong { display: block; font-family: var(--display); font-size: 25px; font-weight: 400; line-height: 1.06; }
/* ---- the answer first: white, with a heavy edge */
.answer { margin: 0 0 30px; padding: 14px 16px 16px; background: var(--white); border: 2px solid var(--ink); border-left-width: 8px; }
@media (min-width: 900px) { .answer { padding: 20px 26px 22px; } }
.pg main .answer h2 { margin: 0 0 8px; font-family: var(--label); font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; }
.pg main .answer p { margin: 0 0 10px; font-size: 1.08em; line-height: 1.5; } .pg main .answer p:last-child { margin-bottom: 0; }
.pg main .answer p.evidence-certainty, .evidence-certainty { font-family: var(--label); font-size: 13px; line-height: 1.5; }
.evidence-chip, .foundation-status, .merch-status, .paper-badges span { display: inline-block; margin-right: 6px; padding: 2px 7px 3px; background: var(--yellow); color: var(--ink); border: 1px solid var(--ink); font-family: var(--label); font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; }
/* ---- tables: a table on a wide screen, a card a row on a phone */
.table-wrap { margin: 0 0 1.2em; overflow-x: auto; }
.pg main table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 16px; line-height: 1.45; }
.pg main caption { padding: 0 0 8px; text-align: left; font-family: var(--label); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); caption-side: top; }
.pg main th, .pg main td { padding: 11px 12px; border: 1.5px solid var(--ink); text-align: left; vertical-align: top; }
.pg main thead th { background: var(--ink); color: var(--cream); font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pg main tbody th { font-weight: 700; }
@media (max-width: 759px) {
  .evidence-table, .evidence-table tbody, .evidence-table tr, .evidence-table th, .evidence-table td { display: block; }
  .pg main table.evidence-table { background: transparent; }
  .evidence-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .evidence-table tr { margin: 0 0 12px; padding: 12px 14px 14px; background: var(--cream); border: 2px solid var(--ink); border-radius: 4px; }
  .pg main .evidence-table th, .pg main .evidence-table td { padding: 0; border: 0; }
  .pg main .evidence-table tbody th { margin-bottom: 8px; font-size: 17px; line-height: 1.3; }
  .evidence-table td { margin-top: 8px; }
  .evidence-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--label); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
}
/* ---- the evidence index, the register, their find boxes */
.evidence-card a { display: flex; flex-direction: column; gap: 6px; font-family: var(--body); font-size: 16px; line-height: 1.5; text-decoration: none; }
.evidence-card a .eyebrow { margin: 0; }
.evidence-card a strong { font-family: var(--display); font-size: 25px; font-weight: 400; line-height: 1.06; }
.evidence-card a:hover { color: var(--ink); } .evidence-card a:hover strong { text-decoration: underline; text-decoration-thickness: 1.5px; }
.evidence-find { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 16px; } .evidence-find[hidden] { display: none; }
.evidence-find label, .pg main label { font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.pg input[type="search"], .pg input[type="text"], .pg input[type="email"], .pg input[type="number"], .pg select, .pg textarea { min-height: 48px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; max-width: 100%; }
.evidence-find input { flex: 1 1 220px; }
.pg main .evidence-find-count { flex-basis: 100%; margin: 0; font-family: var(--label); font-size: 12px; color: var(--muted); }
.pg main ul.evidence-theme-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; padding: 12px 16px; } .evidence-theme-nav li { margin: 0; } .evidence-theme-nav span { font-family: var(--label); font-size: 12px; color: var(--muted); }
.pg main ol.evidence-studies { padding: 0; list-style: none; font-size: 16px; } .evidence-studies li { margin: 0; padding: 10px 0; border-top: 1px solid var(--rule); }
.evidence-studies a { font-family: var(--display); font-size: 22px; line-height: 1.1; text-decoration: none; } .evidence-studies a:hover { text-decoration: underline; }
.pg main ol.register-list { display: grid; gap: 18px; padding: 0; list-style: none; } .pg main .register-row h3 { margin-top: 0; } .register-meta { margin-bottom: 4px !important; }
.pg .foundation-status { display: block; margin: 0 0 12px; padding: 8px 10px; font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: 0.01em; text-transform: none; }
@media (max-width: 759px) { .pg main .evidence-table caption { display: block; } }
/* ---- sources, and where to go next */
.references ol { padding-left: 1.3em; } .references li { margin: 0.8em 0; }
.ref-meta { font-family: var(--label); font-size: 13px; color: var(--muted); }
.evidence-related, .foundation-ref-list { display: grid; gap: 10px; margin: 0; padding: 0 !important; list-style: none; }
@media (min-width: 700px) { .evidence-related { grid-template-columns: 1fr 1fr; } }
.evidence-related li { margin: 0 !important; }
.evidence-related a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 12px 14px; background: var(--white); border: 2px solid var(--ink); font-family: var(--display); font-size: 21px; line-height: 1.12; text-decoration: none; }
.evidence-related a::after { content: '→'; flex: none; font-family: var(--label); font-size: 16px; }
.evidence-related a:hover { background: var(--yellow); color: var(--ink); }
/* ---- cards, lists of things, callouts */
.cards, .evidence-cards, .foundation-grid, .limit-grid, .merch-range { display: grid; gap: 14px; margin: 0 0 1.4em; padding: 0 !important; list-style: none; }
@media (min-width: 760px) { .cards, .evidence-cards, .foundation-grid, .limit-grid, .merch-range { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .cards, .foundation-grid, .limit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card, .evidence-card, .research-card, .limit-card, .merch-item, .register-row, .science-node, .boundary-box { margin: 0 !important; padding: 16px 16px 18px; background: var(--white); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.card > :first-child, .evidence-card > :first-child { margin-top: 0; } .card > :last-child, .evidence-card > :last-child { margin-bottom: 0; }
.pg main .card h2, .pg main .card h3, .pg main .evidence-card h3, .pg main .research-card h3 { margin: 0 0 8px; font-size: clamp(24px, 5.6vw, 30px); }
.card-link, .arrow-link, .research-read, .study-link, .bridge-demo-link { font-weight: 700; }
.callout, .intro, .method, .foundation-callout, .paper-disclosure, .athlete-explainer, .foundation-legacy-note, .evidence-register, .result-boundary { margin: 0 0 1.4em; padding: 14px 16px; background: var(--rosa2); border: 2px solid var(--ink); }
.callout > :last-child, .intro > :last-child, .method > :last-child, .evidence-register > :last-child { margin-bottom: 0; }
.toc, .foundation-toc, .reader-shortcuts, .evidence-theme-nav { margin: 0 0 1.6em; padding: 12px 16px; background: var(--white); border: 2px solid var(--ink); font-size: 16px; }
.toc ol, .toc ul, .foundation-toc ol, .foundation-toc ul { margin: 0; }
/* ---- the band that sells the app, on the pages that carry their own */
.beta-band, .product-bridge { margin: 44px calc(-1 * var(--pad)) -56px; padding: 44px var(--pad) 52px; background: var(--verde); color: var(--cream); }
.pg main .beta-band h2, .pg main .product-bridge h2 { margin-top: 0; }
.beta-band a, .product-bridge a { color: var(--cream); } .beta-band .eyebrow, .product-bridge .eyebrow, .product-bridge .bridge-kicker { color: var(--rosa); }
.pg main .beta-band a.button, .pg main .product-bridge a.button { background: var(--rosa); border-color: var(--rosa); color: var(--ink); }
.bridge-steps { display: grid; gap: 12px; margin: 0 0 1.2em; padding: 0 !important; list-style: none; counter-reset: b; }
@media (min-width: 760px) { .bridge-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bridge-step { margin: 0 !important; padding: 12px 14px; border: 1px solid rgba(245, 240, 230, 0.5); }
.bridge-number { font-family: var(--label); font-size: 12px; letter-spacing: 0.1em; }
.bridge-actions, .hero-actions, .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 0 0 1em; }
.bridge-facts { font-family: var(--label); font-size: 12px; letter-spacing: 0.04em; }
/* ---- a week, drawn: the picture at the top of the guides and tools */
.mast .hero { display: grid; gap: 24px; }
@media (min-width: 1000px) { .mast .hero:has(> .week-object), .mast .hero:has(> .lab-object) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: end; } }
.week-object, .week-study { padding: 14px 14px 16px; background: var(--white); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.object-top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--label); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pg .week-object h2 { margin: 8px 0 12px; font-family: var(--display); font-size: clamp(30px, 7vw, 40px); font-weight: 400; line-height: 1; letter-spacing: -0.015em; }
.pg ol.object-week { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 6px; margin: 0 0 12px; padding: 0; list-style: none; }
@media (min-width: 620px) { .pg ol.object-week { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.object-week li { display: flex; flex-direction: column; gap: 4px; min-width: 0; margin: 0; }
.object-week li > span { font-family: var(--label); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.ride-token { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 4px 3px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--white); font-size: 12px; line-height: 1.1; text-align: center; }
.ride-token i { display: none; } .ride-clear { background: transparent; border-style: dashed; } .ride-hard { background: var(--pink); } .ride-long { background: var(--yellow); } .ride-easy { background: var(--rosa2); }
.gym-token { padding: 4px 2px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--verde); color: var(--cream); font-size: 11px; font-weight: 700; line-height: 1.1; text-align: center; }
.week-object-foot p { margin: 0 0 4px; font-family: var(--label); font-size: 12px; line-height: 1.5; color: var(--muted); }
.pg main .week-study { margin: 0 0 1.6em; } .pg main .week-study h2 { margin-top: 0; }
.pg main ol.study-week { margin: 14px 0 10px; padding: 0; list-style: none; }
.study-week li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 0 10px; align-items: baseline; margin: 0; padding: 8px 0; border-top: 1px solid var(--rule); }
.study-week li > span { font-family: var(--label); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.study-week li b { padding: 1px 7px 2px; background: var(--verde); color: var(--cream); border-radius: 4px; font-size: 12px; }
.study-week li small { grid-column: 2 / -1; }
/* ---- the Lab's three papers, as three cards */
.lab-object { margin-top: 4px; } .object-caption { margin: 0 0 10px; font-family: var(--label); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.folio-deck { display: grid; gap: 12px; }
.folio-layer { display: flex; flex-direction: column; gap: 5px; padding: 14px 14px 16px; background: var(--white); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); text-decoration: none; }
.folio-top, .folio-kind { font-family: var(--label); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.folio-layer strong { font-family: var(--display); font-size: 25px; font-weight: 400; line-height: 1.06; }
.folio-lines, .folio-controls, .experience-progress { display: none; }
.folio-status { align-self: flex-start; padding: 2px 7px 3px; background: var(--yellow); border: 1px solid var(--ink); font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; }
.folio-open { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.beta-band .card, .product-bridge .card, .beta-band .evidence-card { color: var(--ink); } .beta-band .card a, .product-bridge .card a { color: var(--ink); }
/* ---- the free week planner: its form, and the week it gives back */
.planner, .results { margin: 0 0 1.6em; padding: 16px; background: var(--white); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.results { background: var(--cream); }
.planner[hidden], .results[hidden], .example-controls[hidden], .copy-fallback[hidden] { display: none; }
.planner-top, .field, .example-controls { display: grid; gap: 6px; margin-bottom: 10px; }
.field strong { font-family: var(--label); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.planner-options { display: grid; gap: 2px; margin-bottom: 6px; }
.pg main label.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--body); font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--verde); }
.day-rows { margin: 12px 0; }
.day-row { display: grid; gap: 2px 14px; padding: 12px 0; border-top: 1px solid var(--rule); }
.day-row > strong { font-family: var(--display); font-size: 25px; font-weight: 400; line-height: 1.1; }
.day-row select, .example-action-row select { width: 100%; }
@media (min-width: 760px) { .day-row { grid-template-columns: 130px minmax(0, 1fr) auto auto; align-items: center; } }
.planner-foot, .copy-row, .example-action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 8px; }
.form-status { font-weight: 700; }
.pg main ol.week-grid { display: grid; gap: 8px; margin: 0 0 1em; padding: 0; list-style: none; }
@media (min-width: 900px) { .pg main ol.week-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.week-day { display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 10px 12px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 6px; font-size: 15px; line-height: 1.3; }
.week-day.has-gym { background: var(--pink); }
.day-name { font-family: var(--label); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; } .ride-name { font-weight: 700; }
.priority-label, .gym-label { align-self: flex-start; padding: 1px 6px 2px; border: 1px solid var(--ink); font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.priority-label { background: var(--yellow); } .gym-label { background: var(--verde); color: var(--cream); } .day-note { font-size: 13px; }
/* ---- the closing band, the footer, the rider */
.cta { padding: 52px 0 56px; background: var(--verde); color: var(--cream); background-image: repeating-linear-gradient(135deg, transparent 0 26px, rgba(244, 196, 184, 0.14) 26px 28px); }
.cta .eyebrow { color: var(--rosa); } .cta a { color: var(--cream); }
.cta h2 { margin: 0 0 14px; font-family: var(--display); font-size: clamp(40px, 10vw, 76px); font-weight: 400; line-height: 0.98; letter-spacing: -0.02em; } .cta h2 em { color: var(--rosa); }
.cta p { margin: 0 0 16px; max-width: 34em; font-size: 1.1em; }
.cta .button { background: var(--rosa); border-color: var(--rosa); color: var(--ink); } .cta .button:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.cta .note { color: var(--rosa); }
.ft { padding: 40px 0 58px; background: var(--ink); color: var(--rosa); font-size: 15px; }
.ft a { color: var(--rosa); text-decoration: none; } .ft a:hover { color: var(--white); text-decoration: underline; }
.ft-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; margin-bottom: 30px; }
@media (min-width: 900px) { .ft-cols { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ft h2 { margin: 0 0 10px; font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); }
.ft ul { margin: 0; padding: 0; list-style: none; } .ft li { margin: 0; } .ft li a { display: inline-flex; align-items: center; min-height: 34px; }
.ft-line { margin: 0 0 8px; font-family: var(--label); font-size: 12px; line-height: 1.6; letter-spacing: 0.03em; }
#gl-race { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: 24px; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--ink); pointer-events: none; }
#gl-race .gl-track { position: absolute; left: 12px; right: 34px; top: 17px; height: 2px; background: rgba(244, 196, 184, 0.45); }
#gl-race .gl-finish { position: absolute; right: 9px; top: 4px; width: 14px; height: 15px; background: repeating-conic-gradient(#F5F0E6 0% 25%, #1F1D19 0% 50%) 0 0 / 7px 7px; outline: 1px solid #F5F0E6; }
#gl-rider { position: absolute; left: 6px; top: 1px; width: 30px; height: 22px; }
#gl-rider .gl-wheel { transform-box: fill-box; transform-origin: center; rotate: var(--r, 0deg); }
/* ---- a little life, for those who have not asked for none */
@media (prefers-reduced-motion: no-preference) {
  .mast h1, .pg main > h1 { animation: pg-up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .mast .lede, .mast .eyebrow, .mast .byline, .mast .breadcrumbs { animation: pg-up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s both; }
  .answer { animation: pg-edge 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both; }
  .evidence-chip { animation: pg-stamp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s both; }
  .card, .evidence-related a, .evidence-card { transition: translate 0.18s ease, box-shadow 0.18s ease; }
  .card:hover, .evidence-card:hover { translate: -2px -2px; box-shadow: 7px 7px 0 var(--ink); }
}
@keyframes pg-up { from { opacity: 0; translate: 0 18px; } }
@keyframes pg-edge { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pg-stamp { from { opacity: 0; scale: 2.2; rotate: -12deg; } }
/* ---- the final pass: the same standard as the home page */
@media (prefers-reduced-motion: no-preference) {
  /* blocks settle as they arrive. Nothing is hidden while it waits: they are only a little out of place. */
  .pg .rise { translate: 0 26px; scale: 0.988; transition: translate 0.7s cubic-bezier(0.16, 1, 0.3, 1), scale 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
  .pg .rise.in { translate: 0 0; scale: 1; }
  .pg .rise.d1 { transition-delay: 0.06s; } .pg .rise.d2 { transition-delay: 0.12s; } .pg .rise.d3 { transition-delay: 0.18s; }
  /* a block that is still out of place never takes a press meant for what it overlaps; its own links and fields still answer */
  .pg .rise { pointer-events: none; }
  .pg .rise a, .pg .rise button, .pg .rise summary, .pg .rise input, .pg .rise select, .pg .rise textarea, .pg .rise label, .pg .rise video, .pg .rise audio, .pg .rise [role="button"], .pg .rise [tabindex], .pg a.rise, .pg button.rise { pointer-events: auto; }
  /* a question opens like a drawer; the menu's lines arrive one after another */
  .pg main details.opening > :not(summary) { animation: pg-open 0.42s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .menu[open] > nav { animation: pg-open 0.38s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .menu[open] > nav > a { animation: pg-line 0.42s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .menu[open] > nav > a:nth-child(1) { animation-delay: 0.04s; } .menu[open] > nav > a:nth-child(2) { animation-delay: 0.085s; } .menu[open] > nav > a:nth-child(3) { animation-delay: 0.13s; } .menu[open] > nav > a:nth-child(4) { animation-delay: 0.175s; }
  .menu[open] > nav > a:nth-child(5) { animation-delay: 0.22s; } .menu[open] > nav > a:nth-child(6) { animation-delay: 0.265s; } .menu[open] > nav > a:nth-child(7) { animation-delay: 0.31s; } .menu[open] > nav > a:nth-child(n+8) { animation-delay: 0.355s; }
  /* buttons answer a press */
  .button, .pg main a.button, .menu summary, .hd .join { transition: scale 0.14s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease; }
  .button:active, .pg main a.button:active, .menu summary:active, .hd .join:active { scale: 0.965; }
  /* the highlighter crosses the closing line when it is reached */
  .cta h2 em { background-image: linear-gradient(transparent 0 66%, rgba(243, 212, 79, 0.28) 66% 93%, transparent 93%); background-repeat: no-repeat; background-size: 0% 100%; transition: background-size 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s; }
  .cta h2.in em, .cta .in h2 em, .cta h2:not(.rise) em { background-size: 100% 100%; }
  /* reaching the foot of the page is a finish */
  #gl-race.done .gl-finish { animation: gl-finish 1s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  #gl-race.done #gl-rider { animation: gl-wheelie 1s cubic-bezier(0.34, 1.56, 0.64, 1) both; transform-box: fill-box; transform-origin: 22% 92%; }
  /* one page changes over to the next; the rider rides back to the start */
  @view-transition { navigation: auto; }
}
::view-transition-old(root) { animation: gl-vt-out 0.2s cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: gl-vt-in 0.46s cubic-bezier(0.16, 1, 0.3, 1) both; }
#gl-race { view-transition-name: gl-race; } #gl-rider { view-transition-name: gl-rider; }
::view-transition-group(gl-rider) { animation-duration: 0.6s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes gl-vt-out { to { opacity: 0; } }
@keyframes gl-vt-in { from { opacity: 0; transform: translateY(20px); } }
@keyframes pg-open { from { opacity: 0; translate: 0 -10px; clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -20% 0); } }
@keyframes pg-line { from { opacity: 0; translate: -16px 0; } }
@keyframes gl-finish { 0% { scale: 1; rotate: 0deg; } 30% { scale: 2; rotate: -16deg; } 62% { scale: 1.5; rotate: 11deg; } 100% { scale: 1; rotate: 0deg; } }
@keyframes gl-wheelie { 0%, 100% { rotate: 0deg; } 34% { rotate: -26deg; } 68% { rotate: -9deg; } }
@media print { .tick, .hd, .cta, .ft, #gl-race, .onpage { display: none; } .pg { background: #fff; } .pg .rise { translate: none; scale: none; } }
/* sign in: the panel beside "Join" (add-sign-in-menu.mjs) */
header:has(.glsi[open]){position:relative;z-index:80}nav:not(.nav)>.glsi{font-size:16px}.glsi{position:relative}.glsi>summary{list-style:none;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 16px;border:1.5px solid #1F1D19;border-radius:10px;font-weight:600;cursor:pointer;white-space:nowrap}.glsi>summary::-webkit-details-marker{display:none}
.glsi>summary::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);transition:transform .35s cubic-bezier(.2,1.3,.35,1)}.glsi>summary:focus-visible{outline:3px solid #1F1D19;outline-offset:3px}
.glsi[open]>summary{background:#1F1D19;color:#F4C4B8}.glsi[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.glsi-p{position:absolute;right:0;top:calc(100% + 12px);z-index:60;display:grid;gap:10px;width:300px;padding:14px;background:#fff;border:2px solid #1F1D19;box-shadow:8px 8px 0 #1F1D19;transform-origin:85% 0}
.glsi .glsi-p a,.glsi .glsi-p a:hover{position:relative;display:grid;gap:2px;min-height:44px;padding:12px 40px 12px 14px;border:1.5px solid #1F1D19;background:linear-gradient(#F3D44F,#F3D44F) left/0 100% no-repeat #fff;color:#1F1D19;text-decoration:none;transition:background-size .4s cubic-bezier(.22,1,.36,1)}
.glsi .glsi-p a:hover,.glsi .glsi-p a:focus-visible{background-size:100% 100%}.glsi-p a:focus-visible{outline:3px solid #1F1D19;outline-offset:2px}
.glsi-p a::after{content:"\2192";position:absolute;right:14px;top:50%;translate:0 -50%;transition:transform .3s cubic-bezier(.2,1.3,.35,1)}.glsi-p a:hover::after{transform:translateX(4px)}
.glsi-p b{font:italic 400 26px/1.05 "Instrument Serif",Georgia,serif}.glsi-p span{font-size:14px;font-weight:400;color:#55534A}
@media (prefers-reduced-motion:no-preference){.glsi[open]>.glsi-p{animation:glsi-in .45s cubic-bezier(.2,1.3,.35,1) both}.glsi[open] .glsi-p a{animation:glsi-line .45s .05s cubic-bezier(.16,1,.3,1) both}.glsi[open] .glsi-p a+a{animation-delay:.12s}}
@media (prefers-reduced-motion:reduce){.glsi *,.glsi *::after{transition:none!important}}[data-motion=off] .glsi *,[data-motion=off] .glsi *::after{animation:none!important;transition:none!important}
@media (min-width:900px) and (max-width:1279px){.hd{padding-inline:24px}.hd .logo{flex:none;white-space:nowrap}.hd .nav{gap:12px;font-size:15px}.hd .nav a,.hd .nav summary{white-space:nowrap}.hd a.join{padding:0 14px}.glsi>summary{padding:0 12px}}
@keyframes glsi-in{from{opacity:0;transform:translateY(-10px) rotate(-2deg) scale(.96)}}@keyframes glsi-line{from{opacity:0;transform:translateY(8px)}}
