/* SignScribe website: one design system for every page, including the pages the Portal renders inside this shell
   (news articles, release history and notes, wiki articles, account pages).
   Tokens first; every control is one of two heights (44 / 38 px); motion respects prefers-reduced-motion. */

@font-face { font-family: "Inter"; src: url("../fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ------------------------------------------------------------------------------------------------ tokens */
:root {
  color-scheme: dark;
  --bg: #0a0b0d;
  --bg-deep: #060708;
  --surface: #111316;
  --surface-2: #171a1e;
  --surface-3: #1f2328;
  --glass: rgba(10, 11, 13, .72);
  --text: #f3f4f5;
  --muted: #a3a8af;
  --soft: #6f757d;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .15);
  --green: #027f4a;
  --green-hi: #12a865;
  --green-text: #5fd39a;
  --gold: #efbf53;
  --primary: var(--green);
  --on-primary: #ffffff;
  --focus: #5fd39a;
  --pass: #2f9e5b;
  --over: #e5484d;
  --tolerance: #e0a21b;
  --accent-text: var(--green-text);
  --selection: rgba(2, 127, 74, .45);
  --spectrum: linear-gradient(90deg, #00573a 0%, #027f4a 55%, #4faf72 82%, #efbf53 100%);
  --glow: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(18, 168, 101, .14), transparent 45%);
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 12px 32px rgba(0, 0, 0, .28);
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 40px 100px rgba(0, 0, 0, .55);
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --control: 44px;
  --control-sm: 38px;
  --content: 1200px;
  --header: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Code", SFMono-Regular, Menlo, Consolas, monospace;
  --wordmark-dark: none;
  --wordmark-light: block;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f5;
  --bg-deep: #eeeeea;
  --surface: #ffffff;
  --surface-2: #f4f4f1;
  --surface-3: #eaeae6;
  --glass: rgba(247, 247, 245, .8);
  --text: #121315;
  --muted: #52565c;
  --soft: #7d8188;
  --border: rgba(12, 14, 18, .09);
  --border-strong: rgba(12, 14, 18, .18);
  --green-text: #00693d;
  --focus: #027f4a;
  --selection: #cfeadb;
  --glow: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(2, 127, 74, .08), transparent 45%);
  --shadow-sm: 0 1px 2px rgba(16, 18, 22, .06), 0 10px 28px rgba(16, 18, 22, .07);
  --shadow-lg: 0 2px 6px rgba(16, 18, 22, .06), 0 36px 90px rgba(16, 18, 22, .16);
  --wordmark-dark: block;
  --wordmark-light: none;
}

/* ------------------------------------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 24px); }
html.no-js .reveal { opacity: 1 !important; transform: none !important; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); font-feature-settings: "cv11", "ss01", "ss03"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; isolation: isolate; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p a:not(.button), li a:not(.button), dd a, .prose a { color: var(--green-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color .2s; }
p a:not(.button):hover, li a:not(.button):hover, .prose a:hover { text-decoration-color: currentColor; }
::selection { background: var(--selection); color: var(--text); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.06; letter-spacing: -.038em; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.018em; font-weight: 650; }
h4 { font-size: .95rem; letter-spacing: -.01em; font-weight: 650; }
p { margin: 0; text-wrap: pretty; }
code, pre { font-family: var(--mono); font-size: .88em; }
.wrap { width: min(var(--content), 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--text); color: var(--bg); font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* captures and the wordmark come in a dark and a light version: show the one for the theme */
:root:not([data-theme="light"]) .theme-light, :root[data-theme="light"] .theme-dark { display: none !important; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 48px; }

/* eyebrow: small caps label with the SignScribe spectrum rule */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--spectrum); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); line-height: 1.62; color: var(--muted); max-width: 64ch; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: .72rem; font-weight: 650; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: .78rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.pill.pass { border-color: color-mix(in srgb, var(--green-hi) 60%, transparent); color: var(--green-text); background: color-mix(in srgb, var(--green) 14%, transparent); }

