/* ==========================================================================
   Federated CoreDesktop — design system
   Shares the Federated Computer look: a dark navy top bar and hero,
   full-bleed bands that alternate white and light grey, a centered 1280px
   container, big tight Inter headlines, rounded filled cards, a cyan
   primary button and a magenta accent. Terminal windows carry the commands.
   ========================================================================== */

:root {
  /* color */
  --navy-deep: #001a2b;
  --navy: #052b42;
  --navy-2: #0f2839;
  --cyan: #2ee6d6;
  --cyan-deep: #14cfc0;
  --magenta: #d4008a;
  --magenta-deep: #a8006d;
  --magenta-bright: #ff3daf;
  --magenta-7: #d4008a12;
  --magenta-11: #d4008a1c;
  --paper: #f3f4f5;
  --paper-2: #e9ebee;
  --rule: #d9dee2;
  --ink: #001a2b;
  --ink-86: #001a2bdb;
  --ink-68: #001a2bad;
  --ink-60: #001a2b99;
  --ink-45: #001a2b73;
  --ink-22: #001a2b38;
  --on-dark: #ffffff;
  --on-dark-72: #ffffffb8;
  --on-dark-56: #ffffff8f;
  --on-dark-16: #ffffff29;
  --on-dark-8: #ffffff14;
  --live: #2ee6d6;

  /* type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --fs-statement: 64px;
  --fs-h2: 48px;
  --fs-dek: 20px;
  --fs-body: 17px;
  --lh-body: 1.6;

  /* layout */
  --wrap: 1280px;
  --gutter: 32px;
  --head-h: 72px;
  --sp-section: 104px;
  --radius: 16px;
  --radius-sm: 10px;
  --measure: 680px;

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-hover: cubic-bezier(.25, .1, .25, 1);
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
  --dur-hover: .2s;
  --dur-press: .12s;
}

@media (max-width: 1000px) {
  :root { --fs-statement: 48px; --fs-h2: 38px; --sp-section: 80px; --head-h: 64px; }
}
@media (max-width: 600px) {
  :root { --fs-statement: 38px; --fs-h2: 30px; --fs-dek: 17px; --fs-body: 16px; --sp-section: 64px; --gutter: 20px; }
}

/* ---- utilities ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mb-2 { margin-bottom: 28px; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 32px; }

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--head-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: "cv11", "ss01";
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 500; }
p, figcaption, dd { text-wrap: pretty; }
ol, ul { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 600; }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 50;
  background: var(--cyan); color: var(--navy-deep); padding: 8px 12px; font-size: 14px; text-decoration: none; border-radius: 6px;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

.eyebrow,
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--magenta);
}

/* ==========================================================================
   Top bar — logo, pages, and the source / install actions
   ========================================================================== */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: var(--navy-deep);
  color: var(--on-dark);
  border-bottom: 1px solid var(--on-dark-8);
  transition: background-color var(--dur-hover) var(--ease-hover);
}
.site-head.is-scrolled { background: #001a2bf2; backdrop-filter: blur(12px); }
.head-bar { display: flex; align-items: center; gap: 32px; height: var(--head-h); }
.brand { display: inline-flex; flex: none; }
.brand-logo { width: 168px; height: auto; translate: 0 -3px; } /* lifts the wordmark baseline onto the nav text baseline */

.head-nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 500; line-height: 1.3;
  color: var(--on-dark-72); text-decoration: none;
  transition: color var(--dur-hover) var(--ease-hover), background-color var(--dur-hover) var(--ease-hover);
}
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link[aria-current] { color: var(--on-dark); }
.nav-link:hover { background: var(--on-dark-8); }
.head-actions { display: flex; align-items: center; gap: 20px; flex: none; }
.head-signin {
  font-size: 15px; font-weight: 500; color: var(--on-dark-72); text-decoration: none;
  transition: color var(--dur-hover) var(--ease-hover);
}
.head-signin:hover, .head-signin[aria-current] { color: var(--on-dark); }

/* ---- mobile menu (a <details>, so it works with JS off) ---- */
.menu { display: none; margin-left: auto; }
.menu summary {
  list-style: none;
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 14px; cursor: pointer;
  border: 1px solid var(--on-dark-16); border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--on-dark);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-glyph { display: inline-grid; gap: 4px; width: 14px; }
.menu-glyph i { display: block; height: 1.5px; background: currentColor; transition: rotate .2s var(--ease-out), translate .2s var(--ease-out); }
.menu[open] .menu-glyph i { translate: 0 2.75px; rotate: 45deg; }
.menu[open] .menu-glyph i + i { translate: 0 -2.75px; rotate: -45deg; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--head-h)); overflow-y: auto;
  background: #fff; color: var(--ink);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 24px 40px -20px #001a2b40;
  display: flex; flex-direction: column;
  padding: 8px var(--gutter) 24px;
}
.menu-panel a { text-decoration: none; }
.menu-top { padding: 14px 0; font-size: 16px; font-weight: 600; border-top: 1px solid var(--rule); }
.menu-top:first-child { border-top: 0; }
.menu-sub { display: flex; flex-direction: column; padding: 0 0 12px 14px; margin-top: -6px; }
.menu-sub a { padding: 7px 0; font-size: 15px; color: var(--ink-68); }
.menu-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 18px; border-top: 1px solid var(--rule); }

