/*
 * Liquid OS website.
 *
 * With JavaScript (html.js) the page is a fixed stage: every section is a
 * full-screen layer and site.js moves them with the (smoothed) scroll
 * position, so scrolling plays an animation instead of sliding the page.
 * Without JavaScript the same sections simply stack as a normal page.
 * Colours, type and the easing curve come from the OS (ui/css/liquid.css).
 */

@font-face {
  font-family: 'Inter Liquid';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-wght-normal.woff2) format('woff2');
  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+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Liquid';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-ext-wght-normal.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --text-hi: #eceef3;
  --text-mid: #9598a6;
  --text-low: #6d707d;
  --text-faint: #565966;
  --divider: rgba(206, 212, 255, 0.075);
  --line: rgba(206, 212, 255, 0.13);
  --glass: rgba(16, 17, 26, 0.55);
  --accent: #8d92ff;          /* follows the liquid's tint (site.js) */
  --accent-soft: rgba(141, 146, 255, 0.16);
  --ease-liquid: cubic-bezier(0.22, 0.9, 0.25, 1);
  --gutter: clamp(16px, 5vw, 88px);
  --bar-h: 72px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: #000;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #000;
  color: var(--text-hi);
  font-family: 'Inter Liquid', 'Inter', 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
code, kbd { font-family: ui-monospace, 'JetBrains Mono', 'Cascadia Code', 'SFMono-Regular', Menlo, monospace; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }

.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico.big { width: 40px; height: 40px; stroke-width: 1.3; }

/* ------------------------------------------------------- loading screen */
.loader {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: none;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: #000 url(../assets/boot/ink.jpg) center / cover no-repeat;
  transition: opacity 0.7s ease, visibility 0.7s;
}
.js .loader { display: grid; }
.js.loaded .loader { opacity: 0; visibility: hidden; }
.loader-drop {
  width: 76px;
  height: 95px;
  filter: drop-shadow(0 0 34px rgba(141, 146, 255, 0.3));
  transition: transform 0.7s var(--ease-liquid);
}
.loaded .loader-drop { transform: translateY(18px) scale(0.7); }
.loader-wave { animation: loader-wave 1.4s linear infinite; }
@keyframes loader-wave { to { transform: translateX(32px); } }
.loader-name { margin: 6px 0 0; font-size: 26px; font-weight: 470; letter-spacing: -0.012em; color: #e4e6ec; }
.loader-name span { color: #7b7e8c; font-weight: 400; }
.loader-pct {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--text-low);
  font-variant-numeric: tabular-nums;
}
.loader-pct b { font-weight: 500; color: var(--text-mid); }

/* ------------------------------------------------------------- backdrop */
#liquid, .ink, .vignette {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#liquid { z-index: 0; opacity: 0; transition: opacity 1.2s ease; }
.gl-live #liquid { opacity: 1; }
/* The boot animation's backdrop: a still frame of the liquid, shown until
   WebGL draws (and instead of it when WebGL is unavailable). */
.ink {
  z-index: 0;
  background: #000 url(../assets/boot/ink.jpg) center / cover no-repeat;
  transition: opacity 1.2s ease;
}
.gl-live .ink { opacity: 0; }
/* The admin page's background stays behind everything, even if a stylesheet is blocked. */
.admin .ink { z-index: -1; }
body.admin { background: transparent; }
.vignette {
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

/* ------------------------------------------------------------- top bar */
.bar {
  position: fixed;
  z-index: 30;
  top: 0; left: 0; right: 0;
  height: var(--bar-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}
.js .bar { opacity: 0; transform: translateY(-12px); transition: opacity 1s ease, transform 1s var(--ease-liquid), background-color 0.4s ease; }
/* A long section is sliding under the bar: frost it so the text stays readable. */
.bar-solid .bar, .tab-open .bar {
  background: rgba(4, 4, 8, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--divider);
}
.js.booted .bar { opacity: 1; transform: none; }
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 4px; margin-left: -4px; }
.brand-drop { width: 22px; height: 28px; margin-top: -4px; filter: hue-rotate(var(--hue, 0deg)); }
.brand-name { font-size: 20px; font-weight: 470; letter-spacing: -0.012em; color: #e4e6ec; white-space: nowrap; }
.brand-name span { color: #8a8d9b; font-weight: 400; }
.bar-links { display: flex; gap: 6px; margin-left: auto; }
.bar-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text-mid);
  transition: color 0.3s ease;
}
.bar-links a:hover { color: var(--text-hi); }
/* The section on screen (site.js). */
.bar-links a.is-on { color: var(--text-hi); background: rgba(255, 255, 255, 0.07); }
@media (max-width: 1100px) {
  .bar-links a { padding: 8px 10px; font-size: 14px; }
}
@media (max-width: 1200px) {
  .bar { gap: 18px; }
  .bar-links a { padding: 8px 9px; font-size: 14px; }
}
@media (max-width: 960px) {
  .bar-links { display: none; }
  .bar-cta { margin-left: auto; }
}
.bar-cta { height: 42px; padding: 0 18px; font-size: 15px; }
.bar-ver { color: var(--text-mid); font-weight: 450; }

@media (max-width: 720px) {
  :root { --bar-h: 60px; }
  /* Long sections pan under the bar on phones, so it gets frosted glass. */
  .bar {
    gap: 12px;
    background: rgba(4, 4, 8, 0.72);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--divider);
  }
  .bar-links { display: none; }
  .bar-cta { margin-left: auto; height: 38px; padding: 0 14px; font-size: 14px; }
  .bar-ver { display: none; }
}

/* Phones: the top menu folds into a Menu button. */
.bar-menu {
  display: none;
  width: 40px; height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-hi);
  cursor: pointer;
}
@media (max-width: 960px) {
  .bar-menu { display: grid; order: 3; }
  .menu-open .bar-links {
    display: grid;
    position: absolute;
    top: calc(var(--bar-h) - 4px);
    right: var(--gutter);
    min-width: 230px;
    gap: 2px;
    padding: 8px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(10, 11, 18, 0.94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  }
  .menu-open .bar-links a { padding: 11px 14px; font-size: 15px; }
}

/* ------------------------------------------------------------------ tabs */
/* Feedback / Bug report, Reports, Open source: pages over the liquid. */
.tabs {
  position: fixed;
  z-index: 20;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--bar-h) + 18px) var(--gutter) 70px;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.tab-open .tabs { opacity: 1; }
