/* CBG /free/ in the v4 system. Draft, Picasso 30 Nov 2026. Loads after the live /fold.css and /page.css (unchanged).
   Grid, sizes and colours: ../../20261130-cbg-home-v4/grid.md. Sizes used: S1 56/64, S2 17/24, S3 14/24 (36/16/13 at 390),
   plus the fold's existing 16 px button label. No new colours: chalk, veld, veld2, mist, tan, flash (button fill only). */

.skip { position: absolute; left: 56px; top: -80px; background: var(--veld); color: var(--chalk); padding: 8px 16px; font: 600 14px/24px "Public Sans", sans-serif; z-index: 10; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--veld); outline-offset: 2px; }
.col-form :focus-visible { outline-color: var(--tan); }
.claim:focus { outline: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--flash); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- fold: type left on chalk, the form right on veld2 (the homepage's still half) ---------- */
.fold--free { height: auto; min-height: 800px; overflow: visible; }
.fold--free .col-type { height: auto; }
.fold--free .claim { justify-content: flex-start; padding: 128px 48px 64px 56px; } /* optically centred like the homepage claim, fixed so rules land on whole pixels */
.eyebrow { color: var(--veld); margin-bottom: 16px; }
.fold--free .claim h1 { line-height: 64px; } /* S1 on the 8 px baseline (the homepage's locked 1.06 is 59.4 px) */
.fold--free .deck { line-height: 24px; }
.fold--free .deck { margin-top: 24px; font-weight: 600; max-width: none; }
.intro { margin-top: 16px; }
.ruled { list-style: none; padding: 0; margin: 40px 0 0; border-bottom: 1px solid var(--veld); }
.ruled li { border-top: 1px solid var(--veld); padding: 11px 0 12px; }

.col-form { flex: 0 0 640px; width: 640px; background: var(--veld2); color: var(--chalk);
  padding: 56px 56px 48px 56px; display: flex; flex-direction: column; }
.form-title { color: var(--chalk); border-bottom: 1px solid var(--tan); padding-bottom: 15px; margin-bottom: 16px; }
.col-form a { color: var(--chalk); text-underline-offset: 3px; }
.col-form form { margin: 0; }
.field { margin-top: 24px; }
.field-label { display: block; font-weight: 600; color: var(--chalk); margin-bottom: 8px; }
.col-form input[type=email] { display: block; width: 100%; height: 56px; padding: 0 16px; margin: 0; border: 0; border-radius: 0;
  background: var(--chalk); color: var(--veld); font-family: "Public Sans", sans-serif; }
.col-form input[type=email]::placeholder { color: #616158; opacity: 1; } /* veld at 65% on chalk, 5.36:1 */
fieldset { border: 0; margin: 16px 0 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.check { display: flex; align-items: flex-start; gap: 16px; color: var(--chalk); padding: 4px 0; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: 0 0 24px; width: 24px; height: 24px; margin: 0; border: 2px solid var(--chalk);
  border-radius: 0; background: transparent; cursor: pointer; }
.check input:checked { background: var(--flash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%2312160F' stroke-width='3'/%3E%3C/svg%3E") center/18px no-repeat; border-color: var(--flash); }
.check span { display: block; }
.consent { margin-top: 12px; border-top: 1px solid var(--mist); padding-top: 15px; }
.consent input { margin-top: 0; }
.col-form .btn { margin-top: 24px; border: 0; cursor: pointer; }
.form-msg { margin: 8px 0 0; min-height: 0; }
.form-msg:empty { display: none; }
.muted { color: var(--mist); margin-top: 8px; }
.muted + .muted { margin-top: 8px; }
.muted a { color: var(--mist); }

/* PDF download: secondary action in the v4 system (link-action, chalk on veld2, flash underline).
   Not a second filled button — the submit stays the only one. Destination of the 390 jump (href="#pdf").
   scroll-margin-top is 6 * 8 so the link lands with room and the last lines of the form note stay in view. */
.pdf-dl { margin-top: 24px; }
.pdf-dl + .muted { margin-top: 24px; }
.col-form #pdf { margin-top: 0; color: var(--chalk); scroll-margin-top: 48px; }

/* ---------- honest band: two columns, no heading (Shaun, 30 Nov 07:24 SAST: take the "what this is" out) ---------- */
/* 48 px pad on the 8 px grid (was 64). Fold/band rule + 47 = 48. */
.band--honest { border-top: 1px solid var(--veld); padding-top: calc(6 * var(--u) - 1px); padding-bottom: calc(6 * var(--u)); }
.band--honest .grid { align-items: start; }
/* At 1280 the fold/band rule already starts the band; a second content rule left a dead chalk gap, so none here.
   Body first line and "Next step" label share the same top (y aligned). The 12-column top rule is phone-only. */
.to-form { display: none; }
.band--honest .action { padding-top: 0; }
.band--honest .left .s2, .band--honest .notice { margin-top: 0; }
.band--honest .left .notice { margin-top: 24px; }
.notice strong { font-weight: 600; }
.next { margin-top: 0; }
.next .label { margin-bottom: 8px; }
.next .link-action { margin-top: 24px; }

/* footer: the homepage row; the legal cell carries the live trademark line under the xAI line */
.site-footer .legal p { margin: 0; }
.footer-row { height: auto; align-items: start; } /* 2-line legal cell: 48 px row, footer 32+48+32 = 112 */
.footer-row .footer-nav { align-items: center; height: 24px; }

@media (max-width: 500px) {
  .skip { left: 20px; }
  .fold--free { min-height: 0; }
  .fold--free .claim { padding: 24px 20px 40px; justify-content: flex-start; }
  .fold--free .deck { margin-top: 16px; }
  .ruled { margin-top: 24px; }
  .ruled li { padding: 7px 0 8px; }
  .col-form { width: 390px; flex: 0 0 auto; padding: 40px 20px 56px; }
  .form-title { font-size: 16px; }
  .band--honest { border-top: 0; padding-top: calc(5 * var(--u)); padding-bottom: calc(5 * var(--u)); } /* 40, was 56 */
  .band--honest .grid::before { content: ""; grid-column: 1 / span 4; border-top: 1px solid var(--veld); margin-bottom: calc(2 * var(--u)); }
  /* rule between the body/notice and Next step so the stacked column doesn't float */
  .band--honest .right { margin-top: 32px; border-top: 1px solid var(--veld); padding-top: calc(4 * var(--u) - 1px); }
  .to-form { display: inline-block; align-self: flex-start; margin-top: 24px; }
  .eyebrow, .next .label { font-size: 16px; }
  .skip { font-size: 13px; }
  .fold--free .claim { justify-content: flex-start; }
}
