/* SOVRGN — sovrgnnet.cc
   Zero build. One stylesheet, every page. No JavaScript anywhere.

   The site ships a strict Content-Security-Policy: default-src 'none';
   style-src 'self'; img-src 'self' data:; font-src 'self'. That means no
   inline style attributes, no external fonts, no third-party anything.
   Fonts are vendored under /assets/fonts (Oxanium + JetBrains Mono, both
   SIL OFL 1.1); textures are
   data: URIs, which img-src allows.

   Order: fonts, tokens, reset, background, header, buttons, hero,
   product preview, feature strip, sections, docs, footer, responsive. */

/* ------------------------------------------------------------------ fonts */

@font-face {
  font-family: "Oxanium";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/oxanium-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oxanium";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/oxanium-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ----------------------------------------------------------------- tokens */

:root {
  /* surfaces — near-black with a violet cast, not a blue-black */
  --bg: #05040a;
  --bg-deep: #030207;
  --surface: #0a0812;
  --surface-2: #0e0c18;
  --surface-3: #131020;

  /* borders — 1px, low opacity, never bright */
  --border: #1b1730;
  --border-2: #241f3d;
  --border-accent: #3d2d6b;

  /* type */
  --text: #f3f1f9;
  --text-2: #b6b0c9;
  --muted: #797390;
  --faint: #514c66;

  /* accent */
  --accent: #8b5cf6;
  --accent-2: #b79cff;
  --accent-deep: #6d28d9;
  --accent-ink: #ffffff;
  --glow: rgba(139, 92, 246, 0.38);
  --glow-soft: rgba(124, 58, 237, 0.13);
  --accent-wash: rgba(139, 92, 246, 0.08);

  /* status */
  --ok: #4ade80;
  --warn: #fbbf24;

  /* type families */
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Code", Menlo,
    Consolas, monospace;
  --display: "Oxanium", "Eurostile", "Bahnschrift", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;

  /* geometry */
  --r-xs: 3px;
  --r-sm: 5px;
  --r: 8px;
  --r-lg: 12px;
  --maxw: 1280px;
  --gutter: 28px;
  --header-h: 72px;

  /* textures: fine grain for the page, coarse grain for the wordmark */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --noise-stone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.14' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23s)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ reset */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--accent-2);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* One visible focus treatment for everything, everywhere. */
:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow {
  max-width: 820px;
}

/* Visually hidden but read by screen readers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------- background layers
   Two fixed, pointer-transparent layers behind everything: illumination
   (radial violet wash) and structure (fine grid + noise). Static — no
   animation loop, nothing for the GPU to keep repainting. */

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
body::before {
  background:
    radial-gradient(880px 520px at 18% -8%, rgba(124, 58, 237, 0.18), transparent 62%),
    radial-gradient(720px 460px at 88% 2%, rgba(79, 70, 229, 0.12), transparent 60%),
    radial-gradient(600px 400px at 50% 40%, rgba(139, 92, 246, 0.05), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}
body::after {
  background-image:
    linear-gradient(to right, rgba(139, 92, 246, 0.75) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(139, 92, 246, 0.55) 1px, transparent 1px),
    var(--noise);
  background-size: 72px 72px, 72px 72px, 160px 160px;
  opacity: 0.07;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
}

/* Faint horizontal data-lines, only where a section opts in. */
.scanlines {
  position: relative;
}
.scanlines::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    rgba(139, 92, 246, 0.035) 0 1px,
    transparent 1px 4px
  );
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%);
}
.scanlines > * {
  position: relative;
}

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 4, 10, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

/* brand ------------------------------------------------------------------ */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  flex: none;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  width: 24px;
  height: 30px;
  flex: none;
  filter: drop-shadow(0 0 10px var(--glow-soft));
}
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--text);
}
.brand-by {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding-left: 10px;
  border-left: 1px solid var(--border-2);
  line-height: 1.1;
}

