/*
 * Folder Vault site. Palette comes from the app's own UI:
 *   ink / panel      the app's dark navy surfaces
 *   periwinkle       interface and anything you can press (the app accent)
 *   amber            ONLY for vault, locked, hidden and encrypted things (as in the app)
 * Type: Bricolage Grotesque (display, width axis used as a visual element) + Figtree (body).
 * Radii follow hierarchy: headset windows 26px, screenshots 16px, controls pill, small marks 6px.
 */
:root {
  --ink: #0f1626;
  --ink-deep: #0b111e;
  --panel: #182033;
  --panel-2: #212a40;
  --line: rgba(231, 234, 243, 0.1);
  --line-strong: rgba(231, 234, 243, 0.18);
  --peri: #8c9bff;
  --peri-hover: #a6b2ff;
  --amber: #f2b33d;
  --mist: #e7eaf3;
  --slate: #8a93a8;
  --on-peri: #0f1626;

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale (roughly a fourth, 1.333). */
  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --t-h3: 1.25rem;
  --t-h2: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --t-h1: clamp(2.9rem, 1rem + 4.2vw, 4.7rem);

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --r-window: 26px;
  --r-shot: 16px;
  --r-mark: 6px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--mist);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  background: var(--ink);
  overflow-x: hidden;
}

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

a {
  color: var(--peri);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--peri-hover);
}

:focus-visible {
  outline: 3px solid var(--peri);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--mist);
  margin: 0;
}

h2 {
  font-size: var(--t-h2);
  line-height: 1.02;
  font-weight: 700;
  font-variation-settings: "wdth" 80;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

h3 {
  font-size: var(--t-h3);
  line-height: 1.25;
  font-weight: 650;
  font-variation-settings: "wdth" 92;
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

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

.muted {
  color: var(--slate);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  padding: 10px 16px;
  background: var(--peri);
  color: var(--on-peri);
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus {
  top: 12px;
}

/* Crawlable fallback (replaced by JS). Readable if JS is off. */
.seo-static {
  max-width: 70ch;
  padding-block: 48px;
}

.seo-static h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.seo-static h2 {
  font-size: 1.6rem;
  margin: 28px 0 8px;
}

.seo-static pre {
  white-space: pre-wrap;
}

/* ---------- Header and footer: quiet ---------- */

.site-head__row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mist);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  font-variation-settings: "wdth" 88;
  margin-right: auto;
}

.brand:hover {
  color: var(--mist);
}

.brand img {
  width: 30px;
  height: 30px;
}

.site-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}

.site-nav a:hover {
  color: var(--mist);
}

.site-nav a[aria-current="page"] {
  color: var(--mist);
  background: var(--panel);
}

@media (max-width: 720px) {
  .site-head__row {
    flex-wrap: wrap;
    gap: 6px 12px;
    padding-block: 14px;
  }
  .site-nav {
    width: calc(100% + 24px);
    margin-inline: -12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav a {
    white-space: nowrap;
    padding: 8px 10px;
  }
  .site-nav a.site-nav__home {
    display: none;
  }
}

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 40px 56px;
  color: var(--slate);
  font-size: var(--t-small);
}

.site-foot__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
}

.site-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.site-foot a {
  color: var(--mist);
  text-decoration: none;
}

.site-foot a:hover {
  color: var(--peri-hover);
  text-decoration: underline;
}

.site-foot__title {
  color: var(--mist);
  font-weight: 600;
  margin-bottom: 8px;
}

.site-foot__about p + p {
  margin-top: 8px;
}

