/* The other pages in the landing design (owner, 2026-11-30: "update the rest pages the same way"): the night ground
   of the home page, a soft glow under the header, mono labels, raised cards with a chapter colour, the home page's
   FAQ rows and its closing band. Linked last on every page except the home and Features pages (build.py adds the
   link); colours stay in palette.css's roles, sizes in type.css. Soft text keeps 7:1: grey #afafaf on the night
   (8.9:1), #bcc2c9 on the raised cards (7.6:1). The legal pages keep their small document type. */
:root body.site-page {
  --night: #0b1420; --raised: #232f3c; --rule: #2e3c4b;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --read: #86aeff; --keep: #b4a1ff; --play: #ffaa66; --talk: #5ed6a8; --path: #8dbbd9; --guide: #e6c36a; --studio: #f3a0c4;
  --navy: var(--night); --paper: var(--night); --site-navy: var(--night); --paper-deep: var(--raised); --panel: var(--raised);
  --grey: #afafaf; --muted: #afafaf; --grey-raised: #bcc2c9; --line: var(--rule); --site-line: var(--rule);
  background: radial-gradient(60% 520px at 50% -160px, rgba(134, 174, 255, .16), transparent 72%) no-repeat, var(--night);
}

/* headings: the landing's display face, sizes from the seven-step scale */
:root body.site-page main :is(h1, h2, h3) { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; }
:root body.site-page main :not(.lw-legal) > h1, :root body.site-page main > h1 { font-size: var(--t-display); font-weight: 700; line-height: 1.05; }
:root body.site-page main :not(.lw-legal) > h2 { font-size: var(--t-heading); font-weight: 700; line-height: 1.1; }
:root body.site-page main :is(article, aside, .panel) h3 { font-size: var(--t-title); font-weight: 600; line-height: 1.3; }

/* labels, as on the home page: 14 px, weight 500, sentence case, grey; inside a card they take the card's chapter colour */
:root body.site-page .eyebrow, :root body.site-page .section.ivory .eyebrow, :root body.site-page .aligned-founder .eyebrow,
:root body.site-page .hero .eyebrow {
  font: 500 var(--t-small)/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--muted); }
:root body.site-page :is(.guide, .practice-card, .next-guide, .status-grid article, .steps-grid article) .eyebrow {
  font: 500 var(--t-small)/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--c, var(--sky)) !important; }
/* (the older sheets mark every paragraph in these cards grey with !important, and the labels are paragraphs) */

/* sections: no ruled lines between them, room to breathe as on the home page */
:root body.site-page .section { border-top: 0; padding: 88px 0; }
:root body.site-page main > .section:first-child { padding-top: 72px; }
:root body.site-page .lw-copy { padding-top: 72px; padding-bottom: 88px; }

/* cards: raised panels with a hairline, rounded like the home page's tiles, each with a chapter-colour dot */
:root body.site-page :is(.panel, .practice-card, .guide, .next-guide, .steps-grid article, .status-grid article, .support, .lw-copy .lw-offer) {
  background: var(--raised); border: 1px solid var(--rule); border-radius: 20px; }
/* (the older sheet lays the status cards flat, padding 25px 0; raised, they need the same inset as the step cards) */
:root body.site-page .status-grid article { padding: 24px; }
:root body.site-page :is(.status-grid, .steps-grid, .practice-grid, .guide-grid) > :nth-child(6n+1) { --c: var(--read); }
:root body.site-page :is(.status-grid, .steps-grid, .practice-grid, .guide-grid) > :nth-child(6n+2) { --c: var(--keep); }
:root body.site-page :is(.status-grid, .steps-grid, .practice-grid, .guide-grid) > :nth-child(6n+3) { --c: var(--play); }
:root body.site-page :is(.status-grid, .steps-grid, .practice-grid, .guide-grid) > :nth-child(6n+4) { --c: var(--talk); }
:root body.site-page :is(.status-grid, .steps-grid, .practice-grid, .guide-grid) > :nth-child(6n+5) { --c: var(--guide); }
:root body.site-page :is(.status-grid, .steps-grid, .practice-grid, .guide-grid) > :nth-child(6n+6) { --c: var(--studio); }
:root body.site-page :is(.status-grid, .steps-grid, .practice-grid) > * > h3::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: 10px; vertical-align: .08em; }
:root body.site-page .guide-grid > .guide { box-shadow: inset 0 3px 0 var(--c); }