/* ------------------------------------------------------------------------------------------------ buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: var(--control); padding: 0 20px; border-radius: var(--radius-sm); border: 1px solid transparent; font: 600 .94rem/1 var(--font); letter-spacing: -.005em; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s, transform .25s var(--ease); }
.button svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.button:hover svg:last-child { transform: translateX(2px); }
.button:active { transform: translateY(1px); }
.button.small { height: var(--control-sm); padding: 0 15px; font-size: .875rem; }
.button.wide { width: 100%; }
.button.primary { background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 8px 24px rgba(2, 127, 74, .28); }
.button.primary:hover { background: #038a51; box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 10px 32px rgba(2, 127, 74, .42); }
.button.secondary { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.button.secondary:hover { background: var(--surface-3); }
.button.ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.button.ghost:hover { background: var(--surface-2); border-color: color-mix(in srgb, var(--text) 30%, transparent); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 520px) { .button-row:not(.keep) > .button { flex: 1 1 100%; } }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .94rem; color: var(--text); text-decoration: none !important; }
.text-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.text-link.small { font-size: .85rem; }
.icon-button { display: inline-grid; place-items: center; width: var(--control-sm); height: var(--control-sm); padding: 0; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: transparent; color: var(--text); cursor: pointer; transition: background-color .2s, border-color .2s; }
.icon-button:hover { background: var(--surface-2); }
.icon-button svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, backdrop-filter .3s; view-transition-name: site-header; }
.site-header.scrolled, .site-header.solid { background: var(--glass); border-bottom-color: var(--border); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav a { position: relative; display: inline-flex; align-items: center; height: var(--control-sm); padding: 0 13px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 550; color: var(--muted); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--spectrum); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
.menu-toggle { display: none; }
.progress-line { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--read, 0)); background: var(--spectrum); pointer-events: none; }
.mobile-menu { position: fixed; inset: var(--header) 0 0; z-index: 49; padding: 20px 0 40px; overflow-y: auto; background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 15px 0; border-bottom: 1px solid var(--border); font-size: 1.35rem; font-weight: 650; letter-spacing: -.02em; }
@media (max-width: 1000px) {
  .nav, .header-actions .button { display: none; }
  .menu-toggle { display: inline-grid; }
}

/* ------------------------------------------------------------------------------------------------ sections */
main { display: block; }
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.section.band { background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--surface) 70%, transparent) 12%, color-mix(in srgb, var(--surface) 70%, transparent) 88%, transparent); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }
.page-head { position: relative; padding-block: clamp(64px, 9vw, 120px) clamp(36px, 5vw, 64px); }
.page-head .wrap > * + * { margin-top: 20px; }
.page-head h1 { max-width: 16ch; }
.hero-glow, .hero-canvas { display: none; }

/* entrance: content below the fold rises in once, just before it is reached (page-motion.js) */
.page-motion .reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.page-motion .reveal[data-enter-wait] { opacity: 0; transform: translateY(16px); }
/* page heads arrive in sequence on load */
.page-head .wrap > *, .hero-copy > * { animation: arrive .8s var(--ease) both; }
.page-head .wrap > :nth-child(2), .hero-copy > :nth-child(2) { animation-delay: .07s; }
.page-head .wrap > :nth-child(3), .hero-copy > :nth-child(3) { animation-delay: .14s; }
.page-head .wrap > :nth-child(n+4), .hero-copy > :nth-child(n+4) { animation-delay: .21s; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } }

/* page to page: the header stays put while the page cross-fades and rises (cross-document view transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .22s var(--ease-in-out) both page-out; }
::view-transition-new(root) { animation: .42s var(--ease) both page-in; }
::view-transition-group(site-header) { animation: none; }
@keyframes page-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }

/* ------------------------------------------------------------------------------------------------ hero */
.hero { position: relative; padding-top: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 50% 30%, rgba(2, 127, 74, .22), transparent 70%), radial-gradient(30% 30% at 78% 18%, rgba(239, 191, 83, .08), transparent 70%); }
:root[data-theme="light"] .hero::before { background: radial-gradient(50% 50% at 50% 30%, rgba(2, 127, 74, .12), transparent 70%); }
.hero-copy { display: grid; justify-items: center; text-align: center; gap: 22px; }
.hero-copy h1 { max-width: 15ch; }
.hero-copy h1 em { font-style: normal; background: linear-gradient(90deg, #5fd39a, #efbf53); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .hero-copy h1 em { background: linear-gradient(90deg, #027f4a, #b07d10); -webkit-background-clip: text; background-clip: text; }
.hero-copy .lead { max-width: 60ch; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: .84rem; color: var(--soft); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green-hi); }

/* product window: a captured app screen in a frame, with tabs that cross-fade between captures */
.showcase { margin-top: clamp(44px, 6vw, 72px); perspective: 1800px; }
.showcase-frame { position: relative; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; transform-origin: 50% 0; animation: tilt-in 1.3s var(--ease) .25s both; }
@keyframes tilt-in { from { opacity: 0; transform: rotateX(14deg) translateY(40px) scale(.97); } }
.showcase-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: 0 0 0 1px rgba(255, 255, 255, .04) inset; }
.showcase-bar { display: flex; align-items: center; gap: 4px; padding: 8px; border-bottom: 1px solid var(--border); background: var(--surface-2); overflow-x: auto; scrollbar-width: none; }
.showcase-bar::-webkit-scrollbar { display: none; }
.showcase-tab { position: relative; flex: none; height: 34px; padding: 0 14px; border: 0; border-radius: var(--radius-xs); background: transparent; color: var(--muted); font: 550 .84rem/1 var(--font); cursor: pointer; overflow: hidden; transition: color .2s, background-color .2s; }
.showcase-tab:hover { color: var(--text); }
.showcase-tab[aria-selected="true"] { color: var(--text); background: var(--surface-3); }
.showcase-tab .timer { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--spectrum); transform: scaleX(0); transform-origin: 0 50%; }
.showcase-tab[aria-selected="true"] .timer { animation: timer var(--dwell, 6s) linear both; }
.showcase.paused .showcase-tab .timer { animation-play-state: paused; }
@keyframes timer { to { transform: scaleX(1); } }
.showcase-stage { position: relative; aspect-ratio: 1660 / 960; background: var(--bg-deep); }
.showcase-panel { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.012); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.showcase-panel.active { opacity: 1; transform: none; }
.showcase-panel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.showcase-caption { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--border); font-size: .84rem; color: var(--muted); background: var(--surface); }
.showcase-caption strong { color: var(--text); font-weight: 600; }
@media (max-width: 640px) { .showcase-caption > span:last-child { display: none; } }

/* platforms strip */
.platforms { padding-block: 44px; border-block: 1px solid var(--border); }
.platforms .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 48px; }
.platforms p { font-size: .84rem; color: var(--soft); }
.platform { display: inline-flex; align-items: baseline; gap: 10px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; color: var(--muted); transition: color .2s; }
.platform small { font-size: .78rem; font-weight: 550; letter-spacing: 0; color: var(--soft); }
.platform:hover { color: var(--text); }