@media (max-width: 720px) {
  .site-foot__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-foot__about {
    grid-column: 1 / -1;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 0;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  color: var(--on-peri);
  background: var(--peri);
  cursor: pointer;
}

.btn:hover {
  color: var(--on-peri);
  background: var(--peri-hover);
}

.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.btn--small {
  padding: 9px 16px;
  font-size: 0.9rem;
}

.site-head .site-head__store {
  background: transparent;
  color: var(--mist);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.site-head .site-head__store:hover {
  background: var(--panel);
  color: var(--mist);
}

@media (max-width: 720px) {
  .site-head .site-head__store {
    display: none;
  }
}

.btn--small svg {
  width: 18px;
  height: 18px;
}

.store-note {
  font-size: var(--t-small);
  color: var(--slate);
  max-width: 44ch;
}

/* ---------- Overview: hero ---------- */

.hero {
  padding-block: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px);
}

.hero__grid {
  display: grid;
  gap: clamp(36px, 4vw, 64px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
}

.hero__title {
  font-size: var(--t-h1);
  line-height: 0.92;
  font-weight: 760;
  font-variation-settings: "wdth" 76;
  letter-spacing: -0.005em;
}

.hero__title span {
  display: block;
  text-wrap: balance;
}

.hero__lead {
  margin-top: 24px;
  font-size: var(--t-lead);
  color: var(--slate);
  max-width: 34ch;
}

.hero__actions {
  margin-top: 32px;
  display: grid;
  gap: 12px;
  justify-items: start;
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

/* Headset window frame with the Horizon OS grab bar underneath. */
.hs-window::after {
  content: "";
  display: block;
  width: 18%;
  max-width: 120px;
  height: 6px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(231, 234, 243, 0.28);
}

.hs-window__frame {
  position: relative;
  border-radius: var(--r-window);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 40px 90px -30px rgba(3, 6, 14, 0.9);
}

.shot img {
  width: 100%;
}

.shot .hs-window__frame {
  border-radius: var(--r-shot);
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 30px 60px -32px rgba(3, 6, 14, 0.9);
}

.shot .hs-window::after {
  height: 5px;
  margin-top: 10px;
}

/* ---------- Hero: live recreation of the app's file grid (1em = 1/64 of its width) ---------- */

.fvm {
  container-type: inline-size;
}

.fvm__win {
  font-size: calc(100cqi / 56);
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  grid-template-columns: 14.5em minmax(0, 1fr);
  background: #0e121a;
  color: #f1f4f9;
  font-family: var(--font-body);
  user-select: none;
}

.fvm__side {
  background: #10141c;
  padding: 1.4em 0.9em 1.1em;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.fvm__logo {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0 0.4em 1em;
}

.fvm__logo-mark {
  width: 2.3em;
  height: 2.3em;
  border-radius: 0.65em;
  background: linear-gradient(145deg, #8c9bff, #9d7bff);
  display: grid;
  place-items: center;
  flex: none;
}

.fvm__logo-mark svg {
  width: 1.3em;
  height: 1.3em;
}

.fvm__logo b {
  display: block;
  font-size: 1.05em;
  font-weight: 600;
}

.fvm__logo small {
  display: block;
  font-size: 0.72em;
  color: #aab3c5;
}

.fvm__nav {
  display: flex;
  align-items: center;
  gap: 0.9em;
  padding: 0.62em 0.75em;
  border-radius: 0.8em;
  font-size: 0.95em;
  color: #dfe4ee;
}

.fvm__nav svg {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

.fvm__nav--on {
  background: #1f2942;
}

.fvm__vault {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.7em;
  border-radius: 0.9em;
  background: rgba(245, 181, 68, 0.1);
  box-shadow: inset 0 0 0 1px rgba(245, 181, 68, 0.3);
}

.fvm__vault-icon {
  width: 2.1em;
  height: 2.1em;
  border-radius: 0.6em;
  background: linear-gradient(145deg, #f7c762, #e8893a);
  display: grid;
  place-items: center;
  flex: none;
}

.fvm__vault-icon svg {
  width: 1.1em;
  height: 1.1em;
}

.fvm__vault b {
  display: block;
  font-size: 0.9em;
  font-weight: 600;
}

.fvm__vault small {
  display: block;
  font-size: 0.74em;
  color: #c9b58f;
}

.fvm__vault.is-full {
  background: rgba(245, 181, 68, 0.2);
  box-shadow: inset 0 0 0 1px rgba(245, 181, 68, 0.65);
}

.fvm__main {
  position: relative;
  padding: 1.4em 1.6em 1.2em;
  overflow: hidden;
}

.fvm__bar {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-bottom: 1.2em;
}

.fvm__crumb {
  font-size: 0.85em;
  color: #8f98ab;
  margin-right: auto;
}

.fvm__search {
  width: 13em;
  height: 2.5em;
  border-radius: 999px;
  background: #1a2030;
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0 1em;
  color: #8f98ab;
  font-size: 0.85em;
}

.fvm__search svg {
  width: 1.1em;
  height: 1.1em;
}

.fvm__toggle {
  display: flex;
  border-radius: 999px;
  background: #1a2030;
  padding: 0.2em;
  font-size: 0.8em;
}

.fvm__toggle span {
  padding: 0.45em 1em;
  border-radius: 999px;
  color: #aab3c5;
}

.fvm__toggle span:first-child {
  background: #7d8cff;
  color: #0f1626;
  font-weight: 600;
}

.fvm__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4em 1.1em;
}

.fvm__tile {
  position: relative;
  min-width: 0;
}

.fvm__thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 0.9em;
  display: grid;
  place-items: center;
  background: #1c2436;
}

.fvm__thumb > svg {
  width: 2.6em;
  height: 2.6em;
}

.fvm__tile[data-kind="video"] .fvm__thumb {
  background: #33202a;
}

.fvm__tile[data-kind="image"] .fvm__thumb {
  background: #15302f;
}

.fvm__badge {
  position: absolute;
  top: 0.55em;
  right: 0.55em;
  padding: 0.18em 0.55em;
  border-radius: 0.5em;
  background: #8f7dff;
  color: #fff;
  font-size: 0.7em;
  font-weight: 700;
  white-space: nowrap;
}

.fvm__check {
  position: absolute;
  top: 0.55em;
  left: 0.55em;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.14em rgba(255, 255, 255, 0.85);
  opacity: 0;
  display: grid;
  place-items: center;
  transition: opacity 160ms ease;
}

.fvm__check svg {
  width: 1em;
  height: 1em;
  opacity: 0;
}

.fvm.is-selecting .fvm__check {
  opacity: 1;
}

.fvm__tile.is-sel .fvm__thumb {
  box-shadow: 0 0 0 0.16em #8c9bff;
}

.fvm__tile.is-sel .fvm__check {
  background: #8c9bff;
  box-shadow: none;
}

.fvm__tile.is-sel .fvm__check svg {
  opacity: 1;
}

.fvm__name {
  margin-top: 0.55em;
  font-size: 0.9em;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fvm__meta {
  font-size: 0.74em;
  color: #8f98ab;
}

.fvm__tile.is-scrambled .fvm__name {
  color: #f5b544;
}

.fvm__actions {
  position: absolute;
  left: 50%;
  bottom: 1.1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em;
  border-radius: 1.1em;
  background: #1a2132;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1.2em 2.4em rgba(0, 0, 0, 0.45);
  transform: translate(-50%, 160%);
  opacity: 0;
  font-size: 0.85em;
  white-space: nowrap;
}

.fvm__actions.is-open {
  transform: translate(-50%, 0);
  opacity: 1;
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 200ms ease;
}

.fvm__count {
  padding: 0 0.9em;
  font-weight: 600;
}

.fvm__act {
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.55em 0.9em;
  border-radius: 0.8em;
  background: #232b3f;
  color: #dfe4ee;
}

.fvm__act svg {
  width: 1.1em;
  height: 1.1em;
}

.fvm__act--hide {
  background: #3a2f18;
  color: #f7c762;
}

.fvm__act--hide.is-pressed {
  background: #f2b33d;
  color: #2a1a00;
}

/* Pause / play for the looping demos (hero and player demos). Quiet until pointed at. */
.demo-pause {
  position: absolute;
  z-index: 4;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #c8cfe0;
  background: rgba(15, 22, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.demo-pause:hover,
.demo-pause:focus-visible {
  opacity: 1;
}

.demo-pause svg {
  width: 14px;
  height: 14px;
}

.fvm__pause {
  right: 12px;
  bottom: 12px;
}

/* ---------- Overview sections ---------- */

.band {
  padding-block: clamp(56px, 7vw, 112px);
}

.band--panel {
  background: var(--panel);
}

.band--deep {
  background: var(--ink-deep);
}

.band__head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.band__head p {
  font-size: var(--t-lead);
  color: var(--slate);
  max-width: 52ch;
}

.plays {
  display: grid;
  gap: clamp(28px, 3.5vw, 48px) clamp(24px, 3vw, 48px);
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
}

.plays__wide {
  grid-column: 1 / -1;
}

.plays__text {
  display: grid;
  gap: 20px;
  align-content: start;
  padding-top: 4px;
}

.plays__text p {
  color: var(--slate);
  max-width: 40ch;
}

.plays__text strong {
  display: block;
  color: var(--mist);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  font-variation-settings: "wdth" 88;
  margin-bottom: 4px;
}

@media (max-width: 860px) {
  .plays {
    grid-template-columns: 1fr;
  }
}

.shot figcaption {
  margin-top: 12px;
  max-width: 46ch;
}

.shot figcaption b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  font-variation-settings: "wdth" 88;
  color: var(--mist);
}

.shot figcaption span {
  color: var(--slate);
}

/* Encryption levels drawn as file bars. */
.levels {
  display: grid;
  gap: clamp(36px, 5vw, 88px);
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
}

.levels__intro {
  display: grid;
  gap: 20px;
}

.levels__intro p {
  color: var(--slate);
  font-size: var(--t-lead);
  max-width: 34ch;
}

.levels__intro p.levels__always {
  color: var(--mist);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: var(--t-small);
  color: var(--slate);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
}

.legend .is-enc {
  background: var(--amber);
}

.legend .is-plain {
  background: #2c3752;
}

.level-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 40px;
}

.level__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 6px;
}

.level__name {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.2rem + 1.3vw, 2.4rem);
  font-weight: 700;
  font-variation-settings: "wdth" 78;
  line-height: 1;
}

.level__tier {
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--slate);
}

.level__tier--free {
  color: var(--amber);
}

.level__line {
  color: var(--slate);
  margin-bottom: 14px;
}

.filebar {
  display: block;
  width: 100%;
  height: 44px;
  border-radius: var(--r-mark);
  background: #2c3752;
}

.filebar rect {
  fill: var(--amber);
}

.filebar__scale {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--slate);
}

@media (max-width: 900px) {
  .levels {
    grid-template-columns: 1fr;
  }
}

/* Real app screens: sizes follow importance. The PC screen leads with the promises under it;
   the two smaller screens stack on the right to the same height. */
.bento {
  display: grid;
  gap: clamp(28px, 3vw, 40px);
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
}

.bento__left,
.bento__right {
  display: grid;
  gap: clamp(28px, 3vw, 44px);
  align-content: start;
}

.promises {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.promises b {
  display: block;
  color: var(--mist);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  font-variation-settings: "wdth" 82;
  line-height: 1.15;
  margin-bottom: 4px;
}

.promises span {
  color: var(--slate);
}

@media (max-width: 860px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .promises {
    grid-template-columns: 1fr;
  }
}

/* Closing call to action. */
.closing {
  display: grid;
  gap: 28px 48px;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
}

.closing h2 {
  font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem);
  font-variation-settings: "wdth" 76;
  font-weight: 760;
  line-height: 0.95;
  max-width: 14ch;
}

.closing__side {
  display: grid;
  gap: 12px;
  justify-items: start;
}

@media (max-width: 860px) {
  .closing {
    grid-template-columns: 1fr;
  }
}

/* ---------- Inner pages ---------- */

.page {
  padding-block: clamp(24px, 4vw, 56px) clamp(64px, 8vw, 112px);
}

.page__title {
  font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem);
  line-height: 0.95;
  font-weight: 760;
  font-variation-settings: "wdth" 76;
  letter-spacing: -0.005em;
  max-width: 16ch;
}

.page__lead {
  margin-top: 18px;
  font-size: var(--t-lead);
  color: var(--slate);
  max-width: 52ch;
}

.page__meta {
  margin-top: 14px;
  color: var(--slate);
  font-size: var(--t-small);
}

.split {
  display: grid;
  gap: clamp(32px, 5vw, 88px);
  grid-template-columns: minmax(200px, 3fr) minmax(0, 9fr);
  margin-top: clamp(40px, 5vw, 72px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 24px;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--line-strong);
}

.toc a {
  display: block;
  padding: 7px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--slate);
  text-decoration: none;
  font-size: 0.95rem;
}

