/* ==========================================================================
   poim - single stylesheet for the marketing and download site.
   No frameworks, no web fonts, no icon fonts, no external requests.

   Contents
     01  Design tokens and theming
     02  Reset and base elements
     03  Accessibility helpers
     04  Layout primitives
     05  Header and navigation
     06  Buttons and controls
     07  Code blocks and copy buttons
     08  Hero
     09  Feature grid
     10  Architecture diagram
     11  Steps
     12  FAQ
     13  Download page
     14  Tables
     15  Status page
     16  Docs layout
     17  Footer
     18  Command palette
     19  Toasts
     20  Motion
     21  Print
   ========================================================================== */

/* ==========================================================================
   01  Design tokens and theming
   ========================================================================== */

:root {
  color-scheme: light;

  /* Light palette */
  --c-bg: #ffffff;
  --c-bg-alt: #f6f8fa;
  --c-surface: #ffffff;
  --c-surface-2: #f2f5f8;
  --c-surface-3: #e9eef3;
  --c-border: #d6dde5;
  --c-border-strong: #b9c3ce;
  --c-text: #1b2027;
  --c-text-muted: #56616d;
  --c-text-faint: #77828e;
  --c-accent: #0a66c2;
  --c-accent-hover: #08509b;
  --c-accent-soft: #e4eefb;
  --c-accent-contrast: #ffffff;
  --c-ok: #146c2e;
  --c-ok-soft: #dcf3e2;
  --c-warn: #8a5a00;
  --c-warn-soft: #fdf1d6;
  --c-bad: #b3261e;
  --c-bad-soft: #fce4e2;

  --c-code-bg: #0d1117;
  --c-code-text: #e6edf3;
  --c-code-border: #21262d;
  --c-code-accent: #6cb6ff;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 4px 10px rgba(16, 24, 40, 0.08), 0 2px 4px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 18px 40px rgba(16, 24, 40, 0.12), 0 4px 10px rgba(16, 24, 40, 0.06);

  --ring: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-accent);

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", "DejaVu Sans Mono", monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --measure: 68ch;
  --page-max: 1180px;

  --header-h: 64px;
  --step: 8px;

  --transition: 180ms cubic-bezier(0.2, 0, 0.2, 1);
}

[data-theme="dark"] {
  color-scheme: dark;

  --c-bg: #0d1117;
  --c-bg-alt: #010409;
  --c-surface: #161b22;
  --c-surface-2: #1c2129;
  --c-surface-3: #262c36;
  --c-border: #30363d;
  --c-border-strong: #444c56;
  --c-text: #e6edf3;
  --c-text-muted: #9198a1;
  --c-text-faint: #6e7681;
  --c-accent: #58a6ff;
  --c-accent-hover: #79b8ff;
  --c-accent-soft: #10263f;
  --c-accent-contrast: #06121f;
  --c-ok: #56d364;
  --c-ok-soft: #0e2a14;
  --c-warn: #e3b341;
  --c-warn-soft: #2c2109;
  --c-bad: #ff7b72;
  --c-bad-soft: #2d1210;

  --c-code-bg: #010409;
  --c-code-text: #e6edf3;
  --c-code-border: #30363d;
  --c-code-accent: #79c0ff;

  --shadow-sm: 0 1px 2px rgba(1, 4, 9, 0.5);
  --shadow-md: 0 6px 16px rgba(1, 4, 9, 0.55);
  --shadow-lg: 0 22px 48px rgba(1, 4, 9, 0.65);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --c-bg: #0d1117;
    --c-bg-alt: #010409;
    --c-surface: #161b22;
    --c-surface-2: #1c2129;
    --c-surface-3: #262c36;
    --c-border: #30363d;
    --c-border-strong: #444c56;
    --c-text: #e6edf3;
    --c-text-muted: #9198a1;
    --c-text-faint: #6e7681;
    --c-accent: #58a6ff;
    --c-accent-hover: #79b8ff;
    --c-accent-soft: #10263f;
    --c-accent-contrast: #06121f;
    --c-ok: #56d364;
    --c-ok-soft: #0e2a14;
    --c-warn: #e3b341;
    --c-warn-soft: #2c2109;
    --c-bad: #ff7b72;
    --c-bad-soft: #2d1210;

    --c-code-bg: #010409;
    --c-code-text: #e6edf3;
    --c-code-border: #30363d;
    --c-code-accent: #79c0ff;

    --shadow-sm: 0 1px 2px rgba(1, 4, 9, 0.5);
    --shadow-md: 0 6px 16px rgba(1, 4, 9, 0.55);
    --shadow-lg: 0 22px 48px rgba(1, 4, 9, 0.65);
  }
}

