/* Landing and error pages: Kork identity (see static/brand/SOURCE.txt). */
@font-face { font-family: "Archivo Black"; src: url(brand/ArchivoBlack-Regular.ttf) format("truetype"); font-display: swap; }
:root {
  color-scheme: light;
  --cork: #d4a56c;
  --ink: #1b130c;
  --paper: #fbf6ec;
  --cobalt: #2340e8;
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background-color: var(--cork);
  /* Cork grain, as in the brand pack texture. */
  background-image:
    radial-gradient(circle at 20% 30%, rgb(122 82 40 / .38) 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 70% 65%, rgb(243 210 162 / .45) 0 1px, transparent 1.4px),
    radial-gradient(circle at 45% 85%, rgb(122 82 40 / .3) 0 1.6px, transparent 2px);
  background-size: 37px 41px, 53px 47px, 71px 67px;
  font: 18px/1.55 var(--body);
}
a { color: var(--ink); }
.topbar { display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 2rem), 1100px); margin: 0 auto; padding: 1.25rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 2rem/1 var(--display); letter-spacing: -.01em; text-transform: lowercase; }
.topbar nav a { font-weight: 700; }
.site { flex: 1; width: min(calc(100% - 2rem), 1100px); margin: 0 auto; padding: 2rem 0 4rem; }
.hero { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 2rem; }
.kicker { margin: 0 0 1rem; font: .85rem var(--mono); letter-spacing: .06em; }
h1 { margin: 0 0 1.25rem; font: clamp(2.6rem, 6.2vw, 4.6rem)/.95 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
/* The landing headline is a full sentence, so it runs smaller than a slogan. */
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1; text-wrap: balance; }
.message h1 { text-transform: none; font-size: clamp(2.4rem, 6vw, 4rem); }
.lede { max-width: 52ch; margin: 0 0 2rem; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin: 0; }
.cta {
  padding: .85rem 1.4rem;
  border: 3px solid var(--ink);
  border-radius: 6px;
  color: var(--paper);
  background: var(--cobalt);
  box-shadow: 5px 6px 0 rgb(27 19 12 / .85);
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
button.cta { font: inherit; font-weight: 700; cursor: pointer; }
.cta:hover { transform: translate(-2px, -2px); box-shadow: 7px 8px 0 rgb(27 19 12 / .85); }
.cta:active { transform: translate(2px, 3px); box-shadow: 2px 3px 0 rgb(27 19 12 / .85); }
.quiet { font-weight: 700; }
.hero-art { width: 100%; height: auto; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.25rem; margin: 4rem 0 0; padding: 0; list-style: none; }
.features li {
  padding: 1rem 1.1rem;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 6px 7px 0 rgb(27 19 12 / .28);
  font-size: .98rem;
}
.features li:nth-child(odd) { transform: rotate(-1deg); }
.features li:nth-child(even) { transform: rotate(1deg); }
.features strong { display: block; margin-bottom: .25rem; font: 1.05rem/1.2 var(--display); }
.smallprint { max-width: 62ch; margin: 3rem 0 0; font-size: .98rem; }
.site-footer { width: min(calc(100% - 2rem), 1100px); margin: 0 auto; padding: 1.5rem 0 2rem; border-top: 3px solid var(--ink); font-size: .9rem; }
/* Terms and privacy: a paper sheet pinned to the cork. */
.legal { flex: none; margin: 1rem auto 3rem; max-width: 46rem; padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem; background: var(--paper); box-shadow: 5px 6px 0 rgb(27 19 12 / .85); border: 3px solid var(--ink); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); text-transform: none; }
.legal h2 { margin: 2rem 0 .5rem; font: 1.25rem/1.2 var(--display); }
.legal p, .legal li { max-width: 68ch; }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: .35rem; }
.legal code { font: .9em var(--mono); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
}
@media (prefers-reduced-motion: reduce) { .cta { transition: none; } }
