/* ========= LogAce — ASCII Edition ========= */
:root {
  --bg: #0a0d11;
  --bg-2: #0e1217;
  --bg-3: #131922;
  --bg-4: #1a2230;
  --line: #1d2531;
  --line-2: #2b3645;
  --line-3: #3d4a5c;

  --text: #d8d0bd;
  --text-2: #aab3bf;
  --text-3: #6f7b8a;
  --text-4: #4a5564;

  --accent: #5aa3d4;
  --accent-soft: rgba(90,163,212,0.12);
  --c-red:   #e35d5d;
  --c-amber: #e8a847;
  --c-green: #6dba78;
  --c-blue:  #5aa3d4;
  --c-violet:#a48ccd;
  --c-cyan:  #5fb8c4;

  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1320px;
  --pad: clamp(16px, 3.5vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
  /* subtle scanline texture */
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 1400px 700px at 50% -180px, rgba(90,163,212,0.07), transparent 60%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ========= ASCII primitives ========= */
.ascii { font-family: var(--mono); white-space: pre; line-height: 1.05; user-select: none; }
.dim { color: var(--text-3); }
.dim-2 { color: var(--text-4); }
.accent { color: var(--accent); }
.green { color: var(--c-green); }
.red { color: var(--c-red); }
.amber { color: var(--c-amber); }
.blue { color: var(--c-blue); }
.cyan { color: var(--c-cyan); }
.violet { color: var(--c-violet); }

/* ========= nav (menu bar) ========= */
.menubar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
  font-size: 12.5px;
}
.menubar-inner {
  display: flex; align-items: center; gap: 0;
  height: 44px;
}
.menubar .brand {
  display: flex; align-items: center; gap: 10px;
  padding-right: 18px; border-right: 1px solid var(--line-2);
  height: 100%;
}
.menubar .brand img { width: 22px; height: 22px; border-radius: 4px; }
.menubar .brand .name { color: var(--text); font-weight: 600; font-size: 13px; }
.menubar .brand .name .ace { color: var(--accent); }
.menubar .nav-items {
  display: flex; flex: 1;
}
.menubar .nav-items a {
  padding: 0 16px;
  display: flex; align-items: center;
  color: var(--text-2);
  font-size: 12px;
  letter-spacing: 0.05em;
  height: 100%;
  border-right: 1px solid var(--line);
}
.menubar .nav-items a:hover { color: var(--text); background: var(--bg-2); }
.menubar .right {
  display: flex; align-items: center; gap: 0;
  height: 100%;
}
.menubar .right .ver {
  padding: 0 14px;
  height: 100%; display: flex; align-items: center;
  color: var(--text-3);
  border-left: 1px solid var(--line);
  font-size: 11.5px;
}
.menubar .right .dl {
  padding: 0 16px;
  height: 100%; display: flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #051018;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
}
.menubar .right .dl:hover { background: #7ab8e0; }

@media (max-width: 800px) {
  .menubar .nav-items a:nth-child(n+4) { display: none; }
}
@media (max-width: 560px) {
  .menubar .nav-items { display: none; }
}

/* ========= section primitives ========= */
.section { padding: clamp(56px, 8vw, 96px) var(--pad); }
.section > .wrap { max-width: calc(var(--maxw) - var(--pad) - var(--pad)); }

.section-head {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: 40px;
  font-size: 12.5px;
}
.section-head .num {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.section-head .name {
  color: var(--text);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
}
.section-head .rule { flex: 1; height: 1px; background: var(--line-2); position: relative; }
.section-head .rule::before, .section-head .rule::after {
  content: ''; position: absolute; top: -2px;
  width: 1px; height: 5px; background: var(--line-2);
}
.section-head .rule::before { left: 0; }
.section-head .rule::after { right: 0; }
.section-head .meta { color: var(--text-4); font-size: 11.5px; letter-spacing: 0.08em; }

.h-section {
  font-family: var(--mono);
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 14px 0;
}
.lead {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 78ch;
  margin: 0;
}

/* ========= hero ========= */
.hero {
  padding-top: 56px;
  padding-bottom: 24px;
}

.hero-top {
  display: grid;
  gap: 28px 36px;
  align-items: start;
}
@media (min-width: 1200px) {
  .hero-top {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }
}

.hero-copy {
  min-width: 0;
}

.ascii-logo {
  color: var(--text);
  font-size: clamp(8px, 1.45vw, 19px);
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  font-weight: 600;
  white-space: pre;
  user-select: none;
  text-shadow: 0 0 18px rgba(90,163,212,0.22);
}
.ascii-logo .ace-glyph { color: var(--accent); }

.hero-kicker {
  margin-top: 28px;
  font-size: clamp(16px, 1.7vw, 20px);
  color: var(--text);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.hero-kicker .accent { color: var(--accent); }

.hero-summary {
  margin: 14px 0 0;
  max-width: 60ch;
  color: var(--text-2);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
}

.hero-feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 760px) {
  .hero-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero-feature-card {
  min-width: 0;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--bg-2) 0%, rgba(14,18,23,0.72) 100%);
  padding: 16px 18px 18px;
}
.hero-feature-tag {
  color: var(--accent);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}
.hero-feature-title {
  margin-top: 8px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}
.hero-feature-copy {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 12.5px;
  line-height: 1.7;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border: 1px solid var(--line-2);
  font-size: 11.5px;
}
.hero-meta > div {
  padding: 10px 14px;
  border-right: 1px solid var(--line-2);
  color: var(--text-3);
  display: flex; align-items: center; gap: 8px;
  min-width: 0;
}
@media (min-width: 760px) {
  .hero-meta {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.7fr) auto auto;
  }
  .hero-meta > div:nth-child(1),
  .hero-meta > div:nth-child(3),
  .hero-meta > div:nth-child(4) { white-space: nowrap; }
}
.hero-meta > div:last-child { border-right: 0; }
.hero-meta .k { color: var(--text-2); }
.hero-meta .live { color: var(--c-green); font-size: 9px; }

.hero-grid {
  margin-top: 56px;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1080px) {
  .hero-grid { grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
}

.install-box {
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  font-size: 12px;
  min-width: 0;
}
.install-box-head {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-2);
  background: var(--bg-3);
  display: flex; justify-content: space-between;
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.08em;
  min-width: 0;
}
.install-box-head > * { min-width: 0; }
.install-box-head .tag { color: var(--accent); }
.install-box-head-with-copy {
  align-items: center;
  gap: 12px;
}
.install-box-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.install-box pre {
  margin: 0; padding: 14px 16px;
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.65;
  overflow-x: auto;
}
.install-box .c { color: var(--text-4); }
.install-box .k { color: var(--accent); }
.install-box .s { color: var(--c-green); }
.install-box-quickstart pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11.5px;
}
.install-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
}
.install-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: color .15s, border-color .15s, background .15s;
}
.install-links a:hover {
  color: var(--text);
  border-color: var(--line-3);
  background: var(--bg-4);
}
.install-note {
  padding: 0 16px 16px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.55;
}