/* ==========================================================================
   02  Reset and base elements
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open,
body.palette-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 calc(var(--step) * 2);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.6rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.2rem);
}

h3 {
  font-size: clamp(1.15rem, 1.02rem + 0.55vw, 1.4rem);
}

h4 {
  font-size: 1rem;
}

p {
  margin: 0 0 calc(var(--step) * 2);
  max-width: var(--measure);
}

a {
  color: var(--c-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover {
  color: var(--c-accent-hover);
}

strong {
  font-weight: 650;
}

hr {
  height: 1px;
  border: 0;
  margin: calc(var(--step) * 6) 0;
  background: var(--c-border);
}

code,
kbd,
samp,
pre {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

:not(pre) > code {
  padding: 0.14em 0.4em;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface-2);
  white-space: nowrap;
}

kbd {
  display: inline-block;
  min-width: 1.7em;
  padding: 0.12em 0.45em;
  border: 1px solid var(--c-border-strong);
  border-bottom-width: 2px;
  border-radius: var(--radius-sm);
  background: var(--c-surface-2);
  color: var(--c-text);
  font-size: 0.82em;
  text-align: center;
  white-space: nowrap;
}

ul,
ol {
  margin: 0 0 calc(var(--step) * 2);
  padding-left: 1.35rem;
  max-width: var(--measure);
}

li {
  margin-bottom: calc(var(--step) * 0.75);
}

li::marker {
  color: var(--c-text-faint);
}

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background: var(--c-accent);
  color: var(--c-accent-contrast);
}

/* ==========================================================================
   03  Accessibility helpers
   ========================================================================== */

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 300;
  transform: translate(-50%, -140%);
  padding: 0.7rem 1.15rem;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--c-accent);
  color: var(--c-accent-contrast);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

.no-js-only {
  display: none;
}

.no-js .no-js-only {
  display: block;
}

/* ==========================================================================
   04  Layout primitives
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.25rem);
}

.section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.section--alt {
  background: var(--c-bg-alt);
  border-block: 1px solid var(--c-border);
}

.section__head {
  max-width: 62ch;
  margin-bottom: calc(var(--step) * 5);
}

.section__head p {
  color: var(--c-text-muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: calc(var(--step) * 1.5);
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}

.card p:last-child,
.card ul:last-child,
.card ol:last-child {
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}

.stack > * + * {
  margin-top: calc(var(--step) * 2);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  background: var(--c-surface-2);
  color: var(--c-text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  white-space: nowrap;
}

.tag--ok {
  border-color: transparent;
  background: var(--c-ok-soft);
  color: var(--c-ok);
}

.tag--warn {
  border-color: transparent;
  background: var(--c-warn-soft);
  color: var(--c-warn);
}

.tag--bad {
  border-color: transparent;
  background: var(--c-bad-soft);
  color: var(--c-bad);
}

.tag--accent {
  border-color: transparent;
  background: var(--c-accent-soft);
  color: var(--c-accent);
}

.note {
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  background: var(--c-surface-2);
  color: var(--c-text-muted);
  font-size: 0.94rem;
}

.note p:last-child {
  margin-bottom: 0;
}

.note--warn {
  border-left-color: var(--c-warn);
  background: var(--c-warn-soft);
  color: var(--c-text);
}

.note code {
  background: var(--c-surface);
}

/* ==========================================================================
   05  Header and navigation
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  background: color-mix(in srgb, var(--c-bg) 88%, transparent);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header {
    background: var(--c-bg);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 30px;
}

.brand__light {
  display: block;
}

.brand__dark {
  display: none;
}

[data-theme="dark"] .brand__light {
  display: none;
}

[data-theme="dark"] .brand__dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__light {
    display: none;
  }

  :root:not([data-theme="light"]) .brand__dark {
    display: block;
  }
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list li {
  margin: 0;
}

.site-nav__link {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--c-text-muted);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition), background-color var(--transition);
}

.site-nav__link:hover {
  background: var(--c-surface-2);
  color: var(--c-text);
}

.site-nav__link[aria-current="page"] {
  color: var(--c-text);
  background: var(--c-surface-2);
  box-shadow: inset 0 0 0 1px var(--c-border);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
}

/* Language switcher */
.lang {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang__select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.4rem 1.7rem 0.4rem 0.65rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background-color: var(--c-surface-2);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 0.72rem center, right 0.42rem center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: var(--c-text);
  font: inherit;
  font-size: 0.85rem;
  line-height: 1.5;
  cursor: pointer;
}