/* nav -------------------------------------------------------------------- */

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  /* Centred in whatever space the brand and the CTA leave behind. */
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.site-nav a {
  color: var(--text-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav a:hover {
  color: var(--text);
  text-decoration: none;
  border-bottom-color: var(--accent);
}
.site-nav a[aria-current="page"] {
  color: var(--accent-2);
  border-bottom-color: var(--accent);
}
.header-cta {
  flex: none;
}

/* Mobile disclosure. <details>/<summary> is a native, keyboard-accessible
   disclosure widget that announces its own expanded state — the only way to
   get a real menu with no JavaScript. */
.nav-toggle {
  display: none;
  margin-left: auto;
  position: relative;
}
.nav-toggle > summary {
  list-style: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--text-2);
}
.nav-toggle > summary::-webkit-details-marker {
  display: none;
}
/* Three bars drawn as one background, so there is nothing to mis-position. */
.nav-toggle > summary::after {
  content: "";
  width: 18px;
  height: 12px;
  background-image: linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 100% 2px;
  background-position: 0 0, 0 50%, 0 100%;
  background-repeat: no-repeat;
}
.nav-toggle[open] > summary {
  border-color: var(--accent);
  color: var(--accent-2);
}
.nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(84vw, 320px);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(139, 92, 246, 0.08);
  padding: 10px;
  display: grid;
  gap: 2px;
}
.nav-panel a {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 12px 14px;
  border-radius: var(--r-sm);
}
.nav-panel a:hover {
  background: var(--surface-3);
  color: var(--text);
  text-decoration: none;
}
.nav-panel .btn {
  margin-top: 8px;
  justify-content: center;
}

/* ---------------------------------------------------------------- buttons
   Terminal-flavoured: monospace, uppercase, a `>_` prompt on the install
   actions. Three variants — filled, outlined accent, quiet ghost. */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background-color 0.16s ease, border-color 0.16s ease,
    box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
}
.btn .prompt {
  color: currentColor;
  opacity: 0.72;
  font-weight: 700;
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-primary {
  background: var(--accent-deep);
  color: var(--accent-ink);
  border-color: #7c3aed;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.25), 0 10px 34px -12px var(--glow);
}
.btn-primary:hover {
  background: #7c3aed;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.45), 0 14px 40px -12px var(--glow);
  transform: translateY(-1px);
}

.btn-outline {
  color: var(--accent-2);
  border-color: var(--border-accent);
  background: rgba(139, 92, 246, 0.06);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(139, 92, 246, 0.13);
  color: #d7c8ff;
  box-shadow: 0 0 22px -6px var(--glow);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--border-2);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: var(--faint);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.72rem;
}

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

.hero {
  padding: 78px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}
.hero-copy {
  text-align: center;
}

.hero-mark {
  width: 123px;
  height: 156px;
  margin: 0 auto 6px;
  filter: drop-shadow(0 0 46px rgba(139, 92, 246, 0.42));
}

