/* HolonOS website. Colours and shapes come from the product (app/machine.css and the kernel's kit):
   sections are BANDS, a highlighted section is a TINTED FIELD with a bar down its left, content sits in a
   white BORDERED CONTAINER, facts are LABELLED ROWS. "Nothing should be loose."
   No inline styles anywhere (strict CSP). Phone first; breakpoints 480, 768, 900. */

:root {
  color-scheme: light dark;
  --bg: #f4f3f9;          /* the product's page background; also the top bar and html (status-bar fix) */
  --band: #efedf6;        /* a plain band (the kernel's FOLD) */
  --surface: #ffffff;     /* a bordered container */
  --ink: #1c1930;
  --muted: #5d5874;
  --line: #dbd8e8;        /* the kernel's RULE */
  --accent: #6238c9;      /* PERSONAL */
  --accent-soft: #ece6fb; /* PSOFT */
  --work: #1c7f47;        /* WORK */
  --work-soft: #e2f3e9;   /* WSOFT */
  --warn: #8f5200;        /* CAUTION */
  --warn-soft: #fbefd9;
  --on-accent: #ffffff;
  --shade: rgba(28, 25, 48, 0.18);
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --gutter: 1rem;
  --head-h: 3.5rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14121f; --band: #1a1729; --surface: #1d1a2d; --ink: #ebe8f7; --muted: #a9a4c0; --line: #332f4a;
    --accent: #ab8fff; --accent-soft: #2a2248; --work: #6fd39a; --work-soft: #15301f;
    --warn: #f0b560; --warn-soft: #33270f; --on-accent: #14121f; --shade: rgba(0, 0, 0, 0.5);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: calc(var(--head-h) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink);
  font-family: var(--ui); font-size: 1.0625rem; line-height: 1.6; overflow-wrap: break-word; }
main { flex: 1 0 auto; }
main:focus { outline: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2rem, 7vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 4.5vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); }

.skip-link { position: absolute; left: 0.5rem; top: 0.5rem; z-index: 200; padding: 0.75rem 1rem; border-radius: 8px;
  background: var(--ink); color: var(--bg); font-weight: 600; transform: translateY(-300%); }
.skip-link:focus { transform: none; }

/* ---------- header: a solid sticky bar, same colour as html (iPhone status-bar fix, Baseline Your Life 8ccedab) ---------- */
.site-head { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px); }
.site-head__in { display: flex; align-items: center; gap: 0.75rem; min-height: var(--head-h); max-width: 68rem; margin: 0 auto;
  padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); position: relative; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; color: var(--ink); font-weight: 800;
  font-size: 1.2rem; text-decoration: none; margin-right: auto; }
/* On phones the header keeps a "Try it" button in sight beside Menu (the nav, and its own Try it, are folded away). */
.site-head .head-try { display: none; }
.brand__mark { width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 3px solid var(--accent); }
.menu-btn { display: none; align-items: center; gap: 0.5rem; min-height: 44px; min-width: 44px; padding: 0 0.75rem;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 0; transform: rotate(-45deg); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav a:hover { background: var(--accent-soft); }
.site-nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.site-nav .site-nav__try { margin-left: 0.5rem; }
.site-nav .site-nav__try .cta { color: var(--on-accent); }
.site-nav .site-nav__try .cta:hover { background: var(--accent); }

@media (max-width: 768px) {
  .menu-btn { display: inline-flex; }
  .site-head .head-try { display: inline-flex; min-height: 44px; padding: 0.4rem 1rem; }
  /* Hidden until tapped; site.js toggles .is-open. Without JS, assets/nojs.css (in <noscript>) shows it as a list. */
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px var(--shade); padding: 0.5rem var(--gutter) 1rem; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a { display: flex; padding: 0 0.25rem; border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--accent); padding-left: 0.75rem; }
  .site-nav .site-nav__try { margin: 0.75rem 0 0; }
  .site-nav .site-nav__try .cta { justify-content: center; display: flex; }
}

