/* Rodinium / Spectre: starlight and brass on night-sky ink; ink and brass on warm paper by day. */

@font-face { font-family: "Literata"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/literata-var.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/atkinson-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/atkinson-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/plexmono-500.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --paper: #f3efe5;
  --paper-2: #e9e3d4;
  --card: #fbf9f3;
  --ink: #10262a;
  --ink-2: #48585a;
  --rule: #d6cdb9;
  --rule-soft: #e3dccb;
  --accent: #0b6b5f;
  --accent-strong: #08524a;
  --accent-wash: #dcebe4;
  --brass: #8a5b12;
  --brass-soft: #c79a4a;
  --on-accent: #f7f5ee;
  --band: #0c2226;
  --band-ink: #eef3ee;
  --band-ink-2: #b7c7c3;
  --shadow: 0 1px 0 rgba(16, 38, 42, .05), 0 14px 34px -22px rgba(16, 38, 42, .45);
  --star: rgba(138, 91, 18, .16);

  --display: "Literata", "Iowan Old Style", Georgia, serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --wrap: 1160px;
  --gutter: 16px;
  --radius: 10px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Dark: the device asks for it (and the visitor hasn't chosen light), or the visitor chose dark. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #071519;
    --paper-2: #0c1f24;
    --card: #0e2328;
    --ink: #e9efe9;
    --ink-2: #a9b9b6;
    --rule: #21393e;
    --rule-soft: #172c31;
    --accent: #79d6c2;
    --accent-strong: #a6e7d8;
    --accent-wash: #0f3530;
    --brass: #dfb66a;
    --brass-soft: #a98440;
    --on-accent: #04110f;
    --band: #0b2a2e;
    --band-ink: #eef3ee;
    --band-ink-2: #b7c7c3;
    --shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 18px 40px -24px rgba(0, 0, 0, .95);
    --star: rgba(233, 243, 236, .5);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #071519;
  --paper-2: #0c1f24;
  --card: #0e2328;
  --ink: #e9efe9;
  --ink-2: #a9b9b6;
  --rule: #21393e;
  --rule-soft: #172c31;
  --accent: #79d6c2;
  --accent-strong: #a6e7d8;
  --accent-wash: #0f3530;
  --brass: #dfb66a;
  --brass-soft: #a98440;
  --on-accent: #04110f;
  --band: #0b2a2e;
  --band-ink: #eef3ee;
  --band-ink-2: #b7c7c3;
  --shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 18px 40px -24px rgba(0, 0, 0, .95);
  --star: rgba(233, 243, 236, .5);
}
:root[data-theme="light"] { color-scheme: light; }

/* Pictures drawn for one mode only: they follow the same rule as the colours. */
.only-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: block !important; }
  :root:not([data-theme="light"]) .only-light { display: none !important; }
}
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }

img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
[id] { scroll-margin-top: 1rem; }

.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 10; background: var(--ink); color: var(--paper);
  padding: .5rem .9rem; border-radius: 4px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.12; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1rem; }
/* Kept for the guide pages (spectre/migrate/). */
.mono, .eyebrow { font-family: var(--mono); font-weight: 500; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }

/* ---------- header ---------- */
.site-head { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; min-height: 64px; flex-wrap: wrap;
  padding-top: .5rem; padding-bottom: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img, .brand svg { width: 30px; height: 30px; flex: none; }
.brand .word { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; }
.nav { display: flex; gap: .1rem 1.25rem; flex-wrap: wrap; font-size: .97rem; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--brass-soft); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brass); }
/* Light / dark / auto switch (assets/theme.js shows it; without scripts it stays hidden). */
.mode { display: inline-flex; align-items: center; gap: .4rem; flex: none; font: inherit; font-size: .88rem; font-weight: 700; color: var(--ink-2);
  background: transparent; border: 1.5px solid var(--rule); border-radius: 999px; padding: .3rem .7rem .3rem .55rem; cursor: pointer; line-height: 1.2; }
.mode:hover { color: var(--ink); border-color: var(--brass-soft); }
.mode[hidden] { display: none; }
.mode svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mode svg .fill { fill: currentColor; stroke: none; }
.mode .i-auto, .mode .i-light, .mode .i-dark { display: none; }
.mode[data-mode="auto"] .i-auto, .mode[data-mode="light"] .i-light, .mode[data-mode="dark"] .i-dark { display: block; }
@media (max-width: 719px) {
  .site-head .wrap { padding-top: .6rem; padding-bottom: .4rem; }
  .brand { order: 0; }
  .mode { order: 1; margin-left: auto; }
  .nav { order: 2; width: 100%; margin-left: 0; gap: 0 .85rem; font-size: .88rem; }
}