/* The wordmark. Archivo Black, tightened, with a stone/concrete fill made of
   noise + a light gradient clipped to the glyphs. Guarded by @supports so a
   browser without background-clip:text still shows solid text. */
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.6rem, 11vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #e9e6f2;
  margin-bottom: 22px;
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .wordmark {
    background-color: #cdc7dd;
    background-image: var(--noise-stone),
      linear-gradient(168deg, #ffffff 0%, #dedae9 40%, #a49eb6 78%, #d2ccdf 100%);
    background-size: 220px 220px, 100% 100%;
    background-blend-mode: soft-light, normal;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

.hero-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 34ch;
  margin: 0 auto;
}
.hero-lede strong {
  color: var(--text);
  font-weight: 600;
}
.hero-sub {
  margin-top: 10px;
  font-size: clamp(0.98rem, 1.35vw, 1.14rem);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}
.accent {
  color: var(--accent-2);
  font-weight: 600;
}

.hero-command {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent-2);
  text-shadow: 0 0 30px rgba(139, 92, 246, 0.45);
}
.hero-command-sub {
  margin-top: 4px;
  color: var(--text-2);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-foot {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.hero-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.hero-stack {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent-2);
}
.hero-stack span {
  color: var(--faint);
  padding: 0 2px;
}
.hero-status {
  margin: 20px auto 0;
  max-width: 52ch;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.hero-status .dot {
  margin-right: 7px;
}
.dot {
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
  flex: none;
}
.dot-warn {
  background: var(--warn);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}
.dot-accent {
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow);
}

/* -------------------------------------------------------- product preview
   A CSS rendering of the desktop client, not a bitmap: it stays sharp at any
   density, weighs nothing, and can be corrected when the real UI changes. */

.preview {
  position: relative;
}
/* Kept inside the box on purpose: an absolutely positioned glow that bleeds
   sideways widens the scroll area and gives the whole page a horizontal
   scrollbar. The outer bloom comes from .app's box-shadow instead. */
.preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(76% 68% at 50% 46%, var(--glow-soft), transparent 72%);
  pointer-events: none;
}
.app {
  position: relative;
  border: 1px solid var(--border-accent);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.1),
    0 0 60px -18px var(--glow),
    0 42px 80px -40px rgba(0, 0, 0, 0.95);
  font-size: 12px;
  line-height: 1.45;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.app-dots {
  display: flex;
  gap: 7px;
  flex: none;
}
.app-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3350;
  flex: none;
}
.app-dots i:nth-child(1) {
  background: #f0605f;
}
.app-dots i:nth-child(2) {
  background: #f5bd4f;
}
.app-dots i:nth-child(3) {
  background: #5fc95a;
}
.app-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-title span {
  color: var(--faint);
  padding: 0 3px;
}
.app-node {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  flex: none;
}

.app-body {
  display: grid;
  grid-template-columns: 46px 178px minmax(0, 1fr) 156px;
  height: 528px;
}

/* instance rail */
.app-rail {
  border-right: 1px solid var(--border);
  background: var(--bg-deep);
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.rail-item {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  flex: none;
}
.rail-item.is-active {
  background: linear-gradient(160deg, var(--accent), var(--accent-deep));
  border-color: var(--accent-2);
  color: #fff;
  box-shadow: 0 0 14px -2px var(--glow);
}
.rail-sep {
  width: 18px;
  height: 1px;
  background: var(--border-2);
  flex: none;
}
.rail-home {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: none;
}
.rail-home img {
  width: 15px;
  height: 19px;
}
.rail-add {
  color: var(--accent-2);
  border-style: dashed;
}
.rail-spacer {
  flex: 1;
}
.rail-set {
  color: var(--faint);
  flex: none;
  margin-bottom: 2px;
}
.rail-set svg {
  width: 15px;
  height: 15px;
}

/* channel column */
.app-channels {
  border-right: 1px solid var(--border);
  background: var(--surface-2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.app-chan-scroll {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 8px;
}
/* Who you are signed in as, on whose hardware. No voice controls here: the
   product has no voice yet, and the preview does not get to imply otherwise. */
.app-me {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--border);
  background: var(--surface-3);
  flex: none;
}
.app-me .avatar {
  width: 22px;
  height: 22px;
  font-size: 9px;
}
.app-me-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.app-me-text b {
  color: var(--text);
  font-size: 10.5px;
  font-weight: 600;
}
.app-me-text span {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}

/* presence pip on an avatar */
.avatar {
  position: relative;
}
.avatar .st {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  border: 1.5px solid var(--surface);
}
.member .avatar .st {
  width: 6px;
  height: 6px;
  border-width: 1.5px;
  border-color: var(--surface-2);
}
.app-me .avatar .st {
  border-color: var(--surface-3);
}
.app-community {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
}
.app-community span {
  color: var(--faint);
}
.app-group {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 13px 12px 5px;
}
.app-chan {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  color: var(--muted);
  font-size: 11.5px;
}
.app-chan b {
  color: var(--faint);
  font-weight: 400;
}
.app-chan.is-active {
  background: var(--accent-wash);
  color: var(--text);
  box-shadow: inset 2px 0 0 var(--accent);
}
.app-chan.is-active b {
  color: var(--accent-2);
}

/* conversation */
.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--surface);
}
.app-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 12.5px;
}
.app-top b {
  color: var(--faint);
  font-weight: 400;
}
.app-top-icons {
  margin-left: auto;
  display: flex;
  gap: 10px;
  color: var(--faint);
}
.app-top-icons svg {
  width: 14px;
  height: 14px;
}

