/* ── HostDC layout system ("Editorial") ─────────────────────────────────
   Linked from base.html after app.css. Colours are app.css tokens only.

   Frames (Phase 2 builds page content inside these; do not add new ones):
   .site-header         full-width band: logo + nav left, actions right.
                        The active link carries an indigo bar on the band's
                        bottom edge. Static: it scrolls away with the page.
   .site-footer         dark full-width band, brand + five link columns.
   .page-header         every page's head (macro page_header in _page.html):
                        crumbs, H1 and one lead line on the left, an optional
                        `facts` list (.lx-facts) on the right, on a tint band.
   .lx-body             the shared content frame (macro content_frame):
                        .lx-main (prose, ~70ch) + .lx-side: "Updated" fact
                        (.lx-side-facts), "On this page" (.lx-toc, built
                        by app.js from .lx-main h2s), related links. Not
                        pinned.
                        Blog, guides, host overview, about, privacy, new pages.
   .page-section        one block of a page: an <h2>, content. Add
                        .lx-split for the asymmetric version (head left,
                        content right) and a band class for a tint.
   .band + .band-indigo|mint|coral|sun|ink
                        full-bleed colour band from inside any .wrap
                        (box-shadow + clip-path: no horizontal overflow).
   .lx-hero             home and /host/<page>: the hero head (H1 left,
                        lead and actions right), no demo inside.
   .lx-stage + .band    the deploy demo on its own full-width tint stage,
                        straight under .lx-hero.
   .faq-layout          FAQ: section menu left (the ONLY sticky element on
                        the site), one section at a time (faq.js), rows.
   .tpl-bar             /templates: All + platform filters and the
                        Official / Community toggle, one centred row.
   Rule: nothing else is sticky or fixed (cookie banner and dialogs aside).
   Fonts: Nunito (--sans) for titles, body copy and buttons; Recursive
   (--small) only for small text (the selector list just below). */

@font-face {
  font-family: "Recursive";
  font-style: oblique 0deg 15deg;
  font-weight: 300 1000;
  font-display: swap;
  src: url("/static/fonts/recursive-latin.woff2") format("woff2");
}
:root {
  --small: "Recursive", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ink: #15142e; --ink-text: #c4c3e0;
  --lx-gap: clamp(40px, 5vw, 72px);
}
[data-theme="dark"] { --ink: #13131f; --ink-text: #a9a7c7; }
/* the header no longer sticks, so an in-page link needs no big offset */
html { scroll-padding-top: 24px; }
/* Recursive only where text is small: nav, crumbs, labels, meta, counters,
   facts, captions. Body copy, headings and buttons keep Nunito (--sans). */
.site-nav .nav, .funding-bar, .site-footer nav, .footer-h, .site-footer .small,
.breadcrumbs, .lx-facts, .lx-side,
.faq-toc, .faq-count, .faq-search label, .live-line, .platform-chips, .tpl-bar,
.link-list .meta, main.site-page :is(.small:not(p), small, label, .badge:not(.mono), .updated, th) {
  font-family: var(--small); font-variation-settings: "CASL" 0, "MONO" 0; }
:is(.site-nav, .lx-side, .tpl-bar, .faq-toc) .btn, .lx-side h2 { font-family: var(--sans); }

/* ── bands ─────────────────────────────────────────────────────────── */
.band { --band: transparent; background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
.band-indigo { --band: var(--primary-soft); }
.band-mint { --band: var(--mint-soft); }
.band-coral { --band: var(--coral-soft); }
.band-sun { --band: var(--sun-soft); }
.band-ink { --band: var(--ink); color: #fff; }
.band-ink :is(.muted, .section-intro) { color: var(--ink-text); }
.page-section.band { border-top: 0; }
.page-section.band + .page-section { border-top: 0; }

/* ── header ────────────────────────────────────────────────────────── */
.site-header { position: static; }
.site-nav { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--border); }
.site-nav > .wrap { min-height: 76px; padding-top: 0; padding-bottom: 0; align-items: stretch; gap: 8px 28px; }
.site-nav .wordmark, .site-nav .header-right, .site-nav .nav-toggle, .site-nav .bell-wrap { align-self: center; }
.site-nav .nav { gap: 0 4px; align-items: stretch; }
.site-nav .nav > a, .site-nav .nav-drop-btn, .site-nav .nav-drop-link { display: inline-flex; align-items: center; padding: 0 12px;
  border-radius: 0; background: none; color: var(--muted); font-weight: 600; font-size: 0.97rem; box-shadow: inset 0 0 0 transparent;
  transition: color 150ms ease, box-shadow 150ms ease; }
.site-nav .nav > a:hover, .site-nav .nav-drop-btn:hover, .site-nav .nav-drop.open .nav-drop-btn { background: none; color: var(--text); }
.site-nav .nav > a.active, .site-nav .nav-drop-btn.active, .site-nav .nav-drop-link.active { color: var(--text); background: none; box-shadow: inset 0 -3px 0 var(--primary); }
.site-nav .header-right { gap: 8px; }
.funding-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface-2); border-top: 0; border-bottom: 1px solid var(--border); }
@media (max-width: 960px) {
  .site-nav > .wrap { min-height: 64px; align-items: center; }
  .site-header[data-menu].menu-open .site-menu { padding-bottom: 16px; }
  .site-header[data-menu] .nav > a, .site-header[data-menu] .nav-drop-btn { padding: 12px 14px; border-radius: var(--r-sm); box-shadow: none; }
  .site-header[data-menu] .nav > a.active, .site-header[data-menu] .nav-drop-btn.active { box-shadow: inset 3px 0 0 var(--primary); background: var(--surface-2); }
}