/* ------------------------------------------------------------------------------------------------ cards and bento */
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .25s, transform .35s var(--ease), box-shadow .3s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--glow); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover::before { opacity: 1; }
a.card:hover, .card.lift:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.card .tag, .card-copy .tag, .plan .tag { align-self: flex-start; justify-self: start; }
.card h3 { margin-top: 2px; }
.card p { color: var(--muted); font-size: .95rem; }
.card .text-link { margin-top: auto; padding-top: 6px; }
.card.media { padding: 0; overflow: hidden; }
.card.media .thumb { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--bg-deep); }
.card.media .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card.media:hover .thumb img { transform: scale(1.03); }
.card.media .card-body { display: grid; gap: 10px; padding: 22px 24px 24px; }
.card time { font-size: .82rem; color: var(--soft); }
.card.download { flex-direction: row; align-items: center; gap: 20px; }
.card.download .icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--radius-sm); background: var(--surface-2); }
.card.download .icon svg { width: 20px; }
.card.download .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8rem; color: var(--soft); margin-top: 8px; }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.bento .card { overflow: hidden; padding: 0; }
.bento .card-copy { display: grid; gap: 10px; padding: 26px 26px 0; }
.bento .card-media { position: relative; margin-top: 22px; flex: 1; min-height: 220px; overflow: hidden; border-top: 1px solid var(--border); background: var(--bg-deep); }
.bento .card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus-at, 50% 0); transition: transform 1s var(--ease); }
.bento .card:hover .card-media img { transform: scale(1.035); }
.bento .span-4 { grid-column: span 4; } .bento .span-3 { grid-column: span 3; } .bento .span-2 { grid-column: span 2; } .bento .span-6 { grid-column: span 6; }
.bento .tall .card-media { min-height: 340px; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .bento .span-4, .bento .span-3, .bento .span-2, .bento .span-6 { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento .span-4, .bento .span-3, .bento .span-2, .bento .span-6 { grid-column: span 1; } }

/* feature rows: copy beside a captured screen */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.feature.flip { grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); }
.feature.flip > .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 18px; align-content: start; }
.feature-copy .lead { font-size: 1.05rem; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip > .feature-copy { order: 0; } }
.facts { display: grid; gap: 0; margin: 6px 0 0; border-top: 1px solid var(--border); }
.facts > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.facts dt { font-size: .84rem; color: var(--soft); }
.facts dd { margin: 0; font-size: .92rem; }
.checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 28px; color: var(--muted); font-size: .95rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--green) 22%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.8' fill='none' stroke='%235fd39a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.checks li span { color: var(--muted); }

/* captured screens */
.shot { position: relative; margin: 0; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; background: var(--bg-deep); box-shadow: var(--shadow-lg); }
.shot img { width: 100%; }
.shot .frame { overflow: hidden; }
.shot .frame img { transform: scale(var(--zoom, 1)); transform-origin: var(--at, 50% 50%); transition: transform 1.2s var(--ease); }
.shot:hover .frame img { transform: scale(calc(var(--zoom, 1) * 1.025)); }
.shot figcaption { padding: 11px 16px; border-top: 1px solid var(--border); font-size: .84rem; color: var(--muted); background: var(--surface); }
img.zoomable { cursor: zoom-in; }
.shot.hero-image { margin-block: 28px; }

/* tabbed gallery (features): one figure at a time, chosen by chips */
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: var(--control-sm); padding: 0 15px; border: 1px solid var(--border-strong); border-radius: 999px; background: transparent; color: var(--muted); font: 550 .86rem/1 var(--font); cursor: pointer; transition: color .2s, background-color .2s, border-color .2s; }
.chip:hover { color: var(--text); }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { color: var(--text); background: var(--surface-3); border-color: color-mix(in srgb, var(--green-hi) 55%, transparent); }
.gallery-stage { position: relative; display: grid; }
.gallery-stage > figure { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s; }
.gallery-stage > figure.active { opacity: 1; visibility: visible; transform: none; }

/* sub navigation on long pages */
.subnav { position: sticky; top: var(--header); z-index: 40; border-block: 1px solid var(--border); background: var(--glass); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font-size: .86rem; font-weight: 550; color: var(--muted); transition: color .2s, background-color .2s; }
.subnav a:hover { color: var(--text); }
.subnav a.active { color: var(--text); background: var(--surface-3); }

/* numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps > div { position: relative; display: grid; gap: 10px; padding: 26px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.steps > div::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--green-text); }
.steps p { color: var(--muted); font-size: .94rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* output files */
.files { display: grid; gap: 10px; }
.file { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 12px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .2s, background-color .2s, transform .3s var(--ease); }
.file:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateX(2px); }
.file strong { display: block; font-size: .94rem; font-weight: 600; }
.file small { color: var(--soft); font-size: .8rem; }
.file .arrow { color: var(--muted); font-size: 1.1rem; }
.sheet { position: relative; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.sheet img { width: 100%; transition: opacity .35s var(--ease); }
/* the pager belongs to the paper: neutral ink on the sheet's own white, never the site accent */
.sheet-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid #e3e3df; background: #f6f6f3; font-size: .84rem; color: #4a4d52; }
.sheet-controls .pages { display: flex; gap: 6px; }
.sheet-controls button { width: 32px; height: 32px; border: 1px solid #cfd0cc; border-radius: var(--radius-xs); background: #fff; color: #3a3d42; font: 600 .84rem/1 var(--font); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.sheet-controls button:hover { border-color: #8d8f93; }
.sheet-controls button[aria-pressed="true"] { background: #1b1d20; border-color: #1b1d20; color: #fff; }

/* certificate callout */
.certificate { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; padding: 26px; border: 1px solid color-mix(in srgb, var(--green-hi) 40%, var(--border)); border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--green) 12%, transparent), transparent 60%), var(--surface); }
.certificate .seal { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--green) 20%, transparent); }
.certificate .seal svg { width: 26px; height: 26px; }
.certificate p { color: var(--muted); font-size: .95rem; }
.certificate h3 { margin-bottom: 8px; }

/* regions: Australia and New Zealand side by side */
.region { display: grid; gap: 20px; align-content: start; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.region-head { display: grid; gap: 12px; justify-items: start; }
.region-head h3 { font-size: 1.4rem; letter-spacing: -.025em; }
.region .shot { box-shadow: none; margin-top: 4px; }

/* live signs strip (sign.js) */
.live-signs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.live-sign { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--border); border-radius: var(--radius); background: radial-gradient(120% 90% at 50% 40%, color-mix(in srgb, var(--surface-2) 80%, transparent), transparent 70%), var(--bg-deep); overflow: hidden; }
.live-sign span { position: absolute; left: 14px; bottom: 12px; font-size: .76rem; color: var(--soft); }
@media (max-width: 900px) { .live-signs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.source-note { font-size: .82rem; color: var(--soft); max-width: 80ch; }
.notice { padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); font-size: .9rem; color: var(--muted); }
.callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.callout .mark { color: var(--gold); }
.callout p { color: var(--muted); }

