:root {
  --ink: #182333;
  --blue: #245a8d;
  --red: #d43c32;
  --gold: #f4c542;
  --paper: #f7f4ed;
  --white: #ffffff;
  --muted: #657083;
  --line: rgba(24, 35, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  color-scheme: light;
  scrollbar-gutter: stable;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 197, 66, 0.18), transparent 25rem),
    radial-gradient(circle at 88% 82%, rgba(36, 90, 141, 0.12), transparent 28rem),
    var(--paper);
}

.page {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: var(--ink);
  text-decoration: none;
}

.brand-lockup:hover {
  text-decoration: none;
}

.tagline {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}


.colour-markers {
  flex: none;
  display: flex;
  gap: 7px;
}

.colour-markers span {
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.colour-markers span:nth-child(1) {
  background: var(--red);
}

.colour-markers span:nth-child(2) {
  background: var(--gold);
}

.colour-markers span:nth-child(3) {
  background: var(--blue);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

main {
  flex: 1;
  padding: 60px 0 70px;
}

footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

footer .footer-legal {
  max-width: 620px;
}

footer .footer-legal p {
  margin: 0;
  line-height: inherit;
}

footer .footer-legal p + p {
  margin-top: 6px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

footer nav a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

footer nav a:hover {
  text-decoration: underline;
}

footer nav [aria-current="page"] {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 760px) {
  .page {
    width: min(1120px, calc(100% - 28px));
  }

  header {
    padding: 26px 0;
  }

  main {
    padding-top: 48px;
  }

  footer {
    flex-direction: column;
  }
}
