@import url('screens.css?v=20261019-2');

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/SpaceGrotesk-Variable.woff2') format('woff2');
}

:root {
  --bg-primary: #FAFAF8;
  --bg-soft: #F4F3F0;
  --bg-footer: #1A2B42;
  --bg-graph: #14243A;
  --text-primary: #1A2B42;
  --text-body: #3D4A5C;
  --text-muted: #626C78;
  --accent: #2C4A6E;
  --divider: #E8E6E1;
  --divider-strong: #DEDBD4;
  --footer-text: #B0B4BC;
  --graph-text: #F7F6F2;
  --graph-muted: #9EA8B5;
  --graph-line: rgba(213, 220, 229, 0.14);
  --page-gutter: clamp(24px, 5vw, 80px);
  --page-width: 1200px;
  --section-space: clamp(80px, 8vw, 120px);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg-primary);
  color: var(--text-body);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, dl, dd, ol { margin: 0; }
button { font: inherit; }
h1, h2, h3 { color: var(--text-primary); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--text-primary); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 64px;
  transition: background 0.25s ease;
}

.header--scrolled {
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header__inner {
  width: min(calc(var(--page-width) + 2 * var(--page-gutter)), 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header--scrolled .header__inner { border-bottom: 1px solid var(--divider); }

.header__brand {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.header__rw {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.header__brand:hover, .header__rw:hover { text-decoration: none; }

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: calc(var(--page-width) + 2 * var(--page-gutter));
  padding: 152px var(--page-gutter) 120px;
  text-align: left;
  pointer-events: none;
}

.hero__title {
  max-width: 1140px;
  font-size: clamp(56px, 7.4vw, 106px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero__base { margin-top: 48px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.hero__action { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 48px; padding-block: 10px; border-bottom: 1px solid var(--text-primary); font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--text-primary); pointer-events: auto; }
.hero__action span { font-size: 24px; font-weight: 400; }
.hero__action:hover { border-bottom-width: 2px; padding-bottom: 9px; }
.hero__footnote { margin-top: 52px; font-size: 12px; color: var(--text-muted); }

.hero__lead {
  max-width: 490px;
  margin: 0;
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-body);
}

.hero__mesh { opacity: 0.55; mask-image: linear-gradient(90deg, transparent 12%, #000 100%); }
.hero__content::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 30% 50%, var(--bg-primary) 15%, transparent 75%);
  pointer-events: none;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  right: var(--page-gutter);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--divider-strong);
  border-radius: 50%;
}
.hero__scroll::after { content: ''; position: absolute; top: 15px; left: 17px; width: 8px; height: 8px; border-right: 1px solid var(--text-primary); border-bottom: 1px solid var(--text-primary); transform: rotate(45deg); }
.hero__scroll:hover { border-color: var(--text-primary); }

/* Footer */

.evidence-document { width: min(900px, 100%); margin-inline: auto; padding: 64px var(--page-gutter) 96px; }
.evidence-document nav { margin-bottom: 64px; font-size: 14px; }
.evidence-document h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.1; font-weight: 500; letter-spacing: -.04em; margin-bottom: 32px; }
.evidence-document h2 { font-size: 28px; line-height: 1.2; font-weight: 500; margin-top: 56px; margin-bottom: 24px; }
.evidence-document h3 { font-size: 21px; font-weight: 500; margin-top: 40px; overflow-wrap: anywhere; }
.evidence-document p { margin-top: 16px; overflow-wrap: anywhere; }
.evidence-document .evidence-point { padding-left: 20px; border-left: 1px solid var(--divider-strong); }
.evidence-document pre { margin: 20px 0 32px; padding: 24px; background: var(--bg-soft); overflow-x: auto; font-size: 12px; line-height: 1.6; }
.evidence-document a { text-decoration: underline; text-underline-offset: 4px; }

.footer {
  padding: 24px 32px;
  background: var(--bg-footer);
  text-align: center;
}

.footer p { font-size: 13px; color: var(--footer-text); }
.footer a { color: var(--footer-text); }
.footer a:hover { color: #FFF; }

@media (max-width: 768px) {
  .header { height: 56px; }
  .header__inner { padding: 0 var(--page-gutter); }
  .header__rw { font-size: 12px; }
  .hero__content { padding: 124px var(--page-gutter) 104px; }
  .hero__title { font-size: clamp(42px, 8.4vw, 64px); }
  .hero__base { margin-top: 32px; align-items: start; flex-direction: column; gap: 28px; }
  .hero__lead { font-size: 17px; }
  .hero__footnote { margin-top: 36px; }
  .hero__mesh { opacity: .38; }
}

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

@media (max-width: 360px) {
  .header__brand { font-size: 16px; }
  .header__rw { font-size: 10px; white-space: nowrap; }
  .header__inner { gap: 12px; }
}