/* ------------------------------------------------------------------------------------------------ call to action */
.cta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px 48px; padding: clamp(32px, 5vw, 56px); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: radial-gradient(70% 120% at 0% 0%, rgba(2, 127, 74, .2), transparent 60%), var(--surface); overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--spectrum); }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta .lead { margin-top: 12px; font-size: 1.02rem; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------------------------------------ article, prose and releases */
.article { max-width: 780px; margin-inline: auto; }
.article header { display: grid; gap: 14px; }
.article time { font-size: .86rem; color: var(--soft); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: .86rem; color: var(--soft); }
.breadcrumb a:hover { color: var(--text); }
.prose { color: color-mix(in srgb, var(--text) 86%, var(--muted)); font-size: 1.02rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--radius-sm); border: 1px solid var(--border); }
.prose pre { padding: 16px; border-radius: var(--radius-sm); background: var(--surface-2); overflow-x: auto; }
.prose code { padding: .1em .35em; border-radius: 5px; background: var(--surface-2); }
.prose pre code { padding: 0; background: none; }
.releases { display: grid; gap: 18px; max-width: 900px; }
.release { gap: 14px; }
.release.latest { border-color: color-mix(in srgb, var(--green-hi) 45%, var(--border)); }
.release-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.release-head h3 { margin-top: 8px; font-size: 1.3rem; }
.release-meta { display: flex; align-items: center; gap: 12px; }
.release-meta time { font-size: .84rem; color: var(--soft); }
.release-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.release-cols h4 { margin-bottom: 10px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-link { display: inline-flex; align-items: center; height: var(--control-sm); padding: 0 15px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: .86rem; font-weight: 550; color: var(--muted); }
.pill-link[aria-current="page"], .pill-link:hover { color: var(--text); background: var(--surface-3); }
.wiki-search { position: relative; max-width: 520px; }
.wiki-search svg { position: absolute; left: 14px; top: 50%; width: 18px; transform: translateY(-50%); color: var(--soft); }
.wiki-search input { width: 100%; height: var(--control); padding: 0 16px 0 42px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; }
.not-found { min-height: 60vh; display: grid; align-content: center; }
.not-found .wrap > * + * { margin-top: 18px; }

/* ------------------------------------------------------------------------------------------------ tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table-wrap tr:last-child > * { border-bottom: 0; }
.table-wrap thead th { font-size: .8rem; font-weight: 600; color: var(--soft); background: var(--surface-2); }
.table-wrap tbody th { font-weight: 600; width: 180px; }
.table-wrap td { color: var(--muted); }

/* ------------------------------------------------------------------------------------------------ forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; align-content: start; }
.field label, .field-row label { font-size: .86rem; font-weight: 600; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.req { color: var(--soft); font-weight: 500; }
.field input, .field select, .field textarea, .quote-form select, .quote-form input[type="number"] {
  width: 100%; height: var(--control); padding: 0 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); font: 400 .95rem/1.4 var(--font); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field select, .quote-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23999' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }
.field textarea { height: auto; min-height: 150px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--text) 28%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus, .quote-form select:focus, .quote-form input:focus { outline: none; border-color: var(--green-hi); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 30%, transparent); }
.field .hint { font-size: .8rem; color: var(--soft); }
.field .message { display: none; font-size: .8rem; color: var(--over); }
.field.error input, .field.error select, .field.error textarea { border-color: var(--over); }
.field.error .message { display: block; }
.consent, .check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent input, .check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green); }
.consent.error span { color: var(--over); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; font-size: .9rem; color: var(--green-text); }
.form-status.show { display: block; }

/* contact: one column, every control the same height */
.contact-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); overflow: auto; }
.contact-dialog::backdrop { background: rgba(4, 5, 6, .62); backdrop-filter: blur(6px); }
.contact-dialog[open] { animation: dialog-in .32s var(--ease); }
.contact-dialog[open]::backdrop { animation: fade-in .32s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
.contact-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 28px 30px 6px; }
.contact-head h2 { margin: 10px 0 6px; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.contact-head p { color: var(--muted); font-size: .95rem; }
.contact-body { padding: 18px 30px 30px; }
.contact-body .notice { font-size: .84rem; }
@media (max-width: 600px) { .contact-head { padding: 22px 20px 4px; } .contact-body { padding: 14px 20px 22px; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; gap: 12px; padding: 32px; background: rgba(4, 5, 6, .9); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; cursor: zoom-out; transition: opacity .3s var(--ease), visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1600px, 100%); max-height: calc(100vh - 110px); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); transform: scale(.97); transition: transform .4s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox p { max-width: 80ch; text-align: center; font-size: .9rem; color: #c8ccd1; }

/* ------------------------------------------------------------------------------------------------ pricing */
.billing { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); }
.billing button { height: 36px; padding: 0 22px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 600 .9rem/1 var(--font); cursor: pointer; transition: background-color .25s, color .25s; }
.billing button[aria-checked="true"] { background: var(--green); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: transform .35s var(--ease), border-color .25s, box-shadow .3s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.plan.featured { border-color: color-mix(in srgb, var(--green-hi) 55%, transparent); background: radial-gradient(90% 60% at 50% 0%, rgba(2, 127, 74, .16), transparent 70%), var(--surface); }
.plan.featured::before { content: "Best value"; position: absolute; top: -12px; left: 30px; height: 24px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--green); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.plan h2 { margin: 14px 0 0; font-size: 1.35rem; letter-spacing: -.02em; }
.plan .muted { font-size: .94rem; }
.price { margin: 18px 0 10px; font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { display: block; margin-top: 10px; font-size: .84rem; font-weight: 450; letter-spacing: 0; color: var(--muted); }
.price-footnote { font-size: .86rem; color: var(--muted); max-width: 78ch; }
.plan-upkeep { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: .86rem; color: var(--muted); }
.plan-upkeep strong { color: var(--text); font-weight: 650; white-space: nowrap; }
.price-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.price-table { width: 100%; min-width: 620px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 16px 20px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--border); }
.price-table th:first-child, .price-table td:first-child { text-align: left; white-space: normal; }
.price-table thead th { font-size: .8rem; font-weight: 600; color: var(--soft); background: var(--surface-2); }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody th { font-weight: 600; }
.price-table th small, .price-table td small { display: block; margin-top: 3px; font-size: .78rem; font-weight: 400; color: var(--muted); }
.price-table .bundle-row { background: color-mix(in srgb, var(--green) 9%, transparent); }
[data-perpetual-only][hidden] { display: none !important; }
.maintenance-table { max-width: 760px; }
.pricing-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .pricing-layout { grid-template-columns: 1fr; } }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.quote-form > label { display: grid; gap: 7px; font-size: .86rem; font-weight: 600; }
.quote-form fieldset { grid-column: 1 / -1; display: grid; gap: 4px; margin: 0; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.quote-form legend { padding: 0 6px; font-size: .86rem; font-weight: 600; }
.quote-form fieldset label { display: flex; align-items: center; gap: 12px; min-height: 36px; font-size: .94rem; color: var(--muted); cursor: pointer; }
.quote-form input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); }
.quote-form fieldset:has(input:disabled) { opacity: .55; }
@media (max-width: 480px) { .quote-form { grid-template-columns: 1fr; } }
.quote-result { position: sticky; top: calc(var(--header) + 70px); display: grid; gap: 12px; padding: 26px; border: 1px solid color-mix(in srgb, var(--green-hi) 45%, var(--border)); border-radius: var(--radius-lg); background: radial-gradient(80% 60% at 100% 0%, rgba(2, 127, 74, .14), transparent 70%), var(--surface); }
.quote-result output { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.quote-result p { color: var(--muted); font-size: .92rem; }
.quote-result p:empty { display: none; }
.pricing-faq { border-bottom: 1px solid var(--border); }
.pricing-faq:first-of-type { border-top: 1px solid var(--border); }
.pricing-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; list-style: none; cursor: pointer; font-size: 1.04rem; font-weight: 600; }
.pricing-faq summary::-webkit-details-marker { display: none; }
.pricing-faq summary::after { content: "+"; flex: none; font-size: 1.4rem; font-weight: 400; color: var(--muted); transition: transform .3s var(--ease); }
.pricing-faq[open] summary::after { transform: rotate(45deg); }
.pricing-faq p { padding-bottom: 20px; color: var(--muted); max-width: 80ch; }
.standalone-font { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.standalone-font > div:first-child > * + * { margin-top: 16px; }
@media (max-width: 860px) { .standalone-font { grid-template-columns: 1fr; } }
.standalone-font-offer { display: grid; gap: 14px; padding: 30px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); }
.standalone-font-offer > strong { font-size: 3rem; letter-spacing: -.05em; line-height: 1; }
.standalone-font-offer > span:not(.tag), .standalone-font-offer p { font-size: .88rem; color: var(--muted); }

