:root {
  color-scheme: dark;
  --brand: #ed343d;
  --brand-hover: #ff4b53;
  --brand-soft: #351a1d;
  --bg: #101113;
  --bg-raised: #151619;
  --surface: #1a1c20;
  --surface-raised: #202227;
  --line: #2b2e34;
  --text: #f4f4f5;
  --muted: #a0a2aa;
  --subtle: #747780;
  --success: #76d6a1;
  --red: var(--brand);
  --red2: var(--brand-hover);
  --green: var(--success);
  --soft: var(--subtle);
  --bg2: var(--bg-raised);
  --panel: var(--surface);
  --panel2: var(--surface-raised);
  --max: var(--content-width);
  --content-width: 1160px;
  --content-gutter: 44px;
  --radius: 14px;
  --shadow: 0 12px 36px rgb(0 0 0 / 24%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 90px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body>main {
  flex: 1 0 auto;
}

.header,
.site-footer {
  flex-shrink: 0;
}

.site-footer {
  margin-top: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand-hover);
  outline-offset: 3px;
}

.container {
  width: min(var(--content-width), calc(100% - var(--content-gutter)));
  margin-inline: auto;
}

.logo span,
.footer-brand span {
  color: var(--brand);
}

.site-footer {
  border-top: 1px solid rgb(255 255 255 / 8%);
  background: #0c0d0f;
}

.footer-inner {
  padding-block: 30px 18px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 26px;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -1.3px;
}

.footer-brand small {
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #c4c5ca;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a:hover {
  color: #fff;
}

.footer-editor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.footer-editor .bi {
  color: var(--brand);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgb(255 255 255 / 7%);
  padding-top: 14px;
  color: var(--subtle);
  font-size: 11px;
}

@media (max-width: 640px) {
  :root {
    --content-gutter: 30px;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 5px;
  }
}