/* Hallmark · shape: stage, then a list-and-detail of the working app · genre: editorial · theme: brand · redesign: full
 * paper: oklch(98.6% 0.004 20) · accent: oklch(55% 0.195 20) · display: Google Sans Flex · body: Google Sans Flex · hero: Stage on / (text on six columns, the old carousel of screenshots on six), Banner on /download (the places to get it start above the fold) · nav: see site.css · footer: see site.css · signature: the real screens beside the line, on the carousel the old site had, then the main features in the README's own words
 * axes: light/geometric-sans/chromatic-coral · posture: Restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: S, a plain list of features could be any app's; the real screens and the live numbers carry the specificity */
/* The homepage and the download page (18 Nov 2026, direction A): what they add to site.css. */
/* The first screen: the line, the button, where else to get it, and the app itself beside it. */
.hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center;
  min-height: calc(100dvh - 72px - var(--kao-h, 37px)); padding-block: var(--space-lg) var(--space-2xl); }
.hero .text { display: grid; gap: var(--space-lg); justify-items: start; }
.news { display: inline-flex; gap: var(--space-xs); flex-wrap: wrap; font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none; }
.news b { color: var(--color-accent); font-weight: 650; }
.news:hover span { text-decoration: underline; text-underline-offset: 0.2em; }
.hero h1 { font-size: var(--text-display-s); line-height: 1.04; max-width: 17ch; }
.hero .lead { color: var(--color-ink-2); margin-top: calc(-1 * var(--space-xs)); }
.get { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; margin-top: var(--space-xs); }
.btn { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 52px; padding: 0 var(--space-lg); border-radius: 12px;
  background: var(--color-accent); color: var(--color-accent-ink); font-weight: 650; font-size: 1.0625rem; text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn .i { width: 22px; height: 22px; }
.btn:hover { background: color-mix(in oklab, var(--color-accent) 86%, var(--color-ink)); }
.btn:active { transform: translateY(1px); }
.get .meta { color: var(--color-muted); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.also, .facts { color: var(--color-ink-2); font-size: 0.9375rem; max-width: 46ch; }
.also a { color: var(--color-ink); }
.also a:hover { color: var(--color-accent); }
.facts { color: var(--color-muted); }
.warn { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: 0.9375rem; color: var(--color-ink); text-wrap: balance; }
.warn .i { width: 20px; height: 20px; color: var(--color-accent); }
.warn:hover { color: var(--color-accent); }
/* The app, screen by screen (18 Nov 2026, Mel: "I liked the previous picture carousel"): the old homepage's carousel,
   its script unchanged (assets/home.js), in the redesign's look: the screenshots as they are, no bezel, no glow under
   them, plain buttons. Seven phones fanned out; the one in front opens full size. */
.showcase { width: 100%; min-width: 0; }
.carousel { position: relative; height: clamp(460px, 44vw, 640px); touch-action: pan-y; cursor: grab; outline: none; overscroll-behavior-x: contain;
  -webkit-user-select: none; user-select: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, var(--color-ink) 9%, var(--color-ink) 91%, transparent); mask-image: linear-gradient(to right, transparent, var(--color-ink) 9%, var(--color-ink) 91%, transparent); }
.carousel.dragging { cursor: grabbing; }
.carousel:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.cs { position: absolute; left: 50%; bottom: 4%; width: clamp(170px, 19vw, 260px); margin-left: calc(clamp(170px, 19vw, 260px) / -2); padding: 0; border: 0; border-radius: 22px;
  background: var(--color-paper-3); font: inherit; cursor: inherit; transform-origin: 50% 100%; outline: 1px solid color-mix(in oklab, var(--color-ink) 14%, transparent); outline-offset: -1px; }
.cs img { display: block; width: 100%; height: auto; aspect-ratio: 1344 / 2992; border-radius: 22px; pointer-events: none; -webkit-user-drag: none; }
.cs.front { cursor: zoom-in; }
.cs:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.cnav { display: flex; align-items: center; justify-content: center; gap: var(--space-md); margin-top: var(--space-sm); }
.ccap { min-width: 9rem; text-align: center; font-size: 0.9375rem; color: var(--color-muted); }
.arrow { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--color-rule); border-radius: 10px; background: var(--color-paper); color: var(--color-ink); cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out); }
.arrow .i { width: 22px; height: 22px; }
.arrow:hover { border-color: var(--color-muted); }
.arrow:active { transform: translateY(1px); }
/* A screenshot full size, over the page (the old viewer, as it worked): arrows, a swipe, a sideways wheel or the
   keys move through them, Esc closes. On a dark scrim, without the frosted glass and the frame it had. */
