/* about.crowon.app (server/about.mjs serves it as /about/static/site.css).
   Colours: the app's tokens (--canvas, --ink, --ink-2, --ink-3, --line, --surface-2, --accent, --accent-ink, --accent-soft),
   defined by the page for light and dark. Monochrome like the app: --accent* are set to ink (no brand colour; the orange
   accent was cancelled 2026-11-09), so kickers, the current place, focus and hover marks stay black / white.
   Type: Apple system font. Reading sizes follow docs/type-scale-proposal.md (17 body, 14 secondary, 13 crumbs/footer);
   a brand site also needs a display tier, measured against apple.com (64/48/24): display 40→80, section titles 30→56,
   page titles 34→56, leads 18→24, growing with the window. Reading width ≤ 36em. No scroll bars.
   Motion: html.js [data-reveal] rises in once; the hero screens spread and the film grows as you scroll (about.js sets
   --tuck / --grow). With reduced motion, or without script, everything simply sits in its final place. */
.ab {
  --w: 1200px; --r: 20px;
  --t-display: clamp(40px, 4.2vw + 16px, 80px);
  --t-h1: clamp(34px, 2.4vw + 18px, 56px);
  --t-h2: clamp(30px, 2.6vw + 16px, 56px);
  --t-h3: clamp(20px, .6vw + 17px, 24px);
  --t-lead: clamp(18px, .5vw + 16px, 24px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-text-size-adjust: 100%;
}
.ab:lang(ja) { line-height: 1.75; }
.ab, .ab * { box-sizing: border-box; scrollbar-width: none; }
.ab ::-webkit-scrollbar { display: none; }
.ab ::selection { background: var(--accent-soft); }
.ab :where(a) { color: inherit; text-decoration: none; }
.ab :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
.ab :where(h1, h2, h3, p, figure) { margin: 0; }
.ab :where(h1, h2, h3) { line-height: 1.12; letter-spacing: -0.022em; font-weight: 700; text-wrap: balance; }
.ab:lang(ja) :where(h1, h2, h3) { line-height: 1.32; letter-spacing: 0; font-feature-settings: "palt"; }
.ab :where(p) { text-wrap: pretty; }
/* Japanese breaks between phrases where the browser can (Chrome); headings mark their phrases themselves for Safari */
.ab:lang(ja) :where(h1, h2, h3, p, small, b, span) { word-break: auto-phrase; line-break: strict; }
.ab .nb { display: inline-block; }
.ab img, .ab video { display: block; max-width: 100%; }
.ab :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.ab svg.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ab svg.i.s { width: 18px; height: 18px; }
.ab-wrap { max-width: calc(var(--w) + 64px); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .ab-wrap { padding: 0 32px; } }
.ab-skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--canvas); font-size: 14px; }
.ab-skip:focus { left: 16px; }

