/* Generated from taimai-theme (GUI palettes are the single source of truth). */
:root {
  color-scheme: light dark;
  --bg: #f8f5ee; --surface: #ffffff; --stripe: #efebe2; --fg: #12262b; --muted: #445459;
  --primary: #0f766e; --primary-hover: #0a5a54; --on-primary: #ffffff; --hover: #ddd8c8; --selected: #c3e1db;
  --edge: #6f7f83; --sep: #c9c3b3; --focus: var(--primary); --band: #0b1a1f; --tint: #e4ecea;
  --warn: #93410a; --danger: #ae3a08; --ok: #2b7346;
  --wash-a: #e3efeb; --wash-b: #f6e9cf; --glass: #f8f5eed9; --hl: #ffffff44;
  --emboss: linear-gradient(180deg, #fff3, #0003); --deboss: linear-gradient(180deg, #0004, #fff2); --recess: inset 0 1px 2px #0004;
  --shade: 0 1px 0 #12262b0f, 0 40px 80px -28px #12262b4d, 0 12px 24px -12px #12262b26; --glow: #0f766e33;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1a1f; --surface: #12272e; --stripe: #16252a; --fg: #e3eee8; --muted: #b0c0be;
    --primary: #2dd4bf; --primary-hover: #5eead4; --on-primary: #04201c; --hover: #244552; --selected: #1d5457;
    --edge: #6a8890; --sep: #2f4a54; --focus: var(--primary); --band: #102a31; --tint: #0f2229;
    --warn: #f0a64b; --danger: #f0794a; --ok: #6bbf8a;
    --wash-a: #0f3a3d; --wash-b: #13283a; --glass: #0b1a1fd9; --hl: #ffffff0f;
    --shade: 0 0 0 1px #2f4a54, 0 40px 140px -30px #2dd4bf47, 0 20px 40px -20px #000000b3; --glow: #2dd4bf38;
  }
}
@media (prefers-contrast: more) {
  :root {
    --bg: #ffffff; --surface: #ffffff; --stripe: #f5f5f5; --fg: #0a1a1f; --muted: #333333;
    --primary: #004d66; --primary-hover: #003344; --on-primary: #ffffff; --hover: #d6d6d6; --selected: #b3d9e8;
    --edge: #4a4a4a; --sep: #a0a0a0; --focus: var(--primary); --band: #03111a; --tint: #f5f5f5;
    --warn: #6b2f00; --danger: #8a1600; --ok: #0b5a2a;
    --wash-a: #f5f5f5; --wash-b: #f5f5f5; --glass: #fffffff2; --hl: transparent;
    --emboss: none; --deboss: none; --recess: none; --shade: none; --glow: transparent;
  }
}
@media (prefers-color-scheme: dark) and (prefers-contrast: more) {
  :root {
    --bg: #03111a; --surface: #06161e; --stripe: #0d1b24; --fg: #ffffff; --muted: #e0e8ea;
    --primary: #5ff0ff; --primary-hover: #8cf5ff; --on-primary: #00141a; --hover: #1f3d4d; --selected: #00506e;
    --edge: #8fb0bb; --sep: #4a6874; --focus: var(--primary); --band: #06161e; --tint: #06161e;
    --warn: #ffd24a; --danger: #ff9a80; --ok: #7dffa0;
    --wash-a: #06161e; --wash-b: #06161e; --glass: #03111af2; --hl: transparent;
    --emboss: none; --deboss: none; --recess: none; --shade: none; --glow: transparent;
  }
}