/* ---------- BAND: every section of a page is one. Plain bands alternate with the page; a rule separates them. ---------- */
.band { padding: 2.5rem 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.band--alt { background: var(--band); }
.band--title { padding: 2.25rem 0 2rem; background: var(--bg); }
.band--title h1 { margin: 0; }
.band--title .lede { margin: 0.75rem 0 0; }
.lede { font-size: clamp(1.15rem, 3.5vw, 1.4rem); color: var(--muted); max-width: 40rem; }
.band > .wrap > h2:first-child { margin-bottom: 1rem; }
.band > .wrap > * + * { margin-top: 1.25rem; }
.band > .wrap > h2 + * { margin-top: 0; }

/* A TINTED FIELD: the open commitment's look. On a band: .band--tint; inside a band: .field. */
.band--tint { background: var(--accent-soft); box-shadow: inset 10px 0 0 var(--accent); }
.band--work { background: var(--work-soft); box-shadow: inset 10px 0 0 var(--work); }
.field { background: var(--accent-soft); border-left: 8px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem; }
.field--work { background: var(--work-soft); border-left-color: var(--work); }
.band--tint .field { background: var(--surface); }

/* A BORDERED CONTAINER: the open thing's look. */
.box { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius); padding: 1.25rem; }
.box--quiet { border-width: 1px; border-color: var(--line); }
.box > h3:first-child { margin-bottom: 0.5rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }

/* LABELLED ROWS: label on the left, its content on the right; a rule between rows. */
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.25rem 1rem; align-items: baseline; padding: 0.75rem 0; border-top: 1px solid var(--line); }
.rows > .row:first-child { border-top: 0; padding-top: 0; }
.rows > .row:last-child { padding-bottom: 0; }
.row__label { color: var(--muted); font-weight: 700; font-size: 1rem; }
.row__body > :last-child { margin-bottom: 0; }
.row > input[type="checkbox"] { grid-column: 2; justify-self: start; width: 1.5rem; height: 1.5rem; accent-color: var(--accent); }

/* A PICTURE OF A SCREEN with its caption: always in a bordered frame, never loose. */
.screen { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem; }
.screen img { border-radius: 10px; box-shadow: 0 0 0 1px var(--line); width: 100%; }
.screen--phone { max-width: 20rem; margin-left: auto; margin-right: auto; }
.screen--wide { max-width: 60rem; margin-left: auto; margin-right: auto; }
.screen figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 1rem; line-height: 1.45; }
@media (prefers-color-scheme: dark) { .screen img { box-shadow: 0 0 0 1px var(--line), 0 8px 24px var(--shade); } }

@media (min-width: 900px) { .wrap > h2 + .screen--phone { margin-left: 0; } }  /* a band that is a heading and its picture only (home, how it works): on a wide screen the frame stands under the heading, on its left, as the split bands' pictures do; on a phone it stays centred like them */

/* A picture beside text: .split > .split__text + .screen. Stacks on phones. */
.split { display: grid; gap: 1.5rem; align-items: center; }
.split__text > * + * { margin-top: 1.25rem; }
.split--top { align-items: start; }
/* The front door's first band sits close under the h1, so its call to action is in the first screenful on a phone. */
.band--title + .band--hero { padding-top: 0.75rem; border-top: 0; }
.band--title:has(+ .band--hero) { padding-bottom: 1.25rem; border-bottom: 0; }
.band--title .notice { margin-top: 1.25rem; max-width: 46rem; }
/* The hero: one paragraph and its button, no picture beside it, so it keeps a reading measure on wide screens. */
.hero { max-width: 42rem; }
.hero > * + * { margin-top: 1.25rem; }
@media (min-width: 900px) {
  .hero .box p { font-size: 1.15rem; }
}
.qa-list > .qa + .qa { margin-top: 0.75rem; }
.qa > h2.qa__q { font-size: 1.15rem; }

/* CALL-TO-ACTION button. */
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.65rem 1.35rem;
  border-radius: 12px; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.cta:hover { filter: brightness(1.08); }
