/* cockpit site: one stylesheet, light and dark from the system setting. */

:root {
  --bg: #fbfaf7;
  --bg-2: #f4f2ed;
  --surface: #ffffff;
  --surface-2: #f3f1ec;
  --border: #e6e2da;
  --border-strong: #d6d1c6;
  --text: #17171a;
  --muted: #5f5d58;
  --faint: #85827a;
  --accent: #a4501b;
  --peach: #ffc799;
  --mint: #0f7f66;
  --glow-a: rgb(255 170 110 / 0.30);
  --glow-b: rgb(60 200 170 / 0.16);
  --code-bg: #f1eee8;
  --shot-bg: #101010;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 10px 30px rgb(0 0 0 / 0.07);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / 0.05), 0 30px 80px -20px rgb(80 40 10 / 0.28);
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0c0d;
    --bg-2: #111113;
    --surface: #151517;
    --surface-2: #1c1c1f;
    --border: #26262a;
    --border-strong: #34343a;
    --text: #f3f3f4;
    --muted: #a3a3a8;
    --faint: #7a7a81;
    --accent: #ffc799;
    --mint: #99ffe4;
    --glow-a: rgb(255 199 153 / 0.16);
    --glow-b: rgb(153 255 228 / 0.08);
    --code-bg: #18181b;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 10px 30px rgb(0 0 0 / 0.35);
    --shadow-lg: 0 2px 6px rgb(0 0 0 / 0.4), 0 40px 100px -20px rgb(0 0 0 / 0.8);
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

:not(pre) > code {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1em 0.35em;
  overflow-wrap: anywhere;
}

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h3 { letter-spacing: -0.01em; }
p { margin: 0 0 14px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 30px; height: 30px; }

.site-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 9px;
  white-space: nowrap;
  font-size: 0.94rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.site-nav svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0; padding-top: 10px; min-height: 0; }
  .site-nav { margin: 0 -16px; padding: 6px 9px 8px; width: calc(100% + 32px); gap: 0; }
  .site-nav a { padding: 6px 7px; font-size: 0.875rem; }
  .site-nav svg { display: none; }
  html { scroll-padding-top: 116px; }
}

/* Buttons */

.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s, border-color 0.15s;
}
.button:hover { border-color: var(--accent); transform: translateY(-1px); }
.button.primary {
  background: var(--peach);
  border-color: var(--peach);
  color: #17171a;
  box-shadow: 0 8px 24px -8px rgb(255 160 90 / 0.6);
}
.button.primary:hover { filter: brightness(1.04); }
.button .i { width: 18px; height: 18px; }
.button .play { fill: currentColor; stroke: none; }

/* Sections */

main { display: block; }

