/* FLOATING — site stylesheet
   Palette is lifted verbatim from the plug-in's kDark palette
   (Source/PluginEditor.cpp:43-58) so the site, the UI, the manual and the
   videos read as one object rather than a marketing layer bolted on top.
   Type follows the manual's own split: ShareTechMono carries the identity
   (wordmark, headings, labels, controls), a system sans carries long-form
   running copy so the story and the install steps stay readable on a phone. */

@font-face {
  font-family: "ShareTechMono";
  src: url("../fonts/ShareTechMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Makes native scrollbars and form controls render dark instead of light
     grey — without it the overflow bars on the code blocks read as bright
     white strips across the page. */
  color-scheme: dark;

  --bg: #050506;
  --plate-top: #151517;
  --plate-bottom: #0a0a0c;
  --panel: #0c0c0e;
  --panel-deep: #070708;
  --ink: #ececec;
  --ink-muted: #9a9ca2;
  --ink-low: #6f7177;
  /* --ink-dim measures 2.23:1 against --bg and --ink-low 4.18:1, so neither
     clears the 4.5:1 floor for body-size text. On screen they are restricted
     to decorative use (rules, aria-hidden glyphs); anything a reader has to
     read uses --ink-muted (7.42:1) or brighter. */
  --ink-dim: #46484e;
  --line: #242428;
  --line-soft: #1d1d21;
  --accent: #ff5a2c;
  --accent-soft: rgba(255, 90, 44, 0.18);
  --accent-deep: #8d4d37;

  --mono: "ShareTechMono", ui-monospace, Menlo, "SFMono-Regular", Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --measure: 1120px;
  --measure-text: 680px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  /* The 24px rule grid is the manual's 6mm page grid, translated to screen. */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.009) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-soft); }