/* ── header: the Hosting menu ───────────────────────────────────────── */
.nav-drop { position: relative; display: flex; }
.nav-drop-btn { gap: 6px; border: 0; font: inherit; cursor: pointer; }
.nav-drop-caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 150ms ease; }
.nav-drop.open .nav-drop-caret { transform: translateY(1px) rotate(-135deg); }
.nav-drop-panel { display: none; position: absolute; top: calc(100% + 1px); left: 0; z-index: 12;
  width: min(580px, calc(100vw - 32px)); padding: 10px; background: var(--surface);
  border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 0 0 var(--r-md) var(--r-md); box-shadow: var(--shadow); }
/* the row above is nowrap on wide screens and the panel inherits it: the
   descriptions then ran in one line out of the frame (R3-001) */
.nav-drop-panel { white-space: normal; max-width: calc(100vw - 32px); }
.nav-drop-list > li { min-width: 0; }
.nav-drop-desc, .nav-drop-title { overflow-wrap: anywhere; }
/* a hover bridge, so the pointer can cross the gap to the panel */
.nav-drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav-drop.open .nav-drop-panel { display: block; }
/* Without JavaScript the "Hosting" item is a link to /host; hovering it or
   tabbing into it still shows the panel. */
.site-header:not([data-menu]) .nav-drop:hover .nav-drop-panel,
.site-header:not([data-menu]) .nav-drop:focus-within .nav-drop-panel { display: block; }
.site-header[data-menu] .nav-drop-link { display: none; }
.nav-drop-btn[hidden] { display: none; }
.site-nav .nav > a.nav-panel { color: var(--primary); font-weight: 800; }
/* Wide screens, with the script: the header is one row whatever the number of
   links. What does not fit moves into "More" (templates/_header.html). */
@media (min-width: 961px) {
  .site-header[data-menu] .site-nav > .wrap { flex-wrap: nowrap; }
  .site-header[data-menu] .nav { flex-wrap: nowrap; white-space: nowrap; }
  .site-header[data-menu] :is(.wordmark, .header-right) { flex: none; white-space: nowrap; }
}
.nav-more-panel { left: auto; right: 0; width: max-content; min-width: 200px; max-width: calc(100vw - 32px); display: none; }
.nav-more.open .nav-more-panel { display: grid; gap: 2px; }
.nav .nav-more-panel a { display: block; padding: 9px 12px; border-radius: var(--r-sm); color: var(--text); background: none;
  font-family: var(--sans); font-weight: 700; white-space: nowrap; }
