* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

@media (width <= 900px) {
  html {
    scroll-padding-top: 148px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html,
body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, var(--glow-1), transparent),
    radial-gradient(ellipse 700px 500px at 100% 10%, var(--glow-2), transparent);
  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}

main#conteudo {
  position: relative;
  overflow: hidden;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

body,
.statusbar,
.term,
.panel,
.metric,
.case,
.community,
.contact-term,
.tag,
footer {
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.mono {
  font-family: var(--mono);
}

::selection {
  background: var(--ok);
  color: #04140d;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ok);
  color: var(--btn-ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
  padding: 22px 0;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
}

.site-footer__wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
