/* Website-only layout (DESIGN.md §10). Colours, type and components come
   from tokens.css and components.css, unchanged; the theme follows the
   visitor's OS setting. */
body { background: var(--bg-page); color: var(--text); margin: 0; }
/* Menu links to sections (Pricing) glide there, unless the visitor asks
   for less motion. */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* The website's headings use the body family (Figtree), bold and tight;
   the panel keeps DESIGN.md's display face. */
:root { --font-display: "Figtree", "Figtree Fallback", system-ui, sans-serif; }
h1, h2, h3, .display, .section-title, .card__title, .page-title { font-family: var(--font-display); letter-spacing: -0.02em; }
.display { font-weight: 700; }
[hidden] { display: none !important; }
a { color: var(--link); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: 0 var(--space-10); height: 80px; max-width: 1600px; margin: 0 auto; }
.site-header .brand { font-size: 24px; text-decoration: none; }
.site-header .brand__logo { height: 32px; }
.site-nav { display: flex; gap: var(--space-8); }
.site-nav a { color: var(--text); font-weight: var(--weight-semibold); font-size: 16px; text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--link); }
.site-actions { display: flex; align-items: center; gap: var(--space-3); }
.site-actions form { margin: 0; }
.site-actions a[aria-current="page"] { color: var(--link); }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: var(--space-12) var(--space-10) 0; max-width: 1200px; margin: 0 auto; }
.hero h1 { font-size: clamp(36px, 6vw, var(--text-5xl)); max-width: 1000px; margin: 0; }
.hero p { font-size: var(--text-xl); color: var(--text-muted); max-width: 760px; margin: 0; }
/* The product guide on the front page (ADR 0102): the video with the
   player's own controls, and its subtitles in a line under the picture (the
   video's own captions are at its top and bottom). */
.guide { margin: var(--space-12) auto 0; max-width: 1120px; padding: 0 var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); }
.guide__head { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); text-align: center; }
.guide__head .section-title { margin: 0; text-wrap: balance; }
.guide__player { margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.guide__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-xl); background: var(--surface-2); box-shadow: var(--shadow-card); }
.guide__caption { margin: 0 auto; max-width: 900px; min-height: 1.7em; text-align: center; text-wrap: balance; font-size: var(--text-lg); line-height: 1.7; color: var(--text); }
.showcase { margin: var(--space-12) auto 0; max-width: 1280px; background: var(--surface-2); border-radius: var(--radius-2xl); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-5); }
.showcase .card { border: 0; border-radius: var(--radius-lg); padding: 22px; }
.showcase__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.showcase__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.showcase__head .section-title { margin: 0; }
.home-guides { max-width: 1280px; margin: 0 auto; padding: var(--space-12) var(--space-6) 0; }
.home-guides .section-title { margin: 0; }
.home-guides .docs-cards { max-width: none; margin-bottom: var(--space-12); }
.pricing { max-width: 1280px; margin: 0 auto; padding: 0 var(--space-6) var(--space-12); scroll-margin-top: var(--space-6); }
.pricing { border-top: 1px solid var(--border); padding-top: var(--space-12); }
.pricing__title { font-size: var(--text-3xl); margin: 0 0 var(--space-3); text-align: center; }
.pricing__lead { color: var(--text-muted); max-width: 760px; margin: 0 auto; font-size: 16px; text-align: center; }
.plans--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan__list { margin: 0; padding-left: var(--space-5); display: grid; gap: var(--space-2); font-size: var(--text-sm); }
.plan--featured { border-color: var(--primary); box-shadow: var(--shadow-pop); }
.pricing__notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-6); }
.pricing__notes .card { scroll-margin-top: var(--space-6); }
.pricing__notes .card__title { margin: 0 0 var(--space-2); }
.pricing__notes p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.55; }
/* Icons without tiles (owner, 2026-10-07): each in its card's colour, at
   the top beside its heading (the product page's extras). */
.extra { --tone: var(--info-fg); }
.benefit__icon { flex-shrink: 0; width: 56px; color: var(--tone); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 2px; gap: 5px; }
.benefit__icon .icon { width: 38px; height: 38px; }
.page-body { max-width: 1100px; margin: 0 auto; padding: var(--space-10) var(--space-6) var(--space-16); }
.prose { min-width: 0; max-width: 760px; line-height: 1.65; overflow-wrap: anywhere; }
.prose h1 { font-family: var(--font-display); font-size: var(--text-3xl); margin: 0 0 var(--space-6); }
.prose h2 { margin-top: var(--space-10); }
.prose pre { background: var(--surface-2); border-radius: var(--radius-md); padding: var(--space-4); overflow-x: auto; }
.prose code { font-family: var(--font-mono); font-size: 0.88em; }
/* Inline code (commands, paths, settings, URLs) stands out from the text. */
.prose :not(pre) > code { color: var(--text); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.08em 0.38em; white-space: break-spaces; overflow-wrap: anywhere; }
.prose a > code { color: var(--link); }
.prose h1 code, .prose h2 code, .prose h3 code { background: none; border: 0; padding: 0; }
.prose .table :not(pre) > code { overflow-wrap: normal; word-break: keep-all; }
.prose pre code { font-size: 0.86em; line-height: 1.55; }
.prose pre { border: 1px solid var(--border); }
.prose blockquote { margin: var(--space-4) 0; padding-left: var(--space-4); border-left: 3px solid var(--border); color: var(--text-muted); }
/* A choice in the docs (Docker or Podman, ADR 0127): with site.js one
   panel at a time behind the switch, which names it; without, each panel
   under its name. */