/* Old crystal mark: only the guide page still draws it inline. */
.m-ink { fill: var(--ink); }
.m-acc { fill: var(--accent); }
.m-acc2 { fill: var(--accent); opacity: .55; }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.center .actions { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.25rem; border-radius: 6px; font-weight: 700;
  text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; line-height: 1.2; }
.btn:hover { background: var(--paper-2); color: var(--ink); text-decoration: none; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-accent); }

/* ---------- opening ---------- */
.opening { padding-block: clamp(2.5rem, 7vw, 5rem) 0; position: relative; isolation: isolate; }
/* A few still stars behind the opening. */
.opening::before { content: ""; position: absolute; inset: 0 0 40% 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.3px 1.3px at 9% 22%, var(--star) 50%, transparent 52%),
    radial-gradient(1px 1px at 21% 64%, var(--star) 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 33% 12%, var(--star) 50%, transparent 52%),
    radial-gradient(1px 1px at 72% 18%, var(--star) 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 86% 48%, var(--star) 50%, transparent 52%),
    radial-gradient(1px 1px at 93% 9%, var(--star) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 62% 70%, var(--star) 50%, transparent 52%); }
.opening .wrap { text-align: center; }
.opening .mark { display: block; width: clamp(96px, 14vw, 136px); height: auto; margin: 0 auto 1.1rem; }
.opening h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); max-width: 20ch; margin: 0 auto; }
.opening .line { font-size: clamp(1.1rem, 1.9vw, 1.3rem); color: var(--ink-2); max-width: 44ch; margin: 1rem auto 0; }
.opening .line strong { color: var(--ink); }
.opening .hero-shot { margin-top: clamp(2.2rem, 5vw, 3.4rem); }

/* ---------- screenshots and placeholders ---------- */
.frame { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.frame .bar { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--rule-soft); background: var(--paper-2); }
.frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.frame img { display: block; width: 100%; height: auto; }
/* Placeholder: where a real screenshot will go. Clearly marked, never mistaken for the product. */
.ph { display: grid; place-items: center; text-align: center; aspect-ratio: 16 / 10; padding: 1rem;
  background: repeating-linear-gradient(135deg, transparent 0 14px, var(--rule-soft) 14px 15px), var(--card);
  color: var(--ink-2); font-size: .9rem; line-height: 1.4; }
.ph span { background: var(--card); border: 1.5px dashed var(--brass-soft); border-radius: 6px; padding: .5rem .8rem; max-width: 30ch; }
.ph b { display: block; color: var(--brass); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .15rem; }
.ph.tall { aspect-ratio: 9 / 19; padding: .4rem; font-size: .72rem; }
.ph.tall span { padding: .35rem .4rem; }
.ph.tall b { font-size: .64rem; }
.hero-shot .ph { aspect-ratio: 16 / 9; font-size: 1rem; }

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section + .section { border-top: 1px solid var(--rule-soft); }
.section-head { max-width: 52ch; margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); }
.section-head p { color: var(--ink-2); margin: .6rem 0 0; font-size: 1.08rem; }
.section-foot { margin: 1.8rem 0 0; color: var(--ink-2); }

