/* ==========================================================
   TALVIOH, version 4: a quiet pixel system built from the logo.
   Only the logo's two colours (maroon and ice) plus neutrals.
   Light: ice ground, maroon ink. Dark: maroon-black ground, ice ink.
   ========================================================== */
/* Geist is served from this site (assets/fonts, SIL Open Font License, see OFL.txt there).
   One variable file holds every weight. The second file only loads for rarer letters and ₹. */
@font-face {
  font-family: "Geist";
  src: url(../assets/fonts/geist-1.401-latin.woff2) format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url(../assets/fonts/geist-1.401-latin-ext.woff2) format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Departure Mono";
  src: url(../assets/fonts/departure-mono-1.500.woff2) format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --bg: #f2f7f9;
  --bg-2: #e6f0f4;
  --card: #ffffff;
  --ink: #170c11;
  --text: #170c11;
  --text-2: #5b5257;
  --text-3: #6f666b;
  --line: rgba(23, 12, 17, .10);
  --line-2: rgba(23, 12, 17, .20);
  --maroon: #5b1426;
  --maroon-2: #74192f;
  --ice: #e8f5fb;
  --ice-2: #d6eaf3;
  --soft: #9fc9dc;
  --hl: #5b1426;              /* emphasis in headings */
  --btn: #5b1426;
  --btn-hover: #74192f;
  --btn-text: #e8f5fb;
  --nav: rgba(242, 247, 249, .82);
  --cloud: #5b1426;
  --cloud-face: #e8f5fb;
  --dot: rgba(91, 20, 38, .16);
  --shadow: 0 24px 48px -28px rgba(23, 12, 17, .35);

  --p-maroon: #5b1426;  --p-maroon-text: #e8f5fb; --p-maroon-sub: rgba(232, 245, 251, .72);
  --p-ink: #170c11;     --p-ink-text: #f6eef1;    --p-ink-sub: rgba(246, 238, 241, .62);
  --p-ice: #dcecf3;
  --p-white: #ffffff;

  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --px: "Departure Mono", "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1320px;
  --gut: clamp(20px, 3.4vw, 48px);
  --hdr: 68px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0d0609;
  --bg-2: #150a0e;
  --card: #170b10;
  --text: #f6eef1;
  --text-2: #bba9b0;
  --text-3: #9a8790;
  --line: rgba(246, 226, 233, .09);
  --line-2: rgba(246, 226, 233, .18);
  --hl: #bfe3f3;
  --btn: #e8f5fb;
  --btn-hover: #ffffff;
  --btn-text: #2a0912;
  --nav: rgba(13, 6, 9, .74);
  --cloud: #e8f5fb;
  --cloud-face: #0d0609;
  --dot: rgba(232, 245, 251, .10);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .9);
  --p-maroon: #3a0d19;
  --p-ink: #120709;
  --p-ice: #141c22;
  --p-white: #170b10;
  color-scheme: dark;
}

/* ==========================================================
   PALETTE: C, Oxblood & Stone (chosen 14 October 2026). It overrides the older
   maroon and ice values above, in light and dark.
   Brand panel tokens: --brand (deep panels), --brand-text, --brand-sub,
   --brand-line, --brand-hl (highlight words on panels), --mark (small squares
   and ticks), --tag-bg / --tag-text (New and Save tags), --ann-bg (top line).
   ========================================================== */
