/* Brand rules: brand/brand-document.md (Colour, Typography, Layout, Motion). */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #121A2B;
  --paper: #F6F4EF;
  --slate: #5B6474;
  --mist: #DCDFE4;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  color: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body { margin: 0; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Hero: Ink, with the dither field behind. */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  opacity: 0;
  transition: opacity 200ms ease-out;
}
.field.is-ready { opacity: 1; }

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.home { display: inline-block; }
.home img { display: block; width: 200px; height: auto; }

.hero-copy { max-width: 560px; margin-top: auto; }

.hero h1 {
  font-size: 76px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.lede {
  max-width: 34em;
  margin-bottom: 40px;
  color: var(--mist);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.quiet-link { color: var(--mist); }

.legal {
  max-width: 68ch;
  color: var(--mist);
  font-size: 12px;
}

@media (max-width: 760px) {
  .hero-inner { padding: 32px 16px; gap: 48px; }
  .home img { width: 168px; }
  .hero h1 { font-size: 49px; }
  .lede { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .field { transition: none; }
}