.app-feed {
  flex: 1;
  min-height: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.msg {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
}
.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: #0b0814;
  background: linear-gradient(150deg, #b79cff, #7c3aed);
}
.avatar-2 {
  background: linear-gradient(150deg, #7dd3fc, #4338ca);
}
.avatar-3 {
  background: linear-gradient(150deg, #f0abfc, #a21caf);
  color: #fff;
}
.avatar-bot {
  background: linear-gradient(150deg, var(--accent-2), var(--accent-deep));
  border-radius: 8px;
  color: #fff;
}
.msg-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.msg-who {
  white-space: nowrap;
  color: var(--text);
  font-weight: 600;
  font-size: 12px;
}
.msg-when {
  color: var(--faint);
  font-size: 10px;
  font-family: var(--mono);
}
.msg-body {
  color: var(--text-2);
  font-size: 11.5px;
  line-height: 1.5;
}
.tagbot {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--accent-deep);
  color: #fff;
  border-radius: 3px;
  padding: 1px 4px;
  text-transform: uppercase;
}
.reacts {
  display: flex;
  gap: 5px;
  margin-top: 6px;
}
.react {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border-2);
  background: var(--surface-3);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 10px;
  color: var(--text-2);
  font-family: var(--mono);
}

/* the instance status card the bot posts */
.status-card {
  margin-top: 6px;
  border: 1px solid var(--border-2);
  border-left: 2px solid var(--accent);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  padding: 9px 11px;
  max-width: 300px;
}
.status-title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 700;
}
.status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.status-row b {
  font-weight: 400;
  color: var(--ok);
}
.status-row b.is-idle {
  color: var(--text-2);
}

.app-composer {
  margin: 0 14px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  background: var(--surface-2);
  padding: 9px 12px;
  color: var(--faint);
  font-size: 11.5px;
}
.app-composer svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.app-composer .composer-icons {
  margin-left: auto;
  display: flex;
  gap: 9px;
}

/* member column */
.app-members {
  border-left: 1px solid var(--border);
  background: var(--surface-2);
  padding: 12px 0;
  overflow: hidden;
}
.member-group {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 10px 12px 6px;
}
.member {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 12px;
  color: var(--text-2);
  font-size: 11px;
}
.member .avatar {
  width: 18px;
  height: 18px;
  font-size: 8px;
}
.member.is-off {
  color: var(--faint);
}
.member.is-off .avatar {
  filter: grayscale(1);
  opacity: 0.4;
}
.member.is-off .avatar .st {
  display: none;
}

.preview-caption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.member-more {
  padding: 9px 12px 0;
  color: var(--faint);
  font-size: 10px;
  font-family: var(--mono);
}

/* ----------------------------------------------------- architecture diagram
   Two drawings of the same thing: a wide one for desktop and a vertical spine
   for narrow screens. Swapping geometry beats squashing one diagram. */

.arch {
  width: 100%;
  height: auto;
  margin: 8px 0 4px;
}
.arch-wide {
  max-width: 980px;
  margin-inline: auto;
}
.arch-tall {
  display: none;
  max-width: 420px;
  margin-inline: auto;
}
.arch .anode {
  color: var(--accent);
}
.arch .trace {
  fill: none;
  stroke: var(--border-accent);
  stroke-width: 1.4;
}
/* Federation is the one edge that leaves your hardware, and it is not
   finished. The dashes are the honest bit, not a decoration. */