:root { --brand: #5b1426; --brand-deep: #2a0912; --brand-text: #e8f5fb; --brand-sub: rgba(232, 245, 251, .7); --brand-line: rgba(232, 245, 251, .18); --brand-hl: #bfe3f3;
        --mark: var(--hl); --tag-bg: #e8f5fb; --tag-text: #5b1426; --ann-bg: #5b1426; --tick: var(--maroon); }
:root[data-theme="dark"] { --ann-bg: #2a0912; --tick: #b5566d; }

/* ---------- Oxblood & Stone ---------- */
:root:not([data-theme="dark"]) {
  --bg: #f1f0ee; --bg-2: #e6e4e0; --card: #fbfbfa; --ink: #0c0a09; --text: #0c0a09; --text-2: #57534e; --text-3: #69635e;
  --line: rgba(12, 10, 9, .1); --line-2: rgba(12, 10, 9, .2);
  --maroon: #6b1a2a; --maroon-2: #84233a; --ice: #f5f5f4; --soft: #d39aa4; --hl: #6b1a2a;
  --btn: #0c0a09; --btn-hover: #292524; --btn-text: #f5f5f4; --nav: rgba(241, 240, 238, .84);
  --cloud: #6b1a2a; --cloud-face: #f1f0ee; --dot: rgba(107, 26, 42, .16);
  --p-maroon: #6b1a2a; --p-maroon-text: #f5f5f4; --p-maroon-sub: rgba(245, 245, 244, .72); --p-ink: #0c0a09; --p-ice: #e6e4e0; --p-white: #fbfbfa;
  --brand: #1c1917; --brand-deep: #0c0a09; --brand-text: #f5f5f4; --brand-sub: rgba(245, 245, 244, .7); --brand-line: rgba(245, 245, 244, .16); --brand-hl: #e3a7b1;
  --mark: #6b1a2a; --tag-bg: #f5f5f4; --tag-text: #0c0a09; --ann-bg: #0c0a09; --tick: #6b1a2a;
}
:root[data-theme="dark"] {
  --bg: #0c0a09; --bg-2: #1c1917; --card: #171412; --text: #f5f5f4; --text-2: #a8a29e; --text-3: #918a85;
  --line: rgba(245, 245, 244, .09); --line-2: rgba(245, 245, 244, .18);
  --maroon: #7a2033; --ice: #f5f5f4; --soft: #d39aa4; --hl: #e3a7b1;
  --btn: #f5f5f4; --btn-hover: #ffffff; --btn-text: #0c0a09; --nav: rgba(12, 10, 9, .8);
  --cloud: #ebe5e1; --cloud-face: #0c0a09; --dot: rgba(235, 229, 225, .1);
  --p-maroon: #3b0f19; --p-ink: #050404; --p-ice: #1c1917; --p-white: #171412;
  --brand: #1c1917; --brand-deep: #0c0a09; --brand-text: #f5f5f4; --brand-sub: rgba(245, 245, 244, .68); --brand-line: rgba(245, 245, 244, .14); --brand-hl: #e3a7b1;
  --mark: #e3a7b1; --tag-bg: #f5f5f4; --tag-text: #0c0a09; --ann-bg: #1c1917; --tick: #a83a51;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--hl); outline-offset: 3px; }
::selection { background: var(--maroon); color: var(--ice); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--btn); color: var(--btn-text); font-weight: 500; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.px { font-family: var(--px); font-weight: 400; letter-spacing: 0; }

/* ---------- stepped pixel corners ---------- */
.stepped {
  --s: 4px;
  clip-path: polygon(
    0 calc(2 * var(--s)), var(--s) calc(2 * var(--s)), var(--s) var(--s), calc(2 * var(--s)) var(--s), calc(2 * var(--s)) 0,
    calc(100% - 2 * var(--s)) 0, calc(100% - 2 * var(--s)) var(--s), calc(100% - var(--s)) var(--s), calc(100% - var(--s)) calc(2 * var(--s)), 100% calc(2 * var(--s)),
    100% calc(100% - 2 * var(--s)), calc(100% - var(--s)) calc(100% - 2 * var(--s)), calc(100% - var(--s)) calc(100% - var(--s)), calc(100% - 2 * var(--s)) calc(100% - var(--s)), calc(100% - 2 * var(--s)) 100%,
    calc(2 * var(--s)) 100%, calc(2 * var(--s)) calc(100% - var(--s)), var(--s) calc(100% - var(--s)), var(--s) calc(100% - 2 * var(--s)), 0 calc(100% - 2 * var(--s))
  );
}

/* ---------- pixel art ---------- */
.pxicon { width: 48px; height: auto; aspect-ratio: 1; flex: none; }
.pxicon__bg { fill: var(--icon-bg, var(--maroon)); }
.pxicon__fg { fill: var(--icon-fg, var(--ice)); }
.pxicon__soft { fill: var(--icon-soft, var(--soft)); }
.pxui { height: 1em; width: auto; flex: none; }
.pxcloud { width: 100%; height: auto; overflow: visible; }
.pxcloud__body { fill: var(--cloud); }
.pxcloud__eyes, .pxcloud__mouth { fill: var(--cloud-face); }
.pxcloud__lids { fill: var(--cloud); opacity: 0; animation: blink 5s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 0; } 84% { opacity: 1; } 87% { opacity: 0; } 91% { opacity: 1; } 93.5% { opacity: 0; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 22px 0 24px; border: 0; cursor: pointer;
  background: var(--btn); color: var(--btn-text); font-weight: 500; font-size: 15.5px; letter-spacing: -.01em;
  transition: background .2s ease, transform .12s ease;
}
.btn .pxui { height: 10px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--btn-hover); }
@media (hover: hover) { .btn:hover .pxui { transform: translateX(6px); } }
.btn:active, .link:active, .sq:active { transform: scale(0.96); }
.btn:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--btn-text), inset 0 0 0 5px var(--btn); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; gap: 10px; }
.btn--sm .pxui { height: 8px; }
.btn--quiet { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--quiet:hover { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn--soft { background: color-mix(in srgb, var(--text) 9%, transparent); color: var(--text); }
.btn--soft:hover { background: color-mix(in srgb, var(--text) 15%, transparent); }
.btn--soft:focus-visible { box-shadow: inset 0 0 0 3px var(--text); }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; border-bottom: 1.5px solid var(--line-2); padding-bottom: 3px; transition: border-color .2s ease, transform .12s ease; }
.link .pxui { height: 9px; transition: transform .3s var(--ease); }
.link:hover { border-color: var(--text); }
@media (hover: hover) { .link:hover .pxui { transform: translateX(5px); } }

/* smooth scroll offset for sticky header */
.section, .block, #bundle, #compare, #untangle, #store {
  scroll-margin-top: calc(var(--hdr) + 20px);
}