.nav .nav-more-panel a:hover, .nav .nav-more-panel a:focus-visible { background: var(--surface-2); }
.nav .nav-more-panel a.active { color: var(--primary); }
.nav-drop-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.nav .nav-drop-list a { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--text); background: none; }
.nav .nav-drop-list a:hover, .nav .nav-drop-list a:focus-visible { background: var(--surface-2); }
.nav-drop-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.nav-drop-logo { width: 18px; height: 18px; flex-shrink: 0; }
.nav-drop-title .badge { min-height: 20px; padding: 0 8px; font-size: 0.72rem; }
.nav-drop-desc { color: var(--muted); font-weight: 500; font-size: 0.85rem; line-height: 1.35; }
.nav .nav-drop-all { display: inline-block; margin: 6px 0 2px; padding: 6px 12px; font-size: 0.9rem; font-weight: 700; color: var(--primary); background: none; border-radius: var(--r-sm); }
.nav .nav-drop-all:hover { background: var(--surface-2); }
@media (max-width: 960px) {
  .site-header[data-menu] .nav-drop { flex-direction: column; }
  .site-header[data-menu] .nav-drop-btn { justify-content: space-between; width: 100%; }
  .site-header[data-menu] .nav-drop-panel { position: static; width: auto; box-shadow: none; border: 0;
    border-left: 2px solid var(--border); border-radius: 0; margin: 2px 0 6px 14px; padding: 0 0 0 6px; background: none; }
  .site-header[data-menu] .nav-drop-panel::before { display: none; }
  .nav-drop-list { grid-template-columns: minmax(0, 1fr); }
}

/* ── footer: a dark band ───────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--ink-text); border-top: 0; padding: 72px 0 48px; font-weight: 500; }
[data-theme="dark"] .site-footer { border-top: 1px solid var(--border); }
.site-footer .wrap { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.site-footer nav { gap: 10px; }
.site-footer a { color: var(--ink-text); font-size: 0.94rem; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-brand .wordmark, .site-footer .footer-h { color: #fff; }
.footer-h { font-family: var(--small); font-size: 0.82rem; letter-spacing: 0; text-transform: none; font-weight: 700; margin-bottom: 6px; }
.footer-brand p { margin: 0; }
.footer-brand .small { margin-top: auto; opacity: 0.7; }
/* the owner's social accounts: one-colour marks in the footer's text colour */
.footer-social { grid-column: 1 / -1; list-style: none; margin: 0; padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-social li:first-child { margin-left: -10px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); color: var(--ink-text);
  transition: color 150ms ease, background 150ms ease; }
.footer-social a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.footer-social a:focus-visible { color: #fff; outline: 2px solid #fff; outline-offset: 2px; }
.footer-social svg { display: block; }
@media (pointer: coarse) { .footer-social a { width: 44px; height: 44px; } }
@media (max-width: 1000px) { .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; } }

/* ── page head (every page) ────────────────────────────────────────── */
main.site-page { padding-top: 0; padding-bottom: 96px; }
.page-header { --band: var(--primary-soft); background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax);
  padding: 56px 0 52px; margin-bottom: 8px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px var(--lx-gap); align-items: end; }