.arch .trace-planned {
  fill: none;
  stroke: var(--faint);
  stroke-width: 1.4;
  stroke-dasharray: 5 5;
}
.arch .core {
  fill: rgba(139, 92, 246, 0.1);
  stroke: var(--accent);
  stroke-width: 1.6;
}
.arch .core-l {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  fill: var(--text);
}
.arch .core-s {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  fill: var(--accent-2);
}
.arch .core-n {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  fill: var(--muted);
}
.arch .abox {
  fill: var(--surface-2);
  stroke: var(--border);
  stroke-width: 1;
}
.arch .abar {
  fill: var(--accent);
}
.arch .aico {
  color: var(--accent);
  overflow: visible;
}
.arch .al {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  fill: var(--text);
}
.arch .an {
  font-size: 12.5px;
  fill: var(--muted);
}
.arch .anode-planned .abox {
  stroke-dasharray: 4 4;
}
.arch .anode-planned .abar,
.arch .anode-planned .aico {
  fill: var(--faint);
  color: var(--faint);
}
.arch .anode-planned .al {
  fill: var(--text-2);
}
.arch-legend {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 68ch;
  margin-top: 10px;
}

/* ------------------------------------------------------ install transcript
   A real terminal, not a decoration: every line is one install.sh prints. */

.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}
.term {
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.06), 0 24px 60px -34px rgba(0, 0, 0, 0.9);
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.term-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.term-body {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 16px 18px 20px;
  font-size: 0.79rem;
  line-height: 1.85;
  white-space: pre-wrap;
}
.term-body .tl {
  display: block;
  color: var(--text-2);
}
.term-body .pr {
  color: var(--accent-2);
  font-weight: 700;
}
.term-body .ok {
  color: var(--ok);
  padding-right: 4px;
}
.term-body .done {
  color: var(--ok);
  font-weight: 700;
  padding-top: 6px;
}
.term-body .dim {
  color: var(--muted);
}
.caret {
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 4px;
  background: var(--accent-2);
  vertical-align: text-bottom;
  animation: caret-blink 1.15s steps(1) infinite;
}
@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

/* --------------------------------------------------------- feature strip */

.strip {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface-2), rgba(10, 8, 18, 0.6));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 8px;
  list-style: none;
}
.strip-item {
  display: flex;
  gap: 14px;
  padding: 24px 18px;
  border-left: 1px solid var(--border);
}
.strip-item:first-child {
  border-left: 0;
}
.strip-icon {
  color: var(--accent);
  flex: none;
  margin-top: 1px;
}
.strip-icon svg {
  width: 26px;
  height: 26px;
}
.strip-title {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 6px;
  line-height: 1.3;
}
.strip-item p {
  color: var(--text-2);
  font-size: 0.83rem;
  line-height: 1.5;
}

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

section {
  padding: 84px 0;
}
.stack {
  border-top: 1px solid var(--border);
  background: rgba(10, 8, 18, 0.5);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.22;
}
section h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 12px;
}
section .lead {
  color: var(--text-2);
  max-width: 70ch;
  margin-bottom: 40px;
  font-size: 1.02rem;
}
.lead-wide {
  max-width: none;
}
.muted {
  color: var(--muted);
}
.small-muted {
  color: var(--muted);
  font-size: 0.92rem;
}
.mt-lg {
  margin-top: 28px;
}
.center-block {
  text-align: center;
  padding: 72px 0;
}
.fine-print {
  margin-top: 40px;
  font-size: 0.88rem;
}
.grad {
  color: var(--accent-2);
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  position: relative;
}
.card .icon {
  color: var(--accent);
  font-size: 1.15rem;
  line-height: 1;
  margin-bottom: 14px;
  font-family: var(--mono);
}
.card .icon svg {
  width: 22px;
  height: 22px;
}
.card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.card p {
  color: var(--text-2);
  font-size: 0.9rem;
}
.card code {
  color: var(--accent-2);
}
a.card {
  display: block;
  color: inherit;
  transition: border-color 0.16s ease, background-color 0.16s ease,
    transform 0.16s ease;
}
a.card:hover {
  text-decoration: none;
  border-color: var(--border-accent);
  background: var(--surface-3);
  transform: translateY(-2px);
}
a.card h3 {
  color: var(--text);
}

