:root {
  color-scheme: dark;
  --ink: #f7f3e7;
  --muted: #c2c5c0;
  --line: rgba(247, 243, 231, 0.16);
  --blue: #061a33;
  --blue-2: #0d3b66;
  --gold: #d9b65f;
  --red: #8f3948;
  --paper: #fff6df;
  --shadow: rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(217, 182, 95, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #061a33;
  background-size: 84px 84px, 84px 84px, auto;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(6, 26, 51, 0.72);
  border-bottom: 1px solid rgba(247, 243, 231, 0.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  background: conic-gradient(from 210deg, var(--gold), var(--red), var(--blue-2), var(--gold));
  border: 1px solid rgba(255, 246, 223, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(217, 182, 95, 0.35);
}

nav {
  display: flex;
  gap: clamp(12px, 2.5vw, 28px);
  color: rgba(255, 246, 223, 0.78);
  font-size: 0.86rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  place-items: center start;
  border-bottom: 1px solid var(--line);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 13, 26, 0.9) 0%, rgba(3, 13, 26, 0.62) 43%, rgba(3, 13, 26, 0.14) 100%),
    linear-gradient(0deg, rgba(6, 26, 51, 0.86) 0%, rgba(6, 26, 51, 0.08) 38%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 88px 0 54px clamp(18px, 7vw, 96px);
  padding-top: 8vh;
}

.eyebrow,
.section-kicker,
dt,
.note {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.4rem, 12vw, 10.5rem);
  font-weight: 500;
  line-height: 1.08;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 246, 223, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 246, 223, 0.28);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 800;
}

.button.primary {
  background: var(--paper);
  color: #071527;
}

.button.secondary {
  background: rgba(6, 26, 51, 0.5);
  color: var(--paper);
}

.quick-facts {
  padding: 0 clamp(18px, 5vw, 72px);
  background: #071527;
}

.quick-facts dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, 100%);
  margin: 0 auto;
  border-left: 1px solid var(--line);
}

.quick-facts div {
  min-height: 130px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

dd {
  margin: 7px 0 0;
  color: var(--paper);
  font-size: 1.12rem;
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(74px, 11vw, 132px) 0;
}

.intro {
  max-width: 970px;
  margin-left: max(18px, calc((100vw - 1180px) / 2));
}

h2 {
  margin-bottom: 24px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5.2vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
}

.intro p,
.text-stack p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(34px, 8vw, 100px);
  border-top: 1px solid var(--line);
}

.text-stack {
  display: grid;
  gap: 20px;
}

.section-heading {
  max-width: 760px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
}

.feature-grid .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 24px;
}

article {
  min-height: 290px;
  padding: 30px;
  background: rgba(255, 246, 223, 0.055);
  border: 1px solid var(--line);
}

h3 {
  margin: 44px 0 12px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.72rem;
  font-weight: 500;
  line-height: 1.08;
}

article p {
  color: var(--muted);
}

.legacy {
  border-bottom: 1px solid var(--line);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: rgba(255, 246, 223, 0.66);
  background: #030d1a;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero {
    min-height: 88svh;
    place-items: end start;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 13, 26, 0.32) 0%, rgba(3, 13, 26, 0.9) 64%),
      linear-gradient(90deg, rgba(3, 13, 26, 0.78), rgba(3, 13, 26, 0.26));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 116px 18px 42px;
    padding-top: 16vh;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.45rem, 18vw, 5.1rem);
    line-height: 1.08;
    overflow-wrap: normal;
  }

  .quick-facts dl,
  .feature-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .quick-facts dl {
    border-left: 0;
  }

  .quick-facts div {
    min-height: 108px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  article {
    min-height: 0;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