/* No coding needed */
.nocode { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.2rem); }
.nocode .head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-bottom: 1.2rem; }
.nocode h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.nocode .head p { margin: 0; color: var(--ink-2); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .checks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.checks li { position: relative; padding-left: 1.7rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--accent-wash); border: 1.5px solid var(--accent); }
.checks li::after { content: ""; position: absolute; left: .36rem; top: .5em; width: .3rem; height: .55rem;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks strong { display: block; }
.checks span { color: var(--ink-2); font-size: .96rem; }
.nocode .small { margin: 1.3rem 0 0; font-size: .9rem; color: var(--ink-2); }

/* Feature grid */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.tile > .ph, .tile > img { border-bottom: 1px solid var(--rule-soft); }
.tile .body { padding: 1.1rem 1.2rem 1.25rem; }
.tile h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.tile p { color: var(--ink-2); font-size: .98rem; margin: 0; }
.tile p strong { color: var(--ink); }
.tile p + p { margin-top: .5rem; }
.tile a.more { display: inline-block; margin-top: .6rem; font-weight: 700; font-size: .95rem; }

/* Theme gallery: a desktop shot with the phone shot over its corner. */
.theme .pair { position: relative; padding: 14px 14px 0; background: var(--paper-2); border-bottom: 1px solid var(--rule-soft); }
.theme .pair .desk { border-radius: 6px 6px 0 0; border: 1px solid var(--rule); border-bottom: 0; padding-right: 31%; }
.theme .pair .phone { position: absolute; right: 14px; bottom: 0; width: 25%; border: 1px solid var(--rule); border-bottom: 0;
  border-radius: 10px 10px 0 0; box-shadow: var(--shadow); }
.theme .swatch { display: flex; gap: 4px; margin-bottom: .55rem; }
.theme .swatch i { width: 18px; height: 8px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(127,127,127,.35); }
.sw-lcars i:nth-child(1) { background: #000000; } .sw-lcars i:nth-child(2) { background: #ff9900; } .sw-lcars i:nth-child(3) { background: #ffcc66; } .sw-lcars i:nth-child(4) { background: #cc99cc; } .sw-lcars i:nth-child(5) { background: #9999ff; }
.sw-colony i:nth-child(1) { background: #19241b; } .sw-colony i:nth-child(2) { background: #6cc2ec; } .sw-colony i:nth-child(3) { background: #a6d486; } .sw-colony i:nth-child(4) { background: #ead193; } .sw-colony i:nth-child(5) { background: #e5ad82; }
.sw-dominion i:nth-child(1) { background: #150f20; } .sw-dominion i:nth-child(2) { background: #b480ff; } .sw-dominion i:nth-child(3) { background: #7b4fd1; } .sw-dominion i:nth-child(4) { background: #45d3b2; } .sw-dominion i:nth-child(5) { background: #e3a0cf; }
.sw-klingon i:nth-child(1) { background: #111010; } .sw-klingon i:nth-child(2) { background: #75121a; } .sw-klingon i:nth-child(3) { background: #c7281d; } .sw-klingon i:nth-child(4) { background: #e69a32; } .sw-klingon i:nth-child(5) { background: #c7a35a; }
.sw-merchant i:nth-child(1) { background: #171513; } .sw-merchant i:nth-child(2) { background: #f2a427; } .sw-merchant i:nth-child(3) { background: #de8150; } .sw-merchant i:nth-child(4) { background: #bbb4a8; } .sw-merchant i:nth-child(5) { background: #a1c5d6; }
.sw-nx i:nth-child(1) { background: #131920; } .sw-nx i:nth-child(2) { background: #72a6de; } .sw-nx i:nth-child(3) { background: #3e6ba5; } .sw-nx i:nth-child(4) { background: #b5bdc9; } .sw-nx i:nth-child(5) { background: #cdbd8c; }
.sw-snw i:nth-child(1) { background: #101823; } .sw-snw i:nth-child(2) { background: #52abff; } .sw-snw i:nth-child(3) { background: #c8d2de; } .sw-snw i:nth-child(4) { background: #ffffff; } .sw-snw i:nth-child(5) { background: #e8c574; }
.sw-tos i:nth-child(1) { background: #18151c; } .sw-tos i:nth-child(2) { background: #f4c430; } .sw-tos i:nth-child(3) { background: #6db4ff; } .sw-tos i:nth-child(4) { background: #ff7466; } .sw-tos i:nth-child(5) { background: #e9dcbf; }
.sw-bajoran i:nth-child(1) { background: #1b110d; } .sw-bajoran i:nth-child(2) { background: #ea8445; } .sw-bajoran i:nth-child(3) { background: #f3c56c; } .sw-bajoran i:nth-child(4) { background: #dea59d; } .sw-bajoran i:nth-child(5) { background: #b4562c; }
.sw-cardassian i:nth-child(1) { background: #17150d; } .sw-cardassian i:nth-child(2) { background: #e2a62a; } .sw-cardassian i:nth-child(3) { background: #cfd65c; } .sw-cardassian i:nth-child(4) { background: #bcb96e; } .sw-cardassian i:nth-child(5) { background: #c4a17a; }
.sw-ferengi i:nth-child(1) { background: #14150c; } .sw-ferengi i:nth-child(2) { background: #e8b628; } .sw-ferengi i:nth-child(3) { background: #ffda74; } .sw-ferengi i:nth-child(4) { background: #e58c54; } .sw-ferengi i:nth-child(5) { background: #a1d262; }
.sw-romulan i:nth-child(1) { background: #0c1714; } .sw-romulan i:nth-child(2) { background: #3fc68e; } .sw-romulan i:nth-child(3) { background: #6fc3b2; } .sw-romulan i:nth-child(4) { background: #93bccb; } .sw-romulan i:nth-child(5) { background: #5e9c80; }
.sw-classic i:nth-child(1) { background: var(--ink-2); } .sw-classic i:nth-child(2) { background: var(--brass-soft); } .sw-classic i:nth-child(3) { background: var(--accent); } .sw-classic i:nth-child(4) { background: var(--rule); } .sw-classic i:nth-child(5) { background: var(--paper-2); }

/* The Classic layout card spans the row: pictures beside the text. */
@media (min-width: 640px) { .theme.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .theme.wide .pair { border-bottom: 0; border-right: 1px solid var(--rule-soft); height: 100%; display: flex; align-items: flex-end; }
  .theme.wide .pair .desk { width: 100%; } }
@media (min-width: 1000px) { .theme.wide { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } .theme.wide .body { padding-inline: 1.6rem; } }

/* Fleets */
.fleet-shots { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .fleet-shots { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .fleet-shots .frame:first-child { grid-row: span 2; } .fleet-shots .frame:first-child .ph { aspect-ratio: auto; height: 100%; min-height: 320px; } }
.fleet-shots figure { margin: 0; }
.fleet-shots figcaption { padding: .6rem .9rem; font-size: .9rem; color: var(--ink-2); border-top: 1px solid var(--rule-soft); }
.fleet-points { margin-top: clamp(1.6rem, 3.5vw, 2.4rem); }

/* Status band */
.band { background: var(--band); color: var(--band-ink); padding-block: clamp(2.4rem, 5vw, 3.4rem); position: relative; isolation: isolate; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.3px 1.3px at 7% 30%, rgba(238, 243, 238, .55) 50%, transparent 52%),
    radial-gradient(1px 1px at 27% 75%, rgba(238, 243, 238, .4) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 58% 20%, rgba(238, 243, 238, .5) 50%, transparent 52%),
    radial-gradient(1px 1px at 81% 66%, rgba(238, 243, 238, .45) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 94% 18%, rgba(238, 243, 238, .5) 50%, transparent 52%); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.band .status-text { display: flex; align-items: center; gap: 1.1rem; max-width: 60ch; }
.band img { width: 64px; height: 64px; flex: none; }
.band h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); color: var(--band-ink); }
.band p { margin: .35rem 0 0; color: var(--band-ink-2); }
.band .btn { border-color: #dfb66a; color: var(--band-ink); }
.band .btn:hover { background: rgba(223, 182, 106, .14); color: var(--band-ink); }
.band .actions { margin-top: 0; }

/* Guides / helpful links */
.links { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.linkcard { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.linkcard h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.linkcard h3 a { color: var(--ink); text-decoration-color: var(--brass-soft); }
.linkcard h3 a:hover { color: var(--accent); }
.linkcard p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* Home: the product card */
.product { display: grid; gap: clamp(1.4rem, 4vw, 2.6rem); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.product .name { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.product .name img { width: 56px; height: 56px; }
.product h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.product p { color: var(--ink-2); }
.product ul { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--ink-2); }
.product li { margin-bottom: .35rem; }
.product li strong { color: var(--ink); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--rule); padding-block: 1.6rem; font-size: .93rem; color: var(--ink-2); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; }
.site-foot .who { display: inline-flex; align-items: center; gap: .55rem; }
.site-foot .who img { width: 26px; height: 26px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.site-foot a { color: var(--ink-2); }
.site-foot a:hover { color: var(--ink); }

/* ---------- plain text pages (privacy, guide) ---------- */
.prose { padding-block: clamp(2.5rem, 6vw, 4rem); }
.prose .wrap { max-width: 760px; }
.prose h1 { font-size: clamp(2rem, 4.6vw, 2.8rem); margin: .4rem 0 .6rem; }
.prose h2 { font-size: 1.4rem; margin: 2.2rem 0 .6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose .updated { color: var(--ink-2); font-size: .95rem; margin-bottom: 1.8rem; }

/* ---------- 404 ---------- */
.lost { padding-block: clamp(3.5rem, 10vw, 7rem); text-align: center; }
.lost img { width: 96px; height: 96px; margin-bottom: 1rem; }
.lost h1 { font-size: clamp(2rem, 5vw, 3rem); }
.lost p { color: var(--ink-2); margin-top: .8rem; }
.lost .actions { justify-content: center; }

@media print {
  .site-head .nav, .band, .skip { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- showcase pages (fleets, comms link) ---------- */
/* Two boxes side by side: what is shared / what stays, hosted / independent. */
.two { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.box { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.2rem 1.3rem; min-width: 0; }
.box h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.box ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); }
.box li { margin-bottom: .35rem; }
.box p { color: var(--ink-2); margin: 0 0 .6rem; }
.box p:last-child { margin-bottom: 0; }
.box.accent { border-top: 3px solid var(--brass-soft); }
.box.cool { border-top: 3px solid var(--accent); }
.note { border-left: 3px solid var(--brass-soft); background: var(--card); padding: .8rem 1.1rem; border-radius: 0 6px 6px 0; margin: 1.4rem 0 0; color: var(--ink); }

/* Connection diagrams (inline SVG, coloured by the tokens). */
.diagram { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem; }
.diagram svg { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
.diagram .legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; margin-top: .6rem; font-size: .9rem; color: var(--ink-2); }
.diagram .legend span { display: inline-flex; align-items: center; gap: .5rem; }
.diagram .legend i { display: inline-block; width: 26px; border-top: 3px solid var(--brass-soft); }
.diagram .legend i.dash { border-top: 3px dashed var(--accent); }
.n-hub { fill: var(--paper-2); stroke: var(--brass-soft); stroke-width: 2; }
.n-ship { fill: var(--card); stroke: var(--accent); stroke-width: 2; }
.n-down { fill: var(--card); stroke: var(--ink-2); stroke-width: 2; stroke-dasharray: 5 5; }
.n-label { fill: var(--ink); font-family: var(--display); font-size: 17px; font-weight: 650; }
.n-sub { fill: var(--ink-2); font-family: var(--body); font-size: 12px; }
.l-main { stroke: var(--brass-soft); stroke-width: 3; fill: none; }
.l-ep { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 8 7; fill: none; }
.l-off { stroke: var(--rule); stroke-width: 3; stroke-dasharray: 3 6; fill: none; }
.opening .diagram { margin-top: clamp(2rem, 5vw, 3rem); }

/* A walkthrough: each step a short card with its step number. */
.walk { list-style: none; margin: 0; padding: 0; counter-reset: walk; display: grid; gap: 1rem; }
.walk > li { counter-increment: walk; position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.1rem 1.3rem 1.2rem 4rem; min-width: 0; }
.walk > li::before { content: counter(walk); position: absolute; left: 1.1rem; top: 1.05rem; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--ink); background: var(--paper-2); border: 1.5px solid var(--brass-soft); }
.walk h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.walk p, .walk li li { color: var(--ink-2); }
.walk p { margin: 0 0 .6rem; }
.walk p:last-child { margin-bottom: 0; }
.walk ul { margin: .2rem 0 .6rem; padding-left: 1.1rem; }
.walk .diagram { margin: .8rem 0; }
@media (max-width: 539px) { .walk > li { padding-left: 1.2rem; padding-top: 3.4rem; } }

/* Fleet front-page layouts: a compact list of names with one line each. */
.layouts { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem 1.6rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .layouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .layouts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.layouts li { border-top: 1px solid var(--rule); padding-top: .6rem; }
.layouts strong { display: block; font-family: var(--display); font-size: 1.08rem; }
.layouts span { color: var(--ink-2); font-size: .95rem; }

/* Phones: a row of tall screenshots. */
.phones { display: grid; gap: clamp(.8rem, 2vw, 1.4rem); grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
.phones .frame { border-radius: 18px; }
.phones .ph.tall { font-size: .8rem; }
.split { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.split .section-head { margin-bottom: 0; }
.site-foot .disclaimer { flex-basis: 100%; margin: .2rem 0 0; font-size: .85rem; line-height: 1.5; max-width: 90ch; }
.sub-head { font-size: 1.3rem; margin: clamp(2rem, 4vw, 2.6rem) 0 1rem; }
.checks.single { grid-template-columns: minmax(0, 1fr) !important; }
.lead-p { max-width: 70ch; color: var(--ink-2); }
