/* FormLab marketing apex — self-contained brand CSS (no Tailwind build step,
   so the marketing site has the fewest moving parts and the lightest crawlable
   output). Palette + type strictly from docs/brand/2026-04-26-formlab-brand.md:
   the six named colours, General Sans + JetBrains Mono only, weights 400/500/600. */

@font-face {
  font-family: "General Sans";
  src: url("fonts/GeneralSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("fonts/GeneralSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("fonts/GeneralSans-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bone: #f4efe6;
  --ink: #1c1a17;
  --terracotta: #b8553e;
  --sand: #e0d3bd;
  --sage: #8fa88a;
  --clay: #7a2e1c;
}

* {
  box-sizing: border-box;
}

html {
  font-family: "General Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  line-height: 1.5;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

header a {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

h1 {
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.15;
  margin: 2rem 0 1rem;
}

h2 {
  font-weight: 600;
  font-size: 1.625rem;
  margin: 2.5rem 0 0.75rem;
}

p {
  font-weight: 400;
  font-size: 1rem;
  margin: 0 0 1rem;
}

a {
  color: var(--terracotta);
}

a:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}
