/* Copy rewrite (design-v2/COPY-REWRITE-PLAN.md): the six new sections from the Round 3 canvas boards
   (design-v2/copy-rewrite/boards). Loaded after each page's own CSS by Home, Resources and Inside. Uses the r10-base tokens. */
.cr-section { --cr-pad: clamp(72px, 9vw, 120px); padding-block: var(--cr-pad); background: var(--page); color: var(--ink); }
/* Same box as a.css .wrap, using its own variables (--maxw, --gutter: 20px below 761 px) and safe-area padding, so these
   sections share the page's left edge at every width (PARTNER-PROGRAM-FIXES-PLAN.md F7, inspection PPF-010). a.css loads on every page. */
.cr-wrap { width: 100%; max-width: calc(var(--maxw, 1280px) + 2 * var(--gutter, clamp(20px, 5.5vw, 80px))); margin-inline: auto; padding-left: max(var(--gutter, clamp(20px, 5.5vw, 80px)), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter, clamp(20px, 5.5vw, 80px)), env(safe-area-inset-right, 0px)); box-sizing: border-box; }
.cr-h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.01em; }
.cr-h2--sm { font-size: clamp(30px, 3.2vw, 46px); }
.cr-h2 em, .cr-h3 em { color: var(--green-700); }
.cr-h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; }
.cr-lede { margin: 0; font-size: 18px; line-height: 1.5; color: var(--body); }
.cr-body { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body); }
.cr-small { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cr-eyebrow { margin: 0; font-size: 14px; font-weight: 500; color: var(--green-700); }
.cr-stack { display: flex; flex-direction: column; gap: 24px; }
.cr-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; }
.cr-btn--green { background: var(--green); color: var(--green-900); }
.cr-btn--wide { width: 100%; }
/* Page link colours (e.g. resources-r13.css `.r13-main a:not(.btn)`) must not recolour these buttons. */
.cr-section a.cr-btn--green, .cr-section a.cr-btn--green:hover { color: var(--green-900); }
.cr-btn:focus-visible, .cr-linkbtn:focus-visible, .cr-faq summary:focus-visible { outline: 2px solid var(--green-700); outline-offset: 3px; }
.cr-status { margin: 0; min-height: 1.4em; font-size: 14px; line-height: 1.4; color: var(--green-800); overflow-wrap: anywhere; }
.cr-status:empty { min-height: 0; }
.cr-status[data-tone="error"] { color: #9B2C2C; }
/* Layout round (PARTNER-PROGRAM-LAYOUT-PLAN.md L3): one opening for the Resources partner, FAQ and free-access sections —
   a full-width labelled 2 px ink rule (heavier than #fit's 1 px rows). */
.cr-rule { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 48px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); font-size: 17px; line-height: 1.3; color: var(--ink); }
.cr-rule span:first-child { color: var(--green-700); }
.cr-rule span:last-child { color: var(--muted); }
/* A section on the page colour that opens with the rule: no top padding, so the rule is its top edge (the section above
   provides the space). Used by #free-access, which follows #partner-program on the same colour (layout plan L7). */
.cr-section--ruled { padding-top: 0; margin-top: clamp(32px, 4vw, 56px); } /* polish P3: extra space before Free resources */

/* "Use it" line under the featured Inside clips; the IKEA deck link in the Resources card. */
.cr-use { margin: 12px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; background: var(--green-ring); font-size: 14px; line-height: 1.45; color: var(--green-900); }
.cr-use[hidden] { display: none; }
.cr-use__tag { padding: 2px 8px; border-radius: 999px; background: #FFF4D6; color: #6B4E00; font-size: 11px; font-weight: 500; line-height: 1.6; }
.cr-preview-link { margin: 12px 0 0; font-size: 15px; font-weight: 500; }
.cr-linkbtn { padding: 0; border: 0; background: none; font: inherit; color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cr-linkbtn:hover { color: var(--green-900); }
.cr-deck-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.student-deck .cr-deck-note { color: var(--green-tint); } /* the deck card is forest green (a.css .student-deck) */

/* 5A · FAQ */
.cr-tone-warm { background: var(--warm-3); } /* layout round L4: was --warm-1, ~3 % off the page */
.cr-faq__grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.cr-faq__head { display: flex; flex-direction: column; gap: 16px; }
.cr-faq__list { border-bottom: 1px solid var(--line); }
.cr-faq__item { border-top: 1px solid var(--line); }
.cr-faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 16px; align-items: center; min-height: 72px; padding: 16px 0; cursor: pointer; list-style: none; }
.cr-faq summary::-webkit-details-marker { display: none; }
.cr-faq__q { font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); line-height: 1.15; }
.cr-faq__icon { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--green-700); font-size: 20px; }
.cr-faq__icon::before { content: "+"; }
.cr-faq__item[open] .cr-faq__icon::before { content: "−"; }
.cr-faq__item p { max-width: 32em; /* ≈ 75–80 characters of PP Neue Montreal per line (its '0' is wide, so ch overshoots) */ margin: 0; padding: 0 56px 24px 0; font-size: 17px; line-height: 1.55; color: var(--body); }

