@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm_plex_sans/IBMPlexSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm_plex_sans/IBMPlexSans-Italic.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm_plex_sans/IBMPlexSans-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm_plex_sans/IBMPlexSans-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("assets/fonts/ibm_plex_sans/IBMPlexSans-Bold.ttf") format("truetype");
}

:root {
  color-scheme: dark;

  --apollo-navy: #172038;
  --apollo-deep-blue: #253a5e;
  --apollo-steel: #3c5e8b;
  --apollo-ocean: #4f8fba;
  --apollo-sky: #73bed3;
  --apollo-ice: #a4dddb;
  --apollo-dark-green: #19332d;
  --apollo-forest: #25562e;
  --apollo-green: #468232;
  --apollo-leaf: #75a743;
  --apollo-lime: #a8ca58;
  --apollo-pear: #d0da91;
  --apollo-dark-brown: #4d2b32;
  --apollo-brown: #7a4841;
  --apollo-tan: #ad7757;
  --apollo-sand: #c09473;
  --apollo-khaki: #d7b594;
  --apollo-cream: #e7d5b3;
  --apollo-dark-plum: #341c27;
  --apollo-maroon: #602c2c;
  --apollo-rust: #884b2b;
  --apollo-amber: #be772b;
  --apollo-gold: #de9e41;
  --apollo-honey: #e8c170;
  --apollo-dark-wine: #241527;
  --apollo-wine: #411d31;
  --apollo-crimson: #752438;
  --apollo-red: #a53030;
  --apollo-orange: #cf573c;
  --apollo-peach: #da863e;
  --apollo-deep-violet: #1e1d39;
  --apollo-violet: #402751;
  --apollo-purple: #7a367b;
  --apollo-magenta: #a23e8c;
  --apollo-fuchsia: #c65197;
  --apollo-pink: #df84a5;
  --apollo-black: #090a14;
  --apollo-charcoal: #10141f;
  --apollo-dark-gray: #151d28;
  --apollo-gunmetal: #202e37;
  --apollo-slate: #394a50;
  --apollo-gray: #577277;
  --apollo-silver: #819796;
  --apollo-ash: #a8b5b2;
  --apollo-light-gray: #c7cfcc;
  --apollo-mist: #d9deda;
  --apollo-white: #ebede9;

  --bg: var(--apollo-black);
  --panel: var(--apollo-charcoal);
  --panel-strong: var(--apollo-gunmetal);
  --text: var(--apollo-white);
  --muted: var(--apollo-ash);
  --soft: var(--apollo-silver);
  --line: var(--apollo-slate);
  --red: var(--apollo-red);
  --amber: var(--apollo-gold);
  --sky: var(--apollo-sky);
  --green: var(--apollo-leaf);
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 8%, rgba(165, 48, 48, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--apollo-navy) 0%, var(--apollo-charcoal) 42rem);
  color: var(--text);
  font-family:
    "IBM Plex Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  padding: 8px 10px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 48px;
  min-height: 68vh;
  padding: 72px 0 64px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.75rem);
  margin: 0;
}

h2 {
  font-size: 1.45rem;
  margin: 0 0 14px;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
  max-width: 760px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  text-decoration: none;
}

.button.primary {
  background: var(--red);
  color: var(--apollo-white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.button:hover,
.button:focus-visible {
  filter: brightness(1.08);
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.hero-visual {
  align-items: center;
  background:
    linear-gradient(140deg, rgba(165, 48, 48, 0.3), rgba(79, 143, 186, 0.2)),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 320px;
}

.hero-visual img {
  border-radius: 28px;
  max-width: 74%;
  height: auto;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.34));
}

.content-section,
.legal-section {
  background: rgba(24, 26, 31, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 24px;
}

.content-section {
  max-width: 820px;
}

.page {
  padding: 56px 0 32px;
}

.compact-page {
  min-height: 60vh;
}

.page-header {
  margin-bottom: 28px;
  max-width: 820px;
}

.page-header h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin-bottom: 18px;
}

.legal-section {
  max-width: 860px;
}

.legal-section p {
  color: var(--muted);
}

.text-link {
  color: var(--sky);
  font-weight: 750;
  overflow-wrap: anywhere;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.updated {
  color: var(--soft);
  font-size: 0.95rem;
  margin-top: 18px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-start;
  margin-top: 64px;
  padding: 24px 0 36px;
}

.site-footer a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 44px 0 40px;
  }

  .hero-visual {
    min-height: 220px;
  }

  .hero-visual img {
    max-width: 170px;
  }

  .content-section,
  .legal-section {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .site-nav a,
  .site-footer a {
    transition: background-color 160ms ease, border-color 160ms ease,
      color 160ms ease, filter 160ms ease;
  }
}