.cta-row {
  margin-top: 20px;
  display: flex; gap: 0;
  border: 1px solid var(--line-2);
}
.cta-row a {
  flex: 1; padding: 12px 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px;
  color: var(--text-2);
  border-right: 1px solid var(--line-2);
  letter-spacing: 0.04em;
  transition: background .15s, color .15s;
}
.cta-row a:last-child { border-right: 0; }
.cta-row a:hover { background: var(--bg-3); color: var(--text); }
.cta-row a.primary { background: var(--accent); color: #051018; font-weight: 600; }
.cta-row a.primary:hover { background: #7ab8e0; }

/* ========= hero screenshot ========= */
.hero-screenshot {
  margin: 0;
  min-width: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  box-shadow: none;
}
.hero-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2440 / 1573;
  object-fit: contain;
}

/* ========= copy button on install boxes ========= */
.install-box { position: relative; }
.install-box .copy-btn {
  position: absolute; top: 42px; right: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: color .15s, border-color .15s, background .15s;
  z-index: 2;
}
.install-box .copy-btn:hover { color: var(--text); border-color: var(--line-3); background: var(--bg-3); }
.install-box .copy-btn.copied { color: var(--c-green); border-color: var(--c-green); }
.install-box-quickstart .copy-btn {
  position: static;
  margin-left: auto;
}

/* ========= sources ascii grid ========= */
.ascii-card {
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13px;
  position: relative;
  transition: border-color .15s, background .15s;
}
.ascii-card:hover { border-color: var(--line-3); background: var(--bg-3); }
.ascii-card .corner {
  position: absolute; top: 0; right: 0;
  font-size: 10px;
  color: var(--accent);
  padding: 4px 8px;
  background: var(--bg-3);
  border-left: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  letter-spacing: 0.08em;
}
.ascii-card .glyph-block {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 10px;
  line-height: 1.1;
  white-space: pre;
  user-select: none;
  margin-top: 6px;
}
.ascii-card .name { font-size: 14px; color: var(--text); font-weight: 600; margin-top: 8px; }
.ascii-card .desc { font-size: 12.5px; color: var(--text-3); line-height: 1.55; }

.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: -1px;
  margin-left: -1px;
}
.sources-grid .ascii-card { border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); margin-top: -1px; margin-left: -1px; }