.lang__select:hover {
  border-color: var(--c-border-strong);
}

/* ==========================================================================
   06  Buttons and controls
   ========================================================================== */

.btn {
  --btn-bg: var(--c-surface-2);
  --btn-fg: var(--c-text);
  --btn-bd: var(--c-border);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.1rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), transform var(--transition);
}

.btn:hover {
  background: var(--c-surface-3);
  border-color: var(--c-border-strong);
  color: var(--btn-fg);
}

.btn:active {
  transform: translateY(1px);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn--primary {
  --btn-bg: var(--c-accent);
  --btn-fg: var(--c-accent-contrast);
  --btn-bd: var(--c-accent);
}

.btn--accent {
  --btn-bg: linear-gradient(120deg, #3b82f6, #6366f1);
  --btn-fg: #ffffff;
  --btn-bd: transparent;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .25);
}

.btn--primary:hover {
  --btn-bg: var(--c-accent-hover);
  --btn-bd: var(--c-accent-hover);
  color: var(--c-accent-contrast);
}

.btn--ghost {
  --btn-bg: transparent;
}

.btn--sm {
  padding: 0.34rem 0.65rem;
  font-size: 0.82rem;
}

.btn--icon {
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border-radius: var(--radius-sm);
  color: var(--c-text-muted);
}

.btn--icon:hover {
  color: var(--c-text);
}

.icon-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero__actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: calc(var(--step) * 3);
}

/* ==========================================================================
   07  Code blocks and copy buttons
   ========================================================================== */

.codeblock {
  position: relative;
  margin: calc(var(--step) * 3) 0;
}

.codeblock__pre {
  margin: 0;
  padding: 1.15rem 3.5rem 1.15rem 1.15rem;
  overflow-x: auto;
  border: 1px solid var(--c-code-border);
  border-radius: var(--radius);
  background: var(--c-code-bg);
  color: var(--c-code-text);
  font-size: 0.92rem;
  line-height: 1.7;
  white-space: pre;
  -webkit-overflow-scrolling: touch;
  tab-size: 4;
}

.codeblock__pre code {
  padding: 0;
  border: 0;
  background: none;
  white-space: pre;
}

.codeblock--lg .codeblock__pre {
  padding-block: 1.4rem;
  font-size: clamp(0.85rem, 0.78rem + 0.35vw, 1.08rem);
}

.codeblock__copy {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  padding: 0.3rem 0.62rem;
  border: 1px solid var(--c-code-border);
  border-radius: var(--radius-sm);
  background: var(--c-surface-2);
  color: var(--c-text-muted);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition), background-color var(--transition),
    border-color var(--transition);
}

.codeblock__copy:hover {
  background: var(--c-surface-3);
  color: var(--c-text);
}

.codeblock__copy[data-state="done"] {
  border-color: var(--c-ok);
  background: var(--c-ok-soft);
  color: var(--c-ok);
}

.codeblock__copy[data-state="fail"] {
  border-color: var(--c-bad);
  background: var(--c-bad-soft);
  color: var(--c-bad);
}

