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

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  scrollbar-color: var(--blue-lit) var(--blue-ink);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--blue-ink);
  color: var(--on-blue);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--soon);
  color: var(--blue-ink);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--blue-ink);
}
::-webkit-scrollbar-thumb {
  background: var(--blue-lit);
  border-radius: 10px;
  border: 2px solid var(--blue-ink);
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-plate);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.026em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a,
button,
input,
[role="button"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(217, 164, 65, 0.25);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--soon);
  outline-offset: 3px;
  border-radius: 6px;
}

.ic {
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
}

.skip {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--plate);
  color: var(--on-plate);
  border-radius: 0.6rem;
  font-weight: 700;
  transition: top 160ms var(--ease-out);
}
.skip:focus {
  top: 1rem;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: min(100% - var(--gutter) * 2, 76rem);
  margin-inline: auto;
}

noscript p {
  padding: 6rem var(--gutter);
}

.still *,
.still *::before,
.still *::after {
  animation: none !important;
}
