:root {
  --ink: #f5f8fb;
  --muted: #a9b8c7;
  --night: #06111d;
  --night-soft: #0b1b2b;
  --panel: rgba(17, 39, 61, 0.78);
  --panel-solid: #10263d;
  --line: rgba(127, 210, 243, 0.2);
  --blue: #7fd2f3;
  --blue-deep: #3195c8;
  --gold: #dfc58b;
  --max: 72rem;
}

* { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 2%, rgba(64, 156, 205, 0.16), transparent 28rem),
    radial-gradient(circle at 8% 46%, rgba(27, 93, 130, 0.12), transparent 32rem),
    var(--night);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  position: fixed;
  z-index: 10;
}

a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: #b9eaff; }

.skip-link {
  background: var(--ink);
  color: var(--night);
  left: 1rem;
  padding: 0.65rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

.site-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(6, 17, 29, 0.76);
  border-bottom: 1px solid rgba(127, 210, 243, 0.12);
  display: flex;
  justify-content: space-between;
  padding: 1rem max(1.25rem, calc((100vw - var(--max)) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.7rem;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img { border-radius: 22%; height: 2.4rem; width: 2.4rem; }

nav { display: flex; gap: 0.35rem; }
nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
}
nav a:hover, nav a[aria-current="page"] { background: rgba(127, 210, 243, 0.1); color: var(--ink); }

main { margin: 0 auto; max-width: var(--max); padding: 4.5rem 1.25rem 6rem; }

.hero { max-width: 57rem; padding: 5rem 0 6rem; }
.eyebrow {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.21em;
  margin: 0 0 1.4rem;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: Baskerville, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 { font-size: clamp(3rem, 8vw, 6.8rem); margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); margin: 4.5rem 0 1.2rem; }
h3 { font-size: 1.45rem; margin: 0 0 0.7rem; }

.lede { color: #c8d4df; font-size: clamp(1.1rem, 2vw, 1.45rem); max-width: 48rem; }
.cross-rule { align-items: center; color: var(--gold); display: flex; gap: 1rem; margin: 2.2rem 0; }
.cross-rule::before, .cross-rule::after { background: linear-gradient(90deg, transparent, var(--line)); content: ""; height: 1px; width: 8rem; }
.cross-rule::after { background: linear-gradient(90deg, var(--line), transparent); }

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: linear-gradient(145deg, rgba(20, 49, 76, 0.92), rgba(10, 28, 44, 0.92));
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.18);
  color: var(--ink);
  padding: 2rem;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}
.card:hover { border-color: rgba(127, 210, 243, 0.52); transform: translateY(-3px); }
.card p { color: var(--muted); margin-bottom: 0; }
.arrow { color: var(--blue); display: inline-block; margin-top: 1.5rem; }

.document { max-width: 50rem; }
.document h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
.document h2 { border-top: 1px solid var(--line); font-size: 2rem; padding-top: 2rem; }
.document h3 { color: #dfeaf3; font-family: "Avenir Next", Avenir, sans-serif; font-size: 1.08rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; margin-top: 2rem; }
.document p, .document li { color: #c4d0db; }
.document strong { color: var(--ink); }
.document ul { padding-left: 1.25rem; }
.document li + li { margin-top: 0.45rem; }

.notice {
  background: rgba(127, 210, 243, 0.08);
  border-left: 2px solid var(--blue);
  border-radius: 0 0.8rem 0.8rem 0;
  margin: 2rem 0;
  padding: 1rem 1.2rem;
}

.contact-box {
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: 1rem;
  margin-top: 2rem;
  padding: 1.4rem;
}

footer {
  border-top: 1px solid rgba(127, 210, 243, 0.12);
  color: var(--muted);
  font-size: 0.83rem;
  margin: 0 auto;
  max-width: var(--max);
  padding: 2rem 1.25rem 3.5rem;
}
.footer-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; }

@media (max-width: 42rem) {
  .site-header { align-items: flex-start; gap: 0.8rem; }
  .brand span { display: none; }
  nav { flex-wrap: wrap; justify-content: flex-end; }
  nav a { font-size: 0.8rem; padding: 0.4rem 0.58rem; }
  main { padding-top: 2.8rem; }
  .hero { padding: 3.5rem 0 4rem; }
  .grid { grid-template-columns: 1fr; }
}

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