/* Page compositions. Values come from the design system's tokens (tokens.css); the --lab-* names below only point at
   them, so the layouts read the system's roles. Every section names its kind (data-sect) and takes one of three layouts
   (data-layout a | b | c), still in review. Text first, material after; space, not rules, separates sections; the
   accent marks actions and links, judgment the reader's own decision. */
:root {
  --lab-display: var(--font-display); --lab-body: var(--font-structure); --lab-label: var(--font-label);
  --lab-display-weight: var(--weight-display); --lab-title-weight: var(--weight-display); --lab-name-weight: var(--weight-strong);
  --lab-display-track: -0.01em; --lab-display-case: none;
  --lab-label-size: var(--size-label); --lab-label-track: var(--tracking-label); --lab-label-case: uppercase;
  --lab-accent: var(--accent-text); --lab-link-line: var(--accent-text); --lab-led: var(--signal);
  --lab-sun: var(--judgment); --lab-ghost: var(--text); --lab-ghost-you: var(--judgment);
  --lab-muted: var(--text-muted); --lab-rule: var(--line-regular);
  --lab-panel: var(--raised); --lab-panel-edge: var(--line-regular); --lab-panel-radius: var(--radius-surface); --lab-tint: var(--fill-tint);
  --lab-band: transparent; --lab-band-text: var(--text); --lab-band-secondary: var(--text-secondary);
}