/* numbered step cards on the homepage */
.card-step h3 {
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  color: var(--accent-2);
  text-transform: uppercase;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-sm);
  padding: 5px 12px;
  margin-bottom: 22px;
  background: var(--accent-wash);
  text-transform: uppercase;
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.chip {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 13px;
  color: var(--text-2);
  background: var(--surface-2);
  letter-spacing: 0.02em;
}

/* code, tables, callouts ------------------------------------------------- */

code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 1px 6px;
  color: var(--text);
}
pre {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--r);
  padding: 18px 20px;
  overflow-x: auto;
  margin-bottom: 22px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-2);
}
pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 1em;
  color: inherit;
}
pre .c {
  color: var(--faint);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
th,
td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--muted);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
td {
  color: var(--text-2);
}
td code {
  font-size: 0.84em;
}

.note,
.warning {
  border-radius: var(--r);
  padding: 16px 18px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 0.94rem;
  color: var(--text-2);
}
.note {
  border-left: 2px solid var(--accent);
}
.warning {
  border-left: 2px solid var(--warn);
}
.note strong,
.warning strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}
.warning strong {
  color: var(--warn);
}

/* -------------------------------------------------------------------- docs */

.doc {
  padding: 56px 0 96px;
}
.doc .wrap {
  max-width: 920px;
}
.doc .wrap.narrow {
  max-width: 820px;
}
.doc h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.35rem);
  letter-spacing: -0.005em;
  margin-bottom: 14px;
}
.doc .subtitle {
  color: var(--text-2);
  font-size: 1.05rem;
  margin-bottom: 44px;
}
.doc h2 {
  font-size: 1.3rem;
  margin: 52px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.doc h3 {
  font-size: 1rem;
  margin: 32px 0 10px;
}
.doc p {
  margin-bottom: 16px;
  color: var(--text-2);
}
.doc p.muted,
.doc .muted {
  color: var(--muted);
}
.doc ul,
.doc ol {
  margin: 0 0 18px 22px;
  color: var(--text-2);
}
.doc li {
  margin-bottom: 8px;
}
.doc li::marker {
  color: var(--accent);
}

.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.doc-nav a {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  color: var(--muted);
  background: var(--surface-2);
}
.doc-nav a:hover {
  color: var(--text);
  border-color: var(--border-accent);
  text-decoration: none;
}
.doc-nav a[aria-current="page"] {
  color: var(--accent-2);
  border-color: var(--border-accent);
  background: var(--accent-wash);
}

.next-prev {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.next-prev a {
  flex: 1 1 220px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 18px;
  background: var(--surface-2);
  color: var(--text);
}
.next-prev a:hover {
  border-color: var(--border-accent);
  background: var(--surface-3);
  text-decoration: none;
}
.next-prev span {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  padding-top: 56px;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-bottom: 40px;
  text-align: center;
}
.foot-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}
.foot-lockup img {
  width: 34px;
  height: 34px;
  opacity: 0.9;
}
.foot-name {
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-2);
  padding-left: 0.34em;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 26px;
  padding-bottom: 44px;
  color: var(--muted);
  font-size: 0.84rem;
}
.foot .links {
  margin-left: auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}
.foot .links a {
  color: var(--muted);
}
.foot .links a:hover {
  color: var(--text);
  text-decoration: none;
}
.foot .logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-2);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.foot .logo img {
  width: 14px;
  height: 18px;
}

/* --------------------------------------------------------------- legacy
   Classes the docs pages still use. Kept so nothing regresses. */