@media (max-width: 1080px) {
  .head-nav, .head-actions { display: none; }
  .menu { display: block; }
  .brand-logo { width: 144px; }
}

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  font-family: var(--font);
  font-size: 15px; font-weight: 600; line-height: 1;
  white-space: nowrap; text-decoration: none;
  border: 1px solid transparent; border-radius: 8px; cursor: pointer;
  transition: background-color var(--dur-hover) var(--ease-hover), border-color var(--dur-hover) var(--ease-hover), color var(--dur-hover) var(--ease-hover), transform var(--dur-press) var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn .arrow { margin: 0; }

.btn-primary { background: var(--cyan); color: var(--navy-deep); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--cyan-deep); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink-22); }
.btn-secondary:hover { border-color: var(--ink); }

.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* on the dark bands */
.hero .btn-secondary, .cta .btn-secondary, .section-stats .btn-secondary {
  color: var(--on-dark); border-color: var(--on-dark-16);
}
.hero .btn-secondary:hover, .cta .btn-secondary:hover, .section-stats .btn-secondary:hover {
  background: var(--on-dark-8); border-color: var(--on-dark-56);
}
/* on white, the cyan needs a navy edge to hold its shape */
.section .btn-primary { background: var(--navy-deep); color: #fff; }
.section .btn-primary:hover { background: var(--magenta); }

/* the quiet link */
.more, .btn-text {
  display: inline-flex; align-items: center;
  font-size: 15px; font-weight: 600; line-height: 1.4;
  color: var(--magenta); text-decoration: none;
  transition: color var(--dur-hover) var(--ease-hover);
}
.more:hover, .btn-text:hover { color: var(--magenta-deep); }
.arrow {
  display: inline-block; margin-inline-start: .4em; font-weight: 400;
  transition: translate var(--dur-hover) var(--ease-hover);
}
a:hover > .arrow, a:focus-visible > .arrow, a:hover .arrow { translate: 3px 0; }

.actions, .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-row { margin-top: 40px; gap: 12px 32px; }
@media (max-width: 520px) {
  .hero .actions, .cta .actions { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   Hero — a full-bleed navy band, copy left, a visual right
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 104px 0 120px;
  background:
    radial-gradient(60% 80% at 92% 8%, #d4008a66 0%, transparent 60%),
    radial-gradient(40% 50% at 70% 110%, #2ee6d626 0%, transparent 70%),
    var(--navy-deep);
  color: var(--on-dark);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(var(--on-dark-8) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--on-dark-8) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(80% 90% at 80% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(80% 90% at 80% 30%, #000 0%, transparent 75%);
  opacity: .7;
}
.hero-compact { padding: 80px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.hero.has-visual .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; }
.hero-copy { max-width: 820px; }


.note {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--on-dark-16); border-radius: 999px;
  background: var(--on-dark-8);
  font-size: 14px; line-height: 1.45; color: var(--on-dark-72);
}
.note-live { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px #2ee6d626; }

.statement {
  font-size: var(--fs-statement);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 500;
  color: var(--on-dark);
}
.note + .statement { margin-top: 28px; }
.dek {
  margin-top: 24px;
  max-width: 36em;
  font-size: var(--fs-dek);
  line-height: 1.55;
  color: var(--on-dark-72);
}
.dek strong { color: var(--on-dark); font-weight: 600; }
.hero .actions { margin-top: 40px; }
.hero-compact .statement { font-size: calc(var(--fs-statement) * .85); }
.hero-compact:not(.has-visual) .hero-copy { max-width: 900px; }

@media (max-width: 1000px) {
  .hero, .hero-compact { padding: 72px 0 80px; }
  .hero.has-visual .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}

/* the agent log: a glass console, typed out by the hero's script */
.hero-log { position: relative; }
.log-window {
  background: #001a2bb8;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--on-dark-16), 0 40px 80px -24px #000000a6;
  overflow: hidden;
}
.log-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid var(--on-dark-8); background: var(--on-dark-8);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--on-dark-56);
}
.log-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-live { display: inline-flex; align-items: center; gap: 8px; flex: none; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; color: var(--cyan); }
.log-live .note-live { box-shadow: none; width: 6px; height: 6px; }
.log-lines { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 22px; font-family: var(--font-mono); font-size: 13px; line-height: 1.5; }
.log-line { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.log-tag { font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--magenta-bright); }
.log-text { color: #ffffffe0; }
.log-line.is-done .log-tag { color: var(--cyan); }
.log-line.is-done .log-text { color: var(--cyan); font-weight: 500; }
/* animated only with JS and motion allowed; otherwise every line simply shows */
.hero-log.is-animated .log-line { opacity: 0; }
.hero-log.is-animated .log-line.is-on { opacity: 1; }
.hero-log.is-animated .log-line.is-on .log-text { animation: log-type calc(var(--n) * 16ms) steps(var(--n)) both; }
.hero-log.is-animated .log-line.is-typed .log-text { animation: none; }
/* a fixed-height window that scrolls as lines arrive, fading out at the top */
.hero-log.is-animated .log-view {
  height: 300px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32px);
  mask-image: linear-gradient(to bottom, transparent, #000 32px);
}
.hero-log.is-animated .log-lines { transition: transform .45s var(--ease-out), opacity .4s var(--ease-standard); }
/* reasoning steps: greyed, with a spinner in place of the cursor */
.log-line.is-think .log-tag { color: var(--on-dark-56); }
.log-line.is-think .log-text { color: var(--on-dark-56); font-style: italic; }
.hero-log.is-animated .log-line.is-current .log-text::after {
  content: ""; display: inline-block; width: .6em; height: 1.1em; margin-left: 2px; vertical-align: text-bottom;
  background: var(--cyan); animation: log-caret 1s steps(1) infinite;
}
.hero-log.is-animated .log-line.is-think.is-current .log-text::after {
  content: "⠋"; width: auto; height: auto; margin-left: 6px; background: none;
  font-style: normal; color: var(--cyan); animation: log-spin .8s steps(1) infinite;
}
@keyframes log-spin {
  0% { content: "⠋"; } 12.5% { content: "⠙"; } 25% { content: "⠹"; } 37.5% { content: "⠸"; }
  50% { content: "⠼"; } 62.5% { content: "⠴"; } 75% { content: "⠦"; } 87.5% { content: "⠧"; }
}
.hero-log.is-clearing .log-lines { opacity: 0; }
@keyframes log-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes log-caret { 50% { opacity: 0; } }
@media (max-width: 600px) {
  .log-lines { font-size: 12px; }
  .log-line { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-log.is-animated .log-view { height: 380px; }
}
/* ==========================================================================
   Sections — full-bleed bands that alternate white and grey
   ========================================================================== */
.section {
  --section-bg: #fff;
  --surface: var(--paper);
  padding-block: var(--sp-section);
  background: var(--section-bg);
}
main > .section:nth-of-type(even) { --section-bg: var(--paper); --surface: #fff; }

.section-head { margin-bottom: 56px; max-width: 880px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.03em; color: var(--ink);
}
.section-head .lede {
  margin-top: 20px; max-width: var(--measure);
  font-size: 19px; line-height: 1.55; color: var(--ink-68);
}
.section-head:has(.eyebrow):not(:has(h2)) { margin-bottom: 20px; }

/* text sections: the heading on the left, the copy on the right */
@media (min-width: 1001px) {
  .section-text .wrap:has(> .section-head) {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 80px; align-items: start;
  }
  .section-text .wrap > .section-head { grid-row: span 3; margin-bottom: 0; }
  .section-text .wrap > .prose, .section-text .wrap > .cta-row { grid-column: 2; }
  .section-text .wrap > .prose { padding-top: 34px; }
}
/* a text section without a heading is a large statement */
.section-text .wrap:not(:has(> .section-head)) .prose { max-width: 1040px; }
.section-text .wrap:not(:has(> .section-head)) .prose,
.section-text .wrap:not(:has(> .section-head)) .prose p {
  font-size: clamp(24px, 3vw, 36px); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; color: var(--ink);
}
/* *phrases* in a statement are picked out in magenta */
.section-text .wrap:not(:has(> .section-head)) .prose em { font-weight: inherit; color: var(--magenta); }

/* an offer card under a text section */
.offer-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px;
  max-width: 1040px; margin-top: 48px; padding: 24px 28px;
  border: 1px solid var(--magenta-11); border-radius: var(--radius);
  background: var(--magenta-7);
}
.offer-badge {
  padding: 6px 12px; border-radius: 999px;
  background: var(--cyan); color: var(--navy-deep);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.offer-text { font-size: 20px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.offer-text a { color: var(--magenta); text-decoration: none; }
.offer-text a:hover { color: var(--magenta-deep); text-decoration: underline; }
@media (max-width: 700px) {
  .offer-card { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 16px; padding: 22px; }
}

.rule-dashed { border: 0; height: 1px; margin: 0; background: var(--rule); }
.section-divider { padding: 0; }

/* ---- prose ---- */
.prose { display: flex; flex-direction: column; gap: 22px; max-width: var(--measure); }
.prose.centered { margin-inline: auto; text-align: center; }
.prose p, .prose li { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--ink-86); }
.prose em { font-style: normal; font-weight: 600; }
.prose a { color: var(--magenta); text-decoration: none; font-weight: 500; }
.prose a:hover { color: var(--magenta-deep); text-decoration: underline; }
.prose ul { display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); }
.prose h3 { font-size: 19px; font-weight: 600; }
/* ---- generic cards ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: minmax(0, 1fr); } }
.card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
}
.card-visual { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 32px 28px 30px; min-height: 240px; }
.card.has-visual .card-body { min-height: 0; }
.card-body::before {
  content: ""; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, var(--magenta) 0 5px, transparent 5.5px),
    var(--magenta-11);
}
.card.has-visual .card-body::before { display: none; }
.card-label { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--magenta); }
.card-title { font-size: 22px; line-height: 1.25; letter-spacing: -.015em; }
.card-title p { margin: 0; }
.card-text { font-size: 15px; line-height: 1.6; color: var(--ink-68); }
.card-link { margin-top: auto; padding-top: 8px; }

/* an abstract gradient panel used where there's no image yet */
.card-art {
  position: relative; display: block; overflow: hidden;
  background:
    radial-gradient(#ffffff1f 1px, transparent 1.25px) 8px 8px / 16px 16px,
    radial-gradient(70% 80% at calc(15% + var(--i, 0) * 17%) 20%, #d4008acc 0%, transparent 60%),
    radial-gradient(60% 70% at calc(90% - var(--i, 0) * 13%) 100%, #2ee6d68c 0%, transparent 65%),
    var(--navy);
}
/* ---- stats: a navy band with cyan figures (:nth-of-type(n) outranks the even-row paper tint) ---- */
main > .section-stats:nth-of-type(n) { --section-bg: var(--navy-deep); --surface: var(--on-dark-8); color: var(--on-dark); }
.section-stats .section-head h2 { color: var(--on-dark); }
.section-stats .section-head .lede { color: var(--on-dark-72); }
.section-stats .eyebrow { color: var(--cyan); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 0; }
.stat {
  display: flex; flex-direction: column; gap: 16px;
  padding: 4px 28px 8px;
  border-left: 1px solid var(--on-dark-16);
}
.stat-value {
  font-size: clamp(40px, 4.4vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 16px; line-height: 1.5; color: var(--on-dark-72); max-width: 18em; }

/* ---- quote ---- */
.said, .pull-quote { border-left: 3px solid var(--magenta); padding: 4px 0 4px 28px; }
.said blockquote, .said blockquote p, .pull-quote {
  font-size: 28px; line-height: 1.4; letter-spacing: -.02em; font-weight: 500; color: var(--ink); max-width: 34em;
}
.said figcaption { margin-top: 16px; font-size: 15px; color: var(--ink-60); }
.said-list { display: flex; flex-direction: column; gap: 44px; }
.said-list .said blockquote, .said-list .said blockquote p { font-size: 20px; line-height: 1.5; }
.said-list .said:only-child blockquote, .said-list .said:only-child blockquote p { font-size: 28px; line-height: 1.4; }
.said-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.said-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 32px 28px 28px; border-radius: var(--radius); background: var(--surface);
}
.said-card blockquote, .said-card blockquote p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-86); }
.said-card blockquote::before { content: "\201C"; }
.said-card blockquote::after { content: "\201D"; }
.said-who { display: flex; align-items: center; gap: 14px; }
.said-photo { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--magenta-11); }
.said-initials { display: grid; place-items: center; font-size: 15px; font-weight: 600; color: var(--magenta); }
.said-id { display: flex; flex-direction: column; min-width: 0; font-size: 14px; line-height: 1.4; }
.said-name { font-weight: 600; color: var(--ink); }
.said-role, .said-role p { margin: 0; color: var(--ink-60); }
.said-role a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule); }
.said-role a:hover { color: var(--magenta); border-color: currentColor; }
@media (max-width: 1000px) { .said-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .said-cards { grid-template-columns: minmax(0, 1fr); } }
.said-savings { margin-top: 64px; }
.said-savings-title { margin-bottom: 20px; font-size: 28px; line-height: 1.25; letter-spacing: -.02em; font-weight: 500; }

/* ---- tables ---- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--rule); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--rule); }
.compare-table thead th {
  border-top: 0; background: var(--navy-deep); color: var(--on-dark-72);
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.compare-table thead th a { text-decoration: none; color: var(--on-dark); }
.compare-table thead th a:hover { color: var(--cyan); }
.compare-table tbody th { font-weight: 600; color: var(--ink); }
.compare-table tbody tr:hover { background: #f8f9fa; }
.compare-table td.bad { color: var(--ink-60); }
.compare-table td.good { color: var(--ink); font-weight: 600; }
.compare-table td.good::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin: 0 8px 1px 0; background: var(--magenta); }
/* ---- checklist & features ---- */
.check-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px 40px; }
.check-list li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.55; color: var(--ink-86); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list li p { margin: 0; }

.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.feature-list li {
  display: flex; flex-direction: column; gap: 10px;
  padding: 30px 28px; border-radius: var(--radius); background: var(--surface);
  font-size: 15px; line-height: 1.6; color: var(--ink-68);
}
.feature-list li::before {
  content: ""; width: 36px; height: 4px; margin-bottom: 12px; border-radius: 99px; background: var(--magenta);
}
.feature-list li strong { display: block; font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; color: var(--ink); }
.feature-list li p { margin: 0; }

/* ---- steps ---- */
.step-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step-row.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: var(--surface); }
.step-head { display: flex; flex-direction: column-reverse; gap: 20px; }
.step h3 { font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-deep); color: var(--cyan);
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
}
.step p { font-size: 15px; line-height: 1.6; color: var(--ink-68); }
@media (max-width: 1000px) { .step-row.steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .step-row, .step-row.steps-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---- faq & app directory (native <details>) ---- */
.faq-list { max-width: 960px; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  font-size: 19px; font-weight: 500; letter-spacing: -.01em; line-height: 1.4;
  transition: color var(--dur-hover) var(--ease-hover);
}
.faq-item summary:hover { color: var(--magenta); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat,
    var(--surface);
  transition: rotate .25s var(--ease-out);
}
.faq-item[open] summary::after { rotate: 45deg; }
.faq-answer { padding: 0 56px 26px 0; max-width: 820px; }
.faq-answer p { font-size: 16px; line-height: 1.65; color: var(--ink-68); }
/* ---- callout ---- */
.callout { max-width: 960px; padding: 28px 32px; border-radius: var(--radius); background: var(--magenta-7); box-shadow: inset 4px 0 0 var(--magenta); }
.callout p { font-size: 17px; line-height: 1.65; color: var(--ink-86); }
/* ---- split ---- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.split-col { padding: 32px; border-radius: var(--radius); background: var(--surface); }
.split-col:first-child { background: var(--navy-deep); color: var(--on-dark); }
.split-col h3 { margin-bottom: 20px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--magenta); }
.split-col:first-child h3 { color: var(--cyan); }
.split-list { display: flex; flex-direction: column; gap: 12px; }
.split-list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.5; color: var(--ink-86); }
.split-col:first-child .split-list li { color: #ffffffe0; }
.split-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.split-col + .split-col .split-list li::before { background: transparent; border: 1.5px solid var(--ink-45); }
.split-list li p { margin: 0; }
@media (max-width: 700px) { .split { grid-template-columns: minmax(0, 1fr); } }
/* ==========================================================================
   Closing call to action — a navy band
   ========================================================================== */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--sp-section) * 1.1) 0;
  color: var(--on-dark);
  background:
    radial-gradient(50% 120% at 100% 100%, #d4008a8c 0%, transparent 60%),
    radial-gradient(30% 60% at 0% 0%, #2ee6d61f 0%, transparent 70%),
    var(--navy-deep);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(var(--on-dark-8) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--on-dark-8) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(60% 100% at 85% 60%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 100% at 85% 60%, #000 0%, transparent 75%);
}
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px 64px; }
.cta-title { max-width: 16em; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.03em; color: var(--on-dark); }
.cta-text { margin-top: 20px; max-width: 36em; font-size: 18px; line-height: 1.6; color: var(--on-dark-72); }
@media (max-width: 900px) { .cta-inner { grid-template-columns: minmax(0, 1fr); } }
/* ==========================================================================
   Footer — navy, many columns
   ========================================================================== */
.foot {
  padding: 88px 0 36px;
  background: var(--navy-deep);
  font-size: 14px; line-height: 1.5; color: var(--on-dark-56);
  border-top: 1px solid var(--on-dark-8);
}
.foot a { color: var(--on-dark-72); text-decoration: none; transition: color var(--dur-hover) var(--ease-hover); }
.foot a:hover { color: var(--on-dark); }
.foot-top-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px 80px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.foot-mark .brand-logo { width: 200px; }
.foot-line { max-width: 32ch; font-size: 15px; color: var(--on-dark-72); }
.foot-place { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.foot-head { font-size: 14px; font-weight: 600; color: var(--on-dark); }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.foot-group { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.foot-links { display: flex; flex-direction: column; gap: 12px; }
.foot-legal {
  display: flex; align-items: center; gap: 24px;
  margin-top: 72px; padding-top: 24px;
  border-top: 1px solid var(--on-dark-8);
  font-size: 13px;
}
.foot-social { display: flex; gap: 10px; margin-top: 8px; }
.foot-social a { display: inline-flex; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--on-dark-16); font-size: 13px; }
.foot-social a:hover { border-color: var(--on-dark-56); }
.foot-social .arrow { margin-left: 4px; }
.foot-policy { white-space: nowrap; }
.foot-top { margin-left: auto; white-space: nowrap; display: inline-flex; gap: 6px; }
.foot-up { display: inline-block; transition: translate var(--dur-hover) var(--ease-hover); }
.foot-top:hover .foot-up { translate: 0 -2px; }
@media (max-width: 1000px) { .foot-top-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-legal { flex-wrap: wrap; row-gap: 10px; }
  .foot-top { margin-left: 0; }
}
/* ==========================================================================
   Reveal — content rises in as it scrolls into view (JS adds html.js)
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  translate: 0 16px;
  transition: opacity .7s var(--ease-standard), translate .7s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].is-visible { opacity: 1; translate: 0; }
/* the first screen paints at once — never hidden behind an animation */
html.js .hero [data-reveal] { opacity: 1; translate: 0; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-reveal] { opacity: 1; translate: 0; transition: none; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}

/* ==========================================================================
   CoreDesktop additions — the wordmark, the tiled-desktop visual, terminal
   windows, and code in prose
   ========================================================================== */

.head-signin .arrow { font-size: 13px; }

/* the tiles: a three-pane GNOME desktop drawn on a deep panel */
.hero-tiles {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  aspect-ratio: 1.35; padding: 14px;
  overflow: hidden; border-radius: 20px;
  background:
    radial-gradient(#ffffff1f 1px, transparent 1.25px) 10px 10px / 20px 20px,
    radial-gradient(90% 90% at 90% 0%, #d4008a99 0%, transparent 60%),
    var(--navy);
  box-shadow: inset 0 0 0 1px var(--on-dark-16);
}
.hero-compact .hero-tiles { aspect-ratio: 1.6; }
.tiles-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--on-dark-72);
}
.tiles-clock { font-weight: 500; color: var(--on-dark); }
.tiles-grid-icon { display: inline-grid; grid-template-columns: repeat(3, 6px); gap: 2px; }
.tiles-grid-icon i { height: 9px; border-radius: 1.5px; background: var(--on-dark-56); }
.tiles-grid { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-height: 0; }
.tile {
  display: flex; flex-direction: column; gap: 9px;
  padding: 14px; border-radius: 12px;
  background: #001a2bcc; box-shadow: inset 0 0 0 1px var(--on-dark-16);
  animation: tile-in .8s var(--ease-out) both; animation-delay: calc(.3s + var(--i) * .12s);
}
.tile.is-focus { box-shadow: inset 0 0 0 1.5px var(--cyan), 0 0 0 4px #2ee6d61f; }
.tile em {
  margin-bottom: 6px; font-style: normal; font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-72);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tile.is-focus em { color: var(--cyan); }
.tile i { display: block; height: 6px; border-radius: 99px; background: var(--on-dark-16); }
.tile i:nth-of-type(1) { width: 82%; }
.tile i:nth-of-type(2) { width: 64%; }
.tile i:nth-of-type(3) { width: 74%; }
.tile.is-focus i:nth-of-type(1) { background: var(--magenta); }
.tiles-keys { display: flex; align-items: center; gap: 6px; padding: 0 4px; font-size: 12px; color: var(--on-dark-56); }
.tiles-keys kbd, .prose kbd {
  display: inline-block; padding: 2px 7px; border-radius: 5px;
  font-family: var(--font-mono); font-size: 11px; line-height: 1.5;
}
.tiles-keys kbd { background: var(--on-dark-8); box-shadow: inset 0 -1px 0 var(--on-dark-16), inset 0 0 0 1px var(--on-dark-16); color: var(--on-dark); }
.tiles-hint { margin-left: 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
@keyframes tile-in { from { opacity: 0; translate: 0 10px; } }
@media (max-width: 600px) {
  .hero-tiles, .hero-compact .hero-tiles { aspect-ratio: 1.05; }
  .tile { padding: 10px; }
}

/* the window dots, shared by the hero log and terminal blocks */
.log-bar { justify-content: flex-start; }
.log-bar .log-live { margin-left: auto; }
.log-dots { display: inline-flex; gap: 6px; flex: none; }
.log-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--on-dark-16); }
.log-dots i:first-child { background: var(--cyan); }

/* a command in a terminal window */
.term {
  position: relative; max-width: 960px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy-deep); color: var(--on-dark);
  box-shadow: 0 30px 60px -30px #001a2b80;
}
.term-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px; border-bottom: 1px solid var(--on-dark-8); background: var(--on-dark-8);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--on-dark-56);
}
.term-body {
  margin: 0; padding: 22px 24px 24px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere;
  font-family: var(--font-mono); font-size: 14.5px; line-height: 1.6; color: #ffffffe0;
}
.term-body code::before { content: "$ "; color: var(--cyan); user-select: none; }
.term-note { margin-top: 18px; max-width: var(--measure); font-size: 15px; line-height: 1.6; color: var(--ink-68); }
.term-note code, .sib-desc code, .lede code, .card-text code, .feature-list code, .step code, .faq-answer code, .split-list code, .check-list code, .compare-table code, .callout code, .stat-label code, .dek code {
  font-family: var(--font-mono); font-size: .88em; padding: .1em .38em; border-radius: 5px; background: var(--magenta-7); color: var(--ink);
}
.dek code { background: var(--on-dark-8); color: var(--on-dark); }