/* ------------------------------------------------------------------------------------------------ download */
.downloads { display: grid; gap: 40px; }
.download-release { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 28px 40px; align-items: center; padding: 32px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: radial-gradient(80% 120% at 100% 0%, rgba(2, 127, 74, .16), transparent 60%), var(--surface); overflow: hidden; }
.download-release::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--spectrum); }
@media (max-width: 760px) { .download-release { grid-template-columns: 1fr; padding: 22px; } }
.download-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.download-heading img { width: 52px; height: 52px; }
.download-heading h2 { margin-top: 4px; font-size: clamp(1.5rem, 3vw, 2rem); }
.release-channel { font-size: .8rem; color: var(--muted); }
.dl-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0; }
.dl-facts dt { font-size: .8rem; color: var(--soft); }
.dl-facts dd { margin: 4px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.download-buttons { display: grid; gap: 10px; }
.download-buttons .button { width: 100%; }
.download-unavailable { display: flex; align-items: center; justify-content: center; height: var(--control); border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); font-size: .88rem; font-weight: 600; color: var(--soft); }
#setup-note { margin-top: 14px; font-size: .84rem; color: var(--muted); }
.downloads > section > h2 { font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 14px; }
.downloads > section > p { color: var(--muted); max-width: 72ch; }
.release-changes > p { color: var(--muted); }
.release-changes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.release-change { padding-left: 16px; border-left: 2px solid color-mix(in srgb, var(--green-hi) 55%, transparent); }
.release-change h3 { margin-bottom: 10px; font-size: .95rem; }
.release-change ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .9rem; }
.release-change li + li { margin-top: 7px; }
.components { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .components { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .components { grid-template-columns: 1fr; } }
.component { display: grid; gap: 10px; align-content: start; justify-items: start; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.component h3 { font-size: 1.02rem; }
.component p { font-size: .9rem; color: var(--muted); }
#setup-note strong { color: var(--text); font-weight: 600; }
.download-actions { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.download-actions strong { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------------------------------------------ about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-head .wrap > * + * { margin-top: 0; }
.about-copy { display: grid; gap: 20px; }
.about-copy h1 { max-width: 18ch; font-size: clamp(2.4rem, 5vw, 3.9rem); }
.studio-card { display: grid; gap: 22px; padding: 28px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: radial-gradient(80% 60% at 100% 0%, rgba(2, 127, 74, .14), transparent 70%), var(--surface); box-shadow: var(--shadow-sm); }
.studio-card img { width: min(300px, 100%); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.studio-identity { display: grid; gap: 16px; justify-items: start; }
.studio-logo img { width: min(360px, 100%); }
.studio-logo .on-light { display: var(--wordmark-dark); }
.studio-logo .on-dark { display: var(--wordmark-light); }
.contact-list { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--border); }
.contact-list > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-list dt { color: var(--soft); font-size: .86rem; }
.contact-list dd { margin: 0; }

/* ------------------------------------------------------------------------------------------------ footer */
.site-footer { margin-top: clamp(40px, 6vw, 80px); padding-block: 56px 28px; border-top: 1px solid var(--border); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.footer-brand p { max-width: 38ch; color: var(--muted); }
.footer-brand .gps { height: 30px; width: auto; }
.gps.on-dark { display: var(--wordmark-light); }
.gps.on-light { display: var(--wordmark-dark); }
.site-footer h4 { margin-bottom: 14px; font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer li a { color: var(--muted); text-decoration: none; transition: color .2s; }
.site-footer li a:hover { color: var(--text); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); font-size: .82rem; color: var(--soft); }

/* ------------------------------------------------------------------------------------------------ backdrop (transport.js) */
#transport-background { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 1.4s var(--ease); }
#transport-background.is-ready { opacity: 1; }
/* Dark roads on a light page read far stronger than light roads on a dark one: keep the city a texture behind the copy. */
:root[data-theme="light"] #transport-background.is-ready { opacity: .6; }
#transport-background canvas { width: 100%; height: 100%; }

/* theme change: the page dissolves between themes */
.theme-fade, .theme-fade * { transition: background-color .9s var(--ease), color .9s var(--ease), border-color .9s var(--ease) !important; }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
.theme-switching::view-transition-old(root) { animation: .6s ease both fade-out; }
.theme-switching::view-transition-new(root) { animation: .6s ease both fade-in; }
@keyframes fade-out { to { opacity: 0; } }

@media print { #transport-background, .site-header, .site-footer, .subnav, .contact-dialog { display: none !important; } body { background: #fff; color: #000; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .page-motion .reveal[data-enter-wait] { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