.prose .choice { margin: var(--space-5) 0; }
.prose .choice__switch { margin-bottom: var(--space-3); }
.prose .choice__name { margin: var(--space-4) 0 var(--space-2); }
.prose .choice--live .choice__name { display: none; }
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-10); }
.docs nav { font-size: var(--text-sm); }
.docs nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); margin-top: var(--space-8); }
.plans .card { display: flex; flex-direction: column; gap: var(--space-3); }
.plans .card > .btn { margin-top: auto; align-self: flex-start; }
.price { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--weight-bold); }
.price small { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 500; color: var(--text-muted); margin-left: 1px; }
.price + .price__vat { margin-top: calc(-1 * var(--space-2)); }
.placeholder { background: var(--warning-bg); color: var(--warning-fg); border-radius: var(--radius-sm); padding: 0 6px; font-weight: var(--weight-semibold); }
.preview-banner { background: var(--warning-bg); color: var(--warning-fg); text-align: center; padding: var(--space-2) var(--space-4); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.site-footer { border-top: 1px solid var(--border); margin-top: var(--space-12); }
.site-footer__inner { max-width: 1280px; margin: 0 auto; padding: var(--space-8) var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-8); justify-content: space-between; font-size: var(--text-sm); color: var(--text-muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.table-wrap { overflow-x: auto; margin: var(--space-4) 0; }
.table code { white-space: nowrap; }
/* Words in table cells wrap at spaces, never inside a word. */
.prose .table td, .prose .table th { overflow-wrap: normal; word-break: normal; min-width: 8ch; vertical-align: top; }
/* Phones: each row becomes a card; every cell shows its column header. */
@media (max-width: 700px) {
  .guide { margin-top: var(--space-10); padding: 0 var(--space-4); }
  .guide__video { border-radius: var(--radius-lg); }
  .guide__caption { font-size: var(--text-md); min-height: 3.4em; }
  .prose .table, .prose .table tbody, .prose .table tr, .prose .table td { display: block; width: 100%; }
  .prose .table { border: 0; background: transparent; overflow: visible; }
  .prose .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prose .table tr { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-3); }
  .prose .table td { padding: var(--space-2) 0; border-bottom: 1px solid var(--surface-2); min-width: 0; overflow-wrap: break-word; }
  .prose .table :not(pre) > code { overflow-wrap: anywhere; }
  .prose .table tr td:last-child { border-bottom: 0; }
  .prose .table td[data-label]:not([data-label=""])::before { content: attr(data-label); display: block; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--text-subtle); margin-bottom: 2px; }
  .prose .table tbody tr:hover td { background: transparent; }
}
@media (max-width: 1100px) {
  .site-header { padding: var(--space-3) var(--space-4); height: auto; flex-wrap: wrap; row-gap: var(--space-2); }
  .site-nav { order: 3; width: 100%; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
  .site-nav a { font-size: 15px; white-space: nowrap; }
  .hero { padding: var(--space-10) var(--space-4) 0; }
  .showcase { margin: var(--space-10) var(--space-4) 0; padding: var(--space-5); }
  .showcase__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing__notes { grid-template-columns: 1fr; }
  .pricing { padding: 0 var(--space-4) var(--space-10); }
  .docs { grid-template-columns: minmax(0, 1fr); }
  .page-body { padding: var(--space-8) var(--space-4) var(--space-12); }
}
@media (max-width: 480px) {
  .site-actions .btn--primary { display: none; }
  .site-header .brand { font-size: 20px; }
  .site-header .brand__logo { height: 28px; }
}
@media (max-width: 600px) {
  .plans--four { grid-template-columns: 1fr; }
  .showcase__cards { grid-template-columns: 1fr; }
  .site-actions { gap: var(--space-1); }
  .site-actions .btn { padding-inline: var(--space-3); }
}
.showcase .card p, .plan p { margin: 0; }
.plan { gap: var(--space-2); }
.plan .plan__list { margin: var(--space-3) 0; }

/* ---------- Security page ---------- */
.sec-hero { max-width: 820px; }
.sec-hero p { font-size: 18px; color: var(--text-muted); }
.diagram { margin: var(--space-6) 0 var(--space-10); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-5); overflow-x: auto; }
.diagram svg { display: block; width: 100%; min-width: 640px; height: auto; }
.diagram figcaption { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--text-muted); }
/* A wide diagram has a portrait twin, drawn to be read on a phone: it shows
 * whenever its figure is narrower than the wide one needs (phones, narrow
 * columns on tablets), rather than shrinking or scrolling sideways. */
.diagram { container-type: inline-size; }
.diagram svg.dg-phone { display: none; }
@container (max-width: 639px) {
  .diagram svg.dg-wide { display: none; }
  .diagram svg.dg-phone { display: block; min-width: 0; max-width: 400px; margin: 0 auto; }
}
.shot { margin: var(--space-5) 0 var(--space-8); }
.shot img { margin: 0; }
.shot--top img { aspect-ratio: 1280 / 860; object-fit: cover; object-position: top; } /* tall screenshots: the top, where the story is */
.shot figcaption { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--text-muted); }
.dg-zone { fill: var(--surface-2); stroke: var(--border); stroke-width: 1.5; }
.dg-box { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.dg-key { fill: var(--surface); stroke: var(--primary); stroke-width: 2; }
.dg-box--out { fill: var(--surface); stroke: var(--text-subtle); stroke-width: 1.5; stroke-dasharray: 6 4; }
.dg-title { fill: var(--text); font: 600 15px var(--font-ui); }
.dg-text { fill: var(--text-muted); font: 400 12.5px var(--font-ui); }
.dg-zone-label { fill: var(--text-subtle); font: 600 12px var(--font-ui); letter-spacing: .06em; text-transform: uppercase; }
.dg-line { stroke: var(--text-muted); stroke-width: 1.8; fill: none; }
.dg-line--out { stroke: var(--text-subtle); stroke-width: 1.6; stroke-dasharray: 6 4; fill: none; }
.dg-line--no { stroke: var(--danger-fg); stroke-width: 1.8; fill: none; }
.dg-arrow { fill: var(--text-muted); }
.dg-label { fill: var(--text); font: 600 12px var(--font-ui); }
.sec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin: var(--space-5) 0 var(--space-10); }
.sec-grid .card h3 { margin: 0 0 var(--space-2); font-size: 18px; }
.sec-grid .card p { margin: 0; color: var(--text-muted); font-size: 15px; }
@media (max-width: 800px) { .sec-grid { grid-template-columns: 1fr; } }

