@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f2f0e8;
  --paper-strong: #faf9f4;
  --ink: #111713;
  --ink-soft: #465049;
  --line: #c7cbc3;
  --line-strong: #8f9790;
  --orange: #ff7600;
  --orange-deep: #c65300;
  --signal: #c8f135;
  --cyan: #58b9e8;
  --yellow: #ffd64a;
  --night: #111713;
  --night-soft: #1d2620;
  --white: #fffdf5;
  --font-body: "Archivo", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --max-width: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111713;
  --paper-strong: #18201a;
  --ink: #f1efe7;
  --ink-soft: #b3b9b4;
  --line: #39443c;
  --line-strong: #667168;
  --night: #090d0a;
  --night-soft: #101712;
  --white: #f3f0e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

::selection {
  background: var(--signal);
  color: #111713;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 3.3rem;
  object-fit: contain;
}

.brand-logo--white {
  display: none;
}

[data-theme="dark"] .brand-logo--color {
  display: none;
}

[data-theme="dark"] .brand-logo--white {
  display: block;
}

@media (max-width: 420px) {
  .brand-logo {
    height: 2.75rem;
  }
}

.eyebrow {
  margin: 0 0 1.15rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.primary-button,
.outline-button,
.text-button,
.icon-button {
  min-height: 44px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .9rem 1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease;
}

.primary-button:hover {
  transform: translateY(-3px);
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

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