/* ========= features — ascii table ========= */
.feat-table {
  border: 1px solid var(--line-2);
  background: var(--bg-2);
}
.feat-table .row {
  display: grid;
  grid-template-columns: 90px 240px 1fr;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.feat-table .row:last-child { border-bottom: 0; }
.feat-table .row:hover { background: var(--bg-3); }
.feat-table .row > div { padding: 14px 16px; border-right: 1px solid var(--line); font-size: 13px; }
.feat-table .row > div:last-child { border-right: 0; }
.feat-table .row .tag { color: var(--accent); font-size: 11px; letter-spacing: 0.06em; }
.feat-table .row .ttl { color: var(--text); font-weight: 600; font-size: 13.5px; }
.feat-table .row .dsc { color: var(--text-3); line-height: 1.55; }
@media (max-width: 720px) {
  .feat-table .row { grid-template-columns: 1fr; }
  .feat-table .row > div { border-right: 0; border-bottom: 1px dashed var(--line); padding: 10px 14px; }
  .feat-table .row > div:last-child { border-bottom: 0; }
}

/* ========= profiles ========= */
.profiles-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 0;
  margin-left: -1px;
  margin-top: -1px;
}
.profile-cell {
  border-left: 1px solid var(--line-2);
  border-top: 1px solid var(--line-2);
  margin-left: -1px;
  margin-top: -1px;
  background: var(--bg-2);
  display: flex; flex-direction: column;
}
.profile-cell .head {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-2);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-3);
}
.profile-cell .head .nm { font-size: 13px; color: var(--text); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.profile-cell .head .nm::before { content: '▸'; color: var(--accent); }
.profile-cell .head .tg { font-size: 10.5px; color: var(--text-4); letter-spacing: 0.05em; text-transform: uppercase; }
.profile-cell .pre {
  font-size: 11px;
  padding: 12px 14px;
  color: var(--text-3);
  white-space: pre;
  overflow: hidden;
  line-height: 1.55;
  min-height: 100px;
}
.profile-cell .pre-wrap {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.profile-cell .dsc {
  padding: 8px 14px 12px;
  font-size: 12px;
  color: var(--text-3);
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

/* ========= keyboard — ascii ========= */
.kbd-wrap {
  border: 1px solid var(--line-2);
  background: var(--bg-2);
}
.kbd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0;
  margin: -1px;
}
.kbd-block {
  border: 1px solid var(--line-2);
  padding: 18px 20px;
}
.kbd-block h4 {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin: 0 0 12px 0;
  font-weight: 600;
}
.kbd-list { display: flex; flex-direction: column; gap: 0; }
.kbd-list .row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}
.kbd-list .row:last-child { border-bottom: 0; }
.kbd-list .k { color: var(--accent); }
.kbd-list .d { color: var(--text-2); }

/* ========= macOS section ========= */
.mac-card {
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 980px) {
  .mac-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.mac-card-text { padding: 32px 36px; border-bottom: 1px solid var(--line-2); }
@media (min-width: 980px) {
  .mac-card-text { border-bottom: 0; border-right: 1px solid var(--line-2); }
}
.mac-card-text h3 { font-size: 22px; line-height: 1.25; color: var(--text); margin: 0 0 14px; font-weight: 600; }
.mac-card-text p { color: var(--text-2); font-size: 13.5px; line-height: 1.6; }
.mac-card-text ul { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-2); }
.mac-card-text ul li { padding-left: 22px; position: relative; }
.mac-card-text ul li::before { content: '─►'; position: absolute; left: 0; color: var(--accent); }

.mac-card-details {
  padding: 32px 36px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mac-detail {
  padding: 0 0 18px;
  margin: 0 0 18px;
  border-bottom: 1px dashed var(--line);
}
.mac-detail:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.mac-detail span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mac-detail strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}
.mac-detail p {
  margin: 8px 0 0;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.6;
}

/* ========= install ========= */
.install-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-left: -1px; margin-top: -1px;
}
@media (min-width: 760px) {
  .install-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .install-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.install-grid .install-box {
  border-left: 1px solid var(--line-2);
  border-top: 1px solid var(--line-2);
  margin-left: -1px; margin-top: -1px;
}
.install-grid > * { min-width: 0; }

/* ========= docs / subpages ========= */
.doc-hero {
  padding-top: 52px;
  padding-bottom: 28px;
}
.doc-breadcrumb {
  margin-bottom: 16px;
  color: var(--text-4);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.doc-breadcrumb a:hover {
  color: var(--text-2);
}
.doc-hero-grid {
  margin-top: 36px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.doc-hero-grid > * { min-width: 0; }
@media (min-width: 980px) {
  .doc-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: start;
  }
}
.doc-summary {
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  min-width: 0;
}
.doc-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-2);
}
.doc-summary-row:last-child {
  border-bottom: 0;
}
.doc-summary-row strong {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}
.doc-link-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.doc-link-card {
  display: block;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  padding: 18px 20px 20px;
  transition: border-color .15s, background .15s, transform .15s;
  min-width: 0;
}
.doc-link-card:hover {
  border-color: var(--line-3);
  background: var(--bg-3);
  transform: translateY(-1px);
}
.doc-link-card .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.doc-link-card .ttl {
  margin-top: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.doc-link-card .dsc {
  margin-top: 8px;
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.6;
}
.doc-link-card .lnk {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  margin-left: -1px;
  margin-top: -1px;
}
.info-card {
  border-left: 1px solid var(--line-2);
  border-top: 1px solid var(--line-2);
  margin-left: -1px;
  margin-top: -1px;
  background: var(--bg-2);
  padding: 20px 22px;
  min-width: 0;
}
.info-card h3 {
  margin: 0 0 10px 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.info-card p {
  margin: 0;
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.6;
}
.info-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-2);
  font-size: 12.5px;
}
.info-card li {
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.info-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.doc-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
  color: var(--text-2);
  font-size: 11.5px;
  letter-spacing: 0.05em;
}
.doc-inline-links a {
  color: var(--accent);
}
.doc-inline-links a:hover {
  color: var(--text);
}

/* ========= footer ========= */
.footer {
  border-top: 1px solid var(--line-2);
  padding: 40px var(--pad) 28px;
  background: var(--bg);
  margin-top: 40px;
}
.footer-grid {
  max-width: calc(var(--maxw) - var(--pad) - var(--pad)); margin: 0 auto;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 { font-size: 11px; letter-spacing: 0.08em; color: var(--text-3); margin: 0 0 10px 0; text-transform: uppercase; font-weight: 600; }
.footer ul { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--text-2); }
.footer ul a:hover { color: var(--text); }
.footer-bottom {
  max-width: calc(var(--maxw) - var(--pad) - var(--pad)); margin: 32px auto 0;
  padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 11px; color: var(--text-4);
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-credit a {
  opacity: 0.88;
  transition: opacity 160ms ease;
}
.footer-credit a:hover,
.footer-credit a:focus-visible {
  opacity: 1;
}
.footer-credit-logo {
  display: block;
  height: 18px;
  width: auto;
}

/* selection */
::selection { background: rgba(90,163,212,0.4); color: var(--text); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--line-3); }