.section { padding: 96px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (max-width: 720px) { .section { padding: 64px 0; } }

.section-head { max-width: 44rem; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Hero */

.hero { position: relative; padding: 88px 0 24px; text-align: center; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: -80px 0 auto;
  height: 900px;
  z-index: -1;
  background:
    radial-gradient(600px 340px at 30% 22%, var(--glow-a), transparent 70%),
    radial-gradient(560px 320px at 72% 30%, var(--glow-b), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 620px;
  z-index: -1;
  background-image: radial-gradient(color-mix(in srgb, var(--text) 13%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 25%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 25%, #000 20%, transparent 75%);
  opacity: 0.6;
  pointer-events: none;
}
@media (max-width: 720px) { .hero { padding-top: 56px; } }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  margin-bottom: 26px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  max-width: 100%;
}
.pill b {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--peach);
  color: #17171a;
  font-size: 0.76rem;
  font-weight: 700;
}
.pill:hover { color: var(--text); border-color: var(--accent); }

.hero h1 {
  font-size: clamp(2.4rem, 7.4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 14ch;
  margin: 0 auto 22px;
}
.grad {
  background: linear-gradient(100deg, #ff9f5a 0%, #ffc799 45%, #7fe8cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (prefers-color-scheme: light) {
  .grad { background-image: linear-gradient(100deg, #c2561a 0%, #e07a35 50%, #0f8f73 100%); }
}
.hero .sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 42rem; margin: 0 auto 34px; text-wrap: balance; }
.hero .buttons { justify-content: center; margin-bottom: 18px; }
.hero .note { color: var(--faint); font-size: 0.88rem; margin: 0 0 56px; }
@media (max-width: 480px) { .hero .buttons .button { width: 100%; } }

/* Product frame: a screenshot or the video in a window with a glow. */

.frame {
  position: relative;
  margin: 0 auto;
  max-width: 1080px;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.frame::before {
  content: "";
  position: absolute;
  inset: 10% 6% -4%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--glow-a), transparent);
  filter: blur(40px);
}
.frame video, .frame img { width: 100%; border-radius: 13px; background: var(--shot-bg); }
.frame video, .frame .app-shot { aspect-ratio: 1600 / 1025; object-fit: cover; }
.frame figcaption { color: var(--muted); font-size: 0.9rem; padding: 12px 8px 4px; text-align: center; }
.frame figcaption b { color: var(--text); }
@media (max-width: 600px) { .frame { padding: 5px; border-radius: 14px; } .frame video, .frame img { border-radius: 10px; } }

/* Works-with strip */

.works { padding: 64px 0 0; text-align: center; }
.works p { color: var(--faint); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; padding: 0; margin: 0; list-style: none; }
.chips li {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Steps */

.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; padding: 0; margin: 0; list-style: none; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { padding: 28px 26px 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--peach);
  color: #17171a;
  font-weight: 800;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 22px 20px; }
  .steps li::before { grid-row: 1 / span 2; margin: 0; }
}

/* Feature grid: one screenshot per feature, from the Herdr APP or the Herdr TUI. */

.seg { display: none; margin: -16px auto 32px; padding: 4px; width: fit-content; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.seg.ready { display: flex; }
.seg button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 9px;
  cursor: pointer;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.features { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }

.fcard { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
.fcard:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); box-shadow: var(--shadow); }
.fshot { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--shot-bg); border-bottom: 1px solid var(--border); overflow: hidden; }
.fshot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 0.3s; }
.fshot img.tui { object-fit: contain; object-position: center; padding: 10px; }
.fshot .half-app img, .tshot .half-app img, .fshot img.zoom, .tshot img.zoom {
  position: absolute;
  left: var(--x);
  top: 0;
  margin-top: var(--y);
  width: var(--z);
  max-width: none;
  height: auto;
}
.fshot .half-app, .tshot .half-app { display: block; }
.fcard:hover .fshot img.tui { transform: scale(1.02); }
.features[data-show="app"] .fcard:not(.only-tui) .half-tui,
.features[data-show="tui"] .fcard:not(.only-app) .half-app { display: none; }
.fshot[data-note]::after {
  content: attr(data-note);
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgb(16 16 16 / 0.82);
  color: #f3f3f4;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.features[data-show="tui"] .only-app .fshot[data-note]::after,
.features[data-show="app"] .only-tui .fshot[data-note]::after { display: block; }
.fbody { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.fbody h3 { font-size: 1.05rem; }
.fbody p { color: var(--muted); margin: 0; font-size: 0.94rem; }
.fbody .where { margin-top: auto; padding-top: 6px; color: var(--faint); font-size: 0.78rem; font-weight: 600; }

.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  vertical-align: 2px;
  letter-spacing: 0;
}
.badge.new { background: var(--peach); border-color: var(--peach); color: #17171a; }

/* Showcase tabs: without the script every panel shows, one under the other. */

.tabs { display: none; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 0 auto 28px; padding: 5px; width: fit-content; max-width: 100%; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.tabs.ready { display: flex; }
.tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 10px;
  cursor: pointer;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--peach); color: #17171a; }
@media (max-width: 480px) { .tabs button { padding: 7px 11px; font-size: 0.9rem; } }
.panel { margin: 0 0 40px; }
.panel:last-child { margin-bottom: 0; }
.panel[hidden] { display: none; }

/* Comparison */

.compare { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .compare { grid-template-columns: minmax(0, 1fr); } }
.plan { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.plan .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--shot-bg); border-bottom: 1px solid var(--border); }
.plan .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.plan .body { padding: 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.plan .kicker { color: var(--faint); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.plan h3 { font-size: 1.45rem; }
.plan .tagline { color: var(--muted); margin: 0 0 14px; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { width: 18px; height: 18px; margin-top: 3px; color: var(--mint); stroke-width: 2.4; }
.plan .button { margin-top: auto; align-self: flex-start; }
.both { text-align: center; color: var(--muted); margin: 28px 0 0; }

/* Install */

.install { display: grid; gap: 40px; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
@media (max-width: 900px) { .install { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.install h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 14px; }
.install .lead { color: var(--muted); font-size: 1.08rem; }
.needs { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.needs li { display: flex; gap: 10px; align-items: flex-start; }
.needs .i { width: 18px; height: 18px; margin-top: 3px; color: var(--mint); stroke-width: 2.4; }

.term {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #111113;
  color: #ececef;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.term + .term { margin-top: 14px; }
.term .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid #26262b; color: #8d8d94; font-size: 0.82rem; }
.term .dot { width: 11px; height: 11px; border-radius: 50%; background: #3a3a40; }
.term .bar em { margin-left: 8px; font-style: normal; }
.term pre { margin: 0; padding: 18px 18px 20px; overflow-x: auto; font-size: 0.92rem; line-height: 1.8; }
.term .p { color: #ffc799; user-select: none; }
.term .c { color: #7d7d85; }
.copy {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  appearance: none;
  border: 1px solid #34343a;
  background: #1c1c20;
  color: #c9c9cf;
  border-radius: 8px;
  padding: 4px 10px;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.copy:hover { color: #fff; border-color: #55555c; }
.copy .i { width: 14px; height: 14px; }
.after { margin: 18px 0 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 600px) { .term pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.85rem; } }

/* FAQ */

.faq { max-width: 46rem; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.04rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; font-size: 1.5rem; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px; margin: 0 0 16px; color: var(--muted); }

/* Closing band */

.cta {
  text-align: center;
  padding: 64px 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(500px 220px at 20% 0%, var(--glow-a), transparent 70%),
    radial-gradient(500px 220px at 85% 100%, var(--glow-b), transparent 70%),
    var(--surface);
}
.cta h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 12px; }
.cta p { color: var(--muted); margin: 0 auto 26px; max-width: 34rem; }
.cta .buttons { justify-content: center; }

/* Detail pages */

.page-hero { position: relative; padding: 72px 0 8px; isolation: isolate; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: -60px 0 auto;
  height: 640px;
  z-index: -1;
  background: radial-gradient(560px 300px at 18% 20%, var(--glow-a), transparent 70%), radial-gradient(520px 280px at 80% 10%, var(--glow-b), transparent 70%);
  pointer-events: none;
}
@media (max-width: 720px) { .page-hero { padding-top: 48px; } }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 18px; }
.page-hero .sub { color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.22rem); max-width: 42rem; margin-bottom: 28px; }
.page-hero .sub code { white-space: nowrap; }
.page-hero .frame { margin-top: 48px; max-width: none; }

.tiles { display: grid; gap: 40px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .tiles { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.tile { scroll-margin-top: 90px; }
.tshot { position: relative; aspect-ratio: 16 / 10; margin-bottom: 16px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--shot-bg); overflow: hidden; box-shadow: var(--shadow); }
.tshot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.tshot img.tui { object-fit: contain; object-position: center; padding: 12px; }
.tshot .tag { position: absolute; right: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgb(16 16 16 / 0.82); color: #f3f3f4; font-size: 0.75rem; font-weight: 600; }
.tile h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tile p { color: var(--muted); margin: 0; }

.keys { max-width: 46rem; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.keys table { border-collapse: collapse; width: 100%; font-size: 0.96rem; }
.keys td { padding: 12px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.keys tr:last-child td { border-bottom: 0; }
.keys td:first-child { white-space: nowrap; width: 1%; }
.keys td:last-child { color: var(--muted); }
@media (max-width: 480px) {
  .keys table, .keys tbody, .keys tr, .keys td { display: block; width: auto; }
  .keys tr { padding: 12px 16px; border-bottom: 1px solid var(--border); }
  .keys tr:last-child { border-bottom: 0; }
  .keys td, .keys td:first-child { padding: 0; border: 0; white-space: normal; width: auto; }
  .keys td:first-child { margin-bottom: 4px; }
}

/* Footer */

.site-footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; justify-content: space-between; }
.site-footer .brand { font-size: 1rem; }
.site-footer .brand img { width: 24px; height: 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer small { width: 100%; color: var(--faint); font-size: 0.85rem; }
