/* 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;
  --teal: #1F7A74;   /* the one accent: used once, on the contact link */
  --slate: #5B6474;
  --mist: #DCDFE4;
}

* { box-sizing: border-box; }

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

body { margin: 0; }

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header { margin-bottom: 96px; }
.home { display: inline-block; color: var(--ink); }
.lockup { width: 220px; height: auto; display: block; }

main { flex: 1; }
main > * { max-width: 68ch; }

h1, h2, h3 { font-weight: 600; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: 39px; line-height: 1.2; margin-bottom: 96px; }
h2 { font-size: 20px; margin-bottom: 24px; }
h3 { font-size: 16px; font-weight: 500; }
p { margin: 0; }

section { margin-bottom: 72px; }

.capabilities { list-style: none; margin: 0; padding: 0; }
.capabilities li { padding: 24px 0; border-top: 1px solid var(--mist); }
.capabilities li:last-child { border-bottom: 1px solid var(--mist); }
.capabilities p { color: var(--slate); margin-top: 8px; }

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
#contact + p a { font-size: 20px; }

footer { color: var(--slate); font-size: 14px; padding-top: 24px; border-top: 1px solid var(--mist); }

/* The one permitted flourish: the secondary node draws in along the connector, once, over 400 ms. */
.node2 { animation: draw-in 400ms ease-out both; }
@keyframes draw-in {
  from { transform: translate(-112.58px, 65px); }
  to { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .node2 { animation: none; }
}

@media (max-width: 600px) {
  .page { padding: 32px 16px; }
  header { margin-bottom: 64px; }
  h1 { font-size: 31px; margin-bottom: 64px; }
}
