@charset "UTF-8";

:root {
  --bg: #090b0a;
  --surface: #111412;
  --text: #f4f5ef;
  --muted: #979d97;
  --line: #303630;
  --accent: #37C6E3;
  --accent-light: #8EE8F5;
  --accent-ink: #FFFFFF;
  --header: 72px;
}

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

html {
  min-width: 320px;
  color-scheme: dark;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { color: var(--accent-ink); background: var(--accent); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--accent-ink);
  background: var(--accent);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; }

.site-header {
  position: fixed;
  z-index: 90;
  inset: 0 0 auto;
  height: var(--header);
  background: rgba(9,11,10,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
  flex: 0 0 32px;
  overflow: hidden;
  color: transparent;
  background: transparent url("/img/icon.png") center / cover no-repeat;
  border-radius: 8px;
  font-size: 0;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.footer-inner .brand { justify-self: start; color: var(--text); }
.footer-inner p { margin: 0; }
.footer-inner > a:last-child { justify-self: end; }
.footer-inner > a:last-child:hover { color: var(--accent-light); }

@media (max-width: 720px) {
  .wrap { width: min(calc(100% - 28px), 1180px); }
  .footer-inner {
    min-height: 132px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding-block: 24px;
    text-align: center;
  }
  .footer-inner .brand,
  .footer-inner > a:last-child { justify-self: center; }
}