/* ---------- Docs ---------- */
.docs nav .docs__group { margin-top: var(--space-4); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--text-subtle); text-transform: uppercase; letter-spacing: .06em; }
.docs nav .docs__group:first-child { margin-top: 0; }
.prose img { display: block; max-width: 100%; height: auto; margin: var(--space-4) 0 var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card, 0 1px 3px rgba(0,0,0,.06)); }
.docs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-6) 0; max-width: 1100px; }
.docs-card { text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: var(--space-2); }
.docs-card:hover { border-color: var(--primary); }
.docs-card p { margin: 0; color: var(--text-muted); font-size: 15px; }
.docs-card--main { grid-column: 1 / -1; }
.docs-card__group { font-size: var(--text-xs); color: var(--text-subtle); text-transform: uppercase; letter-spacing: .06em; font-weight: var(--weight-semibold); }
@media (max-width: 800px) { .docs-cards { grid-template-columns: 1fr; } }

/* ---------- Plan comparison (front page) ---------- */
.compare-wrap { position: relative; margin-top: var(--space-8); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow-x: auto; box-shadow: var(--shadow-card); }
.compare { width: 100%; min-width: 760px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: var(--text-sm); }
.compare thead th:first-child { width: 30%; }
.compare th, .compare td { padding: var(--space-3) var(--space-4); text-align: center; border-bottom: 1px solid var(--surface-2); vertical-align: middle; }
.compare tbody th[scope="row"] { text-align: left; font-weight: var(--weight-medium); color: var(--text); width: 32%; }
.compare thead th { vertical-align: top; padding: var(--space-5) var(--space-4); border-bottom: 1px solid var(--border); font-weight: var(--weight-regular, 400); }
.compare thead th > * { display: block; }
.compare thead .btn { display: inline-flex; margin-top: var(--space-3); }
.compare__corner { text-align: left !important; vertical-align: bottom !important; }
.compare__plan { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); }
.compare__price { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; margin-top: var(--space-2); color: var(--text); }
.compare__per { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 500; margin-left: 1px; }
.compare__badge--empty { visibility: hidden; }
.compare thead .compare__badge { white-space: nowrap; }
.compare__period { font-size: var(--text-xs); color: var(--text-muted); min-height: 2.6em; margin-top: 2px; line-height: 1.3; }
.compare__badge { justify-self: center; align-self: center; margin: 0 auto var(--space-1); padding: 2px 8px; width: max-content; border-radius: var(--radius-pill); background: var(--primary); color: var(--on-primary); font-size: 10px; font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: .06em; line-height: 1.6; }
.compare__featured { background: var(--surface-2); }
.compare__group th { text-align: left !important; background: var(--bg-page); font-family: var(--font-display); font-size: var(--text-sm); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: .05em; color: var(--text); padding-top: var(--space-5); border-top: 1px solid var(--border-strong); }
.compare tbody tr.compare__group:first-child th { border-top: 0; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare__yes { width: 20px; height: 20px; fill: none; stroke: var(--success-fg, var(--primary)); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.compare__no { color: var(--text-subtle); }
/* Phones: the table scrolls sideways; the feature names stay in view. */
@media (max-width: 800px) {
  .compare tbody th[scope="row"], .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--surface-2); }
  .compare__group th { position: static; }
  /* A group row spans every column, so only its label can stay in view. */
  .compare__group th > span { position: sticky; left: var(--space-3); display: inline-block; }
  .compare { min-width: 600px; font-size: 13px; }
  .compare th, .compare td { padding: var(--space-2) var(--space-3); }
  .compare tbody th[scope="row"], .compare thead th:first-child { width: 140px; min-width: 140px; }
  .compare__corner span { display: none !important; }
  .compare__badge { font-size: 9px; letter-spacing: .02em; padding: 1px 6px; }
}

/* ---------- Theme switch: System, Light, Dark as three icons ---------- */
.theme-switch { display: inline-flex; gap: 2px; padding: 2px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: transparent; }
.theme-switch__btn, .theme-switch button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--text-subtle); cursor: pointer; }
.theme-switch__btn svg, .theme-switch button svg { width: 16px; height: 16px; }
.theme-switch__btn:hover, .theme-switch button:hover { color: var(--text); }
.theme-switch [aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.theme-switch form { margin: 0; display: contents; }

/* Customer tables on the licence site (an account's licences, a dashboard's
   databases): on a phone each row is a card, its first cell the title and the
   others labelled lines (data-label), rather than a table scrolling sideways. */
@media (max-width: 700px) {
  .table-wrap:has(> .table--phone-cards) { overflow: visible; }
  .table.table--phone-cards, .table.table--phone-cards tbody, .table.table--phone-cards tr { display: block; width: 100%; }
  .table.table--phone-cards { border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .table.table--phone-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table.table--phone-cards tr { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-2) var(--space-4); margin-bottom: var(--space-3); }
  .table.table--phone-cards tr td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); column-gap: var(--space-3); align-items: baseline; justify-items: start; padding: var(--space-2) 0; border-bottom: 1px solid var(--surface-2); text-align: start; overflow-wrap: anywhere; }
  .table.table--phone-cards td::before { content: attr(data-label); font-family: var(--font-ui); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--text-subtle); }
  .table.table--phone-cards tr td:first-child { display: block; font-size: var(--text-md); font-weight: var(--weight-semibold); }
  .table.table--phone-cards td:first-child::before { content: none; }
  .table.table--phone-cards tr td:last-child { border-bottom: 0; }
  .table.table--phone-cards td:empty { display: none; }
  .table.table--phone-cards tbody tr:hover td { background: transparent; }
}

/* Wide reference tables (six or more columns, e.g. the module catalogue):
   every row is a card at every width, its first cell the title and the
   other cells labelled lines, so a row is read whole without scrolling
   sideways; the page scrolls down through the rows. */