/* ==========================================================
   HEADER
   ========================================================== */

.hdr {
  position: sticky; top: 0; z-index: 50; background: var(--nav);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
  padding-top: env(safe-area-inset-top);
}
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr__row { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.logo .pxcloud { width: 36px; }
.hdr__nav { display: flex; gap: 30px; margin-left: auto; }
.hdr__nav a { font-size: 15px; color: var(--text-2); transition: color .2s; }
.hdr__nav a:hover { color: var(--text); }
.hdr__nav a[aria-current="page"] { color: var(--text); box-shadow: 0 2px 0 var(--hl); }
.sq {
  display: grid; place-items: center; width: 40px; height: 40px; border: 0; cursor: pointer;
  background: var(--card); color: var(--text-2); transition: color .2s, background .2s ease;
}
.sq:hover { color: var(--text); background: var(--bg-2); }
.sq .pxui { height: 15px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
.menu-btn { display: none; }
.menu-btn .menu-icon-close { display: none; }
.panel { display: none; border-top: 1px solid var(--line); padding: 6px 0 20px; }
.panel a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.panel .btn { margin-top: 18px; width: 100%; }
.hdr[data-open] .panel { display: block; animation: panelIn .35s var(--ease); }
.hdr[data-open] .panel > * { animation: panelItem .4s var(--ease) both; }
.hdr[data-open] .panel > :nth-child(2) { animation-delay: .04s; }
.hdr[data-open] .panel > :nth-child(3) { animation-delay: .08s; }
.hdr[data-open] .panel > :nth-child(4) { animation-delay: .12s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-6px); } }
@keyframes panelItem { from { opacity: 0; transform: translateY(10px); } }

body.menu-open { overflow: hidden; }