/* FAQ: the home page's rows, a hairline under each, a chevron that turns */
:root body.site-page .lw-copy details { border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: none; margin: 0; padding: 0; }
:root body.site-page .lw-copy summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 18px 4px; color: var(--ivory); font: 600 var(--t-title)/1.35 var(--display); letter-spacing: -0.01em; }
:root body.site-page .lw-copy summary::-webkit-details-marker { display: none; }
:root body.site-page .lw-copy summary::before { content: none; }
:root body.site-page .lw-copy summary::after { content: ""; width: 11px; height: 11px; flex: none; border-right: 2px solid var(--grey); border-bottom: 2px solid var(--grey);
  transform: rotate(45deg) translateY(-4px); transition: transform .2s ease; }
:root body.site-page .lw-copy details[open] summary { color: var(--sky); }
:root body.site-page .lw-copy details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
:root body.site-page .lw-copy details p { margin: -4px 4px 18px; }
:root body.site-page .lw-copy h1 + details { border-top: 1px solid var(--rule); margin-top: 28px; }

/* the line about the founder under some pages: flat on the night, a hairline above */
:root body.site-page .site-context { background: transparent; border-top: 1px solid var(--rule); margin-top: 0; }

/* the blog's article list (an embed with its own light styles): dark like the rest, its cards raised as the home page's tiles */
:root body.site-page #holo-blog { background: transparent; color: var(--ivory); border-radius: 0; }
:root body.site-page .holo-blog { font-family: var(--font); color: var(--ivory); }
:root body.site-page .holo-blog-list { display: grid; gap: 16px; }
:root body.site-page .holo-blog-card { background: var(--raised); border: 1px solid var(--rule); border-radius: 20px; }
:root body.site-page .holo-blog-card:hover { border-color: var(--grey); box-shadow: none; }
:root body.site-page .holo-blog-card-title { color: var(--ivory-raised); font-family: var(--display); font-size: var(--t-title); font-weight: 600; letter-spacing: -0.01em; }
:root body.site-page :is(.holo-blog-card-excerpt, time.holo-blog-card-date) { color: var(--grey-raised); font-size: var(--t-small); }
:root body.site-page .holo-blog-card-thumb { background: var(--rule); }
:root body.site-page .holo-blog-back { color: var(--ivory); border-color: var(--rule); }
:root body.site-page .holo-blog-back:hover { background: var(--raised); border-color: var(--grey); }
:root body.site-page .holo-blog-article-date { color: var(--grey); }
:root body.site-page .holo-blog-article-content { color: var(--grey); }
:root body.site-page .holo-blog-article-content :is(h1, h2, h3, h4, strong, b) { color: var(--ivory); }
:root body.site-page .holo-blog-article-content a { color: var(--sky); }
:root body.site-page .holo-blog-empty { color: var(--grey); border-color: var(--rule); }
/* (the page's heading rules above outrank the embed's own classes, so its titles need the id to keep their size; the
   article repeats its title as the first heading of the text, which shows once; the back link clears the sticky header) */
:root body.site-page main #holo-blog { scroll-margin-top: 80px; }
:root body.site-page main #holo-blog .holo-blog-list { max-width: none; }
:root body.site-page main #holo-blog .holo-blog-card-title { font-size: var(--t-title); font-weight: 600; line-height: 1.25; }
:root body.site-page main #holo-blog h1 { font-size: var(--t-heading); line-height: 1.1; }
:root body.site-page main #holo-blog .holo-blog-article-content > h1:first-child { display: none; }
:root body.site-page main #holo-blog .holo-blog-article-content h2 { font-size: var(--t-figure); line-height: 1.2; }