.tab { transform: translateY(28px) scale(0.985); transition: transform 0.7s var(--ease-liquid); }
.tab-open .tab { transform: none; }
.tab-inner { display: flex; flex-direction: column; max-width: 1180px; margin: 0 auto; }
.tab-close { position: sticky; top: 0; z-index: 2; height: 40px; padding: 0 16px 0 12px; font-size: 14.5px; margin-bottom: 8px; }
.js #stage { transition: opacity 0.5s ease, filter 0.5s ease; }
.tab-open #stage { opacity: 0.1; filter: blur(8px); pointer-events: none; }
.js.booted.tab-open .tracker { opacity: 0; visibility: hidden; }

/* The end of the scroll: Liquid OS is open source. */
.dl-open {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--divider);
  background: rgba(10, 11, 17, 0.55);
  text-align: center;
}
.dl-open p { margin: 0; font-size: 15.5px; color: var(--text-mid); }
.dl-open b { color: var(--text-hi); font-weight: 600; }
.dl-open-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dl-open-links .btn { height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------------------------------------------- side tracker (desktop) */
.tracker {
  position: fixed;
  z-index: 25;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}
/* Laid out (but invisible) from the start: the boot drop flies to it. */
.js .tracker { display: block; opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s; }
/* Only while the TV tour is on screen. */
.js.booted.in-tour .tracker { opacity: 1; visibility: visible; }
.tracker ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tracker a {
  display: block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--text-faint);
  text-align: right;
  transition: color 0.4s ease;
}
.tracker a:hover { color: var(--text-mid); }
.tracker a.is-on { color: var(--text-hi); }
@media (max-width: 1180px), (max-height: 620px) {
  .js .tracker { display: none; }
}
@keyframes fade-in { from { opacity: 0; } }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 560;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  transition: transform 0.5s var(--ease-liquid), background-color 0.3s ease, box-shadow 0.4s ease;
}
.btn:active { transform: scale(0.97); }
.btn-solid {
  background: linear-gradient(180deg, #f4f5fa, #d8dae6);
  color: #0b0c12;
  box-shadow: 0 10px 40px -12px var(--accent), inset 0 1px 0 #fff;
}
.btn-solid:hover { box-shadow: 0 14px 50px -10px var(--accent), inset 0 1px 0 #fff; }
.btn-solid .ico { stroke-width: 2; }
.btn-sub { font-weight: 450; opacity: 0.6; }
.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text-hi);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.1); }
.btn-big { height: 60px; font-size: 18px; width: 100%; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-mid);
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.icon-btn:hover { color: var(--text-hi); background: rgba(255, 255, 255, 0.09); }
.icon-btn .ico { width: 17px; height: 17px; }