.toc a:hover {
  color: var(--mist);
}

.toc a.is-current {
  color: var(--mist);
  border-left-color: var(--peri);
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
  }
  .toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 0;
  }
  .toc a {
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    margin: 0;
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  .toc a.is-current {
    border-color: var(--peri);
  }
}

.guide {
  padding-block: 0 44px;
  scroll-margin-top: 24px;
}

.guide + .guide {
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.guide h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  max-width: none;
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 64ch;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--peri);
  text-align: right;
}

.steps strong {
  font-weight: 600;
}

.guide__tip {
  margin-top: 16px;
  color: var(--slate);
  font-size: 0.95rem;
  max-width: 60ch;
}

.guide__tip strong {
  color: var(--mist);
  font-weight: 600;
}

.guide__media {
  margin-top: 24px;
  max-width: 560px;
}

.table {
  width: 100%;
  max-width: 640px;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table th,
.table td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.table thead th {
  color: var(--slate);
  font-weight: 500;
  font-size: var(--t-small);
}

.table tbody th {
  font-weight: 600;
  white-space: nowrap;
}

.faq {
  margin-top: 12px;
  max-width: 72ch;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.06rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--peri);
  flex: none;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq__a {
  padding: 0 0 20px;
  color: var(--slate);
  max-width: 62ch;
}

.faq__a strong {
  color: var(--mist);
  font-weight: 600;
}

/* Legal pages: narrow reading column, wide page. */
.legal {
  max-width: 70ch;
}

.legal section {
  padding-block: 18px;
}

.legal h2 {
  font-size: 1.5rem;
  font-variation-settings: "wdth" 88;
  letter-spacing: 0;
  max-width: none;
  margin-bottom: 10px;
}

.legal p,
.legal li {
  color: #c3c9d8;
}

.legal p + p {
  margin-top: 10px;
}

.legal ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
}