/* the Copy button (added by baseof.html's script) */
.copy-btn {
  position: absolute; top: 8px; right: 10px;
  padding: 4px 12px; border: 1px solid var(--on-dark-16); border-radius: 999px;
  background: var(--navy-deep); color: var(--on-dark-72);
  font: inherit; font-family: var(--font); font-size: 12px; font-weight: 500; cursor: pointer;
  transition: color var(--dur-hover) var(--ease-hover), border-color var(--dur-hover) var(--ease-hover);
}
.copy-btn:hover { color: var(--on-dark); border-color: var(--on-dark-56); }
pre.has-copy { position: relative; }
pre.has-copy code { display: block; padding-right: 64px; }

/* code in prose */
.prose code {
  font-family: var(--font-mono); font-size: .88em;
  padding: .12em .4em; border-radius: 5px;
  background: var(--magenta-7); color: var(--ink);
}
.prose pre {
  margin: 0; padding: 18px 22px; overflow-x: auto;
  border-radius: 12px; background: var(--navy-deep);
  box-shadow: 0 20px 40px -28px #001a2b80;
}
.prose pre code {
  padding: 0; background: none; color: #ffffffe0;
  font-size: 14px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere;
}
.prose kbd { font-size: .78em; background: #fff; box-shadow: inset 0 -1px 0 var(--rule), inset 0 0 0 1px var(--rule); color: var(--ink); }
.prose ol { display: flex; flex-direction: column; gap: 12px; counter-reset: li; }
.prose ol > li { position: relative; padding-left: 40px; counter-increment: li; }
.prose ol > li::before {
  content: counter(li); position: absolute; left: 0; top: .1em;
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy-deep); color: var(--cyan);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
}
.prose h3 + p, .prose h3 + ul, .prose h3 + pre { margin-top: -10px; }
.prose h3:not(:first-child) { margin-top: 10px; }
.prose strong { color: var(--ink); }
.prose blockquote { padding: 4px 0 4px 20px; border-left: 3px solid var(--magenta); }