.codeblock__label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--c-text-faint);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   08  Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7.5rem);
  background:
    radial-gradient(
      1100px 460px at 50% -180px,
      color-mix(in srgb, var(--c-accent) 15%, transparent),
      transparent 70%
    ),
    var(--c-bg);
}

.hero__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.hero h1 {
  margin-bottom: calc(var(--step) * 2.5);
}

.hero__lede {
  max-width: 54ch;
  color: var(--c-text-muted);
  font-size: clamp(1.02rem, 0.96rem + 0.4vw, 1.2rem);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: calc(var(--step) * 3);
}

.hero__terminal {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero__terminal-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface-2);
}

.hero__terminal-head .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-border-strong);
}

.hero__terminal-title {
  margin-left: 0.35rem;
  color: var(--c-text-faint);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.hero__terminal-body {
  margin: 0;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  background: var(--c-code-bg);
  color: var(--c-code-text);
  font-size: 0.86rem;
  line-height: 1.75;
  white-space: pre;
  tab-size: 4;
}

.hero__terminal-body .p {
  color: var(--c-code-accent);
}

.hero__terminal-body .ok {
  color: var(--c-ok);
}

.hero__terminal-body .dim {
  color: var(--c-text-faint);
}

/* ==========================================================================
   09  Feature grid
   ========================================================================== */

.features {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
}

.feature {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 3vw, 1.6rem);
  transition: border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.feature:hover {
  border-color: var(--c-border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: calc(var(--step) * 2.5);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-accent-soft);
  color: var(--c-accent);
  flex: 0 0 auto;
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-size: 1.08rem;
  margin-bottom: calc(var(--step) * 1.5);
}

.feature p {
  margin-bottom: 0;
  color: var(--c-text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   10  Architecture diagram
   ========================================================================== */

.arch {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}

.arch__figure {
  margin: 0;
}

.arch__svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.arch__svg text {
  font-family: var(--font-sans);
}

.arch__svg .zone {
  fill: none;
  stroke: var(--c-border);
  stroke-width: 1;
  stroke-dasharray: 5 5;
}

.arch__svg .zone-label {
  fill: var(--c-text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.arch__svg .layer-box {
  fill: var(--c-surface);
  stroke: var(--c-border);
  stroke-width: 1;
}

.arch__svg .layer-kicker {
  fill: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.arch__svg .layer-title {
  fill: var(--c-text);
  font-size: 17px;
  font-weight: 650;
}

.arch__svg .layer-sub {
  fill: var(--c-text-muted);
  font-size: 12.5px;
}

.arch__svg .flow {
  fill: none;
  stroke: var(--c-border-strong);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.arch__svg .flow-head {
  fill: var(--c-border-strong);
  stroke: none;
}

.arch__svg .flow-label {
  fill: var(--c-text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.arch__svg .pill {
  fill: var(--c-accent-soft);
  stroke: none;
}

.arch__svg .pill-text {
  fill: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.arch__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.arch__list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
}

.arch__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
}

.arch__name {
  display: block;
  font-weight: 620;
}

.arch__desc {
  display: block;
  color: var(--c-text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   11  Steps
   ========================================================================== */

.steps {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps > li {
  position: relative;
  margin: 0;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  counter-increment: step;
}

.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-accent-contrast);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: calc(var(--step) * 1.5);
}

.steps p {
  margin-bottom: 0;
  color: var(--c-text-muted);
  font-size: 0.95rem;
}

.steps .codeblock__pre {
  font-size: 0.82rem;
  padding: 0.75rem 0.9rem;
}

/* ==========================================================================
   12  FAQ
   ========================================================================== */

.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
}

.faq details {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  overflow: hidden;
}

.faq details[open] {
  border-color: var(--c-border-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: auto;
  border-right: 1.8px solid var(--c-text-faint);
  border-bottom: 1.8px solid var(--c-text-faint);
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq summary:hover {
  background: var(--c-surface-2);
}

.faq__body {
  padding: 0 1.1rem 1.1rem;
  color: var(--c-text-muted);
}

.faq__body p:last-child,
.faq__body ul:last-child,
.faq__body ol:last-child,
.faq__body pre:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   13  Download page
   ========================================================================== */

.dl-hero {
  padding-block: clamp(2.75rem, 7vw, 5rem) clamp(2rem, 5vw, 3.5rem);
}

.dl-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
}

.dl-panel {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  padding: clamp(1.25rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-md);
}

.dl-panel--install {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 1px var(--c-accent), var(--shadow-md);
}

.dl-detected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--c-text-muted);
  font-size: 0.9rem;
}

.qr-card {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.qr-card__frame {
  padding: 0.85rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #ffffff;
  line-height: 0;
}

.qr-card__frame svg {
  display: block;
  width: 190px;
  height: 190px;
}

.qr-card__caption {
  color: var(--c-text-muted);
  font-size: 0.88rem;
}

.qr-card__url {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-text-faint);
  word-break: break-all;
}

/* Tabs */
.tabs {
  margin-top: calc(var(--step) * 3);
}

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0 0 1rem;
  list-style: none;
  border-bottom: 1px solid var(--c-border);
}

.tabs__list li {
  margin: 0;
}

.tabs__tab {
  position: relative;
  padding: 0.55rem 0.9rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: none;
  color: var(--c-text-muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 560;
  cursor: pointer;
  transition: color var(--transition), background-color var(--transition);
}

.tabs__tab:hover {
  background: var(--c-surface-2);
  color: var(--c-text);
}

.tabs__tab[aria-selected="true"] {
  border-color: var(--c-border);
  border-bottom-color: var(--c-surface);
  background: var(--c-surface);
  color: var(--c-text);
  margin-bottom: -1px;
  padding-bottom: calc(0.55rem + 1px);
}

.tabs__panel[hidden] {
  display: none;
}

.tabs__panel:focus-visible {
  box-shadow: var(--ring);
}

.tabs__hint {
  margin: 0 0 0.9rem;
  color: var(--c-text-muted);
  font-size: 0.92rem;
}

.os-badge {
  display: none;
}

.tabs__tab[data-matched="true"] .os-badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0 0.35rem;
  border-radius: var(--radius-sm);
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

/* Steps list (first run) */
.runbook {
  counter-reset: run;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.runbook > li {
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  counter-increment: run;
}

.runbook > li > h3::before {
  content: "Step " counter(run) " - ";
  color: var(--c-text-faint);
  font-family: var(--font-mono);
  font-size: 0.85em;
}

.runbook .codeblock {
  margin-bottom: 0;
}

/* Requirements */
.reqs {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.reqs > li {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
}

.reqs strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
}

.reqs span {
  color: var(--c-text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   14  Tables
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
  -webkit-overflow-scrolling: touch;
}

.table {
  min-width: 42rem;
  font-size: 0.92rem;
}

.table caption {
  padding: 0.85rem 1rem;
  color: var(--c-text-muted);
  font-size: 0.88rem;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}

.table th,
.table td {
  padding: 0.7rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-border);
}

.table thead th {
  position: sticky;
  top: 0;
  background: var(--c-surface-2);
  color: var(--c-text-muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr:hover td {
  background: var(--c-surface-2);
}

.table__method {
  white-space: nowrap;
  font-weight: 600;
}

.table__cmd {
  min-width: 22rem;
}

.table__cmd code {
  white-space: pre;
}

.table__actions {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}

.status-table__uptime {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ==========================================================================
   15  Status page
   ========================================================================== */

.status-summary {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  margin-bottom: calc(var(--step) * 4);
}

.status-card {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}

.status-card__label {
  display: block;
  color: var(--c-text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-card__value {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.35rem;
  font-weight: 660;
}

.status-card__value--ok {
  color: var(--c-ok);
}

.status-card__value--warn {
  color: var(--c-warn);
}

.status-card__sub {
  display: block;
  margin-top: 0.25rem;
  color: var(--c-text-faint);
  font-size: 0.85rem;
}

.uptime-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 34px;
}

.uptime-bars span {
  flex: 1 1 0;
  min-width: 3px;
  border-radius: 2px;
  background: var(--c-ok);
}

.uptime-bars span[data-level="partial"] {
  background: var(--c-warn);
}

.uptime-bars span[data-level="down"] {
  background: var(--c-bad);
}

/* ==========================================================================
   16  Docs layout
   ========================================================================== */

.docs {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  grid-template-columns: 16rem minmax(0, 1fr);
}

.docs__side {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
  gap: 1rem;
}

.docs__search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-surface);
}

.docs__search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--c-text);
  font: inherit;
  font-size: 0.9rem;
}

.docs__search input:focus {
  outline: none;
}

.docs__search:focus-within {
  box-shadow: var(--ring);
}

.docs__search svg {
  flex: 0 0 auto;
  color: var(--c-text-faint);
}

.docs__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.docs__nav ul ul {
  margin-top: 0.15rem;
}

.docs__nav li {
  margin: 0;
}

.docs__nav a {
  display: block;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--c-text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.docs__nav a:hover,
.docs__nav a.is-active {
  background: var(--c-surface-2);
  color: var(--c-text);
}

.docs__nav a.is-active {
  box-shadow: inset 2px 0 0 var(--c-accent);
}

.docs__content {
  min-width: 0;
}

.docs__section {
  padding-top: calc(var(--step) * 2);
  margin-top: calc(var(--step) * 4);
  border-top: 1px solid var(--c-border);
}

.docs__section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.docs__empty {
  padding: 2rem;
  border: 1px dashed var(--c-border-strong);
  border-radius: var(--radius);
  color: var(--c-text-muted);
  text-align: center;
}

.docs mark {
  padding: 0 0.1em;
  border-radius: 3px;
  background: var(--c-warn-soft);
  color: inherit;
}

.is-filtered-out {
  display: none;
}

/* ==========================================================================
   17  Footer
   ========================================================================== */

.site-footer {
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
  border-top: 1px solid var(--c-border);
  background: var(--c-bg-alt);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(9rem, 1fr));
}

.site-footer__brand p {
  color: var(--c-text-muted);
  font-size: 0.92rem;
  max-width: 34ch;
}

.site-footer h4 {
  margin-bottom: 0.75rem;
  color: var(--c-text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer li a {
  color: var(--c-text-muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.site-footer li a:hover {
  color: var(--c-text);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-border);
  color: var(--c-text-faint);
  font-size: 0.85rem;
}

/* ==========================================================================
   18  Command palette
   ========================================================================== */

.palette {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  align-items: start;
  justify-items: center;
  padding: clamp(3rem, 12vh, 8rem) 1rem 1rem;
  background: rgba(1, 4, 9, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.palette[hidden] {
  display: none;
}

.palette__panel {
  width: min(38rem, 100%);
  overflow: hidden;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: var(--shadow-lg);
}

.palette__field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--c-border);
}

.palette__field svg {
  flex: 0 0 auto;
  color: var(--c-text-faint);
}

.palette__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--c-text);
  font: inherit;
  font-size: 1rem;
}

.palette__input:focus {
  outline: none;
}

.palette__results {
  max-height: min(24rem, 56vh);
  margin: 0;
  padding: 0.4rem;
  overflow-y: auto;
  list-style: none;
}

.palette__results li {
  margin: 0;
}

.palette__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--c-text);
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}

.palette__item:hover,
.palette__item[aria-selected="true"] {
  background: var(--c-accent-soft);
}

.palette__item-kind {
  flex: 0 0 auto;
  min-width: 4.2rem;
  color: var(--c-text-faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.palette__item-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.palette__item-title b {
  color: var(--c-accent);
  font-weight: 700;
}

.palette__hint {
  flex: 0 0 auto;
  color: var(--c-text-faint);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.palette__empty {
  padding: 1.25rem;
  color: var(--c-text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.palette__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface-2);
  color: var(--c-text-faint);
  font-size: 0.78rem;
}

.palette__foot span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   19  Toasts
   ========================================================================== */

.toasts {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 260;
  display: grid;
  gap: 0.5rem;
  width: min(22rem, calc(100vw - 2rem));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow-lg);
  color: var(--c-text);
  font-size: 0.9rem;
  pointer-events: auto;
  animation: toast-in 200ms cubic-bezier(0.2, 0, 0.2, 1);
}

.toast[data-tone="ok"] {
  border-color: var(--c-ok);
}

.toast[data-tone="bad"] {
  border-color: var(--c-bad);
}

.toast__mark {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.toast[data-tone="ok"] .toast__mark {
  color: var(--c-ok);
}

.toast[data-tone="bad"] .toast__mark {
  color: var(--c-bad);
}

.toast__body {
  flex: 1 1 auto;
  min-width: 0;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   20  Motion and responsive behaviour
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal:nth-child(2) {
  transition-delay: 60ms;
}

.reveal:nth-child(3) {
  transition-delay: 120ms;
}

.reveal:nth-child(4) {
  transition-delay: 180ms;
}

.reveal:nth-child(5) {
  transition-delay: 240ms;
}

.reveal:nth-child(6) {
  transition-delay: 300ms;
}

/* Tablet and below */
@media (max-width: 62rem) {
  .hero__inner,
  .arch,
  .dl-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .arch__list {
    order: 2;
  }

  .docs {
    grid-template-columns: minmax(0, 1fr);
  }

  .docs__side {
    position: static;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--c-border);
  }

  .site-footer__grid {
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  }
}

/* Mobile */
@media (max-width: 52rem) {
  :root {
    --header-h: 58px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 auto;
    width: min(20rem, 84vw);
    margin: 0;
    padding: 1.1rem 1.15rem 2rem;
    overflow-y: auto;
    border-left: 1px solid var(--c-border);
    background: var(--c-surface);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .site-nav__link {
    padding: 0.7rem 0.8rem;
    font-size: 1rem;
  }

  .site-nav__scrim {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: -1;
    border: 0;
    padding: 0;
    background: rgba(1, 4, 9, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }

  .site-nav__scrim.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .brand img {
    height: 26px;
  }

  .hero {
    padding-block: 2.5rem 3rem;
  }

  .section {
    padding-block: 2.75rem;
  }

  .table__cmd code {
    white-space: pre-wrap;
    word-break: break-word;
  }

  .table {
    min-width: 34rem;
  }

  .codeblock__pre {
    padding-right: 1rem;
    padding-top: 2.6rem;
  }

  .codeblock__copy {
    top: 0.5rem;
    right: auto;
    left: 0.5rem;
  }

  .toasts {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
  }
}

@media (max-width: 30rem) {
  body {
    font-size: 15.5px;
  }

  .hero__meta .tag {
    font-size: 0.7rem;
  }

  .lang__select {
    padding-right: 1.45rem;
    background-position: right 0.6rem center, right 0.34rem center;
  }
}

@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;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .btn,
  .card,
  .feature,
  .table-wrap,
  .codeblock__pre {
    border: 1px solid CanvasText;
  }

  .site-nav {
    background: Canvas;
  }
}

/* ==========================================================================
   21  Print
   ========================================================================== */

@media print {
  :root {
    --c-bg: #ffffff;
    --c-surface: #ffffff;
    --c-surface-2: #ffffff;
    --c-text: #000000;
    --c-text-muted: #333333;
    --c-border: #999999;
    --c-code-bg: #ffffff;
    --c-code-text: #000000;
  }

  body {
    padding-top: 0;
    font-size: 11pt;
    background: #ffffff;
    color: #000000;
  }

  .site-header,
  .site-footer,
  .palette,
  .toasts,
  .skip-link,
  .codeblock__copy,
  .hero__actions,
  .dl-detected,
  .tabs__list,
  .nav-toggle,
  .hero__terminal {
    display: none !important;
  }

  .section {
    padding-block: 1.25rem;
    page-break-inside: avoid;
  }

  .card,
  .feature,
  .dl-panel,
  .table-wrap,
  .faq details {
    border: 1px solid #999999;
    box-shadow: none;
    page-break-inside: avoid;
  }

  .codeblock {
    page-break-inside: avoid;
  }

  .codeblock__pre {
    white-space: pre-wrap;
    word-break: break-word;
    border: 1px solid #999999;
  }

  .tabs__panel[hidden] {
    display: block !important;
  }

  .faq details > .faq__body {
    display: block;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    word-break: break-all;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }
}