:root{
  color-scheme: dark;
  --bg: #0b0d10;
  --surface: #0f1216;
  --text: #e6e9ef;
  --muted: #a9b0bb;
  --rule: #1e232b;
  --accent: #8ab4ff;
  --measure: 68ch;
  --radius: 14px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(16px, 0.95rem + 0.25vw, 18px);
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100%;
}

body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(1200px 800px at 20% -10%, #141924 0%, transparent 60%),
    radial-gradient(1000px 700px at 110% 10%, #101521 0%, transparent 55%);
  background-repeat: no-repeat;
}

main{
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px);
}

h1, h2, p{ margin: 0; }
p + p{ margin-top: 0.9em; }
h1 + p{ margin-top: 0.8em; }
h2 + p{ margin-top: 0.6em; }
p + h2{ margin-top: 1.8em; }

h1{
  font-weight: 700;
  font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2{
  font-weight: 600;
  font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.8rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text);
  text-wrap: balance;
}

p{
  color: var(--text);
  text-wrap: pretty;
}

.lede{
  font-size: 1.1em;
  color: var(--muted);
}

img{
    max-width: 100%;
    margin: 2em 0 2em 0;
    border-radius: 10px;
}

hr{
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.2em 0;
}

a{
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

a:hover{
  text-decoration: underline;
}

@media (max-width: 520px){
  main{ padding: 20px; }
}

.veteran {
  color: #4b0082;
  background-image: linear-gradient(45deg, #4b0082 , #8a2be2 33%, #AD70DB 94%, #dda0dd 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;

}