/* plain tables: a header row in navy, row labels in bold */
.compare-table td { color: var(--ink-86); }
.compare-table td p, .compare-table th p { margin: 0; }
.compare-table tbody th { min-width: 140px; }
.compare-table a { color: var(--magenta); text-decoration: none; font-weight: 500; }

.stat-label code { background: var(--on-dark-8); color: var(--on-dark); }

/* links inside card, list and band copy */
.card-text a, .feature-list a, .check-list a, .callout a, .step a, .faq-answer a, .split-list a, .term-note a, .lede a {
  color: var(--magenta); text-decoration: none; font-weight: 500;
}
.card-text a:hover, .feature-list a:hover, .check-list a:hover, .callout a:hover, .step a:hover, .faq-answer a:hover, .split-list a:hover, .term-note a:hover, .lede a:hover { text-decoration: underline; }
.cta-text a, .dek a { color: var(--cyan); text-decoration: none; }
.cta-text a:hover, .dek a:hover { text-decoration: underline; }
.split-col:first-child .split-list code { background: var(--on-dark-8); color: var(--on-dark); }

/* ---- sibling directory (data/siblings.yaml) ---- */
.sib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
@media (max-width: 420px) { .sib-grid { grid-template-columns: minmax(0, 1fr); } }
.sib-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--radius); background: var(--surface);
  transition: box-shadow var(--dur-hover) var(--ease-hover);
}
.sib-card:hover { box-shadow: inset 0 0 0 1.5px var(--magenta); }
.sib-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.sib-name { font-family: var(--font-mono); font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.sib-name a { color: var(--ink); text-decoration: none; }
.sib-name a:hover { color: var(--magenta); }
.sib-author { font-size: 14px; color: var(--ink-60); }
.sib-author a { color: inherit; }
.sib-desc { font-size: 15px; line-height: 1.6; color: var(--ink-68); }
.sib-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sib-tags li {
  padding: 3px 10px; border-radius: 999px; background: var(--magenta-11);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--magenta);
}
.sib-cmd {
  margin: auto 0 0; padding: 14px 16px; border-radius: 10px;
  background: var(--navy-deep); overflow-x: auto;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.5; color: #ffffffe0;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.sib-cmd code::before { content: "$ "; color: var(--cyan); user-select: none; }
.sib-cmd .copy-btn { top: 9px; right: 9px; }

.sib-empty {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 28px;
  max-width: 1040px; padding: 28px 32px;
  border: 1.5px dashed var(--ink-22); border-radius: var(--radius);
}
.sib-empty-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background:
    linear-gradient(var(--magenta), var(--magenta)) center / 18px 3px no-repeat,
    linear-gradient(var(--magenta), var(--magenta)) center / 3px 18px no-repeat,
    var(--magenta-11);
}
.sib-empty-text { font-size: 18px; line-height: 1.5; color: var(--ink-86); }
.sib-empty-text strong { color: var(--ink); }
@media (max-width: 800px) { .sib-empty { grid-template-columns: minmax(0, 1fr); justify-items: start; } }
/* long inline paths and commands wrap instead of running out of their card */
.feature-list code, .card-text code, .step code, .check-list code, .split-list code, .compare-table code, .sib-desc code, .term-note code, .prose :not(pre) > code { overflow-wrap: anywhere; }