a:hover { border-bottom-color: var(--accent); }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- shell ---------- */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #0b0b0c;
  padding: 10px 16px;
  font: 12px/1 var(--mono);
  letter-spacing: 0.12em;
  z-index: 50;
}
.skip:focus { left: 0; }

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 5, 6, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
}
.wordmark {
  font: 400 clamp(13px, 2.4vw, 16px)/1 var(--mono);
  letter-spacing: 0.42em;
  color: var(--ink);
  border-bottom: 0;
  white-space: nowrap;
}
.wordmark:hover { border-bottom: 0; color: var(--ink); }
/* Back to the Fløa showcase (floamusic.github.io), which lists every instrument. */
.brandline { display: flex; align-items: center; gap: 12px; min-width: 0; }
.home-link {
  font: 11.5px/1 var(--mono);
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  border-bottom: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
/* The Fløa wordmark (Floa logo for site/final), raised so its letters' body, not the tall
   f and l, centres on the FLOATING wordmark beside it. */
.home-link .logo { display: block; height: 14px; width: auto; transform: translateY(-1.6px); }
.home-link:hover { color: var(--accent); border-bottom: 0; }
.home-sep { font: 11.5px/1 var(--mono); color: var(--ink-low); }
@media (max-width: 480px) {
  .brandline { gap: 8px; }
  .home-link { letter-spacing: 0.06em; }
  .home-sep { display: none; }
  .brandline .wordmark { letter-spacing: 0.26em; }
}
.wordmark .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 0.5em;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.15em;
  box-shadow: 0 0 10px rgba(255, 90, 44, 0.7);
}
.topnav {
  display: flex;
  gap: clamp(14px, 2.6vw, 30px);
  font: 11.5px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.topnav a { color: var(--ink-muted); border-bottom: 0; white-space: nowrap; }
.topnav a:hover { color: var(--accent); border-bottom: 0; }
/* The bar sheds labels rather than wrapping them: below 700px the secondary
   sections go, and on a phone only the one action anyone came for is left. */
@media (max-width: 700px) {
  .topnav .opt { display: none; }
}
@media (max-width: 540px) {
  .topnav .opt-sm { display: none; }
  .topnav a { color: var(--accent); }
}

/* ---------- generic section rhythm ---------- */

section { padding: clamp(56px, 9vw, 116px) 0; border-top: 1px solid var(--line-soft); }
section:first-of-type { border-top: 0; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font: 11px/1 var(--mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.eyebrow .num { color: var(--ink-muted); margin-right: 0.9em; }

h1, h2, h3, h4 { margin: 0 0 20px; font-weight: 400; }

h1 {
  font-family: var(--mono);
  font-size: clamp(30px, 6.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.005em;
}
h2 {
  font-family: var(--mono);
  font-size: clamp(23px, 3.6vw, 38px);
  line-height: 1.12;
}
h3 {
  font-family: var(--mono);
  font-size: clamp(15px, 1.8vw, 18px);
  letter-spacing: 0.06em;
}
h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

p { margin: 0 0 1.15em; color: #d7d2ca; }
p:last-child { margin-bottom: 0; }
.text { max-width: var(--measure-text); }
.lede {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.5;
  color: var(--ink);
}
.muted { color: var(--ink-muted); }
.mono { font-family: var(--mono); letter-spacing: 0.04em; }
.small { font-size: 13.5px; }

/* ---------- hero ---------- */

.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
/* The accent bloom echoes the Atmosphere field feathering up out of the
   plug-in's lower bay rather than sitting behind the type as a gradient. */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -32%;
  width: min(1200px, 130vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 90, 44, 0.13), transparent 66%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
/* Three type tiers in the hero, so the tagline is the loudest thing on the
   page: topbar wordmark (16px) → hero mark (34px) → statement (54px). */
.hero-mark {
  font: 400 clamp(19px, 3.4vw, 32px)/1 var(--mono);
  letter-spacing: clamp(0.24em, 1.4vw, 0.38em);
  margin: 0 0 clamp(26px, 3.4vw, 40px);
  padding-bottom: clamp(20px, 2.6vw, 30px);
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}
.hero-mark .by {
  display: block;
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 11px;
  letter-spacing: 0.22em;
}
.hero h1 {
  font-size: clamp(28px, 5.4vw, 54px);
  max-width: 30ch;
  margin-bottom: 26px;
}
.hero .sub {
  max-width: 54ch;
  color: var(--ink-muted);
  font-size: clamp(15px, 1.9vw, 18px);
  margin-bottom: 34px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: clamp(34px, 5vw, 54px);
}
.tag {
  border: 1px solid var(--line);
  padding: 6px 11px;
  color: var(--ink-muted);
  font: 10.5px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag.hot { border-color: var(--accent-deep); color: var(--accent); }

.shot {
  border: 1px solid var(--line);
  background: var(--panel-deep);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

/* ---------- hero view switch (Interface / video) ---------- */

.switch {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.switch-btn {
  /* 44px minimum so this is a real touch target on a phone, which is where
     most of this traffic arrives from. */
  min-height: 44px;
  padding: 11px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink-muted);
  font: 11.5px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.switch-btn:hover { color: var(--ink); border-color: var(--ink-low); }
.switch-btn.is-on {
  color: var(--accent);
  border-color: var(--accent-deep);
  background: var(--accent-soft);
}

.panel[hidden] { display: none; }

.video-wrap { position: relative; }
/* The still is 16:10 and the footage 16:9, so the poster is covered rather
   than contained — otherwise switching tabs reveals pillarbox bars beside the
   frame. Once playing, the video is exactly 16:9 and cover is a no-op. */
.video-wrap video {
  display: block;
  width: 100%;
  /* height:auto is load-bearing — the height="1080" attribute becomes a
     presentational CSS height, and aspect-ratio only computes a height when
     height is auto. Without this the box renders 1024x1080 and the poster is
     cropped to a fraction of the frame. */
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--panel-deep);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 14px 24px 14px 20px;
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--ink);
  font: 12px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}
.play-badge:hover { background: rgba(255, 90, 44, 0.22); }
.play-badge[hidden] { display: none; }
.play-badge .tri {
  width: 0;
  height: 0;
  border-left: 15px solid var(--accent);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
@media (max-width: 560px) {
  .play-badge .lbl { display: none; }
  .play-badge { padding: 18px 20px 18px 24px; border-radius: 50%; min-width: 64px; min-height: 64px; justify-content: center; }
}
figure { margin: 0; }
figcaption {
  margin-top: 12px;
  color: var(--ink-muted);
  font: 10.5px/1.5 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- signal flow ---------- */

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.flow li {
  font: 11px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.flow li.on { color: var(--accent); }
.flow .arrow { color: var(--ink-low); }

/* ---------- cards ---------- */

.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  margin-top: clamp(30px, 4vw, 44px);
}
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .grid.c3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .grid.c2 { grid-template-columns: 1fr; }
}

/* Column flex so the control-vocabulary line sits on a shared baseline across
   the three cards instead of floating with each paragraph's length. */
.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(var(--plate-top), var(--plate-bottom));
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(20px, 2.6vw, 28px);
}
.card.hot { border-color: var(--accent-deep); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14.5px; margin-bottom: 0.8em; }
.card .ladder {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-muted);
  font: 10.5px/1.6 var(--mono);
  letter-spacing: 0.16em;
}
.modes-head { margin: clamp(38px, 5vw, 56px) 0 0; }

/* ---------- download ---------- */

.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
  margin: clamp(30px, 4vw, 44px) 0 0;
}
@media (max-width: 720px) { .dl-grid { grid-template-columns: 1fr; } }

.dl {
  display: flex;
  flex-direction: column;
  background: linear-gradient(var(--plate-top), var(--plate-bottom));
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(22px, 2.8vw, 30px);
}
.dl .plat {
  font: 12px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.dl .fmt { color: var(--ink-muted); font-size: 14px; margin-bottom: 4px; }
.dl .size { color: var(--ink-muted); font: 11px/1.5 var(--mono); letter-spacing: 0.08em; margin-bottom: 22px; }
.dl .spacer { flex: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  background: var(--accent);
  color: #0b0b0c;
  border: 1px solid var(--accent);
  border-radius: 3px;
  font: 13px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  transition: filter 0.16s ease;
}
.btn:hover { filter: brightness(1.1); border-bottom-color: var(--accent); color: #0b0b0c; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  margin-top: 10px;
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.btn.wide { width: auto; min-width: 240px; }

/* The two secondary links share one row so a card reads as one primary action
   plus a pair of references, rather than three stacked full-width buttons. */
.dl-links { display: flex; gap: 10px; margin-top: 10px; }
.dl-links .btn {
  flex: 1 1 0;
  min-width: 0;
  margin-top: 0;
  padding: 13px 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
}
/* The pair still fits side by side at 375px (≈140px each); only genuinely
   narrow phones need it stacked, and stacking earlier would leave three
   full-width buttons where a primary-plus-pair reads better. */
@media (max-width: 359px) {
  .dl-links { flex-direction: column; }
}

/* ---------- notes ---------- */

.note {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 18px;
  margin: 26px 0 0;
  color: var(--ink-muted);
  font-size: 14.5px;
  max-width: var(--measure-text);
}
.warning {
  border: 1px solid var(--accent-deep);
  background: #191513;
  border-radius: 3px;
  padding: clamp(18px, 2.2vw, 24px);
  margin: 26px 0 0;
}
.warning h4 { color: var(--accent); }
.warning p { font-size: 14.5px; }

/* ---------- support / contact ---------- */

.link-rows { margin-top: clamp(28px, 3.6vw, 40px); border-top: 1px solid var(--line-soft); }
.link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.link-row .k {
  flex: 0 0 auto;
  min-width: 140px;
  color: var(--ink-muted);
  font: 11px/1.5 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.link-row .v { font-family: var(--mono); font-size: 15px; }
.link-row .v.pending { color: var(--ink-muted); border-bottom: 1px dashed var(--ink-low); padding-bottom: 2px; }
.signoff { margin-top: 1.8em; color: var(--ink-muted); font-family: var(--mono); letter-spacing: 0.06em; }
.link-row .hint { color: var(--ink-muted); font-size: 13px; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 60px;
  color: var(--ink-muted);
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: baseline; }
footer .mono { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
footer a { color: var(--ink-muted); border-bottom-color: var(--line); }
footer a:hover { color: var(--accent); }

/* ---------- install-page specifics ---------- */

.doc { padding-top: clamp(40px, 6vw, 72px); }
.doc .text, .doc p, .doc ul, .doc ol, .doc table, .doc .path, .doc .note, .doc .warning { max-width: var(--measure-text); }
.doc h2 { margin-top: clamp(48px, 6vw, 76px); }
.doc h2:first-of-type { margin-top: 0; }
.doc h3 { margin-top: 34px; color: var(--ink); }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 1.15em; }
.doc li { color: #d7d2ca; margin-bottom: 0.5em; }
.doc li::marker { color: var(--accent); font-family: var(--mono); }

.path {
  padding: 14px 16px;
  background: var(--panel-deep);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: #d9d2c8;
  font: 13px/1.6 var(--mono);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  margin: 0 0 1.15em;
}
/* Terminal commands wrap visually rather than scrolling sideways: a soft wrap
   adds nothing to the clipboard, so the copied command is still one line, and
   a long `sudo rm -rf …` stays fully readable on a phone. */
pre.path { white-space: pre-wrap; word-break: break-word; }
code { font-family: var(--mono); font-size: 0.94em; color: #d9d2c8; }
p code, li code, td code {
  background: var(--panel-deep);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: 1px 5px;
}

.table-scroll { overflow-x: auto; margin: 0 0 1.15em; max-width: var(--measure-text); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  color: var(--accent);
  font: 10.5px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--accent-deep);
  padding: 12px 10px;
  white-space: nowrap;
}
td { color: #d6d1c9; border-bottom: 1px solid var(--line-soft); padding: 12px 10px; vertical-align: top; }
td code { white-space: nowrap; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  margin-bottom: 22px;
  counter-increment: step;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font: 11px/1 var(--mono);
}
/* Every child is pinned to the content column. Without this, a step with more
   than one block (the Windows step 2, which carries two paths and a caveat)
   auto-places its later children into the 34px number column and renders them
   one character per line. */
.steps > li > * { grid-column: 2; }
.steps > li > *:first-child { margin-top: 4px; }
.steps > li > *:last-child { margin-bottom: 0; }

.crumb {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--ink-muted);
  font: 11px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 0;
}
.crumb:hover { color: var(--accent); border-bottom: 0; }

.doc-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(26px, 3.4vw, 38px);
  margin-bottom: clamp(34px, 4.4vw, 52px);
}
.doc-head h1 { font-size: clamp(26px, 4.6vw, 44px); margin-bottom: 16px; }

/* ---------- updates page ----------
   The verdict block is the whole page, so it is sized like a hero rather than
   like a note. Three visual states, and only ONE of them is accent-orange:
   "an update exists" is the only outcome that asks the reader to do something.
   Up-to-date and ahead-of-release are both fine, and colouring them the same
   as a call to action would make an ordinary answer look like a problem. */

.verdict {
  border: 1px solid var(--line);
  border-left: 2px solid var(--ink-low);
  background: var(--panel);
  border-radius: 3px;
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: clamp(28px, 3.4vw, 40px);
}
.verdict[hidden] { display: none; }
.verdict h2 { margin: 0 0 12px; font-size: clamp(20px, 3.2vw, 28px); }
.verdict p:last-child { margin-bottom: 0; }
.verdict .eyebrow { margin-bottom: 14px; }

/* An update is available — the one state that wants attention. */
.verdict.is-update { border-left-color: var(--accent); }
.verdict.is-update h2 { color: var(--accent); }

/* Up to date, ahead of the release, or nothing to compare: quiet on purpose. */
.verdict.is-current  { border-left-color: var(--ink-muted); }
.verdict.is-ahead    { border-left-color: var(--ink-muted); }
.verdict.is-unknown  { border-left-color: var(--ink-low); }

/* The two numbers, side by side, in the mono face the plug-in's own footer
   uses — so the string on this page looks like the string in the corner of
   the panel the reader just copied it from. */
.vpair {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: baseline;
  margin: 0 0 20px;
}
.vpair > div { display: flex; flex-direction: column; gap: 5px; }
.vpair .k {
  color: var(--ink-muted);
  font: 10.5px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.vpair .v { font: clamp(19px, 2.6vw, 25px)/1 var(--mono); color: var(--ink); }
.vpair .v.dim { color: var(--ink-muted); }
.vpair .arrow { color: var(--ink-low); font-size: 20px; align-self: center; }
@media (max-width: 420px) { .vpair .arrow { display: none; } }

.u-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.u-actions[hidden] { display: none; }
.u-actions .btn { width: auto; min-width: 200px; }

/* ---------- changelog releases ---------- */

.rel { padding: clamp(26px, 3.4vw, 38px) 0; border-top: 1px solid var(--line-soft); }
.rel:first-child { border-top: 0; padding-top: 0; }
.rel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  margin-bottom: 20px;
}
.rel-head h2 {
  margin: 0;
  font-size: clamp(21px, 2.8vw, 28px);
  color: var(--accent);
}
.rel-date {
  color: var(--ink-muted);
  font: 11px/1.5 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
/* The body is rendered from a release note, so it inherits the .doc rules for
   headings, lists, tables and code rather than restyling any of them here. */
.rel-body > *:first-child { margin-top: 0; }
.rel-body > *:last-child { margin-bottom: 0; }
.rel-body h3 { margin-top: 30px; }