.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-sm);
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  background: var(--color-scrim); opacity: 0; transition: opacity var(--dur-short) var(--ease-out); touch-action: pan-y; overflow: hidden; }
.lightbox.open { opacity: 1; }
.lightbox:not(.open) { pointer-events: none; }
.lb-stage { align-self: stretch; min-width: 0; display: grid; place-items: center; cursor: grab; user-select: none; -webkit-user-select: none;
  transform: scale(.97); transition: transform var(--dur-short) var(--ease-out); }
.lightbox.open .lb-stage { transform: none; }
.lightbox.dragging .lb-stage { cursor: grabbing; }
.lb-slide { grid-area: 1 / 1; width: 100%; margin: 0; display: grid; justify-items: center; gap: var(--space-sm); min-width: 0; }
.lb-slide img { display: block; width: min(100%, calc((100svh - 120px) * 1080 / 2404)); height: auto; aspect-ratio: 1080 / 2404; border-radius: 26px; -webkit-user-drag: none; }
.lb-slide figcaption { color: var(--color-on-scrim); font-size: 0.9375rem; }
.lightbox button { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid color-mix(in oklab, var(--color-on-scrim) 32%, transparent); border-radius: 10px;
  background: transparent; color: var(--color-on-scrim); cursor: pointer; z-index: 1; transition: border-color var(--dur-short) var(--ease-out); }
.lightbox button .i { width: 24px; height: 24px; }
.lightbox button:hover { border-color: var(--color-on-scrim); }
.lightbox button:focus-visible { outline: 2px solid var(--color-on-scrim); outline-offset: 2px; }
.lb-close { position: absolute; top: max(18px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); }
:root { --color-scrim: oklch(13% 0.01 20 / 0.94); --color-on-scrim: oklch(97% 0.004 20); }

/* A section's head: the heading on the left half, its one line on the right, baselines together. */
.sec { padding-block: var(--section-gap) 0; }
.sec.l { padding-top: var(--section-gap-l); }
/* Wide screens (his "big blank space here", 21 Nov 2026): the first screen grew with the window while what is in it
   stops at its own size, and both paddings came on top of what was left, 312 px at 1920x1060 and 482 at 2560x1400
   before "What it does". Capped, with smaller paddings between the two: about 160 to 200 at every size, as the
   page's other sections are apart. Phones (under 60rem) are as they were. After .sec.l, which it overrides. */
@media (min-width: 60.01rem) {
  .hero { min-height: min(calc(100dvh - 72px - var(--kao-h, 37px)), 860px); padding-bottom: var(--space-lg); }
  .hero + .sec { padding-top: var(--section-gap-s); }
}
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.sec-head h2 { grid-column: 1 / 8; }
.sec-head .lead { grid-column: 8 / 13; color: var(--color-ink-2); }
.sec-head .lead a { color: var(--color-ink); }