.cta--quiet { background: var(--surface); color: var(--accent); }
.cta--quiet:hover { background: var(--accent-soft); filter: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* A PLAIN LIST: items separated by rules, inside whatever container holds it. */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { padding: 0.65rem 0 0.65rem 1.4rem; border-top: 1px solid var(--line); position: relative; }
.list > li:first-child { border-top: 0; padding-top: 0; }
.list > li:last-child { padding-bottom: 0; }
.box .list + p, .field .list + p { margin-top: 0.9rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }  /* a sentence after a list in a box or field (home, the five questions, the account's name line) */
.box > .actions + p { margin-top: 1rem; }  /* a sentence after the buttons in a box (the 404) */
.box > .form + .form-after { margin-top: 1rem; }  /* a link under a form's button, in the same box (sign-in code page: Start again) */
.list > li::before { content: ""; position: absolute; left: 0.1rem; top: calc(0.65rem + 0.45em); width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 2px solid var(--accent); }
.list > li:first-child::before { top: 0.45em; }
ol.list { counter-reset: n; }
ol.list > li { counter-increment: n; padding-left: 2rem; }
ol.list > li::before { content: counter(n); border: 0; width: auto; height: auto; top: 0.65rem; color: var(--accent); font-weight: 800; }
ol.list > li:first-child::before { top: 0; }

/* QUESTION AND ANSWER: each one a bordered container; the question is an h3. */
.qa { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.qa + .qa { margin-top: 0.75rem; }
.qa__q { font-size: 1.1rem; margin: 0 0 0.4rem; }
.qa__a > :last-child { margin-bottom: 0; }

/* A NOTICE: something the reader must not miss (what is not built yet, a limit). */
.notice { display: block; background: var(--warn-soft); border: 1px solid var(--line); border-left: 6px solid var(--warn); border-radius: var(--radius);
  padding: 0.9rem 1.1rem; color: var(--ink); }
.notice strong:first-child { color: var(--warn); }

/* ---------- the footer ---------- */
.site-foot { background: var(--band); border-top: 1px solid var(--line); padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
.site-foot__in { display: flex; flex-direction: column; gap: 0.75rem; }
.site-foot__name { margin: 0; font-weight: 800; }
.site-foot__note { display: block; font-weight: 400; color: var(--muted); font-size: 1rem; }
.site-foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 0.25rem; }
.site-foot__links a, .linkish { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.6rem 0 0; color: var(--ink); }
.linkish { background: none; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 0.15em; cursor: pointer; }
.site-foot__links a[aria-current="page"] { color: var(--accent); font-weight: 700; }

/* ---------- the consent banner (fleet standard). Fixed to the bottom; re-parented to <body> by site.js. ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--surface); border-top: 2px solid var(--accent);
  box-shadow: 0 -10px 30px var(--shade); padding: 1rem max(var(--gutter), env(safe-area-inset-right, 0px)) calc(1rem + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  max-height: 85vh; overflow-y: auto; }
.consent[hidden], .consent__more[hidden] { display: none; }
.consent > * { max-width: 68rem; margin-left: auto; margin-right: auto; }
.consent__title { font-size: 1.05rem; margin-bottom: 0.25rem; }
.consent__body p { font-size: 1rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin-top: 0.6rem; }
.consent__actions .cta { flex: 1 1 8rem; min-height: 44px; padding: 0.5rem 1rem; }
/* Customize is a quiet link after the two equal choices, so the notice stays short on a phone. */
.consent__link { flex: 1 1 100%; min-height: 2.5rem; background: none; border: 0; padding: 0.25rem 0.5rem; font: inherit; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 0.15em; cursor: pointer; }
.consent__more { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 0.75rem; }
.consent__more .row { grid-template-columns: 6rem 1fr; }

/* ---------- wider screens ---------- */
@media (min-width: 480px) {
  :root { --gutter: 1.25rem; }
  .band { padding: 3rem 0; }
}
@media (min-width: 768px) {
  :root { --gutter: 1.5rem; }
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 18rem; gap: 2.5rem; }
  .split--flip { grid-template-columns: 18rem 1fr; }
  .split--flip > .screen { order: -1; }
  .split--pic-first > :first-child { order: 1; } /* picture first in the page (the copy's order, and on phones), on the right when wide */
  .row { grid-template-columns: 7rem 1fr; }
  .site-foot__in { flex-direction: row; justify-content: space-between; align-items: center; }
  .consent { display: grid; grid-template-columns: 1fr auto; gap: 0 1.5rem; align-items: center; }
  .consent > * { max-width: none; margin: 0; }
  .consent__more { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  :root { --gutter: 2rem; }
  .band { padding: 3.5rem 0; }
  .band--title { padding: 3rem 0 2.5rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 20rem; gap: 3rem; }
  .split--flip { grid-template-columns: 20rem 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { transition: transform 0.15s ease, background 0.15s ease; }
}
@media print {
  .site-head, .consent, .skip-link { display: none; }
  .band { padding: 1rem 0; }
}

/* Below 360 px the header holds the name, "Try it" and the menu button with only a few px to spare: drop the
   visible word "Menu" there (the button keeps its aria-label and its bars, and stays 44 px). */
@media (max-width: 359px) { .menu-btn__word { display: none; } }
/* The header button reads "Try it free" since 0.7.0: keep it on one line; below 360 px it takes less padding so the
   name, the button and the menu still fit in one 320 px row (checker, 26 Nov: it wrapped to two lines and touched the top). */
@media (max-width: 768px) { .site-head .head-try { white-space: nowrap; } }
@media (max-width: 359px) { .site-head .head-try { padding-left: 0.7rem; padding-right: 0.7rem; } }

/* ---------- FORMS (accounts). A form sits in a .box; labels above fields; hints and errors in words, tied to the
   field by aria-describedby; the list of errors at the top links to each field. ---------- */
.form { display: grid; gap: 1.1rem; max-width: 34rem; }
.form--inline { display: inline-block; margin: 0.25rem 0; }
.form__field { display: grid; gap: 0.35rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.form__field[hidden] { display: none; }   /* link codes (26 Nov): assets/js/link-code.js hides the code field it filled */
.form__label { font-weight: 700; padding: 0; }
.form__hint { color: var(--muted); font-size: 1rem; margin: 0; }
.form__error { color: #b3261e; font-weight: 700; margin: 0; }
.form__error::before { content: "Error: "; }
.form__input { width: 100%; min-height: 48px; padding: 0.6rem 0.75rem; font: inherit; color: var(--ink); background: var(--surface);
  border: 2px solid var(--muted); border-radius: 10px; }
.form__input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form__field--error .form__input, .form__input[aria-invalid="true"] { border-color: #b3261e; }
.form__row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.form__part { display: grid; gap: 0.25rem; }
.form__part select.form__input { min-width: 10rem; }
.form__input--short { width: 4.5rem; }
.form__input--year { width: 6rem; }
.form__check { display: flex; gap: 0.6rem; align-items: flex-start; }
.form__check input { width: 1.5rem; height: 1.5rem; margin: 0.1rem 0 0; flex: none; accent-color: var(--accent); }
.form__guard { min-height: 1px; }
.form__summary { border: 2px solid #b3261e; border-radius: 10px; padding: 1rem; margin-bottom: 1.1rem; }
.form__summary:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.form__summary-title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.form__summary ul { margin: 0; padding-left: 1.25rem; }
.form__summary a { color: #b3261e; font-weight: 700; }
.cta--danger { background: #b3261e; border-color: #b3261e; color: #ffffff; }
button.cta:disabled { opacity: .5; cursor: not-allowed; }
.notice--ok { background: var(--work-soft); border-left-color: var(--work); }
.wrap > .notice + .box, .wrap > .box + .box, .wrap > .field + .box, .wrap > .box + .actions, .wrap > .notice + .notice,
.wrap > .box + .notice, .wrap > .notice + .field, .wrap > .field + .actions, .wrap > .form__summary + .notice { margin-top: 1rem; }
.box .form--inline + .form__hint { margin-top: 0.75rem; }
/* The fleet show-password button. */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 3rem; }
.pw-toggle { position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); min-width: 44px; min-height: 44px;
  background: none; border: 0; cursor: pointer; color: inherit; display: inline-flex; align-items: center; justify-content: center; }
.pw-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.pw-toggle[aria-pressed="true"] { color: var(--accent); }
/* The honeypot (fleet recipe): off-screen, never display:none. */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-color-scheme: dark) {
  .form__error, .form__summary a { color: #ff8a80; }
  .form__summary, .form__field--error .form__input, .form__input[aria-invalid="true"] { border-color: #ff8a80; }
}

/* ======================================================================================================
   ART: the drawn pictures (inline svg scenes from includes/art/, placed with art('name')). See FRAME.md, "Art".
   Every colour comes from the tokens above, so each picture follows the light and the dark look by itself.
   No style attributes anywhere: shapes take these classes; stroke-width, rx and the like are svg attributes.
   ====================================================================================================== */
.art { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem; }
.art__pic { display: block; }
.art__svg { display: block; width: 100%; height: auto; max-width: 30rem; margin: 0 auto; overflow: visible; fill: none; stroke: none; }
/* fill:none and stroke:none here beat the svg root's fallback attributes (fill="none" stroke="currentColor", text
   fill="currentColor"), which only show when the stylesheet does not load: outlines and readable words, not black blocks. */
.art__cap { margin-top: 0.75rem; padding-top: 0.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; line-height: 1.45; }
.art--side { max-width: 22rem; width: 100%; margin-left: auto; margin-right: auto; }

/* the drawing's fills, strokes and text */
.a-f-bg { fill: var(--bg); }           .a-s-bg { stroke: var(--bg); }
.a-f-band { fill: var(--band); }       .a-s-line { stroke: var(--line); }
.a-f-surface { fill: var(--surface); } .a-s-surface { stroke: var(--surface); }
.a-f-line { fill: var(--line); }       .a-s-muted { stroke: var(--muted); }
.a-f-muted { fill: var(--muted); }     .a-s-ink { stroke: var(--ink); }
.a-f-ink { fill: var(--ink); }
.a-f-work { fill: var(--work); }       .a-s-work { stroke: var(--work); }
.a-f-work-soft { fill: var(--work-soft); }
.a-f-accent { fill: var(--accent); }   .a-s-accent { stroke: var(--accent); }
.a-f-accent-soft { fill: var(--accent-soft); }
.a-t { font-family: var(--ui); font-size: 14px; font-weight: 600; fill: var(--ink); }
.a-t--label { fill: var(--muted); font-weight: 700; }
.a-t--strong { fill: var(--ink); font-weight: 700; }
.a-t--ghost { fill: var(--muted); font-style: italic; font-weight: 600; }
.a-t--title { font-size: 17px; font-weight: 800; }
.a-t--big { font-size: 19px; font-weight: 800; }
.a-t--work { fill: var(--work); font-weight: 700; }
.a-t--accent { fill: var(--accent); font-weight: 700; }

/* the versus picture: two halves, stacked on phones, side by side from 900 px with a quiet "versus" between */
.vs__halves { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
.vs__half { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem; display: flex; flex-direction: column; }
.vs__half--today { background: var(--band); }
.vs__head { margin: 0 0 0.6rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.vs__half .art__pic { flex: 1 1 auto; display: flex; align-items: center; }
.vs__or { margin: 0; display: flex; align-items: center; justify-content: center; gap: 0.75rem; color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.vs__or::before, .vs__or::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); max-width: 6rem; }
.vs__or span { padding: 0.15rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--band); }
.art.vs { background: none; border: 0; border-radius: 0; padding: 0; }  /* the halves are the frames */
.vs .art__svg { max-width: 22rem; }  /* picture words stay near body size above phone width (14 units = 16.4 px at most) */
.vs .art__cap { text-align: center; margin-top: 0.75rem; padding: 0.6rem 0.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }  /* the caption in its own strip: nothing loose */
/* The versus picture's caption is Damian's own sentence: read as text, at body size or larger, in its own block. */
.vs .art__cap--lead { color: var(--ink); font-size: 1.15rem; font-weight: 600; line-height: 1.5; padding: 0.9rem 1.1rem; border-width: 2px; border-color: var(--work); max-width: 48rem; margin-left: auto; margin-right: auto; }
@media (min-width: 900px) {
  .vs__halves { grid-template-columns: 1fr auto 1fr; gap: 1rem; }
  .vs__or { flex-direction: column; }
  .vs__or::before, .vs__or::after { width: 1px; height: auto; min-height: 3rem; max-width: none; }
}
.a-t--onwork { fill: var(--surface); font-weight: 700; }

/* ---------- Two-step sign-in (0.6.0): the square code, the key to type, the recovery codes ---------- */
/* The square code is drawn by the site (includes/qr.php) as black on white whatever the look, because a camera
   needs the contrast; the frame keeps it a bordered container (nothing loose). */
.qr-frame { margin: 0 auto; background: #ffffff; border: 2px solid var(--accent); border-radius: var(--radius);
  padding: 0.75rem; width: 100%; max-width: 16rem; }
.qr { display: block; width: 100%; height: auto; }
.secret code { display: block; font-size: 1.2rem; line-height: 1.6; letter-spacing: 0.06em; word-spacing: 0.35em;
  overflow-wrap: anywhere; user-select: all; }
.codes code { font-size: 1.15rem; letter-spacing: 0.06em; user-select: all; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
@media print {
  .site-head, .site-foot, .consent, .actions, .skip-link { display: none !important; }
}

/* ---------- THE REVAMP (2026-11-25 deck): the home page's hero with the product beside it, the four scenes, the three
   steps, the founder note, the "more" links. Every block is a container from above (box, field), never loose. ---------- */
/* A short line above the h1 (home: who it is for). */
.eyebrow { margin: 0 0 0.5rem; color: var(--accent); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; }
/* The hero: the paragraph, the button and its small note in one box; the first screen beside it on wide screens,
   under it on phones. */
.hero-box p { font-size: 1.1rem; }
.hero-box > .actions { margin-top: 1.25rem; }
.hero-box > .actions + .hero-box__note { margin-top: 0.75rem; padding-top: 0; font-size: 1rem; color: var(--muted); }
.split--hero { align-items: start; }
/* Four scenes, two by two on wide screens: each a quiet box with its heading. */
.scenes > .box > h3 { font-size: 1.1rem; margin: 0 0 0.4rem; }
.scenes > .box > p { margin: 0; }
/* The three steps: each a box with its heading, its sentence and its picture; the picture sits at the box's foot. */
.steps { align-items: stretch; }
.step { display: flex; flex-direction: column; gap: 0.75rem; }
.step > h3 { margin: 0; font-size: 1.15rem; }
.step > p { margin: 0; }
.step > .screen { margin-top: auto; }   /* the two phones line up at the foot of their boxes; the drawn offer follows its words */
.step > .screen--phone { max-width: 17rem; width: 100%; }
/* A link that leads on ("See a whole Monday", "Not ready? ..."), set in .actions beside or after a button. */
.more-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--accent); text-underline-offset: 0.15em; }
/* The founder note and the about page: his words in a box, his name under them. */
.founder > p { margin: 0; }
.founder > p + p { margin-top: 0.9rem; }
.founder > .founder__sig { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--line); font-weight: 700; }
.founder > .founder__sig + .founder__more { margin-top: 0.25rem; }
.prose { max-width: 44rem; }
.prose > p { font-size: 1.1rem; }
@media (min-width: 768px) {
  .split--hero { grid-template-columns: 1fr 18rem; }
}
@media (min-width: 900px) {
  .split--hero { grid-template-columns: 1fr 20rem; }
  .hero-box p { font-size: 1.2rem; }
}

/* ---------- THE HERO PAIR (2026-11-26): a laptop with a phone overlapping in front of it, both in device frames ---------- */
.pair { position: relative; width: 100%; max-width: 46rem; margin: 0 auto; padding-bottom: 2.5rem; }
.pair__laptop { width: 88%; }
.pair__lid { background: #14121f; border: 1px solid #3a3652; border-radius: 14px 14px 4px 4px; padding: 2.2% 2.2% 2.6%; box-shadow: 0 14px 34px var(--shade); }
.pair__lid img { display: block; width: 100%; height: auto; border-radius: 3px; }
.pair__base { height: 0.9rem; margin: 0 -4%; background: linear-gradient(#cfcbe0, #aaa5c2); border-radius: 0 0 14px 14px; box-shadow: 0 6px 14px var(--shade); }
.pair__phone { position: absolute; right: 0; bottom: 0; width: 31%; background: #14121f; border: 1px solid #3a3652; border-radius: 22px; padding: 2.4% 2.4% 2.8%; box-shadow: 0 14px 34px var(--shade), 0 0 0 3px var(--bg); }
.pair__phone img { display: block; width: 100%; height: auto; border-radius: 15px; }
.hero-pair { margin-top: 2rem; }
/* The proof-of-concept band and the hero line under the headline. */
.hero-lead { font-size: 1.25rem; margin: 0.5rem 0 0; }
.poc p { margin: 0; font-size: 1.1rem; }
.poc strong { color: var(--accent); }
@media (min-width: 900px) { .hero-lead { font-size: 1.4rem; } }
.step > h2 { margin: 0; font-size: 1.15rem; }
.split--pair { align-items: center; gap: 2rem; }
.split--pair .pair { margin-top: 1.5rem; }
@media (min-width: 900px) { .split--pair { grid-template-columns: 5fr 7fr; } .split--pair .pair { margin-top: 0; } }
/* 0.7.2: between 768 and 899 px the general .split rule gave the pair an 18rem column (a laptop screen 240 px wide);
   it stacks under the words there instead, as on phones, so it shows at its full 46rem. */
@media (min-width: 768px) and (max-width: 899px) { .split--pair { grid-template-columns: 1fr; } }
/* 0.7.2: the phone sat high enough to hide the right half of the laptop's open thing (its when and why). It is a
   little narrower and hangs lower, so it covers only the empty part of the wide screen under the open thing. */
.pair { padding-bottom: 15%; }
.pair__phone { width: 28%; }
