@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist_500Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist_700Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono_500Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --canvas: #fff;
  --surface: #fbf7f4;
  --ink: #32160f;
  --brown: #4a2417;
  --accent: #f36c2e;
  --accent-soft: #fff0e9;
  --line: #e9d8cf;
  --muted: #765c52;
  --content: 77.5rem;
  --shadow-phone: 0 2rem 5rem color-mix(in srgb, var(--ink) 20%, transparent);
  --radius-small: 0.75rem;
  --radius-medium: 1.25rem;
  --radius-large: 2rem;
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Geist", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  overflow: clip;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.7rem, 6.2vw, 6.8rem);
}

h2 {
  font-size: clamp(2.65rem, 4.4vw, 4.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 0.2rem solid var(--brown);
  outline-offset: 0.2rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  transform: translateY(-200%);
  border-radius: var(--radius-small);
  background: var(--ink);
  color: var(--canvas);
}

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

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.15rem;
  border: 0.0625rem solid var(--ink);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-0.125rem);
}

.button--primary {
  border-color: var(--accent);
  background: var(--ink);
  color: var(--canvas);
}

.button--secondary {
  background: var(--canvas);
  color: var(--ink);
}

.eyebrow,
.utility-label,
.mono {
  font-family: "Geist Mono", monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--brown);
}

.lede {
  max-width: 65ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.accent-text {
  color: var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes thread-enter {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

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