/* Colours and type match the explainer video (council-video src/theme.ts). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin-400.woff2") format("woff2");
}

:root {
  --bg: #0B0D10;
  --panel: #12151A;
  --text: #E6E8EB;
  --muted: #8A9099;
  --line: #2A2F36;
  --faint: #1B1F25;
  --accent: #F2A541;
  --accent-soft: rgba(242, 165, 65, 0.14);

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(16px, 5vw, 48px);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  padding: 0.5rem 0.875rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  z-index: 1;
}

.skip:focus {
  top: 1rem;
}

/* Hero */

.hero {
  padding: clamp(4rem, 14vw, 8rem) 0 clamp(3rem, 9vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.hero-logo {
  display: block;
  width: clamp(88px, 22vw, 120px);
  height: auto;
  margin: 0 0 1.75rem -0.75rem;
}

h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 9vw, 4rem);
}

.tagline {
  margin: 1rem 0 0;
  font-size: clamp(1.125rem, 3.6vw, 1.375rem);
  line-height: 1.45;
  color: var(--muted);
}

/* Sections */

.section {
  padding: clamp(3rem, 9vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.accent {
  color: var(--accent);
}

.sep {
  margin: 0 0.6em;
  color: var(--line);
}

h2 {
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  margin-bottom: 1.25rem;
}

.section p {
  margin: 0 0 1rem;
}

.section h2 + p,
.section p + p {
  max-width: 40rem;
}

/* Pilot headline */

.stat {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section .stat-number {
  margin: 0;
  font-size: clamp(3.5rem, 14vw, 5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.stat-text {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
}

.stat-note {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 30rem) {
  .stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Link lists */

.links {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.links a {
  display: inline-block;
  padding: 0.625rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  text-decoration: none;
  font-weight: 500;
}

.links a::after {
  content: "\00a0\2192";
  content: "\00a0\2192" / "";
}

.links a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Footer */

.footer {
  padding: 2.5rem 0 3rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.footer p {
  margin: 0.25rem 0 0;
}

.footer-links {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  display: inline-block;
  padding: 0.25rem 0;
}

@media (prefers-reduced-motion: no-preference) {
  .links a {
    transition: border-color 120ms ease, background-color 120ms ease;
  }
}