@media (max-width: 820px) {
  :root { --hdr: 60px; }
  .hdr { z-index: 100; }
  .hdr__row { gap: 10px; position: relative; z-index: 102; }
  .hdr__nav, .hdr__row > .btn { display: none; }
  .theme-btn { margin-left: auto; width: 44px; height: 44px; }
  .menu-btn { display: grid; width: 44px; height: 44px; }
  .hdr[data-open] {
    background: var(--bg);
    border-bottom-color: var(--line);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hdr[data-open] .menu-btn .menu-icon-bars { display: none; }
  .hdr[data-open] .menu-btn .menu-icon-close { display: block; }
  .hdr[data-open] .panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    padding: calc(var(--hdr) + env(safe-area-inset-top) + 16px) var(--gut) max(28px, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 101;
    animation: panelIn .3s var(--ease);
  }
  .hdr[data-open] .panel a:not(.btn) {
    font-size: 24px;
    padding: 18px 0;
  }
  .hdr[data-open] .panel .btn {
    margin-top: auto;
    height: 52px;
  }
}

/* ==========================================================
   PRODUCT PANELS, TILES AND CARDS
   ========================================================== */
.tone-maroon { --panel: var(--p-maroon); --panel-text: var(--p-maroon-text); --panel-sub: var(--p-maroon-sub); --icon-bg: var(--p-maroon-text); --icon-fg: var(--p-maroon); --icon-soft: var(--soft); }
.tone-ink { --panel: var(--p-ink); --panel-text: var(--p-ink-text); --panel-sub: var(--p-ink-sub); }
.tone-ice { --panel: var(--p-ice); }
.tone-white { --panel: var(--p-white); }

/* a text cover until real banners exist */
.tcover {
  container-type: inline-size; display: block; position: relative; aspect-ratio: 4 / 5;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
:root[data-theme="dark"] .tcover { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.tcover__in { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 9cqw 8cqw 8cqw; }
.tcover__top { display: flex; align-items: center; justify-content: space-between; }
.tcover__top .pxicon { width: 16cqw; }
.tcover__cat { font: 400 max(12px, 4cqw)/1 var(--px); color: var(--text-3); }
.tcover__line { margin-top: auto; font: 700 10.6cqw/1.02 var(--sans); letter-spacing: -.05em; color: var(--text); }
.tcover__by { margin-top: 7cqw; font: 400 max(12px, 4cqw)/1 var(--px); color: var(--text-2); }
@container (max-width: 260px) { .tcover__cat, .tcover__by { visibility: hidden; } }
.shot { display: block; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; }
.shot--bare { background: none; box-shadow: none; overflow: visible; }   /* an app icon with its own transparent corners */

/* home store tiles */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile {
  position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 26px; border-radius: 6px;
  background: var(--panel, var(--card)); color: var(--panel-text, var(--text));
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
@media (hover: hover) { .tile:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); } }
.tile .pxicon { width: 64px; }
@media (hover: hover) { .tile:hover .pxicon { animation: hop .6s ease-in-out; } }
@keyframes hop { 50% { transform: translateY(-4px); } }
.tile h3 { margin-top: auto; padding-top: 28px; font-size: 24px; line-height: 1.1; letter-spacing: -.035em; }
.tile__line { margin-top: 6px; color: var(--panel-sub, var(--text-2)); font-size: 15px; max-width: 24em; }
.tile__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.tone-maroon .tile__meta, .tone-ink .tile__meta { border-color: rgba(255, 255, 255, .14); }
.price { font: 400 15px/1 var(--px); }
.kind { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--panel-sub, var(--text-2)); }
.kind .pxui { height: 11px; }
.tile--big { grid-column: span 2; grid-row: span 2; padding: 36px; }
.tile--big .pxicon { width: 112px; }
.tile--big h3 { font-size: clamp(36px, 3.4vw, 52px); letter-spacing: -.05em; }
.tile--big .tile__line { font-size: 17px; }
.tile__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.tile__list li { display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; }
.tile__list .pxui { height: 9px; color: var(--soft); transform: translateY(-1px); }
.tile__ver { position: absolute; top: 36px; right: 36px; font: 400 13px/1 var(--px); padding: 5px 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.tile--full { grid-column: 1 / -1; grid-row: auto; min-height: 0; padding-block: 22px; flex-direction: row; align-items: center; gap: 24px; flex-wrap: wrap; }
.tile--full h3 { margin: 0; padding: 0; }
.tile--full .tile__line { margin: 0; flex: 1 1 280px; }
.tile--full .tile__meta { margin: 0; padding: 0; border: 0; gap: 24px; }
.tile--full .pxicon { width: 52px; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile--big { grid-row: span 1; } }
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile { min-height: 260px; }
  .tile--big, .tile--full { grid-column: auto; }
  .tile--full { min-height: 0; }
}

/* store cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.pcard { display: block; }
.pcard__art {
  position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 6px;
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 10%;
}
.pcard__art > * { width: 100%; transition: transform .6s var(--ease); }
.pcard__art .tcover { width: 50%; }
.pcard__art .shot--square { width: 60%; }
.pcard__art .shot--tall { width: 40%; }
@media (hover: hover) { .pcard:hover .pcard__art > * { transform: translateY(-6px); } }
.pcard__body { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding-top: 16px; }
.pcard__body .pxicon { width: 40px; grid-row: span 2; }
.pcard__name { font-weight: 600; font-size: 18px; letter-spacing: -.025em; line-height: 1.2; }
.pcard__line { grid-column: 2 / -1; color: var(--text-2); font-size: 14.5px; line-height: 1.45; }
.pcard__kind { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .pcard__art { aspect-ratio: 16 / 10; padding: 6%; }
  .pcard__art .tcover { width: 38%; }
  .pcard__art .shot--square { width: 48%; }
  .pcard__art .shot--tall { width: 30%; }
}

/* ==========================================================
   SHARED SECTIONS
   ========================================================== */
.section { padding-block: clamp(64px, 10vw, 150px); }
.h2 { font-size: clamp(40px, 5vw, 72px); line-height: .98; letter-spacing: -.055em; }
.h2 em { font-style: normal; color: var(--hl); }
.lede { color: var(--text-2); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; max-width: 34em; text-wrap: balance; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.head .lede { margin-top: 16px; }

/* Questions: the heading centred on top, the FAQ under it (home and product pages) */
.qa { display: grid; justify-items: center; gap: clamp(28px, 3.5vw, 44px); text-align: center; }
.qa .lede { margin: 16px auto 0; }
.qa .faq { width: 100%; max-width: 760px; text-align: left; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.03em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; background: currentColor; }
.faq summary i::before { left: 0; right: 0; top: 6px; height: 2px; }
.faq summary i::after { top: 0; bottom: 0; left: 6px; width: 2px; transition: transform .2s var(--ease); }
.faq details[open] summary i::after { transform: scaleY(0); }
.faq details p { padding: 0 0 24px; color: var(--text-2); max-width: 46em; }
.faq details p a { color: var(--text); border-bottom: 1px solid var(--line-2); }

/* FAQ as a chat window: a bar with the cloud, question bubbles on the left (each with a pixel
   + that turns into a -), answers from TALVIOH on the right, and a last bubble to Contact.
   js/site.js builds it from the <details> list above, which still works without scripts.
   Pixel corners, with one square corner as each bubble's tail. */
.faq--chat { --s: 6px; width: 100%; max-width: 760px; margin-inline: auto; border-top: 0; text-align: left; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.faq__bar { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.faq__bar .pxcloud { width: 30px; }
.faq__bar b { font-weight: 700; letter-spacing: -.01em; }
.faq__bar small { margin-left: auto; font: 400 12.5px/1.2 var(--px); color: var(--text-3); text-align: right; }
.faq__log { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 3vw, 28px) clamp(14px, 3vw, 28px) clamp(20px, 3vw, 30px); }
.faq__q, .faq__bubble, .faq__ask { --s: 5px; padding: 12px 18px 13px; line-height: 1.45; letter-spacing: -.01em; }
.faq__q, .faq__ask {
  align-self: flex-start; max-width: 88%; border: 0; text-align: left;
  clip-path: polygon(0 calc(2 * var(--s)), var(--s) calc(2 * var(--s)), var(--s) var(--s), calc(2 * var(--s)) var(--s), calc(2 * var(--s)) 0,
    calc(100% - 2 * var(--s)) 0, calc(100% - 2 * var(--s)) var(--s), calc(100% - var(--s)) var(--s), calc(100% - var(--s)) calc(2 * var(--s)), 100% calc(2 * var(--s)),
    100% calc(100% - 2 * var(--s)), calc(100% - var(--s)) calc(100% - 2 * var(--s)), calc(100% - var(--s)) calc(100% - var(--s)), calc(100% - 2 * var(--s)) calc(100% - var(--s)), calc(100% - 2 * var(--s)) 100%,
    0 100%);
}
.faq__q {
  display: flex; align-items: center; gap: 16px; cursor: pointer;
  background: var(--bg-2); color: var(--text); font-size: 17px; font-weight: 500;
  transition: background-color .2s ease, box-shadow .2s ease, transform .15s var(--ease);
}
.faq__q:hover { background: color-mix(in srgb, var(--bg-2), var(--text) 6%); }
.faq__q[aria-expanded="true"] { box-shadow: inset 0 -3px 0 var(--line-2); }
.faq__q:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--hl); }
.faq__q:active { transform: scale(.97); }
.faq__pm { flex: none; display: grid; color: var(--hl); }
.faq__pm .pxui { height: 10px; grid-area: 1 / 1; transition: opacity .2s ease, transform .3s var(--ease); }
.faq__minus, .faq__q[aria-expanded="true"] .faq__plus { opacity: 0; transform: rotate(-90deg); }
.faq__q[aria-expanded="true"] .faq__minus { opacity: 1; transform: none; }
.faq__a { display: flex; align-items: flex-end; justify-content: flex-end; gap: 8px; transform-origin: 100% 100%;
  transition: transform .5s cubic-bezier(.34, 1.45, .64, 1), opacity .22s ease; }
.faq__a[hidden] { display: none; }
.faq__a.is-in { opacity: 0; transform: translateY(12px) scale(.6); }
.faq__a.is-out { position: absolute; right: clamp(14px, 3vw, 28px); opacity: 0; transform: scale(.9); pointer-events: none;
  transition: transform .16s cubic-bezier(.4, 0, 1, 1), opacity .16s cubic-bezier(.4, 0, 1, 1); }
.faq__bubble {
  max-width: 82%; background: var(--maroon); color: #f5f5f4; font-size: 16px;
  clip-path: polygon(0 calc(2 * var(--s)), var(--s) calc(2 * var(--s)), var(--s) var(--s), calc(2 * var(--s)) var(--s), calc(2 * var(--s)) 0,
    calc(100% - 2 * var(--s)) 0, calc(100% - 2 * var(--s)) var(--s), calc(100% - var(--s)) var(--s), calc(100% - var(--s)) calc(2 * var(--s)), 100% calc(2 * var(--s)),
    100% 100%, calc(2 * var(--s)) 100%, calc(2 * var(--s)) calc(100% - var(--s)), var(--s) calc(100% - var(--s)), var(--s) calc(100% - 2 * var(--s)), 0 calc(100% - 2 * var(--s)));
}
.faq__bubble a { color: inherit; text-decoration: underline; text-underline-offset: .18em; text-decoration-color: rgba(245, 245, 244, .55); }
.faq__bubble a:hover { text-decoration-color: currentColor; }
.faq__me { --s: 3px; display: grid; place-items: center; width: 34px; height: 34px; flex: none; background: var(--bg-2); }
.faq__me .pxcloud { width: 24px; }
.faq__ask { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; background: var(--btn); color: var(--btn-text); font-size: 16px; font-weight: 500; transition: background-color .2s ease, transform .15s var(--ease); }
.faq__ask:hover { background: var(--btn-hover); }
.faq__ask .pxui { height: 9px; transition: transform .3s var(--ease); }
@media (hover: hover) { .faq__ask:hover .pxui { transform: translateX(4px); } }
.faq__ask:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--hl); }
@media (max-width: 600px) {
  .faq__q { max-width: 94%; font-size: 16px; gap: 12px; }
  .faq__bubble { max-width: 84%; font-size: 15.5px; }
  .faq__bar small { display: none; }
}

