:root {
  --bg: #0b0c0e;
  --fg: #e4e4e2;
  --muted: #9a9c9f;
  --faint: #2a2d31;
  --accent: #8fd3c8;
  --mono: 'SF Mono', 'Fira Code', 'Cascadia Code', 'JetBrains Mono', Consolas, 'Courier New', monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

main { flex: 1; padding-block: 4.5vh 4rem; }

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
a:hover { border-bottom-color: currentColor; }

.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

h1 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.lede { margin-top: 1rem; font-size: 1.2rem; color: var(--muted); }

.hero { margin-bottom: 4rem; }

.links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-family: var(--mono); font-size: .9rem; }
.hero--small { margin-bottom: 0; }


.layers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  margin-block: 4rem;
  background: var(--faint);
  border: 1px solid var(--faint);
}

.layers article { background: rgba(11, 12, 14, .88); padding: 1.5rem; }

h2 {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--fg);
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}


.layers p { font-size: .95rem; color: var(--muted); }

.source strong { color: var(--fg); font-weight: 600; }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-block: 2rem;
  border-top: 1px solid var(--faint);
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  main { padding-top: 3vh; }
}
