@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/_next/static/media/1b99372b3eaef0c8-s.p.758e15a8.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --page-bg: #030712;
  --panel-bg: rgba(8, 14, 28, 0.78);
  --text: #f8fafc;
  --muted: rgba(226, 232, 240, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --focus: #7dd3fc;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100dvh;
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 420px;
  background: url("/assets/crumpled-paper.avif") center top / cover no-repeat;
  content: "";
  opacity: 0.07;
  pointer-events: none;
}

a {
  color: inherit;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 18, 0.88);
}

.site-header__inner,
.page-shell,
.site-footer {
  width: min(100% - 40px, 860px);
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.page-shell {
  padding-block: clamp(56px, 9vw, 96px) 72px;
}

.page-intro {
  max-width: 700px;
}

.page-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 580;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(21px, 3vw, 26px);
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lead {
  max-width: 64ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.5vw, 21px);
  line-height: 1.55;
}

.primary-panel {
  margin-top: clamp(36px, 7vw, 56px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-bg);
  padding: clamp(24px, 5vw, 36px);
}

.primary-panel p:last-child,
.content-section p:last-child {
  margin-bottom: 0;
}

.email-link {
  display: inline-block;
  margin: 2px 0 12px;
  color: var(--accent);
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 650;
  overflow-wrap: anywhere;
  text-underline-offset: 5px;
}

.helper-text,
.content-section p,
.content-section li {
  color: var(--muted);
}

.content-stack {
  margin-top: 18px;
}

.content-section {
  border-top: 1px solid var(--line);
  padding-block: 32px;
}

.content-section a,
.inline-link {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 4px;
}

.content-section ul,
.content-section ol {
  margin: 18px 0 0;
  padding-left: 1.4rem;
}

.content-section li + li {
  margin-top: 12px;
}

.notice {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 18px 20px;
}

.notice strong {
  color: var(--text);
}

.site-footer {
  display: flex;
  border-top: 1px solid var(--line);
  padding-block: 26px 38px;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .site-header__inner,
  .page-shell,
  .site-footer {
    width: min(100% - 32px, 860px);
  }

  .site-header__inner {
    min-height: 64px;
  }

  .brand span {
    display: none;
  }

  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .page-shell {
    padding-top: 48px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