.legal strong {
  color: var(--mist);
  font-weight: 600;
}

.legal .summary-box {
  padding: 24px 28px;
  border-radius: var(--r-shot);
  background: var(--panel);
  margin-bottom: 12px;
}

.legal h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin: 18px 0 6px;
}

.eula {
  white-space: pre-wrap;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: #c3c9d8;
  margin: 0;
  max-width: 82ch;
  overflow-wrap: anywhere;
}

/* What's new */
.release {
  max-width: 70ch;
}

.release__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}

.release__head h2 {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  max-width: none;
}

.release__date {
  color: var(--slate);
}

.release__summary {
  margin-top: 10px;
  font-size: var(--t-lead);
}

.release h3 {
  margin-top: 28px;
  font-size: 1.05rem;
  color: var(--slate);
  font-family: var(--font-body);
  font-weight: 600;
}

.release ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
}

.cta-inline {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

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

/* Narrow screens: icon-only sidebar and three columns so the demo stays readable. */
@container (max-width: 560px) {
  .fvm__win {
    font-size: calc(100cqi / 34);
    grid-template-columns: 4.2em minmax(0, 1fr);
    aspect-ratio: 4 / 3.4;
  }
  .fvm__side {
    padding-inline: 0.6em;
    align-items: center;
  }
  .fvm__logo {
    padding: 0 0 0.8em;
  }
  .fvm__logo > span:last-child,
  .fvm__nav span.fvm__label,
  .fvm__vault > span:last-child,
  .fvm__search,
  .fvm__crumb {
    display: none;
  }
  .fvm__nav {
    padding: 0.6em;
  }
  .fvm__vault {
    padding: 0.5em;
  }
  .fvm__bar {
    justify-content: flex-end;
  }
  .fvm__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fvm__actions .fvm__act:not(.fvm__act--hide) {
    display: none;
  }
}

.legal > h2 {
  margin-top: 32px;
}

.legal > p + p,
.legal > ul + p {
  margin-top: 10px;
}

/* ---------- Live feature demos (overview zoom section, Features page) ---------- */

/* Demo windows: 1em = 1/64 of the window width (1/34 when narrow). */
.pd {
  position: relative;
  container-type: inline-size;
}

.pd [hidden] {
  display: none !important;
}

.pd__win {
  font-size: calc(100cqi / 64);
  display: grid;
  background: #0e121a;
  color: #f1f4f9;
  font-family: var(--font-body);
  user-select: none;
}

.pd__stage {
  position: relative;
  aspect-ratio: 16 / 7.5;
  background: #05070c;
  overflow: hidden;
}

.pd__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.pd__chip {
  position: absolute;
  top: 0.9em;
  left: 0.9em;
  padding: 0.25em 0.65em;
  border-radius: 0.5em;
  background: rgba(15, 22, 38, 0.78);
  color: #dfe4ee;
  font-size: 0.8em;
  font-weight: 700;
}

.pd__chip.is-on {
  background: #8f7dff;
  color: #fff;
}

.pd__pointer {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(140, 155, 255, 0.35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  opacity: 0;
  z-index: 3;
  transition: opacity 150ms ease;
}

.pd__pointer.is-pressed {
  background: rgba(140, 155, 255, 0.8);
}

.pd__pause {
  right: 12px;
  top: 12px;
}

/* 1. Projection */
.pd__picker {
  padding: 1.1em 1.3em 1.3em;
  background: #10141c;
}

.pd__picker-head {
  display: flex;
  align-items: baseline;
  gap: 0.8em;
  margin-bottom: 0.9em;
}

.pd__picker-head b {
  font-size: 1.05em;
}

.pd__picker-head span {
  font-size: 0.8em;
  color: #8f98ab;
}

.pd__tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.6em;
}

.pd__tile {
  display: grid;
  justify-items: center;
  gap: 0.4em;
  padding: 0.8em 0.3em 0.7em;
  border-radius: 0.9em;
  background: #161c2a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #dfe4ee;
  font-size: 0.78em;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.pd__tile svg {
  width: 2.2em;
  height: 2.2em;
}

.pd__tile.is-sel {
  background: #262f4a;
  box-shadow: inset 0 0 0 0.14em #8c9bff;
}

/* 2. A-B loop */
.pd--ab .pd__stage {
  aspect-ratio: 16 / 6;
}

.pd__ctrl {
  background: #10141c;
  padding: 1.1em 1.4em 1.2em;
  display: grid;
  gap: 1em;
}

.pd__seek {
  display: flex;
  align-items: center;
  gap: 0.9em;
}

.pd__time {
  font-size: 0.8em;
  color: #aab3c5;
  font-variant-numeric: tabular-nums;
  min-width: 3.6em;
}

.pd__time:last-child {
  text-align: right;
}

.pd__bar {
  position: relative;
  flex: 1;
  height: 0.4em;
  border-radius: 999px;
  background: #2b3246;
}

.pd__played {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: #7d8cff;
}

.pd__range {
  position: absolute;
  top: -0.35em;
  height: 1.1em;
  background: rgba(245, 181, 68, 0.3);
  box-shadow: inset 0 0 0 0.1em #f5b544;
  border-radius: 0.2em;
}

.pd__mark {
  position: absolute;
  bottom: 0.9em;
  transform: translateX(-50%);
  padding: 0.05em 0.4em;
  border-radius: 0.35em;
  background: #f5b544;
  color: #2a1a00;
  font-size: 0.65em;
  font-weight: 800;
}

.pd__knob {
  position: absolute;
  top: 50%;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.pd__row2 {
  display: flex;
  align-items: center;
  gap: 1em;
}

.pd__info {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 0.25em;
}

.pd__info b {
  font-size: 0.95em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd__hint {
  font-size: 0.78em;
  color: #f5b544;
  min-height: 1.3em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd__transport {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.pd__ibtn {
  width: 2.7em;
  height: 2.7em;
  border-radius: 50%;
  background: #1c2233;
  display: grid;
  place-items: center;
  color: #dfe4ee;
}

.pd__ibtn svg {
  width: 1.3em;
  height: 1.3em;
}

.pd__flip svg {
  transform: scaleX(-1);
}

.pd__ibtn--play {
  width: 3.5em;
  height: 3.5em;
  background: #7d8cff;
  color: #0f1626;
}

.pd__ibtn--play svg {
  width: 1.8em;
  height: 1.8em;
}

.pd__row3 {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.pd__spring {
  flex: 1;
}

.pd__vol {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.8em;
  color: #aab3c5;
}

.pd__vol svg {
  width: 1.5em;
  height: 1.5em;
}

.pd__volbar {
  width: 8em;
  height: 0.35em;
  border-radius: 999px;
  background: #7d8cff;
}

.pd__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.55em 1em;
  border-radius: 999px;
  background: #232b3f;
  color: #dfe4ee;
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
}

.pd__pill svg {
  width: 1.3em;
  height: 1.3em;
}

.pd__pill--on {
  background: #7d8cff;
  color: #0f1626;
}

.pd__pill--vault {
  background: #f2b33d;
  color: #2a1a00;
}

/* 3. File types */
.pd--files {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}

.pd__files {
  list-style: none;
  margin: 0;
  padding: 0.9em;
  display: grid;
  gap: 0.25em;
  background: #10141c;
  align-content: start;
}

.pd__file {
  display: grid;
  grid-template-columns: 2em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7em;
  padding: 0.45em 0.6em;
  border-radius: 0.7em;
}

.pd__file.is-playing {
  background: #1f2942;
  box-shadow: inset 0 0 0 0.1em #8c9bff;
}

.pd__ficon {
  width: 2em;
  height: 2em;
  border-radius: 0.5em;
  display: grid;
  place-items: center;
  background: #33202a;
  color: #ff7a90;
}

.pd__ficon.is-photo {
  background: #15302f;
  color: #4fd1c5;
}

.pd__ficon svg {
  width: 1.2em;
  height: 1.2em;
}

.pd__ftext {
  min-width: 0;
  display: grid;
}

.pd__ftext b {
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd__ftext span {
  font-size: 0.68em;
  color: #8f98ab;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd__fstate {
  font-size: 0.7em;
  font-weight: 700;
  color: #8c9bff;
}

.pd__fstate svg {
  width: 1.5em;
  height: 1.5em;
  display: block;
}

.pd--files .pd__stage {
  aspect-ratio: auto;
  margin: 0.9em 0.9em 0.9em 0;
  border-radius: 0.8em;
}

.pd__now {
  position: absolute;
  left: 0.9em;
  bottom: 1.3em;
  font-size: 0.8em;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.pd__prog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.35em;
  background: #7d8cff;
  transform-origin: left center;
}

@container (max-width: 560px) {
  .pd__win {
    font-size: calc(100cqi / 34);
  }
  .pd__tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pd__picker-head span,
  .pd__opt {
    display: none !important;
  }
  .pd--proj .pd__stage,
  .pd--ab .pd__stage {
    aspect-ratio: 16 / 9;
  }
  .pd--files {
    grid-template-columns: 1fr;
  }
  .pd--files .pd__stage {
    order: -1;
    aspect-ratio: 16 / 9;
    margin: 0;
    border-radius: 0;
  }
  .pd__hint {
    white-space: normal;
  }
}

/* ---------- VR zoom section ---------- */

.zoom__grid {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: center;
}

.zoom__text {
  display: grid;
  gap: 16px;
}

.zoom__text p {
  color: var(--slate);
  font-size: var(--t-lead);
  max-width: 34ch;
}

@media (max-width: 860px) {
  .zoom__grid {
    grid-template-columns: 1fr;
  }
}

.pd--zoom .pd__stage {
  aspect-ratio: 16 / 8;
}

.pd__stick {
  position: absolute;
  left: 50%;
  bottom: 0.9em;
  transform: translateX(-50%);
  padding: 0.3em 0.8em;
  border-radius: 999px;
  background: rgba(15, 22, 38, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: #dfe4ee;
  font-size: 0.78em;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 200ms ease;
}

.pd__stick.is-on {
  opacity: 1;
}

.pd__zoombar {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 1em 1.4em;
  background: #10141c;
}

.pd__zoomname {
  flex: 1;
  min-width: 0;
  font-size: 0.9em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd__zoomctl {
  display: flex;
  align-items: center;
  gap: 0.35em;
}

.pd__zoomctl .pd__ibtn {
  width: 2.6em;
  height: 2.6em;
}

.pd__zoomctl .pd__ibtn:last-child {
  margin-left: 0.45em;
}

.pd__zoompill {
  min-width: 4.4em;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

@container (max-width: 560px) {
  .pd--zoom .pd__stage {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Outline button + link to the Features page ---------- */

.btn--outline {
  background: transparent;
  color: var(--mist);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn--outline:hover {
  background: var(--panel);
  color: var(--mist);
}

.features-link {
  margin-top: clamp(36px, 4vw, 56px);
}

/* ---------- Features page ---------- */

.features .feature {
  display: grid;
  gap: 20px;
  align-content: start;
  scroll-margin-top: 24px;
}

.feature__text {
  display: grid;
  gap: 8px;
}

.feature__text h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem);
  max-width: none;
}

.feature__text p {
  color: var(--slate);
  max-width: 46ch;
}

/* The lead feature (zoom) spans the page: text on the left, a larger demo on the right. */
.feature--lead {
  margin-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.feature--lead .feature__text h2 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem);
  line-height: 1.02;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 6vw, 96px) clamp(28px, 3.5vw, 56px);
  margin-top: clamp(48px, 6vw, 88px);
  align-items: start;
}

.feature__levels {
  display: grid;
  gap: 24px;
  padding: 28px;
  border-radius: var(--r-shot);
  background: var(--panel);
}

.feature__levels .level-list {
  gap: 28px;
}

@media (max-width: 860px) {
  .feature--lead,
  .features__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Demo: stream from a PC / NAS ---------- */

/* Fewer, bigger parts than the player demos, so a larger base size (1em = 1/46 of the width). */
.pd__win.pd--net {
  position: relative;
  font-size: calc(100cqi / 46);
  grid-template-columns: 11em minmax(0, 1fr);
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
}

.pd__side {
  background: #10141c;
  padding: 1.2em 0.7em;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.pd__nav {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.55em 0.65em;
  border-radius: 0.7em;
  font-size: 0.85em;
  color: #dfe4ee;
  white-space: nowrap;
  min-width: 0;
}

.pd__nav svg {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  color: #7fa2ff;
}

.pd__navlabel {
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd__nav.is-on {
  background: #1f2942;
}

.pd__nav--add svg {
  color: #aab3c5;
}

.pd__nav--pc svg {
  color: #8c9bff;
}

.pd__netmain {
  position: relative;
  padding: 1.4em 1.5em;
  min-width: 0;
}

.pd__screen {
  display: grid;
  gap: 1em;
  align-content: start;
}

.pd__h {
  font-size: 1.1em;
}

.pd__place {
  display: flex;
  align-items: center;
  gap: 0.8em;
  width: 15em;
  padding: 1em;
  border-radius: 1em;
  background: #151a24;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.pd__placeicon {
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.7em;
  display: grid;
  place-items: center;
  background: #252c3d;
  color: #dfe4ee;
  flex: none;
}

.pd__placeicon svg {
  width: 1.3em;
  height: 1.3em;
}

.pd__place b {
  display: block;
  font-size: 0.9em;
}

.pd__place span span,
.pd__place > span:last-child > span {
  display: block;
  font-size: 0.75em;
  color: #8f98ab;
}

.pd__grid2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1em;
}

.pd__tile2 {
  display: grid;
  gap: 0.3em;
  min-width: 0;
}

.pd__tile2 b {
  font-size: 0.82em;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd__tile2 > span:last-child {
  font-size: 0.7em;
  color: #8f98ab;
}

.pd__thumb2 {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 0.8em;
  display: grid;
  place-items: center;
  background: #33202a;
  color: #ff7a90;
}

.pd__tile2.is-folder .pd__thumb2 {
  background: #1c2436;
  color: #7fa2ff;
}

.pd__thumb2 svg {
  width: 2.2em;
  height: 2.2em;
}

.pd__badge2 {
  position: absolute;
  top: 0.45em;
  right: 0.45em;
  padding: 0.12em 0.45em;
  border-radius: 0.45em;
  background: #8f7dff;
  color: #fff;
  font-size: 0.62em;
  font-weight: 700;
}

.pd__netplayer {
  position: absolute;
  inset: 0;
  display: block;
  background: #05070c;
}

.pd__netplayer[hidden] {
  display: none;
}

.pd__netbar {
  position: absolute;
  left: 1em;
  right: 1em;
  bottom: 1em;
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.6em 0.8em;
  border-radius: 1em;
  background: rgba(16, 20, 28, 0.9);
}

.pd__netbar .pd__ibtn--play {
  width: 2.6em;
  height: 2.6em;
  flex: none;
}

.pd__netbar b {
  font-size: 0.8em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1 1 auto;
}

.pd__netprog {
  flex: 1 1 30%;
  height: 0.35em;
  border-radius: 999px;
  background: #2b3246;
  overflow: hidden;
}

.pd__netprog span {
  display: block;
  height: 100%;
  background: #7d8cff;
  transform-origin: left center;
}

/* Dialog */
.pd__scrim {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 7, 12, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
}

.pd__scrim.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 180ms ease;
}

.pd__dialog {
  width: min(34em, 88%);
  display: grid;
  gap: 0.5em;
  padding: 1.1em 1.3em;
  border-radius: 1.4em;
  background: #1a2030;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1.6em 3em rgba(0, 0, 0, 0.5);
}

.pd__dhead {
  display: flex;
  gap: 0.8em;
  align-items: flex-start;
}

.pd__dicon {
  width: 2.4em;
  height: 2.4em;
  border-radius: 0.7em;
  display: grid;
  place-items: center;
  background: #252c3d;
  color: #93a8ff;
  flex: none;
}

.pd__dicon svg {
  width: 1.3em;
  height: 1.3em;
}

.pd__dhead b {
  display: block;
  font-size: 1.05em;
}

.pd__dhead span {
  display: block;
  font-size: 0.72em;
  color: #aab3c5;
  line-height: 1.4;
}

.pd__ghost {
  justify-self: start;
  font-size: 0.75em;
  font-weight: 600;
  color: #dfe4ee;
  padding: 0.3em 0.2em;
}

.pd__field {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.35em;
  padding: 0 0.9em;
  border-radius: 0.8em;
  background: #121722;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.pd__field.is-focus {
  box-shadow: inset 0 0 0 0.12em #8c9bff;
}

.pd__flabel {
  position: absolute;
  left: 0.9em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.78em;
  color: #8f98ab;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 1.8em);
}

.pd__field.has-value .pd__flabel {
  top: 0.45em;
  transform: none;
  font-size: 0.58em;
}

.pd__fval {
  font-size: 0.85em;
  padding-top: 0.7em;
  white-space: nowrap;
}

.pd__caret {
  width: 1px;
  height: 1.1em;
  margin-top: 0.6em;
  margin-left: 1px;
  background: #8c9bff;
  visibility: hidden;
}

.pd__field.is-focus .pd__caret {
  visibility: visible;
}

.pd__dbtns {
  display: flex;
  justify-content: flex-end;
  gap: 0.5em;
  margin-top: 0.2em;
}

.pd__pill--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

@container (max-width: 560px) {
  .pd__win.pd--net {
    font-size: calc(100cqi / 30);
    grid-template-columns: 3.4em minmax(0, 1fr);
    aspect-ratio: 4 / 4.4;
  }
  .pd__side {
    padding-inline: 0.45em;
  }
  .pd__navlabel {
    display: none;
  }
  .pd__netmain {
    padding: 1em;
  }
  .pd__grid2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pd__dialog {
    width: 94%;
    padding: 1em;
  }
  .pd__dhead span {
    display: none;
  }
}

/* Features page balance: the file list reads larger, the levels card is tighter. */
.pd__win.pd--files {
  font-size: calc(100cqi / 46);
}

@container (max-width: 560px) {
  .pd__win.pd--files {
    font-size: calc(100cqi / 34);
  }
}

.feature__levels {
  gap: 18px;
  padding: 24px;
}

.feature__levels .level-list {
  gap: 20px;
}

.feature__levels .level__name {
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.8rem);
}

.feature__levels .level__line {
  margin-bottom: 10px;
}

.feature__levels .filebar {
  height: 30px;
}