.pg { --gap: clamp(20px, 2.4vw, 32px); }
.pg-section { padding-block: clamp(72px, 9vw, 128px); }
.pg-section + .pg-section { padding-top: clamp(48px, 6vw, 88px); }
.pg :where(h1, h2, h3, p, ul, ol, dl, figure) { margin: 0; }
.pg-head { display: grid; gap: 14px; align-content: start; max-width: 64ch; }
.pg-display { font: var(--lab-display-weight) clamp(40px, 6vw, 88px)/1.04 var(--lab-display); letter-spacing: var(--lab-display-track); text-transform: var(--lab-display-case); color: var(--text); max-width: 16ch; text-wrap: balance; overflow-wrap: anywhere; }
.pg-title { font: var(--lab-title-weight) clamp(26px, 2.8vw, 40px)/1.12 var(--lab-display); letter-spacing: var(--lab-display-track); text-transform: var(--lab-display-case); color: var(--text); text-wrap: balance; overflow-wrap: anywhere; }
.pg-name { font: 500 19px/1.3 var(--lab-body); letter-spacing: -.01em; color: var(--text); }
.pg-lead { font: 400 clamp(17px, 1.4vw, 19px)/1.6 var(--lab-body); color: var(--text-secondary); max-width: 30em; }
.pg-text { font: 400 15.5px/1.6 var(--lab-body); color: var(--text-secondary); max-width: 32em; }
.pg-text strong { color: var(--text); font-weight: 600; }
.pg-label { font: 500 var(--lab-label-size)/1.4 var(--lab-label); letter-spacing: var(--lab-label-track); text-transform: var(--lab-label-case); color: var(--lab-muted); }
.pg-link { color: var(--lab-accent); font-weight: 500; text-decoration: underline; text-decoration-color: var(--lab-link-line); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.pg-link:hover { text-decoration-color: currentColor; }
.pg-placeholder { color: var(--lab-muted); }
[data-page="home"] [data-slot="structure.heading"] strong { color: var(--lab-accent); font-weight: inherit; }

/* ---- Opening ----  a left axis · b centred · c the point across the left, its line and action at its right foot */
[data-sect="open"] { padding-block: clamp(88px, 13vw, 184px) clamp(56px, 7vw, 104px); }
.pg-open { display: grid; gap: 24px; justify-items: start; }
.pg-open .pg-lead { max-width: 48ch; }
.pg-open .pg-actions { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
[data-sect="open"][data-layout="b"] .pg-open { justify-items: center; text-align: center; }
[data-sect="open"][data-layout="b"] .pg-actions { justify-content: center; }
@media (min-width: 64em) {
  [data-sect="open"][data-layout="c"] .pg-open { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; column-gap: 72px; }
  [data-sect="open"][data-layout="c"] .pg-display { grid-row: span 3; font-size: clamp(52px, 7vw, 104px); }
}

/* ---- Statements ----  a heading over its text · b heading beside its text · c the heading as a label, the first line large */
.pg-statement { display: grid; gap: 16px; }
.pg-statement .pg-body { display: grid; gap: 14px; }
@media (min-width: 56em) { [data-sect="statement"][data-layout="b"] .pg-statement { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; } }
[data-sect="statement"][data-layout="c"] .pg-statement > .pg-title { font: 500 15px/1.4 var(--lab-label); letter-spacing: var(--lab-label-track); text-transform: var(--lab-label-case); color: var(--lab-accent); }
[data-sect="statement"][data-layout="c"] .pg-body > :first-child { font: var(--lab-display-weight) clamp(24px, 3vw, 42px)/1.22 var(--lab-display); letter-spacing: var(--lab-display-track); color: var(--text); max-width: 30ch; }
:root [data-sect="statement"][data-layout="c"] .pg-body > :first-child { font-family: var(--lab-body); font-weight: 500; letter-spacing: -.02em; text-transform: none; }
.pg-proof { margin-top: 24px; padding-left: 22px; border-left: 2px solid var(--lab-sun); font: 400 clamp(20px, 2vw, 26px)/1.4 var(--lab-body); letter-spacing: -.015em; color: var(--text); max-width: 34ch; }
[data-sect="statement"][data-layout="c"] .pg-proof { border: 0; padding: 0; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.15; letter-spacing: -.035em; max-width: 22ch; }

/* Keep the accomplishment and elapsed time together, followed by its context. */
.pg-result { margin-top: var(--space-4); font: 400 var(--size-body)/1.55 var(--lab-body); color: var(--text-secondary); }
.pg-result strong { display: block; margin-bottom: var(--space-2); font-size: var(--size-heading); font-weight: 500; line-height: 1.4; letter-spacing: -.015em; color: var(--text); }

/* ---- Lists (products, roadmap) ----  a modules in a grid · b an index, one per row (emphasis 1 | 2 | 3) · c the heading
   held left, two by two on the right. The custom-build entry takes the tint. */
.pg-index { display: grid; gap: 40px 64px; }
.index { list-style: none; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.index__item { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px 12px; padding: 26px 24px; background: var(--lab-panel); border: 1px solid var(--lab-panel-edge); border-radius: var(--lab-panel-radius); }
:root .index__item { box-shadow: inset 0 1px 0 #fff, 0 1px 2px hsl(220 10% 20% / .08); }
.index__item--tint { background: var(--lab-tint); border-color: transparent; }
.index__item:has(.index__link):hover { border-color: var(--lab-accent); }
.index__item:has(.index__link:focus-visible) { outline: 2px solid var(--lab-accent); outline-offset: 2px; }
.index__item .index__link:focus-visible { outline: none; }
.index__item .index__link { justify-self: start; }
.pg-families { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; color: var(--text-secondary); }
.index--custom { margin-top: 48px; }
.pg-aside { margin-top: 48px; display: grid; gap: 10px; justify-items: start; max-width: 62ch; }
:root .pg-aside { padding: 24px; border: 1px solid var(--lab-panel-edge); border-radius: 14px; background: var(--lab-panel); }
.pg-status { margin-top: 32px; }

[data-sect="index"][data-layout="b"] .index { display: block; border-top: 1px solid var(--lab-rule); }
[data-sect="index"][data-layout="b"] .index__item { grid-template-rows: none; padding: 26px 8px; border: 0; border-bottom: 1px solid var(--lab-rule); border-radius: 0; background: none; box-shadow: none; row-gap: 8px; }
[data-sect="index"][data-layout="b"] .index__item--tint { background: var(--lab-tint); padding-inline: 20px; }
@media (min-width: 56em) {
  [data-sect="index"][data-layout="b"] .index__item > .index__tag { grid-area: tag; } [data-sect="index"][data-layout="b"] .index__item > .index__name { grid-area: name; }
  [data-sect="index"][data-layout="b"] .index__item > .index__text { grid-area: text; } [data-sect="index"][data-layout="b"] .index__item > .index__link { grid-area: link; }
  [data-sect="index"][data-layout="b"][data-emph="1"] .index__item { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) 190px; grid-template-areas: "name text link" "tag text link"; align-items: start; }
  [data-sect="index"][data-layout="b"][data-emph="2"] .index__item { grid-template-columns: 220px minmax(0, 2fr); grid-template-areas: "link name" "link tag" "link text"; align-items: start; }
  [data-sect="index"][data-layout="b"][data-emph="3"] .index__item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 170px; grid-template-areas: "name text link" "tag text link"; align-items: start; }
  [data-sect="index"][data-layout="b"]:is([data-emph="1"], [data-emph="3"]) .index__item > .index__link { justify-self: end; }
}
[data-sect="index"][data-layout="b"][data-emph="1"] .index__item > .index__name { font: var(--lab-name-weight, 400) clamp(20px, 1.9vw, 26px)/1.2 var(--lab-body); letter-spacing: -.02em; }
[data-sect="index"][data-layout="b"][data-emph="2"] .index__item > .index__link { font: 400 clamp(20px, 1.9vw, 26px)/1.2 var(--lab-body); letter-spacing: -.02em; }
[data-sect="index"][data-layout="b"][data-emph="2"] .index__item > .index__name { font-size: 16px; font-weight: 600; }
@media (max-width: 55.99em) { [data-sect="index"][data-layout="b"][data-emph="2"] .index__item > .index__link { order: -1; } [data-sect="index"][data-layout="b"] .index__item { display: flex; flex-direction: column; } }
@media (min-width: 64em) {
  [data-sect="index"][data-layout="c"] .pg-index { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  [data-sect="index"][data-layout="c"] .pg-head { position: sticky; top: calc(var(--header-height) + 40px); }
  [data-sect="index"][data-layout="c"] .index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Custom-build scopes share an introduction and adapt from a stack to three open columns. */
.pg-scopes { display: grid; gap: var(--space-7); }
.pg-scopes > .pg-head { max-width: 52rem; }
.pg-scope-grid { display: grid; gap: var(--space-6) var(--space-7); }
.pg-scope-option { display: grid; gap: var(--space-3); align-content: start; }
@media (min-width: 56em) { .pg-scope-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- Steps ----  a numbered nodes on one line · b a vertical path beside the heading · c large figures. The reader's own
   steps take sun. */
.pg-steps-wrap { display: grid; gap: 40px 64px; }
.pg-steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 40px var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.pg-step { counter-increment: s; position: relative; display: grid; gap: 8px; align-content: start; padding-top: 44px; }
.pg-step::before { content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--lab-accent); border-radius: 50%; font: 500 11px/1 var(--lab-label); color: var(--lab-accent); background: var(--canvas); z-index: 1; }
.pg-step::after { content: ""; position: absolute; top: 15px; left: 30px; right: calc(-1 * var(--gap)); height: 1px; background: var(--lab-panel-edge); }
.pg-step:last-child::after { display: none; }
.pg-step--you::before { border-color: var(--lab-sun); color: var(--lab-sun); }
@media (max-width: 47.99em) { .pg-step::after { display: none; } }
@media (min-width: 56em) {
  [data-sect="steps"][data-layout="b"] .pg-steps-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  [data-sect="steps"][data-layout="b"] .pg-head { position: sticky; top: calc(var(--header-height) + 40px); }
}
[data-sect="steps"][data-layout="b"] .pg-steps { grid-template-columns: 1fr; gap: 0; }
[data-sect="steps"][data-layout="b"] .pg-step { padding: 0 0 40px 54px; }
[data-sect="steps"][data-layout="b"] .pg-step:last-child { padding-bottom: 0; }
[data-sect="steps"][data-layout="b"] .pg-step::after { display: block; top: 30px; bottom: 0; left: 15px; right: auto; width: 1px; height: auto; }
[data-sect="steps"][data-layout="b"] .pg-step:last-child::after { display: none; }
[data-sect="steps"][data-layout="c"] .pg-step { padding-top: 0; }
[data-sect="steps"][data-layout="c"] .pg-step::before { position: static; width: auto; height: auto; display: block; border: 0; background: none; margin-bottom: 6px; font: var(--lab-display-weight) clamp(64px, 8vw, 112px)/1 var(--lab-display); letter-spacing: -.04em; color: var(--lab-ghost); }
[data-sect="steps"][data-layout="c"] .pg-step--you::before { color: var(--lab-ghost-you); }
[data-sect="steps"][data-layout="c"] .pg-step::after { display: none; }

/* ---- Example ----  a heading and lines, then the frame at full width · b the lines left, the frame right · c the frame first,
   wide, on the tint, the lines under it */
.pg-example { display: grid; gap: 32px 64px; }
.pg-frame { display: grid; place-items: center; aspect-ratio: 16 / 9; width: 100%; background: var(--lab-panel); border: 1px dashed var(--line-strong-colour); border-radius: var(--lab-panel-radius); color: var(--lab-muted); font: 500 13px/1 var(--lab-label); letter-spacing: var(--lab-label-track); text-transform: var(--lab-label-case); }
@media (max-width: 40em) { .pg-frame { aspect-ratio: 4 / 5; } }

@media (min-width: 64em) { [data-sect="example"][data-layout="b"] .pg-example { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
[data-sect="example"][data-layout="c"] { background: var(--lab-tint); }
[data-sect="example"][data-layout="c"] .pg-frame { order: -1; aspect-ratio: 21 / 9; background: var(--canvas); }

/* ---- What you get ----  a the items as the main part, "You'll need" beside · b two equal halves, the need on a tinted
   module · c one column, the need as a row of tags */
.pg-get { display: grid; gap: 40px 72px; }
.pg-get__main, .pg-get__side { display: grid; gap: 20px; align-content: start; }
.pg-rows { list-style: none; padding: 0; display: grid; }
.pg-rows > li { padding-block: 16px; border-top: 1px solid var(--line-regular); }
.pg-rows > li:last-child { border-bottom: 1px solid var(--line-regular); }
.pg-features { list-style: none; padding: 0; display: grid; gap: 28px var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.pg-features > li { display: grid; gap: 6px; }
.pg-scope { padding-left: 18px; border-left: 2px solid var(--lab-sun); color: var(--text); max-width: 62ch; }
@media (min-width: 56em) {
  [data-sect="get"][data-layout="a"] .pg-get { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  [data-sect="get"][data-layout="b"] .pg-get { grid-template-columns: 1fr 1fr; }
}
[data-sect="get"][data-layout="b"] .pg-get__side { padding: 28px; background: var(--lab-tint); border-radius: var(--lab-panel-radius); }
[data-sect="get"][data-layout="c"] .pg-get__side .pg-rows { display: flex; flex-wrap: wrap; gap: 8px; }
[data-sect="get"][data-layout="c"] .pg-get__side .pg-rows > li { padding: 8px 14px; border: 1px solid var(--line-regular); border-radius: 999px; }
[data-sect="get"][data-layout="c"] .pg-get__side .pg-rows > li .pg-text { font-size: 14px; }

/* ---- Get it ----  a the terms beside the action · b the action first and large, the terms as a grid under it · c a spec
   sheet across the full width, the action at its foot. On the band: ink in instrument, the tint in minimal. */
[data-sect="terms"] { background: var(--lab-band); color: var(--lab-band-text); --text: var(--lab-band-text); --text-secondary: var(--lab-band-secondary); --lab-muted: var(--lab-band-secondary); --line-regular: color-mix(in srgb, var(--lab-band-text) 18%, transparent); }
:root [data-sect="terms"] { --lab-accent: #6fdcec; --lab-link-line: #6fdcec; }
.pg-terms-wrap { display: grid; gap: 40px 72px; }
.pg-act { display: grid; gap: 14px; justify-items: start; align-content: end; }
.pg-act .pg-text { font-size: 14px; }
@media (min-width: 56em) { [data-sect="terms"][data-layout="a"] .pg-terms-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } [data-sect="terms"][data-layout="a"] .pg-head { grid-column: 1 / -1; } }
[data-sect="terms"][data-layout="a"] .pg-terms-wrap--stacked { grid-template-columns: minmax(0, 1fr); }
[data-sect="terms"][data-layout="b"] .pg-terms-wrap { justify-items: center; text-align: center; }
[data-sect="terms"][data-layout="b"] .pg-act { order: -1; justify-items: center; }
[data-sect="terms"][data-layout="b"] .pg-head { order: -2; justify-items: center; }
[data-sect="terms"][data-layout="b"] .button--primary { min-height: 60px; padding: 0 36px; font-size: 18px; }
[data-sect="terms"][data-layout="b"] .terms { display: grid; max-width: none; width: 100%; text-align: left; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; }
[data-sect="terms"][data-layout="b"] .terms > div { grid-template-columns: 1fr; border: 0; padding: 18px; background: color-mix(in srgb, var(--lab-band-text) 5%, transparent); }
[data-sect="terms"][data-layout="c"] .terms > div { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
[data-sect="terms"][data-layout="c"] .pg-act { justify-items: start; }

/* ---- Questions ----  a the heading beside the answers · b a grid of answered questions · c the questions large */
.pg-qa-wrap { display: grid; gap: 32px 64px; }
.pg-qa { list-style: none; padding: 0; display: grid; }
.pg-qa > li { display: grid; gap: 8px; padding-block: 20px; border-top: 1px solid var(--line-regular); }
.pg-qa > li:last-child { border-bottom: 1px solid var(--line-regular); }
@media (min-width: 56em) { [data-sect="qa"][data-layout="a"] .pg-qa-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
[data-sect="qa"][data-layout="b"] .pg-qa { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--gap); }
[data-sect="qa"][data-layout="b"] .pg-qa > li { padding: 24px; border: 1px solid var(--lab-panel-edge); background: var(--lab-panel); border-radius: var(--lab-panel-radius); }
[data-sect="qa"][data-layout="c"] .pg-qa > li { border: 0; padding-block: 24px; }
[data-sect="qa"][data-layout="c"] .pg-qa .pg-name { font: var(--lab-name-weight, 400) clamp(22px, 2.4vw, 32px)/1.2 var(--lab-body); letter-spacing: -.02em; }
[data-sect="qa"][data-layout="c"] .pg-qa .pg-text { padding-left: clamp(0px, 4vw, 48px); }

/* ---- Team ----  the heading with a small round avatar under it, the text beside them, as in the statement */
.pg-team { display: grid; gap: 16px; }
.pg-team__who { display: grid; gap: 24px; justify-items: start; align-content: start; }
.pg-team .pg-body { display: grid; gap: 14px; }
.pg-portrait { margin: 0; width: 96px; }
.pg-portrait img { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
@media (min-width: 56em) { .pg-team { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; } }

/* ---- Closing links ---- */
.pg-closing { padding-block: 40px clamp(64px, 8vw, 104px); }
.pg-closing nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.pg-closing .pg-link { font-size: 17px; }

/* Mail state (Custom builds, Support): shown only when no email app took the prepared email. */
[data-mail-state][hidden] { display: none; }
.pg-mail-state { max-width: 48ch; padding: 14px; border: 1px solid currentColor; }

/* ---- Compact: type on a technical scale (design theory: technical personality, major second 1.125, base 16).
   display s10 52 · title s6 32 · name s3 23/600 · proof s4 26 · lead s2 20 · text s0 16 · label s-2 13.
   Adjacent levels differ by ≥2 steps or by ≥200 in weight; line height falls as size rises; under 640 px x0.875. */
:root .pg { --t-display: var(--size-display); --t-title: var(--size-title); --t-proof: var(--size-quote); --t-name: var(--size-heading); --t-lead: var(--size-lead); --t-text: var(--size-body); --t-label: var(--size-label); }
@media (max-width: 25em) { :root .pg { --t-display: 2.125rem; } } /* brand /contexts/narrow: 34 px below 400 px */
:root .pg-display { font-size: var(--t-display); line-height: 1.05; }
:root .pg-title { font-size: var(--t-title); line-height: 1.2; }
:root .pg-name, :root [data-sect="index"][data-layout="b"][data-emph="1"] .index__item > .index__name, :root [data-sect="index"][data-layout="b"][data-emph="2"] .index__item > .index__link, :root [data-sect="qa"][data-layout="c"] .pg-qa .pg-name { font-size: var(--t-name); font-weight: 600; line-height: 1.4; letter-spacing: -.015em; }
:root [data-sect="index"][data-layout="b"][data-emph="2"] .index__item > .index__name { font-size: var(--t-text); }
:root .pg-lead { font-size: var(--t-lead); line-height: 1.45; }
:root .pg-text, :root .terms dd { font-size: var(--t-text); line-height: 1.55; }
:root .pg-label { font-size: var(--t-label); line-height: 1.6; }
:root .pg-proof { font-size: var(--t-proof); line-height: 1.35; }
:root [data-sect="statement"][data-layout="c"] .pg-body > :first-child { font-size: var(--t-title); }
:root [data-sect="statement"][data-layout="c"] .pg-proof { font-size: var(--t-title); }

/* The price and licence line sits directly under its item's name in every list layout. */
.index__item > .index__tag { margin-bottom: 6px; }
.index__tag strong { color: var(--lab-accent); font-weight: inherit; }

/* Owner direction 2026-11-09: the price and licence line sits under each name; the design system's index sets the tag
   first, so the site keeps it in reading order here. */
.index__item > .index__tag { order: 0; }
/* In a row the product link sits level with the item's name, not at the foot of the row. */
[data-sect="index"][data-layout="b"] .index__item > .index__link { align-self: start; }

/* Direct purchase: the same actions and terms; return states stay at Get it. */
.pg form[data-operation="start-checkout"] { margin: 0; min-width: 0; max-width: 100%; }
.pg form[data-operation="start-checkout"] .button { max-width: 100%; }
.pg [data-payment-state][hidden] { display: none !important; }
.pg-payment-state { grid-column: 1 / -1; }
.pg-payment-state:not(:has(> :not([hidden]))) { display: none; }
#get-it { scroll-margin-top: 96px; }