.prose .table-wrap:has(> .table--cards) { overflow: visible; border: 0; background: transparent; box-shadow: none; }
.prose .table--cards, .prose .table--cards tbody, .prose .table--cards tr { display: block; width: 100%; }
.prose .table--cards { border: 0; background: transparent; overflow: visible; }
.prose .table--cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.prose .table--cards tr { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-5) var(--space-2); margin-bottom: var(--space-3); box-shadow: var(--shadow-card, none); }
.prose .table--cards td { display: grid; grid-template-columns: 11rem minmax(0, 1fr); column-gap: var(--space-4); padding: var(--space-2) 0; border-bottom: 1px solid var(--surface-2); min-width: 0; overflow-wrap: break-word; }
.prose .table--cards td::before { content: attr(data-label); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--text-subtle); }
.prose .table--cards td:first-child { display: block; font-family: var(--font-display); font-size: var(--text-lg, 18px); font-weight: var(--weight-bold); color: var(--text); padding: var(--space-1) 0 var(--space-3); }
.prose .table--cards td:first-child::before { content: none; }
.prose .table--cards td:last-child { border-bottom: 0; }
.prose .table--cards td:empty { display: none; }
.prose .table--cards tbody tr:hover td { background: transparent; }
@media (max-width: 700px) {
  .prose .table--cards td { display: block; }
  .prose .table--cards td::before { display: block; font-size: var(--text-xs); margin-bottom: 2px; }
}

/* Product page: a framed hero screenshot, the four steps, alternating
   feature rows (text beside a screenshot or diagram), extras, where it runs. */
.prod-hero { padding-bottom: var(--space-8); }
.frame { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--text) 30%, transparent), var(--shadow-card, none); overflow: hidden; }
.frame__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.frame__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.frame__bar em { margin-left: var(--space-3); font-style: normal; font-size: var(--text-xs); color: var(--text-subtle); }
.frame img { display: block; width: 100%; height: auto; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.frame img.crop { aspect-ratio: 1280 / 820; object-fit: cover; object-position: top; }
.prod-shot { max-width: 1120px; margin: 0 auto var(--space-12); }
.steps { max-width: 1120px; margin: 0 auto var(--space-16); padding: 0 var(--space-6); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); counter-reset: step; }
.step { position: relative; display: block; padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.step:hover { border-color: var(--primary); transform: translateY(-2px); }
.step + .step::before { content: ""; position: absolute; left: calc(-1 * var(--space-4)); top: 50%; width: var(--space-4); border-top: 2px dashed var(--border-strong); }
.step__icon { --tone: var(--info-fg); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-lg); color: var(--tone); background: color-mix(in srgb, var(--tone) 16%, var(--surface)); }
.step__icon svg { width: 24px; height: 24px; }
.step:nth-child(2) .step__icon { --tone: color-mix(in srgb, var(--success-fg) 50%, var(--info-fg)); }
.step:nth-child(3) .step__icon { --tone: var(--success-fg); }
.step:nth-child(4) .step__icon { --tone: color-mix(in srgb, var(--primary) 55%, var(--danger-fg)); }
.step__n { position: absolute; top: var(--space-4); right: var(--space-5); font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl, 24px); color: var(--text-subtle); opacity: .5; }
.step h2 { margin: var(--space-3) 0 var(--space-1); font-size: 20px; }
.step p { margin: 0; color: var(--text-muted); font-size: var(--text-sm); }
.feature { max-width: 1200px; margin: 0 auto var(--space-16); padding: 0 var(--space-6); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-10); align-items: center; scroll-margin-top: var(--space-8); }
.feature--flip .feature__text { order: 2; }
.feature--wide-media { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.feature--flip.feature--wide-media { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.feature__kicker { display: inline-block; font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-bottom: var(--space-2); }
.feature h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 var(--space-4); line-height: 1.15; }
.feature__text > p { color: var(--text-muted); font-size: 17px; }
.feature__media.diagram { margin: 0; }
.feature__media.diagram svg { min-width: 0; }
.stack-media { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); min-width: 0; }
.chips { list-style: none; padding: 0; margin: var(--space-4) 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: var(--text-sm); color: var(--text); }
.levels { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); counter-reset: level; }
.levels li { counter-increment: level; position: relative; padding: var(--space-3) var(--space-4) var(--space-3) 52px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--text-muted); font-size: 15px; }
.levels li::before { content: counter(level); position: absolute; left: var(--space-3); top: var(--space-3); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--text-sm); color: var(--link); background: color-mix(in srgb, var(--primary) 14%, var(--surface)); }
.levels strong { display: block; color: var(--text); margin-bottom: 2px; }
.mock-check { border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); padding: var(--space-4) var(--space-5); box-shadow: var(--shadow-card, none); }
.mock-check__head, .mock-check__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); font-size: var(--text-sm); }
.mock-check pre { margin: var(--space-3) 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); background: var(--surface-2); font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.mock-check__foot { color: var(--text-muted); }
.extras { max-width: 1200px; margin: 0 auto var(--space-16); padding: 0 var(--space-6); }
.faq { max-width: 880px; margin: 0 auto var(--space-16); padding: 0 var(--space-6); }
.faq .section-title { text-align: center; margin-bottom: var(--space-8); }
.faq__list { border-top: 1px solid var(--border); }
.faq__item { padding: var(--space-5) 0; border-bottom: 1px solid var(--border); }
.faq__item h3 { margin: 0 0 var(--space-2); font-size: var(--text-lg); }
.faq__item p { margin: 0; color: var(--text-muted); }
.extras .section-title { text-align: center; margin-bottom: var(--space-8); }
.extras__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.extra { margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.extra .benefit__icon { width: auto; align-items: flex-start; padding-top: 0; }
.extra:nth-child(2) { --tone: var(--success-fg); }
.extra:nth-child(3) { --tone: var(--warning-fg); }
.extra:nth-child(4) { --tone: color-mix(in srgb, var(--primary) 55%, var(--danger-fg)); }
.extra h3 { margin: var(--space-2) 0 0; font-size: 18px; }
.extra p { margin: 0; color: var(--text-muted); font-size: 15px; }
.runs-on { max-width: 1200px; margin: 0 auto var(--space-16); padding: var(--space-8) var(--space-8); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; border: 1px solid var(--border); border-radius: var(--radius-xl); background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, var(--surface)), var(--surface)); }
.runs-on h2 { margin: 0 0 var(--space-3); font-size: 28px; }
.runs-on p { color: var(--text-muted); }
.runs-on__cta { display: flex; flex-direction: column; gap: var(--space-3); align-items: stretch; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3)::before { display: none; }
  .extras__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .feature, .feature--wide-media, .feature--flip.feature--wide-media { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .feature--flip .feature__text { order: 0; }
  .runs-on { grid-template-columns: minmax(0, 1fr); margin-left: var(--space-4); margin-right: var(--space-4); padding: var(--space-6); }
}
@media (max-width: 560px) {
  .steps, .extras__grid { grid-template-columns: minmax(0, 1fr); }
  .step::before { display: none; }
  .prod-shot { margin-left: var(--space-4); margin-right: var(--space-4); }
}
.dg-lg .dg-title { font-size: 18px; }
.dg-lg .dg-text { font-size: 15px; }
.dg-lg .dg-label { font-size: 15px; }
.dg-lg .dg-zone-label { font-size: 13px; }
.extras .section-title { font-size: clamp(26px, 3vw, 34px); }
/* The shop's order page (ADR 0076). */
.order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: var(--space-5); align-items: start; }
.order__main { display: grid; gap: var(--space-5); min-width: 0; }
.order__main .card { margin: 0; }
.order .card__title { display: flex; align-items: center; gap: var(--space-2); }
.order__step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--link); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.order__choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-3); margin-bottom: var(--space-4); }
.order__choice { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-lg); cursor: pointer; background: var(--surface); }
.order__choice > span { display: grid; gap: 2px; }
.order__choice input { margin-top: 4px; accent-color: var(--link); }
.order__choice:has(input:checked) { border-color: var(--link); box-shadow: 0 0 0 1px var(--link); }
.order__choice .chip { justify-self: start; }
.order__qty { max-width: 10rem; }
.addons { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.addon { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-4); align-items: center; padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.addon--on { border-color: var(--link); box-shadow: 0 0 0 1px var(--link); }
.addon--off { opacity: .6; }
.addon__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-lg); background: var(--surface-2); color: var(--link); }
.addon__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.addon__text { display: grid; gap: 2px; }
.addon__price { font-weight: var(--weight-semibold); }
.stepper { display: inline-flex; align-items: center; gap: var(--space-2); }
.stepper .input { width: 4.5rem; text-align: center; }
.stepper .btn { min-width: 36px; justify-content: center; font-size: 18px; line-height: 1; }
.order__summary { position: sticky; top: var(--space-6); margin: 0; display: grid; gap: var(--space-3); }
.order__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.order__lines li { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--text-sm); }
.order__lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.order__vat { padding-top: var(--space-3); border-top: 1px solid var(--border); color: var(--text-muted); }
.order__total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); margin: 0; padding-top: var(--space-3); border-top: 1px solid var(--border); }
.order__total strong { font-size: 24px; white-space: nowrap; }
.order__total small { font-size: var(--text-sm); font-weight: 400; }
.order__facts { margin: 0; }
.order__pay { justify-content: center; }
.order__summary p { margin: 0; }
@media (max-width: 900px) {
  .order { grid-template-columns: minmax(0, 1fr); }
  .order__summary { position: static; }
}
@media (max-width: 560px) {
  .addon { grid-template-columns: auto minmax(0, 1fr); }
  .stepper { grid-column: 1 / -1; justify-self: end; }
}