/* ---------------------------------------------------------- typography */
.kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
}
.display {
  margin: 0;
  font-size: clamp(40px, 7.4vw, 112px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.display.sm { font-size: clamp(34px, 5vw, 76px); letter-spacing: -0.03em; line-height: 1.04; }
.display em { font-style: normal; color: var(--text-low); }
.title {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.lede {
  margin: 22px 0 0;
  max-width: 36em;
  font-size: clamp(16px, 1.3vw, 19.5px);
  line-height: 1.55;
  color: var(--text-mid);
  text-wrap: pretty;
}
.center-col .lede { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------- stage */
.js #stage {
  position: fixed;
  z-index: 10;
  inset: 0;
  overflow: hidden;
}
.js .scene {
  position: absolute;
  inset: 0;
  visibility: hidden;
  perspective: 1400px;
  perspective-origin: 50% 45%;
}
.js .scene.is-on { visibility: visible; }
/* Only the section being shown takes clicks (others may still be fading). */
.js .scene { pointer-events: none; }
.js .scene.is-cur { pointer-events: auto; }
/* Layers only for the sections on screen: the browser has far fewer to keep and move. */
.js .scene.is-on [data-k], .js .scene.is-on [data-span] { will-change: transform, opacity; }
#track { height: 0; }

.pan {
  position: absolute;
  left: 0; right: 0; top: 0;
  min-height: 100%;
  padding: calc(var(--bar-h) + 4vh) var(--gutter) 6vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform-style: preserve-3d;
}
.center-col { align-items: center; text-align: center; }
.center-col > * { max-width: 980px; }
.center-col.wide > * { max-width: 1180px; width: 100%; }

/* No JavaScript: a plain page, every section in turn. */
html:not(.js) .scene { position: relative; min-height: 100vh; padding: 12vh 0; }
html:not(.js) .pan { position: relative; }
html:not(.js) .boot, html:not(.js) .tv-drop, html:not(.js) .tracker, html:not(.js) .scroll-hint { display: none; }

/* ---------------------------------------------------------------- boot */
.boot { position: absolute; inset: 0; pointer-events: none; }
.boot img { position: absolute; left: 0; top: 0; opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity; }

.hero {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24vh var(--gutter) 11vh;
  text-align: center;
}
.wordmark {
  margin: 0;
  font-size: clamp(64px, 13vw, 196px);
  font-weight: 460;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #e9ebf1;
}
.wordmark span { color: #7b7e8c; font-weight: 380; }
.hero-lede {
  margin: 26px 0 0;
  max-width: 34em;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.5;
  color: var(--text-mid);
  text-wrap: balance;
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 30px 0 0;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13.5px;
  color: var(--text-mid);
}
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* The intro: the wordmark rises in after the drop lands (as in Plymouth). */
.js .rise { opacity: 0; transform: translateY(28px); }
.js.booted .rise { opacity: 1; transform: none; transition: opacity 1.1s ease, transform 1.3s var(--ease-liquid); }
.js.booted .hero-lede.rise { transition-delay: 0.25s; }
.js.booted .hero-cta.rise { transition-delay: 0.45s; }
.js.booted .chip.rise { transition-delay: 0.65s; }
.js.booted .scroll-hint.rise { transition-delay: 1.4s; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 4vh;
  margin-left: -40px;
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-low);
}
.scroll-hint i {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, transparent, var(--text-mid));
  position: relative;
  overflow: hidden;
}
.scroll-hint i::after {
  content: '';
  position: absolute;
  left: -2px; top: -10px;
  width: 5px; height: 8px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--text-hi);
  animation: hint-drip 2.2s cubic-bezier(0.5, 0, 0.75, 0) infinite;
}
@keyframes hint-drip { to { transform: translateY(56px); } }

/* --------------------------------------------------------------- quiet */
.moments {
  list-style: none;
  margin: 46px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  font-size: clamp(20px, 2.3vw, 34px);
  font-weight: 480;
  letter-spacing: -0.02em;
}
/* Each word fills with light like a liquid (--f from site.js). */
.moments li {
  --f: 0;
  color: transparent;
  background: linear-gradient(90deg, var(--text-hi) calc(var(--f) * 100% - 12%), #2a2c36 calc(var(--f) * 100% + 12%));
  -webkit-background-clip: text;
  background-clip: text;
}
html:not(.js) .moments li { color: var(--text-hi); }

/* ---------------------------------------------------------------- tour */
.tv {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
html:not(.js) .tv { position: relative; left: auto; top: auto; width: min(90vw, 1100px); aspect-ratio: 16 / 9; margin: 0 auto; }
/* The bezel sits outside the picture, so "full screen" pushes it off-screen. */
.tv::before {
  content: '';
  position: absolute;
  inset: -1.15% -0.65%;
  border-radius: 1.4% / 2.5%;
  background: linear-gradient(180deg, #15161c, #08090c);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(0, 0, 0, 0.9),
    0 50px 120px -30px rgba(0, 0, 0, 0.95);
  opacity: var(--bezel, 1);
}
.tv-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
  border-radius: calc(0.35% * var(--bezel, 1));
}
.tv-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform-origin: 0 0;
}
html:not(.js) .tv-screen img:first-child { opacity: 1; }
/* Home-screen spotlight: everything outside the frame dims (site.js moves it). */
.tv-spot {
  position: absolute;
  z-index: 3;
  left: 0; top: 0; width: 100%; height: 100%;
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow:
    0 0 0 200vmax rgba(2, 2, 6, 0.62),
    0 0 0 1.5px rgba(206, 212, 255, 0.55),
    0 0 40px 2px color-mix(in srgb, var(--accent) 45%, transparent);
}
/* The bright rim on the edge of the liquid wipe between pictures (site.js). */
.tv-wave {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.tv-glare {
  position: absolute;
  z-index: 4;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.025));
  opacity: var(--bezel, 1);
  pointer-events: none;
}
.tv-glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(80px);
  opacity: 0;
  will-change: transform, opacity;
}
.tv-drop {
  position: absolute;
  left: 50%; top: 50%;
  width: 46px; height: 58px;
  margin: -29px 0 0 -23px;
  opacity: 0;
  will-change: transform, opacity;
}