/* the hero's screen recording: a window the full width of the container */
.hero-video { margin-top: 64px; }
.video-window {
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy-deep);
  box-shadow: inset 0 0 0 1px var(--on-dark-16), 0 40px 80px -24px #000000a6;
}
.video-window .log-bar { justify-content: flex-start; gap: 14px; }
.video-screen { display: block; width: 100%; height: auto; aspect-ratio: 32 / 9; background: #000; }
@media (max-width: 1000px) { .hero-video { margin-top: 48px; } }

/* links in a statement: ink with a magenta underline, so they don't read as the magenta *phrases* */
.section-text .wrap:not(:has(> .section-head)) .prose a {
  color: inherit; font-weight: inherit;
  text-decoration: underline; text-decoration-color: var(--magenta);
  text-decoration-thickness: 2px; text-underline-offset: .16em;
}
.section-text .wrap:not(:has(> .section-head)) .prose a:hover { color: var(--magenta); }

/* ---- software catalog (content/software/, the catalog section) ---- */
.cat-tools { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 10px 7px 14px; border-radius: 999px; background: var(--surface);
  font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: background var(--dur-hover) var(--ease-hover), color var(--dur-hover) var(--ease-hover);
}
.cat-nav a:hover { background: var(--magenta); color: #fff; }
.cat-count {
  min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--magenta-11);
  font-family: var(--font-mono); font-size: 11px; text-align: center; color: var(--magenta);
}
.cat-nav a:hover .cat-count { background: #ffffff33; color: #fff; }
.cat-filter input {
  width: min(420px, 100%); height: 48px; padding: 0 18px;
  border: 1.5px solid var(--ink-22); border-radius: 999px; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink);
}
.cat-filter input:focus { outline: none; border-color: var(--magenta); }

.catalog { display: flex; flex-direction: column; gap: 56px; }
.cat-group { scroll-margin-top: calc(var(--head-h) + 24px); }
.cat-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.cat-group-head h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
.cat-group-head p { font-size: 15px; color: var(--ink-60); }
.cat-row {
  position: relative;
  display: grid; grid-template-columns: 13rem minmax(0, 1fr) auto; gap: 4px 28px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.cat-row:hover { background: linear-gradient(90deg, transparent, var(--magenta-7) 12%, var(--magenta-7) 88%, transparent); }
.cat-name { font-weight: 600; font-size: 17px; color: var(--ink); text-decoration: none; }
.cat-name::after { content: ""; position: absolute; inset: 0; }
.cat-row:hover .cat-name { color: var(--magenta); }
.cat-desc { font-size: 15.5px; line-height: 1.55; color: var(--ink-68); }
.cat-desc p { display: inline; }
.cat-src {
  padding: 2px 9px; border-radius: 999px; background: var(--paper-2);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-60);
  white-space: nowrap;
}
.cat-src-flathub { background: var(--magenta-11); color: var(--magenta-deep); }
.cat-src-aur { background: #2ee6d633; color: #006b63; }
.cat-none { font-size: 18px; color: var(--ink-68); }
.cat-none a { color: var(--magenta); }
@media (max-width: 800px) {
  .cat-row { grid-template-columns: minmax(0, 1fr) auto; }
  .cat-desc { grid-column: 1 / -1; grid-row: 2; }
}

/* one title's page */
.app-facts {
  display: flex; flex-direction: column;
  padding: 8px 28px; border-radius: var(--radius);
  background: var(--on-dark-8); box-shadow: inset 0 0 0 1px var(--on-dark-16);
}
.app-facts > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 16px; padding: 16px 0; }
.app-facts > div + div { border-top: 1px solid var(--on-dark-16); }
.app-facts dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-56); padding-top: 3px; }
.app-facts dd { margin: 0; font-size: 16px; color: var(--on-dark); overflow-wrap: anywhere; }
.app-facts a { color: var(--on-dark); text-decoration-color: var(--magenta-bright); text-underline-offset: .18em; }
.app-facts a:hover { color: var(--cyan); }
.app-facts code { font-family: var(--font-mono); font-size: 14px; }
.app-replaces s { white-space: nowrap; text-decoration-color: var(--magenta-bright); }
.app-replaces .sep { color: var(--on-dark-56); }
.app-hero .note a { color: inherit; text-decoration: none; }
.app-hero .note a:hover { color: var(--on-dark); text-decoration: underline; }
@media (max-width: 500px) { .app-facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

.app-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 80px; align-items: start; }
.app-body .prose h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.02em; }
.app-body .prose h2:not(:first-child) { margin-top: 18px; }
.app-aside { position: sticky; top: calc(var(--head-h) + 32px); display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--radius); background: var(--surface); }
.app-others { display: flex; flex-direction: column; gap: 2px; }
.app-others a { display: block; padding: 5px 0; font-size: 15px; color: var(--ink-86); text-decoration: none; }
.app-others a:hover { color: var(--magenta); }
.app-others [aria-current] a { color: var(--magenta); font-weight: 600; }
@media (max-width: 1000px) {
  .app-layout { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .app-aside { position: static; }
}