.page-header:has(.lx-facts) { grid-template-columns: minmax(0, 1fr) minmax(220px, auto); }
.lx-head-main { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.page-header h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.02; max-width: 22ch; }
.page-header .page-lead { font-size: 1.12rem; color: var(--muted); line-height: 1.5; max-width: 58ch; text-wrap: pretty; margin: 0; }
.page-header .breadcrumbs { margin: 0; font-size: 0.88rem; }
.page-header .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.lx-facts { margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, auto); gap: 0; border-left: 1px solid color-mix(in srgb, var(--text) 14%, transparent); }
.lx-facts > div { padding: 2px 24px; display: grid; gap: 4px; border-right: 1px solid color-mix(in srgb, var(--text) 14%, transparent); }
.lx-facts > div:last-child { border-right: 0; }
.lx-facts dt { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.lx-facts dd { margin: 0; font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
@media (max-width: 760px) {
  .page-header, .page-header:has(.lx-facts) { grid-template-columns: minmax(0, 1fr); padding: 36px 0 32px; }
  .lx-facts { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; gap: 12px; }
  .lx-facts > div { padding: 0; border: 0; }
  /* two narrow columns: a long value ("Monthly, 3 months, Yearly") wraps instead of leaving the screen */
  .lx-facts dd { white-space: normal; overflow-wrap: anywhere; }
}

/* ── sections ──────────────────────────────────────────────────────── */
.page-section { padding: 56px 0; border-top: 1px solid var(--border); scroll-margin-top: 24px; }
.page-header + .page-section, .page-header + .lx-body { border-top: 0; }
.page-section > h2, .page-section > header > h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.page-section > h3 { font-size: 1.15rem; margin: 22px 0 8px; }
.page-section > p, .page-section > ul, .page-section > ol { max-width: 70ch; }
.page-section > p + p { margin-top: 10px; }
.page-section .section-intro { color: var(--muted); font-size: 1.05rem; margin: 0 0 24px; max-width: 60ch; }
.page-section > :last-child { margin-bottom: 0; }
.page-section > ul { padding-left: 20px; display: grid; gap: 8px; margin: 0; }
.page-faq-line { margin-top: 40px; font-weight: 700; font-size: 1.15rem; }
.site-page > .page-section:last-child:not(.band) { padding-bottom: 0; }
/* asymmetric: the head in a narrow left column, the content on the right */
.lx-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px var(--lx-gap); align-items: start; }
.lx-split > header > h2 { margin-bottom: 10px; }
.lx-split > header .section-intro { margin: 0; }
@media (max-width: 860px) { .lx-split { grid-template-columns: minmax(0, 1fr); } }

/* ── the shared content frame ──────────────────────────────────────── */
.lx-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px var(--lx-gap); padding-top: 48px; align-items: start; }
.lx-main { min-width: 0; }
.lx-main > .page-section:first-child { padding-top: 0; border-top: 0; }
.site-page .prose { margin: 0; max-width: 70ch; }
.site-page .prose > p:first-child { font-size: 1.12rem; }
.site-page .legal { max-width: 74ch; }
.site-page :is(.prose, .legal) code { overflow-wrap: anywhere; }
.lx-side { display: grid; gap: 32px; min-width: 0; align-content: start; }
.lx-side > * { border-top: 3px solid var(--text); padding-top: 14px; }
.lx-side h2 { font-size: 0.95rem; letter-spacing: 0; margin: 0 0 6px; }
.lx-side-facts { margin: 0; }
.lx-side-facts div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.lx-side-facts dt { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.lx-side-facts dd { margin: 0; font-weight: 700; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.lx-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lx-toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--border); color: var(--muted); font-size: 0.9rem; font-weight: 600; line-height: 1.35; text-decoration: none; transition: color 150ms ease, border-color 150ms ease; }
.lx-toc a:hover { color: var(--text); border-left-color: var(--primary); }
.lx-related ul { list-style: none; margin: 0; padding: 0; }
.lx-related li { border-bottom: 1px solid var(--border); }
.lx-related li a { text-decoration: none; display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.lx-related li a::after { content: "\2192"; color: var(--muted); transition: transform 160ms var(--ease), color 160ms ease; }
.lx-related li a:hover { color: var(--primary); }
.lx-related li a:hover::after { color: var(--primary); transform: translateX(3px); }
@media (max-width: 960px) { .lx-body { grid-template-columns: minmax(0, 1fr); } }

/* A plain list of links (guides, host pages, blog posts): rows, not cards. */
.link-list { list-style: none; margin: 0; padding: 0; display: grid; max-width: 860px; }
.link-list li { border-bottom: 1px solid var(--border); }
.link-list li:first-child { border-top: 1px solid var(--border); }
.link-list a { display: grid; gap: 4px; padding: 18px 4px; color: var(--text); }
.link-list a b { font-family: var(--sans); font-size: 1.12rem; }
.link-list a span { color: var(--muted); font-weight: 500; }
.link-list a:hover b { color: var(--primary); }
.link-list .meta { font-size: 0.84rem; }

/* ── home and /host/<page>: hero head, then the demo stage ──────────── */
/* .lx-hero: the H1 left, lead + actions + live line right (one column
   under 960px). .lx-stage: the deploy demo on a full-width tint band. */
.lx-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 4.5vw, 64px); }
.lx-hero-copy { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px var(--lx-gap); align-items: end; }
.lx-hero-copy > h1 { grid-row: span 3; align-self: end; }
.lx-hero-copy > :not(h1) { grid-column: 2; }
.lx-hero h1 { font-size: clamp(3rem, 6.2vw, 5.6rem); letter-spacing: -0.045em; line-height: 0.96; max-width: 12ch; text-wrap: balance; }
.lx-hero .lead { margin: 0; font-size: 1.15rem; max-width: 44ch; text-wrap: pretty; }
.lx-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lx-hero .live-line { margin: 0; justify-content: flex-start; }
.lx-hero .platform-chips { justify-content: flex-start; margin: 0; }
.lx-split .platform-chips { justify-content: flex-start; margin: 0; }
.lx-stage { --band: var(--surface-2); padding: clamp(40px, 5vw, 72px) 0; }
.lx-stage .deploy-demo { max-width: 1120px; margin: 0 auto; }
.lx-stage + .page-section.band { border-top: 0; }
@media (max-width: 960px) {
  .lx-hero-copy { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .lx-hero-copy > h1 { grid-row: auto; }
  .lx-hero-copy > :not(h1) { grid-column: 1; }
  .lx-hero h1 { max-width: 14ch; }
}

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 820px; margin: 0; }
.faq details { background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary { padding: 18px 4px; font-size: 1.04rem; font-weight: 650; align-items: flex-start; gap: 20px; transition: color 150ms ease; }
.faq summary:hover { color: var(--primary); }
.faq summary::after { content: ""; width: 10px; height: 10px; border-radius: 0; background: none; margin: 6px 4px 0 0;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq details > :not(summary) { padding: 0 4px; max-width: 68ch; color: var(--text); margin: 0 0 12px; }
.faq details > :last-child { padding-bottom: 10px; }
.faq details p { color: var(--text); font-size: 1rem; }
.faq-layout { display: grid; gap: 28px var(--lx-gap); margin: 0; }
.faq-page { padding-top: 48px; }
.faq-toc-title { font-size: 0.85rem; color: var(--muted); font-weight: 600; margin: 0 0 10px; }
.faq-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.faq-toc a { display: inline-flex; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px;
  color: var(--text); font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: color 150ms ease, background 150ms ease, box-shadow 150ms ease; }
.faq-toc a span { color: var(--muted); font-weight: 500; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.faq-toc a:hover { color: var(--primary); }
.faq-toc a[aria-current] { color: var(--primary); background: var(--primary-soft); border-color: transparent; }
.faq-main { min-width: 0; }
.faq-sec { scroll-margin-top: 24px; }
.faq-sec + .faq-sec .faq-group { margin-top: 48px; }
.faq-tabs .faq-sec + .faq-sec .faq-group { margin-top: 0; }
.faq-main .faq-group { margin: 0 0 14px; max-width: none; font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.03em; }
.faq-intro { color: var(--muted); margin-bottom: 16px; }
.faq details { scroll-margin-top: 24px; }
.faq-search { display: grid; gap: 6px; margin-bottom: 32px; max-width: 520px; }
.faq-search label { margin: 0; font-weight: 600; font-size: 0.9rem; }
.faq-search input { width: 100%; min-height: 48px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; }
.faq-search input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.faq-count { margin: 0; min-height: 1.4em; }
.faq-empty { color: var(--muted); padding: 24px; border: 1px dashed var(--border); border-radius: var(--r-md); }
.faq-search[hidden], .faq-sec[hidden], .faq details[hidden], .faq-empty[hidden] { display: none; }
@media (min-width: 1000px) {
  .faq-layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
  /* nothing follows the scroll (owner, 2026-11-14): the menu scrolls away with the page */
  .faq-toc ul { flex-direction: column; flex-wrap: nowrap; gap: 0; border-left: 2px solid var(--border); }
  .faq-toc a { display: flex; justify-content: space-between; border: 0; border-radius: 0; margin-left: -2px; padding: 10px 14px;
    border-left: 2px solid transparent; }
  .faq-toc a:hover { background: var(--surface-2); }
  .faq-toc a[aria-current] { background: none; border-left-color: var(--primary); color: var(--text); font-weight: 700; }
}

/* ── /templates ────────────────────────────────────────────────────── */
.tpl-page { padding-top: 40px; }
.tpl-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin: 0 0 40px; }
.tpl-bar .tpl-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; }
.tpl-bar .seg-wrap { margin: 0; }
.tpl-bar-sep { width: 1px; align-self: stretch; background: var(--border); }
@media (max-width: 760px) { .tpl-bar-sep { display: none; } }
.site-page .tpl-grid { margin: 0; max-width: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.site-page .tpl-panel-h, .site-page .tpl-intro { text-align: center; }
.site-page .tpl-grid > p.muted { text-align: center; }

/* ── older components inside the shared rhythm ─────────────────────── */
.site-page .runtimes { justify-content: flex-start; margin: 0; }
.site-page .plans-note, .site-page .pricing-note { max-width: 70ch; margin: 14px 0 0; text-align: left; }
.site-page .deploy-demo { margin: 0; }
.site-page .plan-fit { margin: 0; }
.site-page .howto { margin: 0; }
.site-page .section-intro > p + p { margin-top: 8px; }
.site-page .form-page { margin: 0; }
.contact-topic .field { flex: 0 1 320px; }
.site-page .adv-sec { padding-top: 36px; }
.site-page .adv-note { margin-left: 0; }
/* the funding card's title: a plain bold line, not an uppercase label */
.funding-title { font-weight: 800; font-size: 1.05rem; margin: 0; }
/* the rules list on /pricing: plain rows instead of a card */
.rule-list { margin: 0; padding-left: 20px; display: grid; gap: 12px; max-width: 80ch; }
@media (prefers-reduced-motion: reduce) {
  .lx-related li a::after, .lx-toc a, .faq summary::after, .nav-drop-caret { transition: none; }
}

/* "Reviews on Trustpilot" (partials/reviews.html, R3-010): one quiet line, the
   site's own star in sun yellow; the star turns a fifth on hover. */
.reviews-line { max-width: none; margin: 0; text-align: center; font-family: var(--sans); }
.reviews-line a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  color: var(--text); font-size: 0.9rem; font-weight: 700; text-decoration: none; transition: background 150ms ease; }
.reviews-line a:hover { background: var(--surface-2); }
.reviews-line a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.reviews-star { flex: none; fill: var(--sun, #ffc857); stroke: color-mix(in srgb, var(--sun, #ffc857) 60%, #8a5a00); stroke-width: 1; stroke-linejoin: round; }
.reviews-out { flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reviews-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.reviews-under-plans { margin-top: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .reviews-star { transition: rotate 420ms var(--ease); }
  .reviews-line a:hover .reviews-star { rotate: 72deg; }
}

/* The waiting screen lives here, not in motion.css: it is a waiting indicator
   (a slow loop while the next page loads), not page motion, and motion.css
   holds only short, one-off movement. */
/* ── the waiting screen (wait.js, R3-011) ─────────────────────────────
   Over the old page while the browser waits for the next one after a sign-in,
   a registration, the hand-over to the panel or an order page, and only when
   that takes longer than 450 ms (wait.js adds it then). The site's bot face
   looks left and right while its antenna glows; one line says what happens.
   Fixed only for those moments: the page under it is about to be replaced.
   Never built with JavaScript off; with reduced motion wait.js never adds it. */
.wait-screen { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html.is-waiting .wait-screen { display: grid; place-items: center; position: fixed; inset: 0; z-index: 90; cursor: progress;
    background: color-mix(in srgb, var(--bg, #fff) 86%, transparent); backdrop-filter: blur(2px);
    animation: wait-in 240ms var(--ease, ease-out) both; }
  .wait-card { display: grid; justify-items: center; gap: 14px; animation: wait-rise 280ms var(--ease, ease-out) both; }
  .wait-face { width: 64px; height: 64px; overflow: visible; filter: drop-shadow(0 10px 18px color-mix(in srgb, var(--primary) 28%, transparent)); }
  .wait-face .wf-head { fill: var(--primary); }
  .wait-face .wf-visor { fill: #fff; }
  .wait-face .wf-eyes { fill: var(--primary); animation: wait-look 1.6s ease-in-out infinite; }
  .wait-face .wf-ant { fill: var(--mint); }
  .wait-face .wf-dot { fill: var(--mint); transform-box: fill-box; transform-origin: center; animation: wait-glow 1.6s ease-in-out infinite; }
  .wait-text { margin: 0; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text); }
  html.is-waiting body { cursor: progress; }
}
@keyframes wait-in { from { opacity: 0; } }
@keyframes wait-rise { from { opacity: 0; transform: translateY(8px) scale(0.96); } }
@keyframes wait-look { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
@keyframes wait-glow { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(1.35); } }