/* What it does: the main features in the README's own words, two lines each, plain (Mel, 18 Nov: "Just describe
   the main features, that's all"). */
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.feats li { padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.feats h3 { font-size: var(--text-title); margin-bottom: var(--space-xs); }
.feats p { color: var(--color-ink-2); }
.more { margin-top: var(--space-xl); }
.more a { color: var(--color-ink); }


/* What's new: the versions as a dated list, and the three counts the function keeps up to date. */
.news-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); }
.news-grid .side { display: grid; gap: var(--space-md); align-content: start; }
.news-grid .side .lead { color: var(--color-ink-2); }
.news-grid .side a { color: var(--color-ink); }
.vers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.vers a { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: var(--space-lg); align-items: baseline; padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); text-decoration: none; color: var(--color-ink-2); }
.vers a:hover { color: var(--color-ink); }
.vers a:hover .v { color: var(--color-accent); }
.vers .v { font-size: var(--text-title); font-weight: 650; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.vers time { color: var(--color-muted); font-size: var(--text-sm); white-space: nowrap; font-variant-numeric: tabular-nums; }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-3xl) 0 0; }
.figs div { padding-inline: var(--space-lg); border-left: 1px solid var(--color-rule); }
.figs div:first-child { padding-left: 0; border-left: 0; }
.figs dt { font-size: var(--text-display-s); font-weight: 620; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.figs dd { margin: var(--space-sm) 0 0; color: var(--color-muted); font-size: 0.9375rem; max-width: 30ch; }

/* Commits a day: neutral bars, a stronger shade on release days, the day under the pointer in coral with its numbers. */
.days { margin: var(--space-2xl) 0 0; }
.days .plot { position: relative; }
.days svg { width: 100%; height: 120px; display: block; touch-action: pan-y; }
.days rect { fill: color-mix(in oklab, var(--color-ink) 22%, transparent); }
.days rect.r { fill: color-mix(in oklab, var(--color-ink) 55%, transparent); }
.days rect.on { fill: var(--color-accent); }
.days svg:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.days .tip { position: absolute; bottom: calc(100% + var(--space-xs)); transform: translateX(-50%); padding: var(--space-2xs) var(--space-sm); border-radius: 8px;
  background: var(--color-ink); color: var(--color-paper); font-size: var(--text-sm); white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
.days .months { position: relative; height: 1.5em; margin-top: var(--space-xs); border-top: 1px solid var(--color-rule); }
.days .months span { position: absolute; top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
.days figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

/* Good to know: four answers in rows, then Ask for the rest. */
.know { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); }
.know .side { display: grid; gap: var(--space-md); align-content: start; }
.know .side .lead { color: var(--color-ink-2); }
.qa { border-top: 1px solid var(--color-rule); }
.q { display: grid; gap: var(--space-md); padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.q p { max-width: 64ch; color: var(--color-ink-2); }
.q p b { color: var(--color-ink); font-weight: 650; }
.where { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.where .q-label { width: 100%; font-size: var(--text-sm); color: var(--color-muted); }
.where button { min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: 10px; background: var(--color-paper); color: var(--color-ink); font: inherit; font-size: 0.9375rem; cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.where button:hover { border-color: var(--color-muted); }
.where button:active { transform: translateY(1px); }
.where button.on { border-color: var(--color-ink); background: var(--color-paper-2); font-weight: 650; }
.verdict { font-weight: 600; }
.verdict.ok { color: var(--color-success); }
.verdict.no { color: var(--color-error); }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-sm); }
.steps li::before { content: counter(s); grid-row: 1 / 3; font-size: var(--text-title); font-weight: 650; color: var(--color-accent); line-height: 1.1; font-variant-numeric: tabular-nums; }
.steps b { font-weight: 650; }
.steps span { color: var(--color-muted); font-size: 0.9375rem; }

/* Join in: one sentence, then the four ways side by side. */
.join .statement { font-size: var(--text-section); max-width: 24ch; margin-bottom: var(--space-2xl); }
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.way { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-sm); row-gap: var(--space-3xs); align-content: start; padding: var(--space-lg); border-left: 1px solid var(--color-rule); color: var(--color-ink); text-decoration: none; }
.way:first-child { border-left: 0; padding-left: 0; }
.way .i { grid-row: 1 / 3; width: 24px; height: 24px; color: var(--color-accent); }
.way b { font-weight: 650; }
.way small { color: var(--color-muted); font-size: 0.9375rem; line-height: 1.45; }
.way:hover b { color: var(--color-accent); }
.don { margin-top: var(--space-lg); color: var(--color-muted); font-size: 1rem; max-width: 70ch; }
.don a { color: var(--color-ink); }

/* The download page: the button and the facts, the places to get it, and what can stop an install. */
#where { padding-top: var(--section-gap-s); }
.dl-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; padding-block: var(--space-3xl) var(--space-xl); }
.dl-hero .text { display: grid; gap: var(--space-lg); justify-items: start; }
.dl-hero h1 { font-size: var(--text-display); }
.dl-hero .note { color: var(--color-ink-2); max-width: 52ch; }
.dl-hero .note a { color: var(--color-ink); }
.spec { margin: 0; border-top: 1px solid var(--color-rule); }
.spec div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.spec dt { color: var(--color-muted); }
.spec dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.scan { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--space-lg); align-items: center; margin-top: var(--space-xl); }
.scan svg { width: 112px; height: 112px; }
.scan p { color: var(--color-ink-2); font-size: 0.9375rem; }
.qr-bg { fill: var(--color-qr-bg); }
.qr-ink { fill: var(--color-qr-ink); }
.places { width: 100%; border-collapse: collapse; }
.places th, .places td { text-align: left; vertical-align: baseline; padding: var(--space-md) var(--space-lg) var(--space-md) 0; border-bottom: 1px solid var(--color-rule); }
.places thead th { padding-block: 0 var(--space-sm); font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); }
.places tbody tr:first-child th, .places tbody tr:first-child td { border-top: 1px solid var(--color-rule); }
.places tbody th { font-size: var(--text-title); font-weight: 650; white-space: nowrap; width: 22%; }
.places td { color: var(--color-ink-2); }
.places td:last-child { padding-right: 0; text-align: right; white-space: nowrap; }
.places td a { color: var(--color-accent); font-weight: 650; }
.after { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 70ch; }
.verify { margin-top: var(--space-md); }
.verify summary { cursor: pointer; font-weight: 650; padding-block: var(--space-xs); }
.situ { width: 100%; border-collapse: collapse; margin-block: var(--space-md); }
.situ th, .situ td { text-align: left; vertical-align: top; padding: var(--space-sm) var(--space-lg) var(--space-sm) 0; border-bottom: 1px solid var(--color-rule); font-size: 0.9375rem; }
.situ th { font-weight: 650; width: 40%; }
.situ thead th { font-weight: 400; color: var(--color-muted); font-size: var(--text-sm); }
.situ td { color: var(--color-ink-2); }
.situ a, .verify a { color: var(--color-accent); }
.verify ol { padding-left: var(--space-lg); color: var(--color-ink-2); display: grid; gap: var(--space-2xs); max-width: 70ch; }
.verify p { color: var(--color-ink-2); margin-top: var(--space-sm); max-width: 70ch; }
.verify code { font-family: var(--font-mono); font-size: 0.9em; }