/* Free resources (Damian, 2026-11-16, canvas board E4e): the track of what is open and what is next, beside a white
   Developing Future Ready Leaders card with a TKS Green edge (no dark green: the partner panel above uses it). */
.cr-free__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: stretch; }
.cr-free__main .cr-h2 { margin-bottom: 36px; }
.cr-track { list-style: none; margin: 0; padding: 0; }
.cr-track__item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 20px; }
.cr-track__mark { display: flex; flex-direction: column; align-items: center; }
.cr-track__dot { width: 16px; height: 16px; margin-top: 6px; box-sizing: border-box; border-radius: 999px; border: 2px solid var(--line); flex: none; }
.cr-track__line { flex: 1; width: 2px; background: var(--line); }
.cr-track__item:last-child .cr-track__line { display: none; }
.cr-track__item--open .cr-track__dot { width: 20px; height: 20px; margin-top: 8px; border: 0; background: var(--green); }
.cr-track__item--open .cr-track__line { background: var(--green); }
.cr-track__item--open.cr-track__item--open-last .cr-track__line { background: var(--line); }
.cr-track__item--next .cr-track__dot { border-color: var(--green-700); background: var(--green-tint); }
.cr-track__body { display: flex; flex-direction: column; gap: 6px; padding-bottom: 26px; }
.cr-track__item:last-child .cr-track__body { padding-bottom: 0; }
.cr-track__item--open .cr-track__body { gap: 8px; padding-bottom: 32px; }
.cr-free .cr-track__state { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.cr-free .cr-track__item--open .cr-track__state, .cr-free .cr-track__item--next .cr-track__state { color: var(--green-700); }
.cr-free .cr-track__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 26px); line-height: 1.1; color: var(--body); }
.cr-free .cr-track__item--open .cr-track__name { font-size: clamp(28px, 2.6vw, 34px); line-height: 1.08; color: var(--ink); }
.cr-free .cr-track__item--next .cr-track__name { color: var(--ink); }
.cr-free .cr-track__text { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.cr-free .cr-track__item--open .cr-track__text, .cr-free .cr-track__item--next .cr-track__text { color: var(--body); }
.cr-free .cr-track__item--open .cr-track__text { font-size: 16px; line-height: 1.5; }
.cr-free .cr-track__cta { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 14px; color: var(--muted); }
.cr-signup { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 20px; padding: clamp(28px, 3.4vw, 48px); border-radius: 28px; background: #FFFFFF; border: 2px solid var(--green); color: var(--ink); }
.cr-signup__pixels { position: absolute; top: 0; right: 0; display: grid; grid-template-columns: repeat(2, 36px); grid-template-rows: repeat(2, 36px); }
.cr-signup__pixels span:nth-child(1) { background: var(--green-tint); }
.cr-signup__pixels span:nth-child(2) { background: var(--green); }
.cr-signup__pixels span:nth-child(4) { background: var(--green-200); }
.cr-signup__eyebrow { margin: 0; font-size: 14px; font-weight: 500; color: var(--green-700); }
.cr-free .cr-signup .cr-h3 { max-width: 11em; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -.01em; }
.cr-free .cr-signup .cr-body { font-size: 18px; }
.cr-signup__fields { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.cr-preview-tag { align-self: flex-start; margin: 0; padding: 4px 10px; border-radius: 999px; background: #FFF4D6; color: #6B4E00; font-size: 12px; font-weight: 500; }
.cr-field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; }
.cr-field input { min-height: 56px; box-sizing: border-box; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--page); font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); }
.cr-field input:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
.cr-choices { margin: 0; padding: 16px; border: 0; border-radius: 14px; background: var(--warm-1); min-width: 0; }
.cr-choices legend { float: left; width: 100%; margin: 0 0 12px; padding: 0; font-size: 14px; font-weight: 500; color: var(--body); } /* float: inside the padding, not on the border */
.cr-choices .cr-check { clear: both; }
.cr-choices .cr-check + .cr-check { margin-top: 12px; }
.cr-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; color: var(--ink); }
.cr-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--green-700); }
.cr-free .cr-signup .cr-btn--wide { min-height: 56px; font-size: 17px; }
/* Canvas board G1 (Damian, 2026-11-16): one solid green button per screen, the Book a call dock. Subscribe is Soft Black;
   Browse the lessons is an ink outline. */
