:root {
  color-scheme: light;
  --paper: #f4f0e7;
  --ink: #20201d;
  --muted: #75736b;
  --rule: #d8d2c7;
  --mono: "DM Mono", monospace;
  --display: "Space Grotesk", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.site-header {
  --brand-row-width: 362px;
  width: min(100% - 96px, 1440px);
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 0 14px;
}
.brand, .site-header nav { width: var(--brand-row-width); }
.brand img { display: block; width: 100%; height: auto; }
.site-header nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 6px; }
.site-header nav a { min-width: 0; padding: 9px 2px; border: 1px solid var(--ink); text-align: center; white-space: nowrap; font-size: 13px; font-weight: 600; transition: color 160ms ease, background 160ms ease; }
.site-header nav a:hover { background: var(--ink); color: var(--paper); }
.hero {
  width: min(100% - 96px, 1440px);
  margin: 0 auto;
  padding: 12px 0 48px;
}
.signup-embed-frame { position: relative; width: min(100%, 400px); height: 352px; margin: 0 auto 12px; overflow: hidden; border-radius: 4px; background: var(--paper); }
.signup-embed { position: absolute; top: -18px; left: 0; display: block; width: 100%; height: calc(100% + 36px); border: 0; }
.hero-image { width: min(100%, 800px); aspect-ratio: 960 / 588; position: relative; margin: 0 auto; background: #4a514a; overflow: hidden; }
.hero-image::after { position: absolute; inset: 45% 0 0; content: ""; background: linear-gradient(transparent, rgb(12 14 12 / 55%)); pointer-events: none; }
.hero-image > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-image figcaption { position: absolute; z-index: 1; right: 22px; bottom: 20px; font: 10px var(--mono); }
.hero-image figcaption a { color: #9b9890; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .site-header, .hero { width: min(100% - 48px, 720px); }
}
@media (max-width: 600px) {
  .site-header, .hero { width: calc(100% - 40px); }
  .site-header { --brand-row-width: 100%; }
  .site-header nav a { padding: 8px 1px; font-size: 11px; }
  .signup-embed-frame { height: 392px; }
  .hero { padding: 12px 0 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}