/* join form: the languages to learn as boxes, beside Country, named like the other fields (owner, 2026-11-30) */
:root body.site-page .lw-copy form > .lw-learn { grid-column: auto; border: 0; margin: 0; padding: 0; min-width: 0; }
:root body.site-page .lw-learn legend { float: left; width: 100%; padding: 0; margin: 0; color: var(--muted); font-size: inherit; line-height: inherit; }
:root body.site-page .lw-learn .lw-choices { clear: both; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; min-height: 48px; }
:root body.site-page .lw-learn .lw-choices label { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--ivory); cursor: pointer; }
:root body.site-page .lw-learn input[type="checkbox"] { margin: 0; }
/* in Spanish the page is for people learning English, so English comes first */
html[lang="es"] body.site-page .lw-learn .lw-choices label:has(input[value="en"]) { order: -1; }
@media (max-width: 700px) { :root body.site-page .lw-copy form > .lw-learn { grid-column: 1 / -1; } :root body.site-page .lw-learn .lw-choices label { min-height: 44px; } }

/* text colours by role, as on the home page (owner, 2026-11-30): names and main content in ivory, descriptions and leads
   in grey, key words in ivory, the chapter colour on labels and numbers inside cards, links ivory 600 with a soft rule */
:root body.site-page main > .section:first-child .wrap > p:not(.eyebrow):not(.fine),
:root body.site-page main h1 + p:not(.eyebrow) { color: var(--muted); font-size: var(--t-lead); font-weight: 400; line-height: 1.55; }
:root body.site-page .section .wrap > p:not(.eyebrow):not(.fine) { color: var(--muted); font-weight: 400; }
:root body.site-page :is(.practice-card, .guide, .next-guide, .steps-grid article, .status-grid article) p:not(.eyebrow):not(.fine) { color: var(--muted) !important; font-weight: 400; }
:root body.site-page main :is(strong, b) { color: var(--ivory); }
:root body.site-page .lw-copy:not(.lw-legal) :is(strong, b) { color: var(--ivory); font-weight: 600; }
:root body.site-page .step-number { color: var(--c, var(--sky)); }
:root body.site-page .next-guide { --c: var(--talk); }
:root body.site-page main :is(.links a, a.text-link, .text-link, .grid a:not(.btn)) { color: var(--ivory); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
:root body.site-page main :is(.links a, a.text-link, .text-link, .grid a:not(.btn)):hover { border-color: var(--ivory); }
/* (two links side by side get a gap; set on the first, so a second that wraps on a narrow phone starts at the edge) */
:root body.site-page main a.text-link:has(+ a.text-link) { margin-right: 24px; }
:root body.site-page .lw-copy .lw-offer-label { font: 500 var(--t-small)/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--play); }

/* the closing band, as on the home page: a bright sky made of the chapter colours */
.site-page .lw-close { text-align: center; padding-block: 96px 104px; background:
  radial-gradient(40% 60% at 20% 30%, rgba(134, 174, 255, .9), transparent 70%),
  radial-gradient(40% 60% at 80% 25%, rgba(180, 161, 255, .85), transparent 70%),
  radial-gradient(45% 60% at 50% 100%, rgba(255, 170, 102, .8), transparent 70%),
  radial-gradient(35% 50% at 90% 90%, rgba(94, 214, 168, .7), transparent 70%), #5b74b8; }
.site-page .lw-close .close-in { display: grid; justify-items: center; gap: 22px; width: 100%; max-width: calc(var(--frame) + 32px); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.site-page .lw-close .pair { width: min(280px, 64vw); height: auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%); }
.site-page .lw-close h2 { margin: 0; font: 700 var(--t-heading)/1.1 var(--display); letter-spacing: -0.02em; color: #fff; text-wrap: balance; text-shadow: 0 2px 30px rgba(11, 20, 32, .25); }
.site-page .lw-close p { margin: 0; color: #fff; font-size: var(--t-body); }
.site-page .lw-close .btn { display: inline-flex; align-items: center; gap: 10px; height: auto; min-height: 48px; padding: 0 24px; border-radius: 999px;
  background: #1b2530; color: var(--ivory); font: 600 var(--t-body)/1 var(--font); text-decoration: none; }
.site-page .lw-close .btn svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 700px) {
  :root body.site-page .section { padding: 56px 0; }
  :root body.site-page main > .section:first-child, :root body.site-page .lw-copy { padding-top: 40px; }
  .site-page .lw-close { padding-block: 64px 72px; }
}