/* ---------- setup prompt terminal (home and product pages) ---------- */
.term { background: #0c0a09; color: #f5f5f4; box-shadow: var(--shadow); --s: 5px; }
:root[data-theme="dark"] .term { background: #1c1917; box-shadow: inset 0 0 0 1px var(--line); }
.term__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); font: 400 13px/1 var(--px); color: rgba(245, 245, 244, .62); }
.term__bar i { width: 8px; height: 8px; background: rgba(255, 255, 255, .22); }
.term__bar i:first-child { background: var(--soft); }
.term__bar span { margin-left: 8px; }
.term__copy { margin-left: auto; height: 30px; padding: 0 12px; border: 0; cursor: pointer; background: #f5f5f4; color: #0c0a09; font: 400 12.5px/1 var(--px); }
.term__copy:hover { background: #fff; }
.term pre { margin: 0; padding: 20px 18px 24px; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 13.5px/1.7 var(--px); color: #f5f5f4; }
.term__tab { height: 30px; padding: 0 10px; border: 0; cursor: pointer; background: transparent; color: rgba(245, 245, 244, .6); font: 400 12.5px/1 var(--px); }
.term__tab[aria-selected="true"] { background: rgba(255, 255, 255, .12); color: #f5f5f4; }
.term__tab:first-of-type { margin-left: 8px; }

/* ---------- screenshot frame ---------- */
.frame { margin: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); --s: 5px; }
.frame__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 400 13px/1 var(--px); color: var(--text-3); }
.frame__bar i { width: 8px; height: 8px; background: var(--line-2); }
.frame__bar i:first-child { background: var(--hl); }
.frame__bar > span { margin-left: 8px; white-space: nowrap; }
.frame__bar > span:not(.frame__hint) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.frame__bar i { flex: none; }
.frame__view { overflow: hidden; }
.frame img { width: 100%; height: auto; display: block; }
.frame__hint { display: none; }
@media (max-width: 700px) {
  .frame__view { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .frame__view img { width: 760px; max-width: none; }
  .frame__bar > .frame__hint { display: inline; margin-left: auto; flex: none; padding-left: 12px; }
  .frame__prod { display: none; }
}
.frame img.swap { animation: swap .3s var(--ease); }
@keyframes swap { from { opacity: 0; } }
.frame__cap { margin-top: 14px; color: var(--text-2); font-size: 14.5px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { height: 40px; padding: 0 14px; border: 0; cursor: pointer; background: var(--card); color: var(--text-2); font: 400 13.5px/1 var(--px); transition: background .2s ease, color .2s ease; }
.tab:hover { color: var(--text); background: var(--bg-2); }
.tab[aria-selected="true"] { background: var(--btn); color: var(--btn-text); }

/* ==========================================================
   FOOTER
   ========================================================== */
/* the ending: a panel on the page colour with pixel-stepped bottom corners, over an oxblood band
   where the mascot waves (after Jitter's ending). --u is one step of the corner. */
.footer { --band: #6b1a2a; --u: 10px; position: relative; overflow: clip; } /* keeps the pinned band from peeking above the footer */
:root[data-theme="dark"] .footer { --band: #3b0f19; }
.footer__panel { position: relative; z-index: 2; background: var(--bg);
  clip-path: polygon(0 0, 100% 0,
    100% calc(100% - 5 * var(--u)), calc(100% - var(--u)) calc(100% - 5 * var(--u)), calc(100% - var(--u)) calc(100% - 3 * var(--u)),
    calc(100% - 2 * var(--u)) calc(100% - 3 * var(--u)), calc(100% - 2 * var(--u)) calc(100% - 2 * var(--u)), calc(100% - 3 * var(--u)) calc(100% - 2 * var(--u)),
    calc(100% - 3 * var(--u)) calc(100% - var(--u)), calc(100% - 5 * var(--u)) calc(100% - var(--u)), calc(100% - 5 * var(--u)) 100%,
    calc(5 * var(--u)) 100%, calc(5 * var(--u)) calc(100% - var(--u)), calc(3 * var(--u)) calc(100% - var(--u)), calc(3 * var(--u)) calc(100% - 2 * var(--u)),
    calc(2 * var(--u)) calc(100% - 2 * var(--u)), calc(2 * var(--u)) calc(100% - 3 * var(--u)), var(--u) calc(100% - 3 * var(--u)), var(--u) calc(100% - 5 * var(--u)),
    0 calc(100% - 5 * var(--u))); }
.footer__cta { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(80px, 10vw, 150px); }
.footer__big { font-size: clamp(46px, 8vw, 128px); font-weight: 600; line-height: .95; letter-spacing: -.065em; }
.footer__big em { font-style: normal; color: var(--hl); }
.footer__sub { margin-top: 20px; max-width: 30em; color: var(--text-2); font-size: clamp(16px, 1.3vw, 19px); }
.footer__cta .btn { margin-top: 30px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: clamp(80px, 9vw, 130px); }
.footer__col h2 { font: 600 15px/1.2 var(--sans); letter-spacing: -.01em; color: var(--text); margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__col a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; color: var(--text-2); font-size: 15px; transition: color .2s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--text); }
.footer__col .pxicon { width: 20px; }
.footer__ext .pxui { height: 8px; transform: rotate(-45deg); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(56px, 7vw, 96px); padding: 20px 0 calc(24px + 5 * var(--u)); border-top: 1px solid var(--line); font: 400 13px/1.4 var(--px); color: var(--text-3); }
.footer__band { --cloud: #f5f5f4; --cloud-face: var(--band); position: sticky; bottom: 0; z-index: 1; margin-top: calc(-6 * var(--u)); background: var(--band); display: flex; flex-direction: column; align-items: center; gap: 16px; padding: calc(clamp(44px, 6vw, 72px) + 6 * var(--u)) var(--gut) clamp(52px, 7vw, 88px); }
.footer__cloud { width: clamp(120px, 12vw, 170px); }
.footer__cloud .pxcloud { animation: pxFloat 4.6s ease-in-out infinite; }
.footer__bye { font: 400 14px/1.3 var(--px); color: rgba(245, 245, 244, .8); }
@media (max-width: 760px) { .footer { --u: 8px; } .footer__cols { grid-template-columns: 1fr 1fr; } .footer__cols > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- the mascot (js/pixels.js PX.mascot): the logo cloud with pixel arms. Not used on the
   site yet; the arms are being redrawn. ---------- */
.pxmascot { display: block; width: 100%; height: auto; overflow: visible; }
.pxmascot__arm { fill: var(--cloud); }
.pxmascot--wave .pxmascot__arm--r { animation: pxWave 3s var(--ease) infinite; }
.pxmascot--shrug .pxmascot__arm--l { animation: pxShrugL 3.4s var(--ease) infinite; }
.pxmascot--shrug .pxmascot__arm--r { animation: pxShrugR 3.4s var(--ease) infinite; }
@keyframes pxWave { 0%, 58%, 100% { transform: rotate(0); } 12% { transform: rotate(-24deg); } 24% { transform: rotate(10deg); } 36% { transform: rotate(-24deg); } 48% { transform: rotate(8deg); } }
@keyframes pxShrugL { 0%, 50%, 100% { transform: rotate(0); } 18%, 30% { transform: rotate(14deg); } }
@keyframes pxShrugR { 0%, 50%, 100% { transform: rotate(0); } 18%, 30% { transform: rotate(-14deg); } }
@keyframes pxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.secure { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--text-3); }
.secure .pxui { height: 12px; }

/* colours fade together when switching light and dark */
:root.theming *, :root.theming *::before, :root.theming *::after {
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, fill .4s ease, box-shadow .4s ease !important;
}

/* ---------- touch screens: a quick press instead of hover ---------- */
@media (hover: none) {
  .btn:active, .sq:active, .tab:active, .filter:active { transform: scale(.97); }
  .tile:active, .pcard:active .pcard__art { transform: scale(.985); }
  .tile, .pcard__art, .btn, .sq { transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease; }
}
@media (max-width: 820px) {
  .sq { width: 44px; height: 44px; }
}
@media (pointer: coarse) {
  .logo { min-height: 44px; }
  .footer__col ul { gap: 0; }
  .footer__col a { min-height: 44px; }
  .link, .crumbs a, .facts a { position: relative; }
  .link::after, .crumbs a::after, .facts a::after { content: ""; position: absolute; inset: -10px -4px; }
  .crumbs a::after { inset: -15px -4px; }
  .term__copy, .term__tab { height: 40px; }
  .term__copy { min-width: 64px; }
}
/* ---------- phones ---------- */
.term__more { display: none; }
@media (max-width: 600px) {
  /* lighter header controls */
  .hdr .sq { background: transparent; clip-path: none; color: var(--text); }
  .hdr .sq .pxui { height: 17px; }
  /* store tiles become compact rows: icon, name and line, then price */
  .bento { gap: 10px; }
  .tile { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: start; min-height: 0; padding: 18px; }
  .tile .pxicon { width: 48px; grid-row: span 2; }
  .tile h3 { margin: 0; padding: 0; font-size: 19px; }
  .tile__line { grid-column: 2; margin-top: 3px; font-size: 14.5px; }
  .tile__meta, .tile__list { grid-column: 1 / -1; }
  .tile__meta { margin-top: 14px; }
  .tile--big { padding: 20px; }
  .tile--big .pxicon { width: 56px; }
  .tile--big h3 { font-size: 30px; padding-right: 64px; }
  .tile__ver { top: 20px; right: 20px; }
  .tile__list { margin-top: 16px; }
  /* long setup prompts fold away until asked for */
  .term:not(.open) pre { max-height: 210px; overflow: hidden; -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); }
  .term__more { display: block; order: 3; width: 100%; height: 46px; border: 0; border-top: 1px solid rgba(255, 255, 255, .1); background: transparent; color: #f5f5f4; font: 400 13px/1 var(--px); cursor: pointer; }
  .term { display: flex; flex-direction: column; }
  .term pre { order: 2; }
  .head { margin-bottom: 28px; }
}

/* anchored sections clear the sticky header */
[id] { scroll-margin-top: calc(var(--hdr) + 16px); }

/* ==========================================================
   TOAST + REVEAL (stepped, like pixels settling)
   ========================================================== */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0;
  background: var(--btn); color: var(--btn-text); padding: 13px 18px; font-size: 14px; font-weight: 500;
  transition: opacity .3s ease, transform .3s var(--ease); pointer-events: none; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.rv { transition: opacity .8s ease, transform 1s var(--ease); }
.rv.is-hidden { opacity: 0; transform: translateY(24px); }
@media (max-width: 820px) {
  .rv, .rv.is-hidden { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv.is-hidden { opacity: 1; transform: none; }
  .pxcloud__lids { animation: none; opacity: 0; }
}

/* ---------- plain-text versions of script-built sections (written by tools/build.mjs) ----------
   Search engines and AI tools that don't run scripts read these; with scripts on they never show. */
.js .pre { display: none !important; }
.pre { list-style: none; max-width: 760px; margin: 0 auto; }
.pre h2, .pre h3 { margin: 24px 0 8px; }
.pre p, .pre li { margin: 6px 0; line-height: 1.55; }
.pre ul { padding-left: 20px; list-style: disc; }