.emblem { background: radial-gradient(80% 90% at 50% 0%, #2dd4bf38, transparent) #0b1a1f; color: #e3eee8; }
.band { --fg: #e3eee8; --muted: #b0c0be; --primary: #2dd4bf; --primary-hover: #5eead4; --on-primary: #04201c; --hover: #244552; --edge: #6a8890; --focus: #2dd4bf; --surface: #12272e; --stripe: #16252a; --hl: #ffffff1a; background: radial-gradient(60% 120% at 85% 0%, #2dd4bf2e, transparent 70%) var(--band); color: var(--fg); border-block-start: 1px solid #2f4a54; }
@media (prefers-contrast: more) {
  .band { --fg: #ffffff; --muted: #e0e8ea; --primary: #5ff0ff; --primary-hover: #8cf5ff; --on-primary: #00141a; --hover: #1f3d4d; --edge: #8fb0bb; --focus: #5ff0ff; --surface: #06161e; --stripe: #0d1b24; --hl: transparent; background: var(--band); border-block-start-color: #4a6874; }
  .emblem { background: #03111a; color: #ffffff; border: 1px solid var(--edge); }
}

/* Layout scale tokens (colour tokens are prepended at build time from `taimai-theme`). */
:root {
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 1rem; --s-4: 1.5rem; --s-5: 2rem; --s-6: 3rem;
  --section: clamp(3rem, 7vw, 5.5rem);
  --measure: 70rem; --prose: 45rem; --gutter: max(var(--s-3), calc((100% - var(--measure)) / 2));
}

* { box-sizing: border-box; }
html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Hiragino Sans", "Yu Gothic UI", sans-serif; line-height: 1.6; scroll-padding-block-start: 5rem; }
:lang(ja) { line-height: 1.85; }
body { overflow-wrap: anywhere; margin: 0; background: var(--bg); color: var(--fg); }
#app { min-block-size: 100vh; display: flex; flex-direction: column; }
ul { list-style: none; margin: 0; padding: 0; }
nav ul { display: flex; gap: var(--s-1); }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.06; margin-block: 0 var(--s-3); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.12; font-weight: 600; margin-block: var(--s-6) var(--s-3); }
h3 { font-size: 1.125rem; line-height: 1.35; margin-block: 0 var(--s-2); }
:lang(ja) h1, :lang(ja) h2 { font-weight: 700; line-height: 1.35; word-break: auto-phrase; }
.dim { color: var(--muted); }
.lede { font-size: clamp(1.125rem, 1.8vw, 1.3125rem); color: var(--muted); max-inline-size: var(--prose); }
.ico { inline-size: 1.125rem; block-size: 1.125rem; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-inline-end: var(--s-2); }

/* Frame: header, main and footer span the window; their content sits in the measure. A .bleed section
   paints the full width and keeps its content in the measure through its padding. */
header, footer, main > .bleed { padding-inline: var(--gutter); }
main { flex: 1; padding-block-end: var(--section); }
main:has(> .band) { padding-block-end: 0; }
main > * { margin-inline: var(--gutter); }
main > .bleed { margin-inline: 0; }
main > p, main > section:not(.bleed) > p, main > section > .copy > p { max-inline-size: var(--prose); }
main > section { padding-block: var(--section) 0; }
main > section.bleed { padding-block: var(--section); }
main:has(> .crumbs) section:not(.bleed, .hero) > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
main section > h2:first-child, .kicker + h2 { margin-block-start: 0; }
.tinted { background: var(--tint); }

header { display: flex; align-items: center; gap: var(--s-3); padding-block: var(--s-2); border-block-end: 1px solid var(--sep); background: var(--bg); position: relative; z-index: 2; }
@media (min-width: 40rem) { header { position: sticky; inset-block-start: 0; } }
@supports (backdrop-filter: blur(1px)) { header { background: var(--glass); backdrop-filter: blur(14px) saturate(1.4); } }
header nav:not(.lang) { display: flex; align-items: center; gap: var(--s-3); flex: 1; min-inline-size: 0; }
:where(header nav:not(.lang)) ul { min-inline-size: 0; overflow-x: auto; scrollbar-width: thin; }
:where(header nav:not(.lang)) li { flex: none; }
nav.lang { font-size: 0.9375rem; flex: none; min-inline-size: 0; }
.lang-picker { max-inline-size: 100%; }
.lang-picker > summary { display: inline-flex; align-items: center; gap: 0.375rem; padding: var(--s-2) 0.75rem; min-block-size: 2.75rem; min-inline-size: 2.75rem; max-inline-size: 100%; border: 1px solid var(--edge); background: var(--surface); color: var(--fg); font-weight: 500; line-height: 1.5; cursor: pointer; list-style: none; user-select: none; }
.lang-picker > summary::-webkit-details-marker { display: none; }
.lang-picker > summary .ico { margin-inline-end: 0; flex: none; }
.lang-picker > summary bdi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-inline-size: 0; }
.lang-picker .caret { inline-size: 0.875rem; block-size: 0.875rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lang-picker[open] > summary { background: var(--selected); border-color: var(--primary); color: var(--fg); }
.lang-picker[open] .caret { rotate: 180deg; }
.lang-picker:not([open]) > ul { display: none; }
.lang-picker[open] > ul { position: absolute; inset-block-start: calc(100% + var(--s-1)); inset-inline-end: var(--gutter); inline-size: min(22rem, calc(100% - 2 * var(--gutter))); max-block-size: min(70dvh, 30rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: var(--s-1); padding: var(--s-2); background: var(--surface); border: 1px solid var(--edge); box-shadow: var(--shade); z-index: 3; }
.lang-picker[open] > ul:has(> li:nth-child(9)) { inline-size: min(44rem, calc(100% - 2 * var(--gutter))); }
.brand svg { inline-size: 1.75rem; block-size: 1.75rem; fill: none; stroke: none; vertical-align: middle; margin-inline-end: var(--s-2); }
.bm-w { fill: #0f766e; } .bm-r { stroke: #fff3; stroke-width: 2; stroke-linecap: round; }
.bm-s { fill: #5c4028; } .bm-sd { fill: #3b2616; } .bm-a { fill: #e08114; } .bm-ad { fill: #b85c08; }
.bm-e, .bm-o, .bm-c { stroke: #f2d8a7; stroke-linejoin: round; }
.bm-e { stroke-width: .95; } .bm-o { stroke-width: 1.9; paint-order: stroke; } .bm-c { stroke-width: 1.45; stroke-linecap: round; }
@media (prefers-color-scheme: dark) { .bm-w { fill: #115e59; } .bm-s { fill: #8a623c; } .bm-sd { fill: #614226; } .bm-a { fill: #f59e0b; } .bm-ad { fill: #d97706; } .bm-e, .bm-o, .bm-c { stroke: #f6dfb2; } }
.brand .name { font-weight: 700; font-size: 1.0625rem; vertical-align: middle; }
@media (max-width: 40rem) {
  header { flex-wrap: wrap; row-gap: var(--s-1); column-gap: var(--s-2); }
  header nav:not(.lang) { display: contents; }
  header nav:not(.lang) ul { flex: 1 1 100%; }
  nav.lang { order: 1; flex: 1 1 0; min-inline-size: 0; }
  a.btn.cta { order: 2; margin-inline-start: auto; }
  header .brand .name { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
  header .brand svg { margin: 0; }
}

/* Interactive: hover and focus feedback for every interactive element, defined in this section only. */
a { color: var(--primary); text-underline-offset: 0.2em; }
nav:where(:not(.lang)) a { display: inline-block; padding: 0.5rem 0.75rem; border: 1px solid transparent; min-block-size: 2.75rem; min-inline-size: 2.75rem; line-height: 1.75rem; }
header nav:where(:not(.lang)) a { text-align: center; white-space: nowrap; }
nav:where(:not(.lang)) a:not(.btn) { color: var(--muted); text-decoration: none; }
.lang-picker a { display: flex; align-items: center; padding: var(--s-2) 0.625rem; border: 1px solid transparent; min-block-size: 2.75rem; min-inline-size: 2.75rem; line-height: 1.35; color: var(--fg); text-decoration: none; text-align: start; }
/* A link on the hover background uses primary-hover: primary on hover is 3.84:1 in light. */
a:hover { background: var(--hover); color: var(--primary-hover); text-decoration-thickness: 0.15em; }
.lang-picker > summary:hover { background: var(--hover); border-color: var(--fg); color: var(--fg); }
nav:where(:not(.lang)) a:not(.btn):hover, .lang-picker a:hover { background: var(--hover); border-color: var(--edge); color: var(--primary-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:not([tabindex="-1"]):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
nav a[aria-current]:not(.btn, .brand), .lang-picker a[aria-current] { font-weight: 600; background: var(--selected); border-color: var(--primary); color: var(--fg); }
nav a.brand, nav a.brand[aria-current] { color: var(--fg); padding-inline: var(--s-2); }
nav a.brand:hover { background: var(--hover); border-color: var(--edge); color: var(--fg); }
/* Buttons: emboss, brightness hover, deboss active. */
a.btn, .btn {
  display: inline-block; padding: var(--s-2) var(--s-4); border: 1px solid var(--primary-hover); background: var(--emboss) var(--primary); color: var(--on-primary); font-weight: 600; text-decoration: none; min-block-size: 2.75rem; line-height: 1.75rem; box-shadow: inset 0 1px 0 var(--hl), 0 1px 1px #0003;
  &:hover { background: var(--emboss) var(--primary); color: var(--on-primary); filter: brightness(1.09); }
  &:active { background: var(--deboss) var(--primary); color: var(--on-primary); box-shadow: var(--recess); filter: brightness(0.96); }
  &.quiet {
    background: var(--emboss) var(--stripe); color: var(--fg); border-color: var(--edge);
    &:hover { background: var(--emboss) var(--surface); color: var(--fg); border-color: var(--fg); filter: brightness(1.04); }
    &:active { background: var(--deboss) var(--stripe); color: var(--fg); border-color: var(--fg); box-shadow: var(--recess); }
  }
}
.btn.big { padding: 0.625rem var(--s-5); font-size: 1.0625rem; }
.btn.off { background: var(--stripe); color: var(--muted); border: 1px dashed var(--edge); box-shadow: none; cursor: default; }
a.btn.cta { flex: none; white-space: nowrap; }
.more::after { content: " →"; }
.more:dir(rtl)::after { content: " ←"; }
@media (forced-colors: active) {
  :root { --focus: Highlight; --edge: CanvasText; --sep: CanvasText; --primary: LinkText; }
  a.btn, .btn, a.btn.quiet, .btn.quiet, .lang-picker > summary { forced-color-adjust: none; background: ButtonFace; color: ButtonText; border: 2px solid ButtonText; box-shadow: none; filter: none; }
  a.btn:hover, .btn:hover, a.btn.quiet:hover, .btn.quiet:hover, .lang-picker > summary:hover, .lang-picker[open] > summary { background: Highlight; color: HighlightText; border-color: Highlight; filter: none; }
  .lang-picker[open] > ul { background: Canvas; border: 2px solid CanvasText; box-shadow: none; }
  .btn.off { forced-color-adjust: none; background: Canvas; color: GrayText; border: 1px dashed GrayText; }
  nav a[aria-current]:not(.btn, .brand), .lang-picker a[aria-current] { forced-color-adjust: none; background: Highlight; color: HighlightText; border: 2px solid Highlight; text-decoration: underline; }
  nav a.brand[aria-current] { border-color: LinkText; text-decoration: underline; }
}
/* End interactive */
:where([id], a, button, summary, [tabindex]):not(header *) { scroll-margin-block-start: 5rem; }
.sr-only { position: absolute; inset-block-start: 0; inset-inline-start: 0; inline-size: 1px; block-size: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-block-start: 0; inset-inline-start: 0; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: static; inline-size: auto; block-size: auto; clip-path: none; display: block; padding: var(--s-3); }

/* Page furniture below the home page. */
.crumbs { padding-block-start: var(--s-4); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 0.9375rem; }
.crumbs li + li::before { content: "/"; margin-inline-end: 0.5rem; }
main > .crumbs + h1 { margin-block-start: var(--s-5); }
.hero:not(.home) { padding-block-start: var(--s-5); }
.updated { color: var(--muted); margin-block: 0 var(--s-3); }
h4 { font-size: 1rem; margin-block: 0 0.25rem; }
.scopes { display: grid; gap: var(--s-3); }
.scopes li { background: var(--surface); padding: var(--s-4); border: 1px solid var(--sep); box-shadow: inset 0 1px 0 var(--hl); }
.scopes p { margin-block: 0.25rem 0; }
code, pre { font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace; overflow-wrap: anywhere; }
pre { white-space: pre-wrap; font-size: 0.875rem; background: var(--surface); padding: var(--s-3); border: 1px solid var(--sep); box-shadow: var(--recess); overflow-x: auto; }
.limited { border-inline-start: 4px solid var(--focus); padding-inline-start: var(--s-3); }

/* Downloads and changelog. */
.downloads { border-collapse: collapse; inline-size: 100%; margin-block-end: var(--s-3); }
.downloads caption { text-align: start; color: var(--muted); padding-block-end: 0.5rem; }
.downloads th, .downloads td { text-align: start; vertical-align: top; padding: 0.5rem; border-block-end: 1px solid var(--sep); }
.sha { font-size: 0.8125rem; }
dd { margin-inline: 0; }
.entries article { border-block-start: 1px solid var(--sep); padding-block: var(--s-5); content-visibility: auto; contain-intrinsic-size: auto 16rem; }
.entries h2 { margin-block-start: var(--s-3); font-size: 1.75rem; }
@media (max-width: 40rem) {
  .downloads thead { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
  .downloads, .downloads caption, .downloads tbody, .downloads tr, .downloads th, .downloads td { display: block; }
  .downloads tr { padding-block: 0.5rem; border-block-end: 1px solid var(--sep); }
  .downloads th, .downloads td { border: 0; padding-block: 0.25rem; }
  .downloads td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 0.875rem; }
}

.kicker { font: 0.8125rem ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace; color: var(--muted); margin-block: 0 var(--s-3); }
:lang(ja) .kicker { font-family: inherit; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-block: var(--s-4) var(--s-3); }
.note { color: var(--muted); font-size: 0.875rem; margin-block: 0; }

/* Home hero: headline and intro side by side, then the product shot wider than the measure, all on a
   sand and sea-glass wash that fades into the page. Text sits on the pale edge of the wash; the
   darkest point of each gradient is in the colour table. */
.hero.home {
  display: grid; align-items: end; margin-inline: 0;
  grid-template-columns: [full-start] minmax(var(--s-3), 1fr) [wide-start content-start] minmax(0, var(--measure)) [content-end wide-end] minmax(var(--s-3), 1fr) [full-end];
  padding: clamp(2.5rem, 6vw, 5rem) 0 var(--section);
  background: radial-gradient(60% 55% at 12% 0%, var(--wash-a), transparent 70%), radial-gradient(45% 50% at 92% 8%, var(--wash-b), transparent 70%), radial-gradient(50% 40% at 50% 78%, var(--glow), transparent 70%) var(--bg);
}
.hero.home > * { grid-column: content; }
.hero.home h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: 1.02; margin: 0; }
.hero.home h1 .dim { display: block; }
:lang(ja) .hero.home h1 { line-height: 1.25; font-size: clamp(2.125rem, 4.6vw, 3.75rem); word-break: auto-phrase; }
.hero.home .lede { max-inline-size: 36rem; margin-block: var(--s-4) 0; color: var(--fg); }
.hero.home .stage { grid-column: wide; margin-block-start: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 60rem) {
  .hero.home { grid-template-columns: [full-start] minmax(var(--s-3), 1fr) [wide-start] minmax(0, 7rem) [content-start] minmax(0, 38rem) [mid] minmax(0, 32rem) [content-end] minmax(0, 7rem) [wide-end] minmax(var(--s-3), 1fr) [full-end]; }
  .hero.home .head { grid-column: content-start / mid; }
  .hero.home .side { grid-column: mid / content-end; padding-inline-start: var(--s-6); }
  .hero.home .lede { margin-block-start: 0; }
}

/* Product screenshots in a window frame, lifted off the page by a shadow (and a teal glow in dark). */
.shot { margin: 0; border: 1px solid var(--sep); background: var(--surface); overflow: hidden; box-shadow: var(--shade); }
.shot .bar { display: flex; gap: var(--s-2); padding: var(--s-2) var(--s-3); background: var(--stripe); border-block-end: 1px solid var(--sep); }
.shot .bar i { inline-size: 0.625rem; block-size: 0.625rem; background: var(--sep); }
.shot picture { display: block; }
.shot img { display: block; inline-size: 100%; block-size: auto; }
.shot.fade picture { -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }

/* Home: three feature cells split by hairlines, and three figures on a tinted band. */
.cells { display: grid; border-block: 1px solid var(--sep); margin-block-start: var(--s-5); }
.cells li { padding: var(--s-5) var(--s-4); }
.cells li + li { border-block-start: 1px solid var(--sep); }
.cells svg, .figs svg { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cells svg { inline-size: 2rem; block-size: 2rem; margin-block-end: var(--s-3); }
.cells p, .figs p:last-child, .features p { margin: 0; color: var(--muted); }
.figs { display: grid; gap: var(--s-5); margin-block-start: var(--s-5); }
.figs li { padding-block-start: var(--s-4); border-block-start: 1px solid var(--sep); }
.figs svg { inline-size: 4rem; block-size: 4rem; margin-block: var(--s-2) var(--s-3); }
@media (min-width: 48rem) {
  .cells { grid-template-columns: repeat(3, 1fr); }
  .cells li + li { border-block-start: 0; border-inline-start: 1px solid var(--sep); }
  .figs { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .figs li { padding: 0 var(--s-4); border-block-start: 0; }
  .figs li + li { border-inline-start: 1px solid var(--sep); }
  .figs li:first-child { padding-inline-start: 0; }
}

/* Features page: each group is a band with its points in hairline rows, then its screenshot, which
   grows past the measure by up to 7rem a side on wide screens. */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0 var(--s-5); }
.features li { padding-block: var(--s-4); border-block-start: 1px solid var(--sep); }
.row > .shot { margin-block-start: var(--s-6); margin-inline: max(-7rem, calc((100% - 100vw) / 2 + var(--s-3))); }
main > .row:nth-of-type(odd) { background: var(--tint); }

/* Download: one card per platform above the checksum table. */
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--s-4); margin-block: var(--s-5); }
.platforms li { background: var(--surface); border: 1px solid var(--sep); padding: var(--s-4); box-shadow: inset 0 1px 0 var(--hl); }
.emblem { display: grid; place-items: center; inline-size: 100%; block-size: 6rem; margin-block: 0 var(--s-3); font-weight: 600; line-height: 1.3; font-size: 1.25rem; }
.platforms .actions { margin-block: var(--s-3) 0; }

/* Changelog: version and date in a narrow start column on wide screens. */
.entries .meta .updated { margin: 0; }
.notes h3 { margin-block-start: var(--s-3); }
.notes ul { padding-inline-start: var(--s-4); list-style: disc; }
@media (min-width: 48rem) {
  .entries article { display: grid; grid-template-columns: 12rem 1fr; gap: var(--s-4); }
  .entries .meta h2 { margin-block-start: 0; }
  .notes h3:first-child { margin-block-start: 0; }
}

/* Pricing cards and commercial disclosure. */
.tiers { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); margin-block: var(--s-4); }
.tiers > li { background: var(--surface); border: 1px solid var(--sep); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); box-shadow: inset 0 1px 0 var(--hl); }
.tiers > li.featured { border-color: var(--primary); }
.tiers h2 { margin-block: 0; font-size: 1.5rem; }
.tiers .price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.1; margin: 0; }
.tiers .sub { color: var(--muted); margin: 0; }
.tiers .points { list-style: disc; padding-inline-start: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.tiers .actions { margin-block: var(--s-2) 0 0; }
.faq dt, .disclosure dt { font-weight: 700; margin-block-start: var(--s-4); }
.faq dd, .disclosure dd { margin-inline-start: 0; margin-block-start: var(--s-1); color: var(--muted); max-inline-size: var(--prose); }

/* Closing band: layout only; deep-water colour tokens are generated from `taimai-theme`. */
.band h2 { margin-block: 0; max-inline-size: 18em; font-size: clamp(2rem, 4.5vw, 3.25rem); }
.band .actions { margin-block: var(--s-5) 0; }
@media (forced-colors: active) {
  .ico, .caret, .brand svg, .cells svg, .figs svg { fill: none; stroke: currentColor; forced-color-adjust: auto; }
  .brand :is(.bm-w, .bm-s, .bm-a, .bm-e, .bm-o, .bm-c) { fill: none; stroke: currentColor; }
  .brand :is(.bm-r, .bm-sd, .bm-ad) { display: none; }
  header, footer, .shot, .scopes li, .platforms li, .tiers > li, pre { border-color: CanvasText; box-shadow: none; }
  .tiers > li.featured { border: 2px solid Highlight; }
  .shot.fade picture { -webkit-mask-image: none; mask-image: none; }
  .emblem { border: 1px solid CanvasText; }
}

/* Footer: the mark and a line, then two columns of links (stacked on narrow screens). */
footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); padding-block: var(--s-6); border-block-start: 1px solid var(--sep); color: var(--muted); }
footer .note { margin-block-start: var(--s-2); max-inline-size: 22rem; }
footer h2 { font-size: 0.875rem; color: var(--fg); margin-block: 0 var(--s-2); font-weight: 700; line-height: 1.4; }
footer ul { display: flex; flex-direction: column; gap: 0; }
footer nav a { padding-inline: var(--s-2); text-align: start; white-space: normal; max-inline-size: 100%; }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--s-4); }
footer .cols > * { min-inline-size: 0; }
@media (max-width: 40rem) { footer .cols { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 48rem) { footer { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
