:root {
  --color-bg: #f0ece4;
  --color-paper: #f7f4ed;
  --color-text: #242424;
  --color-body: #313131;
  --color-tone: #5f6956;
  --color-muted: #6d7168;
  --color-rule: rgba(36, 36, 36, 0.14);
  --color-sage: #6f795d;
  --color-sage-dark: #59634a;
  --color-focus: rgba(111, 121, 93, 0.45);
  --font-display: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --container: 79rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background:
    radial-gradient(rgba(74, 68, 58, 0.028) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    var(--color-bg);
  background-position: 0 0, 0.125rem 0.1875rem, 0 0;
  background-size: 0.25rem 0.25rem, 0.55rem 0.55rem, auto;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible {
  outline: 0.1875rem solid var(--color-focus);
  outline-offset: 0.25rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  border-radius: 0.35rem;
  background: var(--color-text);
  color: var(--color-paper);
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  max-width: calc(100vw - 2rem);
  margin: 0 auto;
}

.site-header {
  background: color-mix(in srgb, var(--color-bg) 92%, white);
  border-bottom: 0.0625rem solid var(--color-rule);
}

.header-row {
  display: flex;
  align-items: center;
  min-height: 4.75rem;
}

.wordmark {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.site-main {
  min-height: calc(100svh - 9.75rem);
}

.hero {
  padding: clamp(2.8rem, 5vw, 4.75rem) 0 clamp(3.5rem, 7vw, 5.75rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(21rem, 0.9fr);
  gap: clamp(2.5rem, 6.5vw, 6.25rem);
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy {
  width: 100%;
  max-width: 44rem;
}

.pixel-swatches {
  display: flex;
  gap: 0.88rem;
  margin: 0 0 clamp(2.2rem, 4vw, 3.15rem) 0.4rem;
}

.swatch {
  display: block;
  width: 1rem;
  height: 1rem;
}

.swatch-red {
  background: #c95755;
}

.swatch-orange {
  background: #e19345;
}

.swatch-yellow {
  background: #e5c45c;
}

.swatch-green {
  background: #7f986f;
}

.swatch-blue {
  background: #5f8db2;
}

.swatch-purple {
  background: #7b6aa8;
}

.eyebrow {
  margin: 0 0 1.35rem;
  color: var(--color-tone);
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.35vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  max-width: 8.8em;
  margin-bottom: 1.85rem;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(3.15rem, 5.2vw, 5.25rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.lede {
  width: 100%;
  max-width: 37rem;
  margin-bottom: 2.2rem;
  color: var(--color-body);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.58rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.55rem;
  min-height: 4.5rem;
  min-width: min(100%, 19.6rem);
  padding: 1rem 1.65rem;
  border: 0.0625rem solid color-mix(in srgb, var(--color-sage-dark) 78%, black);
  border-radius: 0.75rem;
  background: var(--color-sage);
  color: #f8f5ec;
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 1.4vw, 1.36rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0.22rem 0.22rem 0 var(--color-sage-dark);
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  background: color-mix(in srgb, var(--color-sage) 90%, white);
  transform: translate(-0.04rem, -0.04rem);
  box-shadow: 0.29rem 0.29rem 0 var(--color-sage-dark);
}

.button:active {
  transform: translate(0.16rem, 0.16rem);
  box-shadow: 0.06rem 0.06rem 0 var(--color-sage-dark);
}

.button-arrow {
  font-weight: 700;
  letter-spacing: -0.12em;
}

.hero-note {
  margin-top: clamp(2.4rem, 4vw, 4rem);
}

.credibility-rule {
  width: min(100%, 66rem);
  height: 0.125rem;
  margin: 0 0 1rem;
  background: var(--color-rule);
}

.credibility {
  width: 100%;
  max-width: 66rem;
  margin: 0;
  color: var(--color-body);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.35vw, 1.26rem);
  line-height: 1.65;
}

.hero-art {
  margin: 0;
  justify-self: end;
  width: min(100%, 38rem);
}

.hero-art img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1.25rem 2.25rem rgba(65, 54, 37, 0.08));
}

.site-footer {
  padding: 1.5rem 0 2rem;
}

.footer-row {
  border-top: 0.0625rem solid var(--color-rule);
  padding-top: 1.35rem;
}

.footer-row p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 66rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy,
  .lede,
  .credibility,
  .hero-art {
    max-width: 43rem;
  }

  .hero-art {
    justify-self: start;
    width: 100%;
  }
}

@media (max-width: 40rem) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
    max-width: calc(100vw - 1.25rem);
  }

  .hero-copy,
  .lede,
  .credibility,
  .hero-art {
    max-width: 23rem;
  }

  .header-row {
    min-height: 4.25rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .pixel-swatches {
    gap: 0.65rem;
    margin-bottom: 2.25rem;
  }

  .swatch {
    width: 0.75rem;
    height: 0.75rem;
  }

  .eyebrow {
    font-size: 0.88rem;
    letter-spacing: 0.18em;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 9vw, 2.55rem);
    line-height: 1.04;
  }

  .lede {
    font-size: 1.18rem;
  }

  .button {
    min-width: min(100%, 15rem);
    min-height: 3.85rem;
  }

  .hero-note {
    margin-top: 1.75rem;
  }
}