/* ---------- Deep navy (owner, 2026-10-04; ADR 0079) ----------
   The website and the shop use a deep navy instead of the bright blue in
   the light theme, matching the emails. Only the website and the licence
   site load this file; the panel keeps the design tokens as they are, and
   the dark theme keeps its lighter accents. */
/* The palette lives in tokens.css (deep navy, light and dark; the --band-*
   tokens are the navy bands below). */

/* The top bar stays in view while scrolling. */
.site-header { position: sticky; top: 0; z-index: 50; max-width: none; padding-left: max(var(--space-10), calc((100% - 1600px) / 2 + var(--space-10))); padding-right: max(var(--space-10), calc((100% - 1600px) / 2 + var(--space-10)));
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border-strong); box-shadow: 0 2px 12px color-mix(in srgb, var(--text) 8%, transparent); } /* stands out from the page in the light theme too (owner, 2026-10-07) */
[id] { scroll-margin-top: 96px; }
@media (max-width: 1100px) { .site-header { padding-left: var(--space-6); padding-right: var(--space-6); } }
@media (max-width: 700px) { .site-header { padding-left: var(--space-4); padding-right: var(--space-4); } [id] { scroll-margin-top: 120px; } }


/* The front page's example: a navy band with white cards. */
.showcase { background: var(--band-bg); box-shadow: var(--shadow-card); }
.showcase__head .section-title { color: var(--band-fg); }
.showcase__head .muted, .showcase__head span { color: var(--band-muted); }

/* Pricing: a navy header band, the featured column highlighted down the
   table, tinted group rows, ticks on green. */
.compare-wrap { box-shadow: var(--shadow-card); }
.compare thead th { background: var(--band-bg); color: var(--band-fg); border-bottom: 0; }
.compare thead th.compare__featured { background: var(--band-featured); }
.compare thead .compare__plan, .compare thead .compare__price { color: var(--band-fg); }
.compare thead .compare__period, .compare thead .compare__per { color: var(--band-muted) !important; }
.compare thead .compare__badge { background: var(--band-fg); color: var(--band-bg); }
.compare thead .btn--secondary { background: transparent; color: var(--band-fg); border: 1px solid color-mix(in srgb, var(--band-fg) 50%, transparent); }
.compare thead .btn--secondary:hover { background: color-mix(in srgb, var(--band-fg) 12%, transparent); }
.compare thead .btn--primary { background: var(--band-fg); color: var(--band-bg); border-color: var(--band-fg); }
.compare tbody td.compare__featured { background: var(--band-tint); }
.compare__group th { background: var(--group-bg) !important; }
/* The notes under the table: navy cards like the table's header. */
.pricing__notes .card { background: var(--band-bg); border-color: var(--band-bg); color: var(--band-muted); }
.pricing__notes .card__title { color: var(--band-fg); }
.pricing__notes .card p { color: var(--band-muted); }
.pricing__notes .card a { color: var(--band-fg); text-decoration: underline; text-underline-offset: 2px; }
.pricing__notes .card strong { color: var(--band-fg); }
.compare__yes { box-sizing: border-box; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--success-bg); }
@media (max-width: 800px) {
  .compare thead th:first-child { background: var(--band-bg); }
}