/* Text beside the TV. Positions are swapped to "below" on narrow screens. */
.copy {
  position: absolute;
  top: 50%;
  width: min(36vw, 520px);
  transform-origin: 50% 50%;
}
.copy .lede { margin-top: 18px; }
.copy.side-l { left: var(--gutter); margin-top: -18vh; }
.copy.side-r { right: var(--rpad, var(--gutter)); margin-top: -14vh; }
.copy.top {
  left: 50%;
  top: calc(var(--bar-h) + 3.5vh);
  width: min(90vw, 900px);
  margin-left: max(-45vw, -450px);
  text-align: center;
}
.copy.top .lede { margin-left: auto; margin-right: auto; }

.steps { list-style: none; margin: 30px 0 0; padding: 0; position: relative; min-height: 10em; }
.steps li {
  position: absolute;
  left: 0; right: 0; top: 0;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--text-mid);
}
.steps b {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-hi);
}
html:not(.js) .steps li { position: static; margin-bottom: 18px; }

.callout {
  position: absolute;
  left: var(--gutter);
  bottom: 7vh;
  width: min(440px, calc(100vw - 2 * var(--gutter)));
  padding: 22px 26px 24px;
  border-radius: 26px;
  background: rgba(9, 10, 16, 0.78);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--text-mid);
}
.callout p { margin: 0; }
.callout .kicker { margin-bottom: 10px; font-size: 12px; }
.callout b { color: var(--text-hi); font-weight: 600; }
.callout.up { top: calc(var(--bar-h) + 5vh); bottom: auto; left: auto; right: calc(var(--gutter) + 12px); }
html:not(.js) .callout { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 16px auto; }
/* While the TV fills the screen the side tracker steps aside. */
.js.booted.tv-full .tracker { opacity: 0; visibility: hidden; }

.marquee {
  position: absolute;
  left: 0; right: 0;
  bottom: 5vh;
  display: grid;
  gap: 6px;
  pointer-events: none;
  opacity: 0;
}
.marquee-row {
  white-space: nowrap;
  font-size: clamp(26px, 3.2vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: rgba(206, 212, 255, 0.07);
  will-change: transform;
}
html:not(.js) .marquee { display: none; }

.swatches {
  position: absolute;
  left: 50%;
  bottom: 5vh;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(10, 11, 18, 0.6);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.js .swatches { transform: none; left: 0; right: 0; width: max-content; margin: 0 auto; }
.swatches button {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 14.5px;
  color: var(--text-mid);
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.4s ease;
}
.swatches button:hover, .swatches button.is-on { color: var(--text-hi); }
.swatches button.is-on { background: rgba(255, 255, 255, 0.08); }
.swatches i {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 8%, var(--c) 40%, color-mix(in srgb, var(--c) 40%, #000) 100%);
  box-shadow: 0 0 14px -2px var(--c);
}

/* ---------------------------------------------------------------- focus */
.tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.4vw, 22px);
  margin-top: 54px;
  width: 100%;
  max-width: 1180px;
}
.tile {
  position: relative;
  height: clamp(96px, 9vw, 150px);
  border-radius: 24px;
  border: 1px solid rgba(206, 212, 255, 0.07);
  background:
    radial-gradient(120% 90% at 50% 120%, color-mix(in srgb, var(--b) 22%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(26, 27, 38, 0.82), rgba(12, 13, 19, 0.82));
  color: var(--b);
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 640;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.6s var(--ease-liquid);
}
.tile.is-focus { transform: scale(1.04); }
.tile:focus-visible { outline: none; }
.hint { margin: 28px 0 0; font-size: 14px; color: var(--text-low); }
kbd {
  display: inline-block;
  min-width: 26px;
  padding: 1px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
  color: var(--text-mid);
}

/* -------------------------------------------------------------- control */
.devices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
  transform-style: preserve-3d;
}
.device {
  padding: 26px 22px 24px;
  border-radius: 26px;
  border: 1px solid var(--divider);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  text-align: left;
}
.device .ico { color: var(--accent); }
.device h3, .card h3 { margin: 16px 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.device p, .card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-mid); }