@media (max-width: 75rem) {
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: var(--space-xl); padding-top: var(--space-xl); }
  .showcase { max-width: 640px; }
  .carousel { height: 500px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .sec-head h2, .sec-head .lead { grid-column: 1 / -1; }
  .news-grid, .know { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .figs { margin-top: var(--space-2xl); }
  .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .way:nth-child(3) { border-left: 0; padding-left: 0; }
  .way:nth-child(n + 3) { border-top: 1px solid var(--color-rule); }
  .dl-hero { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); padding-top: var(--space-2xl); }
}
@media (max-width: 40rem) {
  .hero h1 { font-size: 2.25rem; }
  .carousel { height: 440px; }
  .cs { width: 180px; margin-left: -90px; border-radius: 16px; }
  .cs img { border-radius: 16px; }
  .lightbox { grid-template-columns: minmax(0, 1fr); }
  .lb-prev, .lb-next { position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .lb-slide img { width: min(100%, calc((100svh - 170px) * 1080 / 2404)); }
  .vers a { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--space-3xs); }
  .vers .w { grid-column: 1 / -1; grid-row: 2; }
  .figs { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .figs div, .figs div:first-child { padding: 0; border-left: 0; }
  .figs div + div { padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .way, .way:first-child, .way:nth-child(3) { border-left: 0; padding: var(--space-md) 0; }
  .way + .way { border-top: 1px solid var(--color-rule); }
  .places thead { display: none; }
  .places tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-md); padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
  .places tbody tr:first-child { border-top: 1px solid var(--color-rule); }
  .places th, .places td, .places tbody tr:first-child th, .places tbody tr:first-child td { border: 0; padding: 0; width: auto; }
  .places td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; padding-top: var(--space-2xs); }
  .places td:last-child { grid-column: 2; grid-row: 1; }
  .spec div { grid-template-columns: 7.5rem minmax(0, 1fr); }
  .scan { display: none; }
  .situ, .situ tbody, .situ tr, .situ th, .situ td { display: block; width: auto; }
  .situ thead { display: none; }
  .situ tr { padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
  .situ th, .situ td { border: 0; padding: 0; }
}
@media (max-width: 40rem) { .feats { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); } }

/* What's new: the newest major version, big, with its release cover (Mel's pick of 1 Dec 2026, C). Flat on purpose, between
   the same lines as the others: "gradients make it look too vibecoded". Written by tools/site/bake.mjs, kept by live.js. */
.vers .major a { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: auto auto 1fr; gap: var(--space-md) var(--space-xl); align-items: start; padding-block: var(--space-lg); }
.vers .major .v { grid-area: 1 / 1; font-size: clamp(4rem, 6vw, 6.5rem); font-weight: var(--display-weight); letter-spacing: -0.045em; line-height: 0.95; }
.vers .major .w { grid-area: 2 / 1; font-size: var(--text-lead); line-height: 1.35; color: var(--color-ink); }
.vers .major time { grid-area: 3 / 1; align-self: end; }
.vers .major .cv { grid-area: 1 / 2 / 4 / 3; display: block; width: 100%; height: auto; border: 1px solid var(--color-rule); border-radius: 10px; }
@media (max-width: 40rem) {
  .vers .major a { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: none; }
  .vers .major .w { grid-area: 2 / 1 / 3 / 3; }
  .vers .major time { grid-area: 1 / 2; }
  .vers .major .cv { grid-area: 3 / 1 / 4 / 3; }
}