/* Lists with ticks (Enterprise). */
.ticks { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: var(--space-3); }
.ticks li { position: relative; padding-left: 34px; color: var(--text-muted); font-size: 16px; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--success-bg); }
.ticks li::after { content: ""; position: absolute; left: 8px; top: 5px; width: 5px; height: 10px; border: solid var(--success-fg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ent-steps { margin: var(--space-4) 0 0; }

/* ---------- Report checker (/verify/) ---------- */
.verify-form { display: grid; gap: var(--space-4); }
.verify-result { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.verify-result .banner--success { background: var(--success-bg); color: var(--success-fg); }
.verify-result .facts { display: grid; grid-template-columns: fit-content(45%) minmax(0, 1fr); gap: var(--space-2) var(--space-6); margin: 0; font-size: var(--text-sm); }
.verify-result .facts dt { color: var(--text-subtle); }
.verify-result .facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.verify-result .card__title { overflow-wrap: anywhere; }

/* The pre-launch demo site (demo.restorly.eu, ADR 0090). */
.hero .hero__note { font-size: var(--text-sm); }
.sample-files { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.sample-files a { font-weight: var(--weight-semibold); }
.sample-files .muted { font-size: var(--text-xs); margin-left: var(--space-1); }
#notify { scroll-margin-top: 120px; }
.notify { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.notify-form { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; }
.notify-form__row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.notify-form__row .input { flex: 1 1 220px; min-width: 0; }
.notify-form__note { margin: 0; font-size: var(--text-xs); color: var(--text-muted); }
.notify .notify-form__status { margin: 0; min-height: 1.5em; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--text); }
.notify .notify-form__status[data-state="ok"] { color: var(--success-fg); }
.notify .notify-form__status[data-state="error"] { color: var(--danger-fg); }
.notify-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .notify { grid-template-columns: minmax(0, 1fr); } }
/* The free period's note above the prices (ADR 0104): the button keeps its line. */
.pricing__free { margin-bottom: var(--space-4); }
.pricing__free .btn { flex-shrink: 0; white-space: nowrap; }

/* ---------- Hero band (owner, 2026-11-18: "C looks nice"; ADR 0028 amended) ----------
 * The website's heroes (front, product, enterprise) sit on a full-width band:
 * deep navy with a soft glow and a faint grid in the light theme, a dark
 * surface in the dark one, light text on both. Tokens only; the band's
 * colours are set per theme like tokens.css. */
:root {
  --band-from: var(--primary);
  --band-to: var(--primary-hover);
  --band-glow: color-mix(in srgb, var(--link) 55%, transparent);
  --band-grid: color-mix(in srgb, var(--on-primary) 9%, transparent);
  --band-ink: var(--on-primary);
  --band-ink-muted: color-mix(in srgb, var(--on-primary) 84%, transparent);
  --band-kicker: color-mix(in srgb, var(--link) 30%, var(--on-primary));
  --band-btn: var(--on-primary);
  --band-btn-ink: var(--primary);
  --band-btn2: color-mix(in srgb, var(--on-primary) 12%, transparent);
  --band-btn2-ink: var(--on-primary);
}
:root[data-theme="dark"] {
  --band-from: var(--surface);
  --band-to: var(--bg-page);
  --band-glow: color-mix(in srgb, var(--link) 22%, transparent);
  --band-grid: color-mix(in srgb, var(--text) 7%, transparent);
  --band-ink: var(--text);
  --band-ink-muted: var(--text-muted);
  --band-kicker: var(--link);
  --band-btn: var(--primary);
  --band-btn-ink: var(--on-primary);
  --band-btn2: var(--surface-2);
  --band-btn2-ink: var(--text);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --band-from: var(--surface);
    --band-to: var(--bg-page);
    --band-glow: color-mix(in srgb, var(--link) 22%, transparent);
    --band-grid: color-mix(in srgb, var(--text) 7%, transparent);
    --band-ink: var(--text);
    --band-ink-muted: var(--text-muted);
    --band-kicker: var(--link);
        --band-btn: var(--primary);
    --band-btn-ink: var(--on-primary);
    --band-btn2: var(--surface-2);
    --band-btn2-ink: var(--text);
  }
}
.hero-band { position: relative; isolation: isolate; overflow: hidden; padding-bottom: var(--space-12); color: var(--band-ink);
  background: radial-gradient(45% 60% at 50% 0%, var(--band-glow), transparent 70%), linear-gradient(180deg, var(--band-from), var(--band-to)); }
.hero-band::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--band-grid) 1px, transparent 1px), linear-gradient(90deg, var(--band-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(80% 90% at 50% 0%, black 30%, transparent 85%); mask-image: radial-gradient(80% 90% at 50% 0%, black 30%, transparent 85%); }
.hero-band .hero h1 { color: var(--band-ink); }
.hero-band .hero p { color: var(--band-ink-muted); }
.hero-band .feature__kicker { color: var(--band-kicker); }
.hero-band .btn--primary { background: var(--band-btn); color: var(--band-btn-ink); }
.hero-band .btn--primary:hover { background: color-mix(in srgb, var(--band-btn) 86%, var(--band-from)); color: var(--band-btn-ink); }
.hero-band .btn--secondary { background: var(--band-btn2); color: var(--band-btn2-ink); }
.hero-band .btn--secondary:hover { background: color-mix(in srgb, var(--band-btn2-ink) 20%, transparent); color: var(--band-btn2-ink); }
.hero-band .prod-hero { padding-bottom: 0; }
/* The product page's screenshot overlaps the band's lower edge. */
.hero-band:has(+ .prod-shot) { padding-bottom: calc(var(--space-12) + 96px); }
.hero-band + .prod-shot { position: relative; margin-top: -96px; }
/* The enterprise page's cards overlap it the same way. */
.hero-band:has(+ .steps) { padding-bottom: calc(var(--space-12) + 64px); }
.hero-band + .steps { position: relative; margin-top: -64px; }
@media print { .hero-band::before { display: none; } .hero-band { background: none; color: inherit; } }

/* A row of buttons centred under a centred block (was an inline style,
 * which the website's Content-Security-Policy refuses). */
.row--center { justify-content: center; }

/* ---------- Split hero with the restore ring (owner, 2026-11-18) ----------
 * The front page: text and facts at the left; at the right a restore test
 * going round Restorly's parts (scheduler, backup location, runner,
 * sandbox, checks, signer) and ending in its signed report, played by
 * web/static/js/hero-ring.js. The band is dark in both themes, so the ring
 * uses the bright status and link colours: the values of the dark theme's
 * --success-fg, --warning-fg, --danger-fg and --link (tokens.css), which
 * the light theme does not have (--ring-* in tokens.css). The report card
 * follows the theme. */
/* The same column as the guide below (max-width 1120px, 24px sides), so
   their edges line up. */
.hero--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: var(--space-12); text-align: left; max-width: 1120px; padding-left: var(--space-6); padding-right: var(--space-6); }
.hero--split .hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.hero--split h1 { max-width: none; font-size: clamp(36px, 4.4vw, 64px); }
.hero--split .row { justify-content: flex-start; }
.hero--split .feature__kicker { text-wrap: balance; }
/* While a report is up, the ring steps back behind it. */
.ring > svg, .ring__center { transition: opacity .45s ease; }
.ring:has(> .ring__report:not([data-off])) > svg, .ring:has(> .ring__report:not([data-off])) > .ring__center { opacity: .22; }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8); padding-top: var(--space-5); border-top: 1px solid color-mix(in srgb, var(--band-ink) 14%, transparent); }
.hero-facts div { display: flex; flex-direction: column; gap: 3px; font-size: var(--text-sm); color: var(--band-ink-muted); }
.hero-facts b { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: var(--weight-semibold, 600); color: var(--band-kicker); }
.ring { position: relative; justify-self: center; width: min(620px, 100%); max-width: 100%; aspect-ratio: 620 / 460; }
.ring > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ring__track { fill: none; stroke: color-mix(in srgb, var(--ring-ink) 22%, transparent); stroke-width: 2; stroke-dasharray: 2 7; }
.ring__inner { fill: none; stroke: color-mix(in srgb, var(--ring-ink) 9%, transparent); stroke-width: 1; }
.ring__arc { fill: none; stroke: url(#ring-arc-grad); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 600 0; }
.ring[data-done="pass"] .ring__arc { stroke: var(--ring-pass); }
.ring[data-done="warn"] .ring__arc { stroke: var(--ring-warn); }
.ring[data-done="fail"] .ring__arc { stroke: var(--ring-fail); }
.ring__comet { fill: color-mix(in srgb, var(--ring-arc-to) 40%, var(--ring-ink)); opacity: 0; transition: opacity .3s; }
.ring-node__bg { fill: var(--ring-node); stroke: color-mix(in srgb, var(--ring-ink) 45%, transparent); stroke-width: 2; transition: fill .35s, stroke .35s; }
.ring-node__halo { fill: none; stroke: var(--ring-arc-to); stroke-width: 2; opacity: 0; }
.ring-node :is(.ic, path, rect, ellipse, line, polyline) { fill: none; stroke: var(--ring-ink); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.ring-node text { fill: color-mix(in srgb, var(--ring-ink) 82%, transparent); font: 700 11.5px var(--font-ui); letter-spacing: .07em; text-transform: uppercase; }
.ring-node[data-s="active"] .ring-node__bg { fill: var(--ring-active); stroke: var(--ring-arc-to); filter: url(#ring-glow); }
.ring-node[data-s="active"] .ring-node__halo { animation: ring-halo 1.4s ease-out infinite; }
.ring-node[data-s="active"] .ring-node__halo + .ring-node__halo { animation-delay: .7s; }
.ring-node[data-s="active"] text { fill: var(--ring-ink); }
@keyframes ring-halo { from { r: 30px; opacity: .8; } to { r: 52px; opacity: 0; } }
.ring-node:is([data-s="done"], [data-s="warn"], [data-s="failed"]) .ring-node__bg { filter: url(#ring-glow); }
.ring-node[data-s="done"] .ring-node__bg { fill: var(--ring-pass); stroke: var(--ring-pass); }
.ring-node[data-s="warn"] .ring-node__bg { fill: var(--ring-warn); stroke: var(--ring-warn); }
.ring-node[data-s="failed"] .ring-node__bg { fill: var(--ring-fail); stroke: var(--ring-fail); }
.ring-node:is([data-s="done"], [data-s="warn"], [data-s="failed"]) :is(.ic, path, rect, ellipse, line, polyline) { stroke: var(--ring-dark-ink); }
.ring-node[data-s="skipped"] { opacity: .3; }
.ring__center { position: absolute; inset: 24% 30.6%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--ring-core) 30%, transparent), transparent 70%); color: var(--ring-ink); }
.ring__db { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.01em; }
.ring__line { font-size: var(--text-sm); line-height: 1.4; color: color-mix(in srgb, var(--ring-ink) 90%, transparent); min-height: 3.6em; }
.ring-chip { font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: var(--radius-pill); white-space: nowrap; background: var(--surface-2); color: var(--text-subtle); }
.ring-chip[data-s="running"] { background: color-mix(in srgb, var(--link) 16%, var(--surface)); color: var(--link); }
.ring-chip[data-s="pass"] { background: var(--success-bg); color: var(--success-fg); }
.ring-chip[data-s="warn"] { background: var(--warning-bg); color: var(--warning-fg); }
.ring-chip[data-s="fail"] { background: var(--danger-bg); color: var(--danger-fg); }
.ring__report { position: absolute; left: 50%; top: 50%; width: min(380px, 94%); transform: translate(-50%, -50%); display: flex; flex-direction: column; gap: var(--space-4);
  background: var(--surface); color: var(--text); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: 0 30px 70px -20px rgba(3, 12, 26, .55); text-align: left;
  transition: opacity .45s ease, transform .45s ease; }
.ring__report[data-off] { opacity: 0; transform: translate(-50%, -46%) scale(.94); pointer-events: none; }
.ring__report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); }
.ring__report-db { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.15; }
.ring__report-sub { font-size: 13px; color: var(--text-subtle); }
.ring__rows { margin: 0; display: flex; flex-direction: column; gap: 9px; }
.ring__rows div { display: flex; justify-content: space-between; gap: var(--space-4); font-size: var(--text-sm); border-bottom: 1px solid var(--border); padding-bottom: 9px; }
.ring__rows dt { color: var(--text-subtle); } .ring__rows dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.ring__up { color: var(--success-fg); } .ring__down { color: var(--warning-fg); } .ring__bad { color: var(--danger-fg); }
.ring__report .mono { font-family: var(--font-mono); font-size: 12px; }
.ring__sig { display: flex; align-items: center; gap: var(--space-3); color: var(--link); }
.ring__sig strong { display: block; font-size: var(--text-sm); color: var(--text); }
.ring__sig span { display: block; color: var(--text-subtle); }
@media (max-width: 900px) {
  .hero--split { grid-template-columns: 1fr; text-align: center; gap: var(--space-10); }
  .hero--split .hero__text { align-items: center; }
  .hero--split .row, .hero-facts { justify-content: center; }
  /* Too small to read on a phone: the finished report stands alone, still. */
  .ring { aspect-ratio: auto; width: min(420px, 100%); }
  .ring > svg, .ring__center { display: none; }
  .ring__report, .ring__report[data-off] { position: static; transform: none; width: 100%; opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .ring-node[data-s="active"] .ring-node__halo { animation: none; } .ring__report { transition: none; } }
/* The front page assembles on load, within about two seconds (owner,
   2026-11-18): the text glides up line by line, the ring spins out from its
   centre and its parts pop in around it, then the report and the guide.
   Once only; nothing for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero--split .hero__text > * { animation: assemble-up .6s cubic-bezier(.2, .8, .2, 1) both; }
  .hero--split .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero--split .hero__text > :nth-child(3) { animation-delay: .16s; }
  .hero--split .hero__text > :nth-child(4) { animation-delay: .24s; }
  .hero--split .hero__text > :nth-child(5) { animation-delay: .34s; }
  .ring > svg { animation: assemble-spin 1.1s cubic-bezier(.16, .84, .3, 1) .1s backwards; }
  .ring-node { animation: assemble-fade .35s ease-out both; }
  .ring-node__dot { transform-box: fill-box; transform-origin: center; animation: assemble-pop .45s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: inherit; }
  .ring-node:nth-child(1) { animation-delay: .55s; } .ring-node:nth-child(2) { animation-delay: .65s; } .ring-node:nth-child(3) { animation-delay: .75s; }
  .ring-node:nth-child(4) { animation-delay: .85s; } .ring-node:nth-child(5) { animation-delay: .95s; } .ring-node:nth-child(6) { animation-delay: 1.05s; }
  .ring__center { animation: assemble-fade .5s ease-out 1.05s backwards; }
  .ring__report:not([data-off]) { animation: assemble-report .5s cubic-bezier(.2, .8, .2, 1) 1.4s both; }
  .hero-band + .guide { animation: assemble-up .7s cubic-bezier(.2, .8, .2, 1) .9s both; }
}
@keyframes assemble-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes assemble-fade { from { opacity: 0; } }
@keyframes assemble-spin { from { opacity: 0; transform: rotate(-150deg) scale(.55); } 60% { opacity: 1; } to { transform: none; } }
@keyframes assemble-pop { from { transform: scale(.2); } to { transform: none; } }
@keyframes assemble-report { from { opacity: 0; transform: translate(-50%, -44%) scale(.9); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .ring__report:not([data-off]) { animation-name: assemble-up; animation-delay: .45s; }
}
@media print { .ring { display: none; } }

/* The front page's proof (owner, 2026-11-21, after the "unslop" check):
   each claim beside a view of the real panel, cut from docs/screens at
   build time (website/crops.go), instead of a grid of icon cards. */
.proof { max-width: 1120px; margin: 0 auto; padding: var(--space-16) var(--space-6) var(--space-10); display: flex; flex-direction: column; gap: var(--space-16); }
.proof__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-10); align-items: center; }
.proof__row:nth-child(even) .proof__text { order: 2; }
.proof__text { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.proof__text h3 { margin: 0; font-size: var(--text-2xl); line-height: 1.2; text-wrap: balance; }
.proof__text p { margin: 0; color: var(--text-muted); font-size: var(--text-lg); line-height: 1.6; }
.proof__kicker { font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; font-weight: var(--weight-semibold); color: var(--link); }
.proof__shot { margin: 0; min-width: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); background: var(--surface); }
.proof__shot img { display: block; width: 100%; height: auto; }
.proof-also { max-width: 1120px; margin: 0 auto; padding: var(--space-8) var(--space-6) var(--space-12); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); border-top: 1px solid var(--border); }
.proof-also h3 { margin: 0 0 var(--space-2); font-size: var(--text-lg); }
.proof-also p { margin: 0; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 860px) {
  .proof { padding: var(--space-10) var(--space-4) var(--space-8); gap: var(--space-10); }
  .proof__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .proof__row:nth-child(even) .proof__text { order: 0; }
  .proof-also { grid-template-columns: minmax(0, 1fr); padding: var(--space-8) var(--space-4) var(--space-10); }
}

/* Squarer buttons and chips on the site (owner, 2026-11-21: "a little bit
   smaller than suggested", 6 px where the preview had 8): one modest
   radius instead of pills. */
.btn { border-radius: 6px; }
.chip, .chips li, .segmented, .segmented__btn, .theme-switch, .theme-switch__btn { border-radius: 6px; }