.controls {
  margin: 34px auto 0;
  border-collapse: collapse;
  font-size: 15px;
  color: var(--text-mid);
}
.controls th, .controls td { padding: 11px 22px; text-align: left; border-bottom: 1px solid var(--divider); }
.controls thead th { font-size: 12px; font-weight: 620; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-low); }
.controls tbody th { font-weight: 560; color: var(--text-hi); }
.controls tr:last-child th, .controls tr:last-child td { border-bottom: 0; }

/* -------------------------------------------------------------- features */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 46px;
  transform-style: preserve-3d;
  text-align: left;
}
.card {
  padding: 24px 22px 24px;
  border-radius: 24px;
  border: 1px solid var(--divider);
  background: linear-gradient(180deg, rgba(20, 21, 31, 0.72), rgba(10, 11, 17, 0.72));
}
.card .ico { color: var(--accent); width: 26px; height: 26px; }
.card h3 { margin-top: 18px; }

/* ---------------------------------------------------------------- inside */
.pipe {
  list-style: none;
  margin: 50px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  position: relative;
}
/* The line the liquid runs along; --flow (0..1) comes from site.js. */
.pipe::before, .pipe::after {
  content: '';
  position: absolute;
  left: calc(100% / 14);
  right: calc(100% / 14);
  top: 13px;
  height: 2px;
  border-radius: 2px;
  background: rgba(206, 212, 255, 0.1);
}
.pipe::after {
  right: auto;
  width: calc((100% - 100% / 7) * var(--flow, 0));
  background: linear-gradient(90deg, rgba(141, 146, 255, 0.2), var(--accent));
  box-shadow: 0 0 16px var(--accent);
}
.pipe li {
  --lit: 0;
  position: relative;
  padding-top: 42px;
  font-size: 13.5px;
  color: var(--text-low);
}
.pipe li::before {
  content: '';
  position: absolute;
  left: 50%; top: 6px;
  width: 16px; height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: #15161f;
  border: 2px solid rgba(206, 212, 255, 0.18);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.6s var(--ease-liquid);
}
.pipe li.is-lit::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 18px var(--accent); transform: scale(1.15); }
.pipe b { display: block; margin-bottom: 3px; font-size: 15.5px; font-weight: 600; color: var(--text-mid); transition: color 0.4s ease; }
.pipe li.is-lit b { color: var(--text-hi); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 54px;
}
.stats div { padding: 20px 10px; border-top: 1px solid var(--divider); }
.stats b {
  display: block;
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stats span { font-size: 14px; color: var(--text-low); }

/* --------------------------------------------------------------- install */
.disk {
  margin-top: 46px;
  padding: 26px 26px 22px;
  border-radius: 28px;
  border: 1px solid var(--divider);
  background: rgba(10, 11, 17, 0.6);
  text-align: left;
}
.disk-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 18px; }
.disk-mode { font-size: 18px; font-weight: 600; }
.disk-note { font-size: 14px; color: var(--text-low); }
.disk-bar {
  display: flex;
  height: 92px;
  gap: 4px;
  border-radius: 18px;
  overflow: hidden;
}
.part {
  --fill: 1;
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  padding: 14px 12px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
}
.part::before {
  content: '';
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform: scaleX(var(--fill));
  background: var(--pc);
  opacity: 0.9;
}
.part b, .part span { position: relative; display: block; overflow: hidden; text-overflow: ellipsis; }
.part b { font-size: 14px; font-weight: 600; }
.part span { font-size: 12.5px; color: rgba(236, 238, 243, 0.65); }
.p-win  { --pc: linear-gradient(180deg, #2b3242, #1e2431); width: 0; }
.p-bios { --pc: linear-gradient(180deg, #3d3f55, #2a2c3d); width: 4%; }
.p-efi  { --pc: linear-gradient(180deg, #4a4e74, #33365a); width: 9%; }
.p-sys  { --pc: linear-gradient(180deg, color-mix(in srgb, var(--accent) 80%, #fff 0%), color-mix(in srgb, var(--accent) 55%, #000)); width: 29%; }
.p-data { --pc: linear-gradient(180deg, color-mix(in srgb, var(--accent) 45%, #111), color-mix(in srgb, var(--accent) 28%, #000)); width: 58%; flex: 1 1 auto; }
.disk-foot { margin: 16px 0 0; font-size: 14px; color: var(--text-low); }

/* -------------------------------------------------------------- download */
.dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-areas: "card howto" "reqs reqs" "vm vm" "note note";
  gap: 22px 40px;
  margin-top: 44px;
  text-align: left;
}
.dl-card {
  grid-area: card;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 25, 37, 0.78), rgba(10, 11, 17, 0.78));
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 40px 100px -40px var(--accent-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.dl-top { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.dl-drop { width: 44px; height: 56px; flex: none; }
.dl-ver { margin: 0; font-size: 24px; font-weight: 560; letter-spacing: -0.02em; }
.dl-meta { margin: 2px 0 0; font-size: 14px; color: var(--text-low); }
.sum { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.sum-label { font-size: 11.5px; font-weight: 620; letter-spacing: 0.14em; color: var(--text-low); }
.sum code {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  color: var(--text-mid);
  overflow-wrap: anywhere;
  line-height: 1.45;
}
.dl-missing { margin: 16px 0 0; font-size: 14px; color: #ffb38a; }
.no-iso .dl-card .btn-big { opacity: 0.4; pointer-events: none; }
.howto { grid-area: howto; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: start; min-width: 0; }
.howto li { min-width: 0; }
.howto b { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.howto b .ico { color: var(--accent); }
.howto p { margin: 6px 0 0 30px; font-size: 15px; color: var(--text-mid); }
.cmd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0 30px;
  padding: 8px 8px 8px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--divider);
}
.cmd code { flex: 1; min-width: 0; font-size: 12.5px; color: var(--text-mid); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.reqs { grid-area: reqs; display: flex; flex-wrap: wrap; gap: 10px; }
.reqs span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--divider);
  font-size: 14px;
  color: var(--text-mid);
}
.reqs .ico { width: 16px; height: 16px; color: var(--accent); stroke-width: 2; }
.vm { grid-area: vm; font-size: 15px; color: var(--text-mid); }
.vm summary { cursor: pointer; width: max-content; padding: 4px 10px 4px 0; color: var(--text-hi); }
.vm p { margin: 10px 0 0; max-width: 60em; }
.alpha-note { grid-area: note; margin: 0; font-size: 13.5px; color: var(--text-low); }
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--divider);
  font-size: 13px;
  color: var(--text-faint);
}

.toast {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 28px;
  margin: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(20, 21, 30, 0.9);
  border: 1px solid var(--line);
  font-size: 14px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.5s var(--ease-liquid);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ----------------------------------------------------------- open source */
.src-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 30px; }
.src-license { font-size: 14.5px; color: var(--text-mid); }
.src-license b { color: var(--text-hi); font-weight: 600; }
.src-grid {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  text-align: left;
}
.src-grid a {
  display: grid;
  gap: 4px;
  height: 100%;
  padding: 14px 15px 15px;
  border-radius: 18px;
  border: 1px solid var(--divider);
  background: rgba(10, 11, 17, 0.62);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.src-grid a:hover { border-color: var(--line); background: rgba(20, 21, 32, 0.8); }
.src-grid b { font-size: 15px; font-weight: 600; }
.src-ver { margin-left: 4px; font-size: 12px; font-weight: 450; color: var(--text-low); }
.src-grid span:not(.src-ver) { font-size: 13px; line-height: 1.4; color: var(--text-mid); }
.src-grid i { font-style: normal; font-size: 12px; color: var(--accent); }
.src-pkgs {
  margin-top: 22px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--divider);
  background: rgba(10, 11, 17, 0.62);
  text-align: left;
}
.src-pkgs-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 12px; }
.src-pkgs h3 { margin: 0; font-size: 16px; font-weight: 600; }
.src-count { font-weight: 450; color: var(--text-low); }
.src-search {
  width: min(280px, 100%);
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-hi);
  font: inherit;
  font-size: 14px;
}
.src-search:focus { outline: none; border-color: var(--accent); }
.src-pkglist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 2px 18px;
  max-height: 210px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  font-size: 13px;
}
.src-pkglist li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px solid var(--divider); min-width: 0; }
.src-pkglist b { font-weight: 500; color: var(--text-hi); overflow: hidden; text-overflow: ellipsis; }
.src-pkglist span { color: var(--text-low); font-variant-numeric: tabular-nums; white-space: nowrap; }
.src-pkglist .src-none { grid-column: 1 / -1; border: 0; color: var(--text-low); }

/* -------------------------------------------------------------- feedback */
.fb {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 22px 36px;
  margin-top: 40px;
  text-align: left;
}
.fb-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 23, 34, 0.8), rgba(10, 11, 17, 0.8));
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
}
.fb-side { display: grid; gap: 22px; align-content: start; min-width: 0; }
.fb-how { list-style: none; counter-reset: how; margin: 0; padding: 0; display: grid; gap: 12px; }
.fb-how li {
  counter-increment: how;
  position: relative;
  padding: 16px 18px 16px 58px;
  border-radius: 20px;
  border: 1px solid var(--divider);
  background: rgba(10, 11, 17, 0.6);
  font-size: 14.5px;
  color: var(--text-mid);
}
.fb-how li::before {
  content: counter(how);
  position: absolute;
  left: 18px; top: 16px;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
}
.fb-how b { display: block; margin-bottom: 2px; font-size: 15.5px; font-weight: 600; color: var(--text-hi); }
.fb-links { display: flex; flex-wrap: wrap; gap: 10px; }
.fb-hint { margin: 0; font-size: 13.5px; color: var(--text-low); }
.src-soon { font-size: 14.5px; color: var(--text-mid); }
.fb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fb-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.fb-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.fb-kinds span {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text-mid);
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.fb-kinds input:checked + span { color: #0b0c12; background: #e9ebf3; border-color: transparent; font-weight: 560; }
.fb-kinds input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.fb-field { display: grid; gap: 6px; min-width: 0; }
.fb-field > span { font-size: 13.5px; color: var(--text-mid); }
.fb-field i { font-style: normal; color: var(--text-faint); }
.fb-field input, .fb-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-hi);
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  resize: vertical;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.fb-field input::placeholder, .fb-field textarea::placeholder { color: var(--text-faint); }
.fb-field input:focus, .fb-field textarea:focus { outline: none; border-color: var(--accent); background: rgba(0, 0, 0, 0.5); }
.fb-send { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.fb-ver { font-size: 13px; color: var(--text-low); }
.fb-send .btn { height: 48px; }
.fb-send .btn:disabled { opacity: 0.5; cursor: progress; }
.fb-status { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--text-mid); }
.fb-status[data-kind="ok"] { color: #6fe0a8; }
.fb-status[data-kind="error"] { color: #ff9b8a; }
.fb-status[data-kind="off"] { color: var(--text-low); }
.foot a { color: var(--text-low); text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--text-hi); }
.req-tested { border-color: color-mix(in srgb, var(--accent) 45%, transparent) !important; color: var(--text-hi) !important; }

/* --------------------------------------------------- reports (the board) */
/* Icons of the tags and kinds (js/report-tags.js), here and in the admin panel. */
.rt-ico {
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.rb-chip, .rb-kind, .fb-kinds span { display: inline-flex; align-items: center; gap: 6px; }
.rb-chip .rt-ico { width: 13px; height: 13px; stroke-width: 2; }
.rb-kind .rt-ico { width: 14px; height: 14px; }
.rb {
  margin-top: 36px;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 21, 32, 0.8), rgba(10, 11, 17, 0.8));
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  text-align: left;
}
.rb-bar { display: grid; gap: 12px; margin-bottom: 14px; }
.rb-tags, .rb-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.rb-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.rb-tag, .rb-kinds button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-mid);
  font-size: 13.5px;
  cursor: pointer;
}
.rb-tag b { font-weight: 600; opacity: 0.7; font-variant-numeric: tabular-nums; }
.rb-tag.is-on, .rb-kinds button.is-on { background: #e9ebf3; color: #0b0c12; border-color: transparent; font-weight: 560; }
.rb-search {
  width: min(260px, 100%);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-hi);
  font: inherit;
  font-size: 14px;
}
.rb-search:focus { outline: none; border-color: var(--accent); }
.rb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 52vh;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.rb-empty { padding: 26px 8px; text-align: center; color: var(--text-low); font-size: 14.5px; }
.rb-item details { border-radius: 18px; border: 1px solid var(--divider); background: rgba(0, 0, 0, 0.28); }
.rb-item details[open] { border-color: var(--line); background: rgba(20, 21, 32, 0.7); }
.rb-item summary { display: grid; gap: 7px; padding: 13px 16px; cursor: pointer; list-style: none; }
.rb-item summary::-webkit-details-marker { display: none; }
.rb-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rb-chip { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.08); color: var(--text-hi); }
.rb-chip.rb-tag-new { background: rgba(141, 146, 255, 0.24); color: #d4d6ff; }
.rb-chip.rb-tag-read { background: rgba(255, 255, 255, 0.1); color: var(--text-hi); }
.rb-chip.rb-tag-working { background: rgba(80, 160, 255, 0.2); color: #9fcbff; }
.rb-chip.rb-tag-fixed { background: rgba(70, 222, 160, 0.18); color: #7fe7b8; }
.rb-chip.rb-tag-notabug { background: rgba(240, 200, 110, 0.16); color: #f1d38c; }
.rb-chip.rb-tag-wontfix { background: rgba(255, 120, 100, 0.16); color: #ffab9c; }
.rb-chip.rb-tag-duplicate { background: rgba(200, 200, 210, 0.12); color: var(--text-mid); }
.rb-kind { font-size: 12.5px; color: var(--text-mid); }
.rb-kind-bug { color: #ffab9c; }
.rb-kind-idea { color: #b9bcff; }
.rb-meta { font-size: 12.5px; color: var(--text-low); font-variant-numeric: tabular-nums; }
.rb-title { font-size: 15.5px; font-weight: 560; color: var(--text-hi); }
.rb-has-reply { width: max-content; font-size: 12.5px; color: var(--accent); }
.rb-body { padding: 0 16px 16px; display: grid; gap: 6px; }
.rb-label { margin-top: 6px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-low); }
.rb-text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-mid); white-space: pre-wrap; overflow-wrap: anywhere; }
.rb-reply { margin-top: 8px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); }
.rb-reply .rb-label { margin-top: 0; color: var(--accent); }
.rb-reply .rb-text { color: var(--text-hi); }

/* ------------------------------------------------------- narrow screens */
@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .devices { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .dl { grid-template-columns: 1fr; grid-template-areas: "card" "howto" "reqs" "vm" "note"; }
  .src-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fb { grid-template-columns: 1fr; }
}
/* Portrait / phones: the TV goes on top and its text underneath (--tvb is
   the TV's bottom edge, set by site.js). */
.narrow .copy, .narrow .copy.top {
  left: var(--gutter);
  right: var(--gutter);
  top: var(--tvb, 50vh);
  width: auto;
  margin: 26px 0 0;
  text-align: left;
}
.narrow .copy.side-l, .narrow .copy.side-r { margin-top: 26px; }
.narrow .copy.top .lede { margin-left: 0; }
.narrow .title { font-size: clamp(26px, 7vw, 40px); }
.narrow .steps { margin-top: 18px; }
.narrow .steps li { font-size: 15.5px; }
.narrow .callout { left: var(--gutter); right: var(--gutter); top: var(--tvb, 50vh); bottom: auto; width: auto; margin-top: 20px; }
.narrow .swatches { top: auto; bottom: 4vh; flex-wrap: wrap; justify-content: center; max-width: calc(100vw - 2 * var(--gutter)); border-radius: 26px; }
.narrow .swatches button { height: 38px; padding: 0 12px 0 10px; font-size: 13.5px; }
.narrow .marquee { bottom: 3vh; }
@media (max-width: 640px) {
  .pipe { grid-template-columns: 1fr; gap: 14px; text-align: left; max-width: 420px; }
  .pipe::before, .pipe::after { left: 7px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .pipe::after { height: calc((100% - 20px) * var(--flow, 0)); bottom: auto; width: 2px; background: linear-gradient(180deg, rgba(141, 146, 255, 0.2), var(--accent)); }
  .pipe li { padding: 0 0 0 34px; }
  .pipe li::before { left: 0; top: 3px; margin-left: 0; }
  .pipe b { display: inline; margin-right: 8px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 0 16px; margin-top: 30px; }
  .stats div { padding: 14px 4px; }
  .tiles { gap: 10px; margin-top: 34px; }
  .tile { border-radius: 18px; height: 84px; }
  .devices { gap: 12px; margin-top: 32px; }
  .device { padding: 18px 16px; border-radius: 20px; }
  .device .ico.big { width: 30px; height: 30px; }
  .device h3 { margin-top: 10px; font-size: 16px; }
  .device p { font-size: 14px; }
  .controls { font-size: 13.5px; }
  .controls th, .controls td { padding: 9px 8px; }
  .cards { gap: 10px; margin-top: 30px; }
  .card { padding: 16px 15px; border-radius: 18px; }
  .card h3 { margin-top: 10px; font-size: 16px; }
  .card p { font-size: 13.5px; }
  .disk { padding: 18px 16px; border-radius: 22px; }
  .disk-bar { height: 76px; gap: 3px; }
  .part { padding: 10px 8px; }
  .part b { font-size: 12px; }
  .part span { font-size: 11px; }
  .lede { margin-top: 16px; }
  .hero-cta .btn { height: 48px; padding: 0 20px; }
  .dl-card { padding: 22px 18px; border-radius: 24px; }
  .fb-form { padding: 20px 16px; border-radius: 24px; }
  .src-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .src-grid a { padding: 12px; border-radius: 15px; }
  .fb-row { grid-template-columns: 1fr; }
  .rb { padding: 14px; border-radius: 22px; }
  .rb-list { max-height: 60vh; }
  .howto p, .cmd { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint i::after, .loader-wave { animation: none; }
}