.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--text);
}
.logo b {
  color: var(--accent-2);
}
a.logo:hover {
  text-decoration: none;
}
.links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.sub {
  margin: 20px auto 0;
  max-width: 640px;
  color: var(--text-2);
  font-size: 1.1rem;
}
.cta {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.status-note {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--mono);
}

/* ------------------------------------------------------------- responsive
   Written as intentional layouts, not a shrunk desktop. */

/* Large desktop: give the preview a little more room. */
@media (min-width: 1500px) {
  :root {
    --maxw: 1360px;
  }
}

/* Laptop: tighten the hero gap before the columns collapse. */
@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
  }
  .app-body {
    grid-template-columns: 42px 150px minmax(0, 1fr) 132px;
    height: 420px;
  }
  .site-nav {
    gap: 18px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }
  .brand-by {
    display: none;
  }
}

/* Tablet: one column, copy first, preview beneath; strip goes to 3-up. */
@media (max-width: 1000px) {
  :root {
    --gutter: 22px;
  }
  .site-nav,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .hero {
    padding: 56px 0 48px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
  .hero-lede,
  .hero-sub {
    max-width: 46ch;
  }
  .hero-mark {
    width: 93px;
    height: 118px;
  }
  .install-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
  .arch-wide {
    display: none;
  }
  .arch-tall {
    display: block;
  }
  .strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .strip-item:nth-child(3n + 1) {
    border-left: 0;
  }
  .strip-item:nth-child(n + 4) {
    border-top: 1px solid var(--border);
  }
  section {
    padding: 64px 0;
  }
}

/* Small tablet / large phone: drop the member column from the preview. */
@media (max-width: 760px) {
  .app-body {
    grid-template-columns: 40px 148px minmax(0, 1fr);
    height: 400px;
  }
  .app-members {
    display: none;
  }
  .strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .strip-item {
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    padding: 22px 18px;
  }
  .strip-item:nth-child(odd) {
    border-left: 0;
  }
  .strip-item:nth-child(-n + 2) {
    border-top: 0;
  }
  .foot .links {
    margin-left: 0;
    width: 100%;
  }
}

/* Phone: single column everywhere, full-width actions, no overflow. */
@media (max-width: 560px) {
  :root {
    --gutter: 18px;
    --header-h: 64px;
  }
  .hero {
    padding: 40px 0 40px;
  }
  .hero-mark {
    width: 76px;
    height: 96px;
  }
  .wordmark {
    font-size: clamp(3rem, 17vw, 4.4rem);
    margin-bottom: 18px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    justify-content: center;
    width: 100%;
  }
  .strip {
    grid-template-columns: minmax(0, 1fr);
  }
  .strip-item {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .strip-item:first-child {
    border-top: 0;
  }
  /* The preview is a fixed-width UI; scale it rather than squash it. */
  .app-body {
    grid-template-columns: 38px 132px minmax(0, 1fr);
    height: 358px;
  }
  .app {
    font-size: 11px;
  }
  .app-feed {
    gap: 11px;
    padding: 11px;
  }
  .status-card {
    max-width: none;
  }
  section {
    padding: 52px 0;
  }
  .doc {
    padding: 40px 0 72px;
  }
  .foot-name {
    font-size: 1.1rem;
    letter-spacing: 0.24em;
  }
  }

@media (max-width: 400px) {
  .app-body {
    grid-template-columns: 34px minmax(0, 1fr);
    height: 340px;
  }
  .app-channels {
    display: none;
  }
  .hero-stack {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .btn:hover,
  a.card:hover {
    transform: none;
  }
}

/* -------------------------------------------------------------- contrast */

@media (prefers-contrast: more) {
  :root {
    --text-2: #ddd8ec;
    --muted: #a49dba;
    --border: #322b4d;
    --border-2: #40376340;
  }
}

/* ------------------------------------------------------------------ print */

@media print {
  body::before,
  body::after {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  .site-header,
  .site-footer,
  .preview {
    display: none;
  }
}
