/* NullSec — base.css — base layer (M0.4) */
*, *::before, *::after {
 box-sizing: border-box; margin: 0; padding: 0; 
}

html {

  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

}

body {

  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);

}

img, svg, video {
 max-width: 100%; display: block; 
}

a {
 color: inherit; text-decoration: none; 
}

button {
 font: inherit; cursor: pointer; border: none; background: none; color: inherit; 
}

ul, ol {
 list-style: none; 
}

input, textarea {
 font: inherit; 
}

h1, h2, h3, h4, h5, h6 {

  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);

}

h1 {
 font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; 
}

h2 {
 font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.015em; 
}

h3 {
 font-size: 1.25rem; letter-spacing: -0.01em; 
}

h4 {
 font-size: 1.125rem; 
}

p {
 margin-bottom: 1rem; color: var(--text-muted); 
}

p strong {
 color: var(--text); font-weight: 500; 
}

code, pre {

  font-family: var(--font-code);
  font-size: 0.875em;

}

pre {

  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;

}

code:not(pre code) {

  background: var(--bg-card);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--border);

}