.cr-btn--ink { background: var(--ink); color: #FDFCFB; }
.cr-btn--ink:hover { background: #403A33; }
.cr-btn--line { min-height: 52px; background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.cr-btn--line:hover { background: var(--warm-1); }
.cr-section a.cr-btn--line, .cr-section a.cr-btn--line:hover { color: var(--ink); }
/* Free access sign-up (FREE-ACCESS-SIGNUP-PLAN.md): honeypot off-screen (not display:none, which some bots skip);
   the button is disabled until sections.js is ready, without looking dimmed, and while a request is in flight. */
.cr-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cr-btn[disabled] { cursor: default; }
.cr-signup[aria-busy="true"] .cr-btn { opacity: .7; cursor: progress; }

@media (max-width: 820px) {
  .cr-split, .cr-faq__grid { grid-template-columns: minmax(0, 1fr); }
  .cr-faq__item p { padding-right: 0; }
  .cr-free__grid { grid-template-columns: minmax(0, 1fr); }
  .cr-signup { padding: 28px 24px; }
}

/* Partner Program (design-v2/PARTNER-PROGRAM-PLAN.md) · Resources section, board Resources-A1 (1A Warm paper).
   Scoped under .pp so the Resources page resets (.r13-main p, h2, a) do not win. */
/* Fixes (PARTNER-PROGRAM-FIXES-PLAN.md): no top padding, so the labelled hairline is the section's top edge (F6); tighter spacing (F1, F3). */
.pp { --pp-col: #E8F5E7; --pp-split: 71%; margin-top: clamp(56px, 7vw, 104px); padding-block: 0 clamp(72px, 7vw, 104px); } /* margin, not padding: the hairline stays the section's top edge */
.pp .pp-h2 { margin: 0; max-width: 1000px; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.02em; color: var(--ink); } /* polish P2: one line at 1440 */
.pp-table-wrap { margin-top: 48px; }
/* Scroll hold (Damian, Nov 3): sections.js sets data-pphold, the hold's height and the table's top when the table fits the
   window; the table then sticks in the middle of the screen for a stretch of scrolling before the partner panel takes over. */
html[data-pphold] .pp-hold { margin-top: 48px; }
html[data-pphold] .pp-hold > .pp-table-wrap { position: sticky; margin-top: 0; }
.pp-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-variant-numeric: normal; } /* scrollcraft.css sets tabular-nums on tables (F10) */
.pp-c-item { width: 42%; } .pp-c-free, .pp-c-partner { width: 29%; }
.pp-table th, .pp-table td { padding: 10px 24px; border-top: 1px solid var(--line-soft); text-align: left; vertical-align: top; font-weight: 400; }
.pp-table thead th, .pp-table thead td { padding-block: 14px; border-top: 0; vertical-align: bottom; }
/* F2: the column heads stay on screen while the rows scroll; opaque so rows pass under them. */
@media (min-width: 821px) { .pp-table thead th, .pp-table thead td { position: sticky; top: 0; z-index: 1; background: var(--page); } .pp-table thead th.pp-p { background: var(--pp-col); } }
/* F2a: rows that old links target land below the sticky heads (sections.js sets --pp-head from the rendered header). */
.pp-table tr[id] { scroll-margin-top: calc(var(--pp-head, 180px) + 16px); }
.pp-table tbody th[scope="row"] { padding-left: 0; }
.pp-table .pp-p { background: var(--pp-col); color: var(--green-900); }
.pp-table thead th.pp-p { border-radius: 20px 20px 0 0; }
.pp-table tbody tr:last-child td.pp-p { padding-bottom: 16px; border-radius: 0 0 20px 20px; }
.pp-col-name { display: block; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.pp-table .pp-p .pp-col-name { color: var(--green-900); }
.pp-col-status { display: block; margin-top: 10px; font-size: 15px; line-height: 1.4; color: var(--body); }
.pp-table .pp-p .pp-col-status { color: var(--green-800); }
/* D9 (Damian, Oct 30): the sticky head names the section, so it reads as the School Partner Program among the other ways to work with TKS. */
.pp-table thead td.pp-corner { padding-left: 0; padding-top: 20px; vertical-align: top; } /* line up with the item names below and the column names beside */
.pp-corner__label { display: block; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
/* Group headings span all three columns; the gradient carries the partner column's colour through them (42% + 29%). */
.pp-table .pp-group th { padding: 16px 0 6px; border-top: 0; font-size: 14px; font-weight: 500; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); background: linear-gradient(to right, transparent var(--pp-split), var(--pp-col) var(--pp-split)); }
.pp-item { display: block; font-size: 20px; line-height: 1.3; color: var(--ink); }
.pp-sub { display: block; margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--body); }
/* Item explainers (canvas look A): the "i" button and its dark tooltip. Shown on hover, keyboard focus, or a tap (data-open). */
.pp-tip { position: relative; display: inline-block; margin-left: 5px; vertical-align: top; top: 0; } /* Damian, Nov 3: 14 px, at the top right of the name like a footnote mark */
.pp-info { position: relative; display: grid; place-items: center; width: 14px; height: 14px; padding: 0; border: 1.25px solid #8A8580; border-radius: 50%; background: var(--page); color: var(--body); font: 500 9px/1 var(--ui); cursor: pointer; }
.pp-info::after { content: ""; position: absolute; inset: -15px; } /* 44px tap target */
.pp-info:hover, .pp-tip[data-open] .pp-info, .pp-info:focus-visible { border-color: var(--green-700); background: var(--green-700); color: #FDFCFB; }
.pp-info:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
.pp-tip__box { display: none; position: absolute; z-index: 3; top: calc(100% + 12px); left: -19px; width: 320px; padding: 16px 18px; border-radius: 14px; background: var(--ink); color: #FDFCFB; box-shadow: 0 16px 36px rgba(35, 31, 32, .22); text-align: left; text-transform: none; letter-spacing: 0; }
.pp-tip__box::before { content: ""; position: absolute; top: -6px; left: 20px; width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); }
.pp-tip:hover .pp-tip__box, .pp-tip:focus-within .pp-tip__box, .pp-tip[data-open] .pp-tip__box { display: block; }
.pp-tip[data-closed] .pp-tip__box { display: none; }
.pp-tip__title { display: block; font-size: 15px; font-weight: 500; line-height: 1.35; }
.pp-tip__text { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: #DDD9D4; }
@media (max-width: 820px) {
  /* Phone: the box spans the item row under the name, so it never runs off the screen edge. */
  .pp-table tbody th[scope="row"] { position: relative; }
  .pp-tip { position: static; }
  .pp-tip__box { top: auto; left: 0; right: 0; width: auto; margin-top: 34px; }
  .pp-tip__box::before { display: none; }
}
.pp-table td { font-size: 17px; line-height: 1.35; color: var(--ink); }
.pp-table td.pp-none { color: var(--muted); }
.pp-val { display: flex; gap: 10px; align-items: flex-start; }
.pp-tick { flex: none; margin-top: 1px; color: var(--green-700); }
.pp-note { display: block; margin-top: 4px; font-size: 15px; color: var(--green-800); }
.pp .pp-district { margin: 16px 0 0 var(--pp-split); padding-left: 28px; font-size: 15px; line-height: 1.4; color: var(--body); }
.pp-fee { margin-top: 40px; padding-top: 28px; /* polish P3: no rule here, the section rule is the heaviest line */ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 64px; align-items: end; }
.pp .pp-fee__price { margin: 0; font-family: var(--serif); font-size: clamp(44px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.02em; color: var(--ink); }
.pp .pp-fee__pool { margin: 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--body); }
.pp .pp-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-step { display: flex; flex-direction: column; gap: 12px; padding: 28px 32px 0 0; border-top: 2px solid var(--green); } /* polish P3: was 3 px, heavier than the 2 px section rule */
.pp-step--bonus { border-top-color: var(--green-200); }
.pp-step--year { border-top-color: var(--green-900); }
.pp-step__label { font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); }
.pp-step__title { font-family: var(--serif); font-size: 32px; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.pp-step__text { font-size: 17px; line-height: 1.5; color: var(--body); }
.pp-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.pp-actions .cr-btn { min-height: 56px; padding: 0 32px; font-size: 18px; }
.pp-btn-line { border: 1.5px solid var(--ink); background: transparent; }
.cr-section a.pp-btn-line, .cr-section a.pp-btn-line:hover { color: var(--ink); }
.pp-btn-line:hover { background: var(--warm-1); }
@media (max-width: 820px) {
  .cr-rule { flex-wrap: wrap; gap: 4px 16px; margin-bottom: 32px; font-size: 15px; }
  .pp-table-wrap { margin-top: 32px; }
  /* Phone: header stays visible as two columns; each item becomes a block with its two values side by side. */
  .pp-table, .pp-table thead, .pp-table tbody { display: block; }
  .pp-table colgroup { display: none; }
  .pp-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-table th, .pp-table td { padding: 14px 16px; }
  .pp-table thead { position: sticky; top: 0; z-index: 1; background: var(--page); }
  /* Mobile UX (enlarged text): a head taller than 40% of the window scrolls with the table (sections.js), and long
     words in the head wrap instead of running past their column. Neither changes the default text size. */
  .pp-table.pp-table--tall-head thead { position: static; }
  .pp-table thead :is(.pp-col-name, .pp-col-status) { overflow-wrap: anywhere; }
  .pp-table thead td.pp-corner { display: none; }
  .pp-table thead th { padding: 12px; }
  .pp-table thead .pp-col-name { font-size: 22px; }
  .pp-table thead .pp-col-status { margin-top: 6px; font-size: 13px; }
  .pp-table thead th.pp-p { border-radius: 16px 16px 0 0; }
  .pp-table tbody th[scope="row"] { grid-column: 1 / -1; padding: 18px 0 6px; }
  .pp-table tbody th[scope="row"] + td { border-top: 0; }
  .pp-table tbody th[scope="row"] ~ td.pp-p { border-top: 0; }
  .pp-table td::before { display: none; } /* F9: labels on the first item row of each group only */
  .pp-table .pp-group + tr td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--green-700); }
  .pp-table td.pp-none::before { color: var(--muted); }
  .pp-table .pp-group { grid-template-columns: minmax(0, 1fr); }
  .pp-table .pp-group th { padding: 28px 0 4px; background: none; }
  .pp-table tbody tr:last-child td.pp-p { border-radius: 0 0 16px 16px; }
  .pp-table tbody tr:last-child td:not(.pp-p) { border-bottom: 1px solid var(--line-soft); }
  .pp .pp-district { margin-left: 50%; padding-left: 16px; }
  .pp-fee { margin-top: 40px; padding-top: 16px; grid-template-columns: minmax(0, 1fr); }
  .pp .pp-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pp-step { padding-right: 0; }
  .pp-actions { margin-top: 32px; }
}

/* Partner Program · Home 03 panel body, board Home-card-A (2A). Inside the existing #partner grow panel. */
/* Layout round L1b: the narrowest phones wrap the partner status to three lines; tighter type keeps the sticky head ≤ 130 px. */
@media (max-width: 360px) { .pp-table thead .pp-col-status { font-size: 12px; line-height: 1.3; } }

#partner .pp-card__lead { max-width: 62ch; font-size: 18px; line-height: 1.5; color: var(--body); }
#partner .pp-tags { display: flex; flex-direction: column; gap: 10px; }
#partner .pp-tags ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
#partner .pp-tags li { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-green, #CFE3CC); font-size: 15px; line-height: 1.3; color: var(--green-900); }
#partner .pp-strip { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding: 20px 26px; border-radius: 18px; background: var(--green-ring); font-size: 17px; line-height: 1.45; color: var(--green-800); }
#partner .pp-strip__price { font-family: var(--serif); font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.01em; color: var(--green-900); }
#partner .pp-strip__cur { display: inline-block; vertical-align: top; margin: .1em .04em 0 0; font-size: .56em; line-height: 1; }
@media (max-width: 760px) { #partner .pp-strip { padding: 18px 20px; } }

/* Partner Program · Home "Compare the three ways" as three cards, board Three-ways-C (3C). Round 2 (§3.5): always open
   (no <details>), titles forced to two lines, spacing tightened so the section fits a 1440×900 window. */
#compare-options .pp-compare-h { margin: 0 0 20px; font: 400 clamp(34px, 3.4vw, 48px)/1.05 var(--serif); letter-spacing: -.02em; color: var(--ink); }
#compare-options .pp-compare-h:focus { outline: none; }
#compare-options .pp-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); gap: 0 20px; padding: 0; }
.pp-way { display: grid; grid-template-rows: subgrid; grid-row: span 6; padding: 24px 28px 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.pp-way--partner { background: #F2F8F1; border-color: var(--line-green, #CFE3CC); }
.pp-way__head { padding-bottom: 10px; }
.pp-way__num { margin: 0; font-size: 15px; color: var(--green-700); }
.pp-way__title { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.pp-way__sub { margin: 8px 0 0; font-size: 16px; line-height: 1.4; color: var(--muted); }
.pp-way__rows { display: grid; grid-template-rows: subgrid; grid-row: span 4; margin: 0; }
.pp-way__rows > div { padding: 11px 0; border-top: 1px solid var(--line); }
.pp-way--partner .pp-way__rows > div { border-top-color: var(--line-green, #CFE3CC); }
.pp-way__rows dt { font-size: 14px; font-weight: 500; color: var(--green-800); }
.pp-way__rows dd { margin: 4px 0 0; font-size: 16px; line-height: 1.45; color: var(--body); }
.pp-way--partner .pp-way__rows dd { color: var(--green-900); }
#compare-options .pp-way__btn { align-self: end; margin-top: 14px; width: 100%; gap: 10px; white-space: normal; text-align: center; }
#compare-options a.pp-way__btn--line { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
#compare-options a.pp-way__btn--line:hover { background: var(--warm-1); color: var(--ink); }
@media (max-width: 1000px) {
  #compare-options .pp-ways { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 16px; }
  .pp-way, .pp-way__rows { grid-template-rows: none; grid-row: auto; }
  .pp-way { padding: 28px 24px 24px; }
}

/* "Become a TKS partner school." (PARTNER-PROGRAM-BECOME-PLAN.md D2–D10), after the table. In motion mode (html[data-ppzoom], set by
   sections.js at ≥ 1024 × 800 with motion allowed, the same rule as the "Durable skills" zoom) the sticky "School partner"
   head grows into a full-screen panel and turns from mint to forest. Otherwise it is a plain forest block.
   Layout: canvas board "Forest B1" (offer on the left, step rail on the right, a band for partner school logos, D10). */
.pp-become { margin-top: 48px; --forest: #1B3B19; --forest-band: #234A20; }
.pp-become__head { display: none; }
.pp-become__panel { position: relative; border-radius: 28px; overflow: hidden; overflow: clip; background: var(--forest); color: #FDFCFB; } /* clip: focus can never scroll the panel's insides (PPB-001) */
.pp-become__body { --pbpad: clamp(28px, 6vw, 88px); display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: var(--pbpad) var(--pbpad) 0; box-sizing: border-box; }
.pp-become__main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(48px, 7vw, 96px); align-items: center; padding-bottom: var(--pbpad); }
.pp .pp-become__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 80px); line-height: .98; letter-spacing: -.02em; color: #FDFCFB; }
.pp .pp-become .pp-fee__price { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; font-family: var(--serif); letter-spacing: -.02em; }
.pp-price__from, .pp-price__per { font-size: clamp(22px, 2vw, 28px); color: #C5E5C3; }
.pp-price__num { font-size: clamp(56px, 5.8vw, 84px); line-height: .9; color: var(--green-200); }
.pp-price__cur { display: inline-block; vertical-align: top; margin: .06em .04em 0 0; font-size: .4em; line-height: 1; }
.pp .pp-become .pp-fee__pool { margin: 18px 0 0; max-width: 30em; font-size: clamp(17px, 1.3vw, 18px); line-height: 1.5; color: #E8F5E7; }
.pp .pp-become .pp-district { margin: 12px 0 0; padding: 0; font-size: 15px; line-height: 1.4; color: #C5E5C3; }
.pp-become .pp-actions { margin-top: 36px; }
.cr-section .pp-become a.pp-btn-line, .cr-section .pp-become a.pp-btn-line:hover { border-color: #FDFCFB; color: #FDFCFB; }
.pp-become .pp-btn-line:hover { background: var(--forest-band); }
/* PPB-009: the shared green-700 focus ring is only 2.2:1 on forest; the panel's buttons get a light ring (≥ 3:1). */
.pp-become .cr-btn:focus-visible { outline-color: #FDFCFB; }
/* The step rail: a dot per step on one line. */
.pp-become__rail { min-width: 0; }
.pp .pp-become .pp-rail-sum { margin: 0 0 28px; max-width: 26em; font-size: clamp(17px, 1.3vw, 18px); line-height: 1.5; color: #E8F5E7; } /* PASS C2 */
.pp .pp-become .pp-steps { margin: 0; display: block; }
.pp .pp-become .pp-step { position: relative; gap: 6px; padding: 0 0 32px 48px; border-top: 0; }
.pp .pp-become .pp-step:last-child { padding-bottom: 0; }
.pp-become .pp-step::before { content: ""; position: absolute; left: 7px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-sizing: border-box; }
.pp-become .pp-step::after { content: ""; position: absolute; left: 13px; top: 24px; bottom: 4px; width: 2px; background: var(--green-700); }
.pp-become .pp-step:last-child::after { content: none; }
.pp-become .pp-step--bonus::before { background: var(--forest); border: 2px solid var(--green-200); }
.pp-become .pp-step--year::before { left: 5px; top: 2px; width: 18px; height: 18px; background: var(--green-200); }
.pp-become .pp-step__label { font-size: 13px; color: var(--green-200); }
.pp-become .pp-step__title { font-size: clamp(26px, 2.2vw, 30px); color: #FDFCFB; }
.pp-become .pp-step__text { font-size: 16px; color: #C5E5C3; }
/* Partner school logos: only rendered once sections.mjs PARTNER_LOGOS has entries. */
.pp-logos { display: flex; align-items: center; gap: 32px; margin-inline: calc(-1 * var(--pbpad)); padding: 22px var(--pbpad) 26px; background: var(--forest-band); }
.pp-logos__label { flex: none; margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--green-200); }
.pp-logos__list { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.pp-logos__slot { height: 52px; display: flex; align-items: center; justify-content: center; }
.pp-logos__slot img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 900px) {
  .pp-become__main { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pp-logos { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pp-logos__list { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
html[data-ppzoom="on"] .pp-become { position: relative; z-index: 2; width: var(--pp-vw, 100vw); margin: calc(-1 * (var(--pp-zhead, 103px) + var(--pp-zover, 0px))) 0 0 calc(50% - var(--pp-vw, 100vw) / 2); height: calc(100vh + var(--pp-run, 75vh)); pointer-events: none; } /* FRAMES T1: runway 75vh (was 120vh) */
html[data-ppzoom="on"] .pp-become__stage { position: sticky; top: 0; height: 100vh; overflow: clip; }
html[data-ppzoom="on"] .pp-become__panel { position: absolute; left: var(--px, 0px); top: var(--py, 0px); width: var(--pw, 300px); height: var(--ph, 100px); border-radius: var(--pr, 20px) var(--pr, 20px) var(--prb, 0px) var(--prb, 0px); background: color-mix(in oklch, var(--forest) calc(var(--pbg2, 0) * 100%), color-mix(in oklch, var(--green) calc(var(--pbg1, 0) * 100%), var(--pp-col))); pointer-events: auto; }
/* PPB-001: before the stage pins, the head is the real sticky cell, so the panel is transparent and click-through, but its
   buttons stay in the tab order (visibility: hidden would drop them); focus reveals the panel (sections.js B1). */
html[data-ppzoom="on"] .pp-become:not([data-pinned]) .pp-become__panel { opacity: 0; pointer-events: none; }
/* PPB-010: while the body is still fading in, an invisible button must not take a click (keyboard focus still reveals it). */
html[data-ppzoom="on"] .pp-become:not([data-shown]) .pp-become__body { pointer-events: none; }
html[data-ppzoom="on"] .pp-become__head { display: block; position: absolute; left: 0; top: 0; padding: 14px 24px; transform-origin: 0 0; transform: translate(var(--pex, 0px), var(--pey, 0px)) scale(var(--pes, 1)); }
/* EYEBROW E1: "School partner" stays through the grow and settles above the title; dark on mint and green, light on forest. */
html[data-ppzoom="on"] .pp-become__head .pp-col-name { color: var(--green-900); white-space: nowrap; }
html[data-ppzoom="on"] [data-hlight] .pp-become__head .pp-col-name { color: #E8F5E7; }
html[data-ppzoom="on"] .pp-become__head .pp-col-status { color: var(--green-800); opacity: var(--phs, 1); }
/* Risk §7: a var() inside color-mix is only rejected at computed time, so an older browser needs an explicit fallback. (PPE-003: after the label colour rules, so it wins the cascade.) */
@supports not (background: color-mix(in oklch, red 50%, blue)) { html[data-ppzoom="on"] .pp-become__panel { background: var(--forest); } html[data-ppzoom="on"] .pp-become__head .pp-col-name { color: #E8F5E7; } html[data-ppzoom="on"] .pp-become__head .pp-col-status { color: #C5E5C3; } } /* PPE-002: the label is light on the forest fallback from the start */
/* PASS A3: while the stage is pinned the real table head fades out with the panel copy (sections.js sets --pp-thd on the table). */
html[data-ppzoom="on"] .pp-table thead :is(th, td) > * { opacity: var(--pp-thd, 1); }
/* FRAMES Q3: the head cell's rounded corners square off as it fades, so table rows and their hairlines never show through them. */
html[data-ppzoom="on"] .pp-table thead th.pp-p { border-radius: calc(20px * var(--pp-thd, 1)) calc(20px * var(--pp-thd, 1)) 0 0; }
/* FRAMES T3 (and PPP-007): the table's mint fades to exactly the page colour with --pp-thd. Redefining --pp-col on the
   table covers every use (head cell, body cells, group-row gradient); inside a positive @supports, so a browser without
   color-mix keeps the plain mint (a var() in an unsupported value would only fail at computed time). */
@supports (background: color-mix(in srgb, red 50%, blue)) { html[data-ppzoom="on"] .pp-table { --pp-col: color-mix(in srgb, #E8F5E7 calc(var(--pp-thd, 1) * 100%), var(--page)); } }
html[data-ppzoom="on"] .pp-become__body { --pbpad: var(--pbx, 56px); position: absolute; left: 0; top: 0; width: var(--pbw, 100vw); height: var(--pbh, 100vh); padding-top: 0; opacity: var(--pbo, 0); transform: translateY(var(--pby, 24px)); }
html[data-ppzoom="on"] .pp-become__main { padding-block: 32px; }

/* D8 + FAQ round (PARTNER-PROGRAM-FAQ-PLAN.md): every FAQ (Home, Resources, Inside; all built by faqBlock) sits in the same
   rounded panel in the Resources hero's colour and faint 48 px green grid (Damian: "make it consistent", Resources style). */
.cr-section.cr-faq { margin: 0 24px 24px; border-radius: 40px; background-color: #F8F5F3;
  background-image: linear-gradient(var(--grid-line, rgba(54, 117, 51, 0.08)) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line, rgba(54, 117, 51, 0.08)) 1px, transparent 1px); background-size: 48px 48px; } /* same as .r13-hero__panel */
@media (max-width: 860px) { .cr-section.cr-faq { margin: 0 8px 8px; border-radius: 28px; } }
/* Damian (Oct 30): every FAQ panel is the size of the Resources one on desktop (716 px there), so the short ones don't look
   small and have room for more questions. Phones keep the natural height (content fills the panel there). */
@media (min-width: 861px) { .cr-section.cr-faq { min-height: 716px; box-sizing: border-box; } }
/* Damian (Oct 30): Home and Inside FAQs look exactly like the Resources one: the same rule row (faqBlock `rule`) and the
   same title size, which on Resources comes from `.r13-main h2` (resources-r13.css), so it is set for every FAQ here. */
.cr-section.cr-faq .cr-h2 { font-size: clamp(36px, 3.4vw, 48px); line-height: 1.08; } /* the bottom margin keeps the panel off whatever follows (Home/Inside: the photo wall); it collapses with a following margin */
/* The panel's margin would push the FAQ content in; take it back out of the gutter so the left edge still lines up (F7). */
/* PPB-003: take the inset back out of the max width too, so the edge also lines up above the wrapper's max width (1920). */
.cr-section.cr-faq .cr-wrap { max-width: calc(var(--maxw, 1280px) + 2 * var(--gutter, clamp(20px, 5.5vw, 80px)) - 48px); padding-left: calc(max(var(--gutter, clamp(20px, 5.5vw, 80px)), env(safe-area-inset-left, 0px)) - 24px); padding-right: calc(max(var(--gutter, clamp(20px, 5.5vw, 80px)), env(safe-area-inset-right, 0px)) - 24px); }
@media (max-width: 860px) { .cr-section.cr-faq .cr-wrap { max-width: calc(var(--maxw, 1280px) + 2 * var(--gutter, 20px) - 16px); padding-left: calc(max(var(--gutter, 20px), env(safe-area-inset-left, 0px)) - 8px); padding-right: calc(max(var(--gutter, 20px), env(safe-area-inset-right, 0px)) - 8px); } }
