:root {
  --paper: oklch(96.2% 0.012 98);
  --paper-strong: oklch(98.5% 0.012 94);
  --paper-deep: oklch(91.8% 0.018 145);
  --paper-cool: oklch(94.5% 0.017 186);
  --ink: oklch(24% 0.018 178);
  --muted: oklch(49% 0.026 158);
  --line: color-mix(in oklch, var(--ink) 14%, transparent);
  --line-strong: color-mix(in oklch, var(--ink) 22%, transparent);
  --olive: oklch(34% 0.052 145);
  --olive-deep: oklch(25% 0.042 145);
  --olive-soft: oklch(91% 0.036 145);
  --sand: oklch(80% 0.06 84);
  --blue: oklch(88% 0.043 210);
  --reef: oklch(46% 0.074 202);
  --reef-deep: oklch(34% 0.064 202);
  --rust: oklch(49% 0.075 58);
  --danger: oklch(48% 0.11 32);
  --success: oklch(45% 0.08 148);
  --shadow: 0 18px 40px color-mix(in oklch, var(--ink) 10%, transparent);
  --shadow-lift: 0 24px 55px color-mix(in oklch, var(--ink) 16%, transparent);
  --radius: 0.5rem;
  --radius-lg: 0.72rem;
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
  --ui-font: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --display-font: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (min-width: 1800px) and (min-height: 1000px) {
  html {
    font-size: 17px;
  }
}

@media (min-width: 3000px) and (min-height: 1600px) {
  html {
    font-size: 18px;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, color-mix(in oklch, var(--sand) 18%, transparent), transparent 26rem),
    radial-gradient(circle at 86% 10%, color-mix(in oklch, var(--blue) 24%, transparent), transparent 30rem),
    repeating-linear-gradient(90deg, color-mix(in oklch, var(--ink) 2%, transparent) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, var(--paper-strong) 0%, var(--paper) 48%, var(--paper-deep) 100%);
  font-family: var(--ui-font);
  line-height: 1.55;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
.brand__text strong {
  font-family: var(--display-font);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
select,
a {
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), transform 160ms var(--ease-out);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--reef);
  outline-offset: 3px;
}

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