/* Reset and browser surfaces themed from the palette. Flat paint only. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  color-scheme: dark;
  background: var(--sea);
  accent-color: var(--oilskin);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
  background: var(--sea);
  color: var(--white);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  caret-color: var(--oilskin);
  touch-action: manipulation;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--oilskin); color: var(--tar); }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--oilskin); outline-offset: 2px; }

a, button, input, select, textarea, summary, [role='button'] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; border-radius: 0; }
input, select, textarea {
  font: inherit; color: inherit; caret-color: var(--oilskin); border-radius: 0;
  background: none; border: 2px solid currentColor;
}
input::placeholder { color: inherit; opacity: 0.6; }
a { color: inherit; text-underline-offset: 0.2em; }
ul, ol { list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
svg { fill: none; }
h1, h2, h3, h4, p { font-weight: inherit; font-size: inherit; text-wrap: balance; }
p { text-wrap: pretty; }

[hidden] { display: none !important; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Type roles */
.mark {
  font-family: var(--mark);
  font-weight: 800;
  line-height: 0.85;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.label {
  font-family: var(--label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.1;
}
.text {
  font-family: var(--text);
  font-weight: 400;
  line-height: 1.4;
}

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