/* ---------- reveal ---------- */
html.js .ab [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.js .ab [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .ab [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ab *, .ab *::before, .ab *::after { transition: none !important; animation: none !important; }
}

/* ---------- top bar ---------- */
/* viewport-fit=cover: in CrowOn's in-app browser the bar starts under the status bar (0 in Safari) */
.ab-top { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--canvas) 80%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.ab-top > .ab-wrap { display: flex; align-items: center; gap: 28px; height: 52px; }
.ab-brand { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.ab-brand img { width: 29px; height: 18px; }
@media (prefers-color-scheme: dark) { .ab-brand img { filter: invert(1); } }
.ab-nav ul { display: flex; gap: 2px; }
.ab-nav a { display: flex; align-items: center; height: 52px; padding: 0 12px; font-size: 13px; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.ab-nav a:hover { color: var(--ink); }
.ab-nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.ab-top-end { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.ab-lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-size: 13px; color: var(--ink-2); }
.ab-lang:hover { color: var(--ink); }
.ab-menu { position: relative; display: none; }
.ab-menu > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; margin-inline-end: -10px; cursor: pointer; }
.ab-menu > summary::-webkit-details-marker { display: none; }
.ab-menu[open] > summary::after { content: ""; position: fixed; inset: calc(52px + env(safe-area-inset-top, 0px)) 0 0; background: rgba(0, 0, 0, .32); cursor: default; }
.ab-menu-panel { z-index: 1; position: fixed; inset: calc(52px + env(safe-area-inset-top, 0px)) 0 auto 0; max-height: calc(100dvh - 52px - env(safe-area-inset-top, 0px)); overflow-y: auto; padding: 8px 20px 24px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.ab-menu-panel li a { display: flex; align-items: center; min-height: 52px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; border-bottom: 1px solid var(--line); }
.ab-menu-panel li a[aria-current] { color: var(--accent-ink); }
.ab-menu-panel .ab-btn { margin-top: 20px; }
@media (max-width: 899px) {
  .ab-nav, .ab-top-end > .ab-btn { display: none; }
  .ab-menu { display: block; }
}

/* ---------- buttons, links ---------- */
.ab-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ink); color: var(--canvas); font: inherit; font-size: 17px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; transition: opacity .2s, transform .2s var(--ease); }
.ab-btn:hover { opacity: .86; }
.ab-btn:active { transform: scale(.98); }
.ab-btn.quiet { background: var(--surface-2); color: var(--ink); }
.ab-btn.sm { min-height: 32px; padding: 0 14px; font-size: 13px; }
.ab-btn.block { display: flex; width: 100%; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-go { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ab-go svg { transition: transform .25s var(--ease), color .2s; }
.ab-go:hover svg, a:hover > .ab-go svg { transform: translateX(3px); color: var(--accent-ink); }
.ab-kicker { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--accent-ink); }
.ab-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.ab-lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 32em; }
.ab:lang(ja) .ab-lead { line-height: 1.7; }

/* ---------- photos (CC0) ---------- */
.ab-photo { position: relative; overflow: hidden; border-radius: 28px; background: var(--surface-2); }
.ab-photo img { width: 100%; height: 100%; object-fit: cover; }
/* ---------- hero ---------- */
.ab-hero { overflow: hidden; padding: clamp(40px, 5vw, 80px) 0 0; }
.ab-hero-t { display: grid; justify-items: center; gap: 20px; text-align: center; }
.ab-hero h1 { font-size: var(--t-display); max-width: 13em; }
.ab-hero .ab-lead { margin: 0 auto; }
.ab-hero .ab-actions { justify-content: center; margin-top: 8px; }
/* hero mosaic: five photos of different heights in one row, the middle one tallest; edges run off the screen.
   about.js moves them at slightly different speeds as you scroll (--p) */
.ab-mosaic { --p: 0; display: flex; justify-content: center; align-items: center; gap: clamp(10px, 1.2vw, 20px); margin: clamp(36px, 4vw, 64px) -10vw 0; }
.ab-mosaic .ab-photo { flex: none; aspect-ratio: 4 / 5; border-radius: clamp(18px, 2vw, 32px); }
.ab-mosaic .m1, .ab-mosaic .m5 { width: clamp(120px, 15vw, 260px); transform: translateY(calc(var(--p) * -40px)); }
.ab-mosaic .m2, .ab-mosaic .m4 { width: clamp(150px, 19vw, 330px); transform: translateY(calc(var(--p) * -80px)); }
.ab-mosaic .m3 { width: clamp(190px, 24vw, 420px); transform: translateY(calc(var(--p) * -20px)); }

/* ---------- film theater: always dark, the film grows to full size as it comes up ---------- */
.ab-theater { --grow: 1; position: relative; overflow: hidden; padding: clamp(56px, 7vw, 104px) 0 28px; background: #000; color: #f2f2f4; }
.ab-theater::before { content: ""; position: absolute; inset: -10%; background: var(--poster) center / cover; filter: blur(80px) saturate(1.3); opacity: .45; transform: scale(calc(.9 + var(--grow) * .1)); }
.ab-theater-stage { position: relative; width: min(100% - 40px, calc(min(84vh, 920px) * 9 / 16)); margin: 0 auto; aspect-ratio: 9 / 16; border-radius: calc(36px - var(--grow) * 12px); overflow: hidden; transform: scale(calc(.88 + var(--grow) * .12)); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8); background: #111; }
.ab-theater video { width: 100%; height: 100%; object-fit: cover; }
.ab-sound { position: absolute; inset-inline-end: 14px; inset-block-end: 14px; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 12px; border: 0; border-radius: 999px; color: #fff; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ab-theater-cap { position: relative; margin-top: 20px; text-align: center; font-size: 13px; color: rgba(242, 242, 244, .62); }

/* ---------- chapters ---------- */
.ab-ch { padding: clamp(80px, 10vw, 168px) 0; overflow: hidden; }
.ab-ch + .ab-ch { border-top: 1px solid var(--line); }
.ab-ch-in { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ab-ch-t { display: grid; gap: 20px; align-content: center; max-width: 34em; }
.ab-ch h2 { font-size: var(--t-h2); }
.ab-ch-links { display: grid; margin-top: 12px; border-top: 1px solid var(--line); }
.ab-ch-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; }
.ab-ch-links svg { color: var(--ink-3); transition: transform .25s var(--ease), color .2s; }
.ab-ch-links a:hover svg { color: var(--accent-ink); transform: translateX(3px); }
.ab-ch-m { position: relative; padding-bottom: 14%; }
.ab-ch-m .front { width: 72%; aspect-ratio: 4 / 5; }
.ab-ch-m .back { position: absolute; width: 46%; aspect-ratio: 4 / 5; inset-inline-end: 0; bottom: 0; box-shadow: 0 0 0 clamp(6px, .8vw, 12px) var(--canvas); }
@media (min-width: 900px) {
  .ab-ch-in { grid-template-columns: 5fr 7fr; }
  .ab-ch.flip .ab-ch-t { order: 2; }
}
html.js .ab .ab-ch-m[data-reveal] .back { transition: transform 1.2s var(--ease) .15s; }
html.js .ab .ab-ch-m[data-reveal]:not(.in) .back { transform: translateY(48px); }

/* ---------- sections ---------- */
.ab-sec { padding: clamp(56px, 7vw, 112px) 0; }
.ab-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.ab-sec-head h2 { font-size: var(--t-h3); flex: 1; }
.ab-h2 { font-size: var(--t-h3); margin-bottom: 16px; }
.ab-h3 { font-size: 20px; margin: 40px 0 16px; }
.ab-sub { color: var(--ink-2); margin: -4px 0 24px; max-width: 36em; }
.ab-group { padding-top: 28px; scroll-margin-top: 72px; }
.ab-group h2 { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin-bottom: 12px; }

/* feature cards: a row (small picture or the app's icon, name, one line); 1 column on phones, 2 from 640, 3 from 1000 */
.ab-cards { display: grid; gap: 4px 24px; }
@media (min-width: 640px) { .ab-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; } }
@media (min-width: 1000px) { .ab-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 32px; } }
.ab-card { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 16px; padding: 8px 0; }
.ab-card-pic { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--surface-2); }
.ab-card-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.ab-card:hover .ab-card-pic img { transform: scale(1.06); }
.ab-card-pic.glyph { display: grid; place-items: center; color: var(--ink); }
.ab-card-pic.glyph svg.i { width: 40%; height: 40%; stroke-width: 1.4; transition: color .2s; }
.ab-card:hover .ab-card-pic.glyph svg.i { color: var(--accent-ink); }
.ab-card-t { display: grid; gap: 2px; min-width: 0; }
.ab-card-t b { font-size: 17px; font-weight: 600; transition: color .2s; }
.ab-card:hover .ab-card-t b { color: var(--accent-ink); }
.ab-card-t small { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* films: tall frames, swiped sideways on phones */
.ab-film { position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 24px; background: #111; }
.ab-film::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.ab-film video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.ab-play { position: absolute; inset-inline-end: 12px; inset-block-end: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); cursor: pointer; }
.ab-play svg.i { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.ab-film.playing .ab-play svg { display: none; }
.ab-film.playing .ab-play { grid-auto-flow: column; gap: 5px; }
.ab-film.playing .ab-play::before, .ab-film.playing .ab-play::after { content: ""; width: 4px; height: 15px; border-radius: 2px; background: currentColor; }
.ab-films { display: grid; grid-auto-flow: column; grid-auto-columns: 64%; gap: 14px; margin: 16px -20px 0; padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; }
.ab-films > li { display: grid; align-content: start; gap: 12px; scroll-snap-align: start; }
.ab-films a { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.ab-films a b { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
@media (min-width: 640px) { .ab-films { grid-auto-columns: 38%; margin-inline: -32px; padding-inline: 32px; scroll-padding-inline: 32px; } }
@media (min-width: 1000px) { .ab-films { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 16px 0 0; padding: 0; overflow: visible; } }

/* two big panels (safety, business) */
.ab-duo { display: grid; gap: 16px; }
@media (min-width: 768px) { .ab-duo { grid-template-columns: 1fr 1fr; gap: 20px; } }
.ab-panel { display: grid; align-content: start; gap: 14px; padding: clamp(28px, 3.4vw, 48px); border-radius: 28px; background: var(--surface-2); transition: transform .4s var(--ease); }
.ab-panel:hover { transform: translateY(-3px); }
.ab-panel h2 { font-size: var(--t-h3); }
.ab-panel p:not(.ab-kicker) { color: var(--ink-2); }
.ab-panel .ab-go { margin-top: 6px; }

/* rows with an arrow */
.ab-links { display: grid; border-top: 1px solid var(--line); margin: 24px 0; }
@media (min-width: 768px) { .ab-links { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.ab-links a { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; min-height: 68px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ab-links b { font-weight: 600; }
.ab-links small { grid-column: 1; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.ab-links svg { grid-column: 2; grid-row: 1 / span 2; color: var(--ink-3); transition: transform .25s var(--ease), color .2s; }
.ab-links a:hover svg { color: var(--accent-ink); transform: translateX(3px); }

/* download band */
.ab-band { display: grid; gap: 24px; margin: 24px 0 72px; padding: clamp(32px, 4vw, 56px); border-radius: 32px; background: var(--ink); color: var(--canvas); }
.ab-band h2 { font-size: var(--t-h2); }
.ab-band p { opacity: .7; margin-top: 8px; }
.ab-band .ab-btn { background: var(--canvas); color: var(--ink); }
.ab-band .ab-btn.quiet { background: transparent; color: var(--canvas); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--canvas) 40%, transparent); }
@media (min-width: 900px) { .ab-band { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- page heads, crumbs, chips ---------- */
.ab-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 20px 0 0; font-size: 13px; color: var(--ink-2); }
.ab-crumbs svg.i { width: 14px; height: 14px; color: var(--ink-3); }
.ab-crumbs a:hover { color: var(--ink); }
.ab-head { display: grid; gap: 16px; padding: clamp(28px, 4vw, 64px) 0 8px; }
.ab-head h1 { font-size: var(--t-h1); max-width: 18em; }
.ab-chips { display: flex; gap: 8px; margin: 24px -20px 8px; padding: 0 20px; overflow-x: auto; }
@media (min-width: 768px) { .ab-chips { flex-wrap: wrap; margin: 28px 0 8px; padding: 0; } }
.ab-chips a { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--surface-2); font-size: 14px; white-space: nowrap; transition: background .2s, color .2s; }
.ab-chips a:hover { background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- feature page ---------- */
.ab-feature { display: grid; gap: 40px; padding-bottom: 24px; }
.ab-feature-m > * { width: 100%; }
.ab-photo.tall { aspect-ratio: 4 / 5; }
.ab-feature-icon { margin-top: 28px; }
.ab-feature-icon + .ab-head { padding-top: 16px; }
@media (min-width: 900px) {
  .ab-feature:not(.no-media) { grid-template-columns: minmax(0, 1fr) clamp(320px, 36vw, 520px); gap: clamp(56px, 7vw, 120px); align-items: start; }
  .ab-feature-m { position: sticky; top: 92px; padding-top: 48px; }
  .ab-feature-m > * { width: 100%; }
}
.ab-feature-t { max-width: 40em; }
.ab-points { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.ab-points li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.ab-points h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.ab-points p { color: var(--ink-2); max-width: 36em; }
.ab-help { margin-top: 24px; }
.ab-filmband { border-top: 1px solid var(--line); }
.ab-filmband-in { width: min(100%, 320px); margin: 0 auto; }
.ab-filmband .ab-h2 { text-align: center; }
.ab-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 24px 0 72px; }
.ab-pager a { display: flex; align-items: center; gap: 10px; min-height: 72px; padding: 16px 18px; border-radius: var(--r); background: var(--surface-2); }
.ab-pager a[rel="next"] { justify-content: flex-end; text-align: end; }
.ab-pager span { display: grid; min-width: 0; }
.ab-pager small { font-size: 13px; color: var(--ink-2); }
.ab-pager b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-pager svg { color: var(--ink-3); flex: none; }

/* ---------- glyph tiles (the app's own icons) ---------- */
.ab-glyph { display: grid; place-items: center; aspect-ratio: 1; border-radius: 28px; background: var(--surface-2); color: var(--ink); }
.ab-glyph svg.i { width: 40%; height: 40%; stroke-width: 1.3; }
.ab-glyph.sm { width: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); }
.ab-glyph.sm svg.i { width: 24px; height: 24px; stroke-width: 1.6; }

/* ---------- safety blocks, business tiles ---------- */
.ab-block { padding: 48px 0 8px; scroll-margin-top: 72px; }
.ab-block-h { display: flex; align-items: center; gap: 14px; }
.ab-block-h h2 { font-size: var(--t-h3); }
.ab-block .ab-points { margin-top: 20px; }
@media (min-width: 900px) {
  .ab-block > .ab-points { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .ab-block > .ab-points li:nth-child(2) { border-top: 0; }
}
.ab-tiles { display: grid; gap: 16px; padding: 24px 0 72px; }
@media (min-width: 768px) { .ab-tiles { grid-template-columns: 1fr 1fr; gap: 20px; } }
.ab-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(28px, 3vw, 40px); border-radius: 28px; background: var(--surface-2); scroll-margin-top: 72px; }
.ab-tile h2 { font-size: 22px; }
.ab-tile > p { color: var(--ink-2); }
.ab-tile > .ab-go, .ab-tile > .ab-btn { margin-top: auto; }
.ab-tile > .ab-go { padding-top: 8px; }
.ab-tile .ab-glyph.sm { background: var(--canvas); }

/* ---------- placeholders the user still writes ---------- */
.ab-ph { display: grid; gap: 4px; width: 100%; padding: 16px 18px; border: 1.5px dashed color-mix(in srgb, var(--accent) 60%, transparent); border-radius: 16px; color: var(--ink-2); background: color-mix(in srgb, var(--accent-soft) 40%, transparent); }
.ab-ph span { font-size: 13px; font-weight: 600; color: var(--accent-ink); }

/* ---------- story, docs ---------- */
.ab-prose { display: grid; gap: 40px; max-width: 40em; padding: 32px 0 16px; }
.ab-prose h2 { font-size: var(--t-h3); margin-bottom: 14px; }
.ab-doc { max-width: 40em; padding: 32px 0; display: grid; gap: 16px; }
.ab-doc h1 { font-size: var(--t-h1); }
.ab-doc .hc-body { display: grid; gap: 14px; }
.ab-doc .hc-body h2 { font-size: 22px; margin-top: 12px; }
.ab-doc .hc-body :where(ul, ol) { display: grid; gap: 6px; padding-inline-start: 1.2em; list-style: disc; }
.ab-doc .hc-body ol { list-style: decimal; }
.ab-doc .hc-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.ab-doc .hc-note { display: flex; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); }
.ab-after { padding: 8px 0 72px; }

/* ---------- brand & press ---------- */
.ab-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.ab-logo { display: grid; grid-template-rows: 1fr auto; aspect-ratio: 5 / 4; border-radius: 24px; overflow: hidden; background: #fff; color: #111113; box-shadow: inset 0 0 0 1px var(--line); }
.ab-logo.dark { background: #000; color: #f2f2f4; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.ab-logo img { place-self: center; width: 46%; height: auto; }
.ab-logo:last-child img { width: 34%; border-radius: 22%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.ab-logo figcaption { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: 13px; border-top: 1px solid rgba(127, 127, 127, .16); }
.ab-logo figcaption a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.ab-rules { display: grid; gap: 16px; }
@media (min-width: 768px) { .ab-rules { grid-template-columns: 1fr 1fr; gap: 20px; } }
.ab-rule { display: grid; gap: 8px; }
.ab-rule h3 { font-size: 17px; letter-spacing: -0.01em; margin-top: 8px; }
.ab-rule p { color: var(--ink-2); }
.ab-rule-pic { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--surface-2); overflow: hidden; }
.ab-rule-pic img { width: 34%; height: auto; }
@media (prefers-color-scheme: dark) { .ab-rule-pic img, .ab-space img { filter: invert(1); } }
.ab-space { display: block; width: 46%; padding: 6%; outline: 1.5px dashed var(--accent); outline-offset: 0; background: color-mix(in srgb, var(--accent-soft) 50%, transparent); }
.ab-space img { width: 100%; }
.ab-rule-pic.min { gap: 8px; grid-auto-flow: row; align-content: center; }
.ab-rule-pic.min img { width: 24px; }
.ab-measure { font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.ab-donts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 900px) { .ab-donts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ab-donts p { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.ab-donts p svg { color: #d93025; }
.ab-rule-pic.stretch img { transform: scaleX(1.55) scaleY(.8); }
.ab-rule-pic.rotate img { transform: rotate(-24deg); }
.ab-rule-pic.recolor img { filter: invert(36%) sepia(88%) saturate(1800%) hue-rotate(196deg) brightness(.95); }
.ab-rule-pic.effect img { filter: drop-shadow(5px 6px 0 var(--accent)) blur(.4px); }
@media (prefers-color-scheme: dark) { .ab-rule-pic.effect img { filter: invert(1) drop-shadow(5px 6px 0 var(--accent)) blur(.4px); } }
.ab-names { display: flex; flex-wrap: wrap; gap: 10px; }
.ab-names span { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--surface-2); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.ab-names .ok svg { color: #1e9e5a; }
.ab-names .no { color: var(--ink-3); font-weight: 600; }
.ab-names .no svg { color: #d93025; }
.ab-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.ab-swatches li { display: grid; gap: 2px; }
.ab-swatch { display: block; height: 96px; border-radius: 20px; background: linear-gradient(90deg, var(--sw) 50%, var(--swd) 50%); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 10px; }
.ab-swatches b { font-weight: 600; }
.ab-swatches code { font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-2); }
.ab-swatches small { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ab-kit { display: grid; gap: 28px 16px; }
.ab-kit.screens { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.ab-kit.films { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.ab-kit li { display: grid; gap: 12px; justify-items: start; }
.ab-kit li > .ab-film { width: 100%; }
.ab-kit a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.ab-kit-dl { display: flex; gap: 16px; }
.ab-contact { display: grid; gap: 32px; padding-bottom: 72px; }
@media (min-width: 900px) { .ab-contact { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } }
.ab-contact-t { display: grid; gap: 14px; justify-items: start; }
.ab-contact-t p { color: var(--ink-2); }
.ab-form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--surface-2); }
.ab-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.ab-form input, .ab-form textarea { width: 100%; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--canvas); color: var(--ink); font: inherit; font-size: 17px; font-weight: 400; box-shadow: inset 0 0 0 1px var(--line); }
.ab-form textarea { padding: 14px 20px; border-radius: 22px; resize: vertical; min-height: 160px; line-height: 1.6; }
.ab-form input:focus, .ab-form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.ab-form .ab-btn { justify-self: start; margin-top: 4px; }
.ab-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ab-note { padding: 14px 18px; border-radius: 16px; font-size: 15px; font-weight: 600; }
.ab-note.ok { background: rgba(30, 158, 90, .12); color: #137a43; }
.ab-note.bad { background: rgba(217, 48, 37, .1); color: #b3261e; }
@media (prefers-color-scheme: dark) { .ab-note.ok { color: #5fd394; } .ab-note.bad { color: #ff8a80; } }

/* ---------- news ---------- */
.ab-newslist { display: grid; border-top: 1px solid var(--line); margin-top: 8px; }
.ab-newslist.full { margin: 32px 0 72px; }
.ab-news, .ab-ann { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 72px; }
.ab-news small, .ab-ann small { font-size: 13px; color: var(--ink-2); }
.ab-news b, .ab-ann b { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; transition: color .2s; }
.ab-news:hover b { color: var(--accent-ink); }
.ab-ann p { color: var(--ink-2); white-space: pre-line; max-width: 40em; }
.ab-ann .ab-go { margin-top: 4px; font-size: 14px; }

/* ---------- empty states, 404 ---------- */
.ab-empty { display: grid; justify-items: center; gap: 12px; margin: 32px 0 72px; padding: clamp(48px, 7vw, 96px) 24px; border-radius: 32px; background: var(--surface-2); text-align: center; }
.ab-empty .ab-glyph { width: 72px; border-radius: 20px; background: var(--canvas); margin-bottom: 8px; }
.ab-empty h2 { font-size: 22px; }
.ab-empty p { color: var(--ink-2); max-width: 28em; }
.ab-empty-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 12px; }
.ab-404 { display: grid; justify-items: center; gap: 16px; padding: clamp(56px, 9vw, 136px) 0 24px; text-align: center; }
.ab-404-n { font-size: clamp(112px, 16vw, 220px); font-weight: 700; line-height: .9; letter-spacing: -0.05em; color: var(--surface-2); -webkit-text-stroke: 1px var(--line); }
.ab-404 h1 { font-size: var(--t-h1); }
.ab-404 .ab-lead { margin: 0 auto; }
.ab-404 .ab-actions { justify-content: center; margin-top: 8px; }

/* ---------- sitemap ---------- */
.ab-map { display: grid; gap: 36px; padding: 32px 0 72px; }
@media (min-width: 640px) { .ab-map { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ab-map { grid-template-columns: repeat(4, 1fr); } }
.ab-map h2 { font-size: 17px; margin-bottom: 8px; }
.ab-map li a { display: block; padding: 5px 0; font-size: 14px; color: var(--ink-2); }
.ab-map a:hover { color: var(--ink); }

/* ---------- footer ---------- */
.ab-foot { border-top: 1px solid var(--line); padding: 48px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 13px; background: color-mix(in srgb, var(--surface-2) 45%, var(--canvas)); }
.ab-foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
@media (min-width: 768px) { .ab-foot-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .ab-foot-cols { grid-template-columns: repeat(6, 1fr); } }
.ab-foot h2 { font-size: 13px; font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.ab-foot li a { display: block; padding: 4px 0; color: var(--ink-2); line-height: 1.5; }
.ab-foot a:hover { color: var(--ink); }
.ab-foot-bar { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); }
.ab-foot-bar span { margin-inline-end: auto; }

/* ---------- photo ribbon: two rows drifting opposite ways (CC0 photos) ---------- */
.ab-ribbon { display: grid; gap: 12px; padding: clamp(40px, 5vw, 72px) 0 clamp(8px, 2vw, 24px); overflow: hidden; }
.ab-ribbon-row ul { display: flex; gap: 12px; width: max-content; animation: ab-drift 70s linear infinite; }
.ab-ribbon-row.rev ul { animation-direction: reverse; animation-duration: 80s; }
.ab-ribbon li { flex: none; width: clamp(150px, 15vw, 240px); aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--surface-2); }
.ab-ribbon img { width: 100%; height: 100%; object-fit: cover; }
.ab-ribbon:hover ul { animation-play-state: paused; }
@keyframes ab-drift { to { transform: translateX(-50%); } }

/* ---------- facts: big numbers ---------- */
.ab-facts { padding: clamp(72px, 9vw, 144px) 0 clamp(24px, 3vw, 48px); }
.ab-facts ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
@media (min-width: 900px) { .ab-facts ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.ab-facts li { display: grid; align-content: start; gap: 4px; padding-top: 20px; border-top: 1px solid var(--ink); }
.ab-facts b { font-size: clamp(64px, 7vw, 112px); font-weight: 700; line-height: .95; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.ab-facts span { font-size: 17px; font-weight: 600; }
.ab-facts p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 20em; }

/* ---------- a dark chapter for rhythm (the page's own tokens, turned dark inside it) ---------- */
.ab-ch.dark { --canvas: #000; --ink: #f2f2f4; --ink-2: #9a9aa1; --ink-3: #5c5c62; --line: rgba(255, 255, 255, .14); --surface-2: #1c1c1f; background: #000; color: var(--ink); border-top: 0; }
.ab-ch.dark + .ab-ch { border-top: 0; }
