/*
 * base.css
 *
 * Defines global variables, resets, and basic typography for the
 * NetGrade website.  Adjust the values in :root to change the
 * colour scheme, spacing, and radii across the site.  This file
 * should be loaded on every page before any component-specific styles.
 */

:root {
  /* Colour palette */
  --bg: #0a0b0c;
  --panel: #111315;
  --fg: #e8e8e8;
  --muted: #9aa4ad;
  --accent: #0affb7;
  /* Radii */
  --radius: 20px;
  --r-sm: 12px;
  --r-lg: 28px;
  /* Shadow */
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  /* Spacing scale */
  --sp-1: 8px;
  --sp-2: 12px;
  --sp-3: 18px;
  --sp-4: 24px;
  --sp-5: 36px;
  --sp-6: 56px;
}

/* Reset and basic layout */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Headings */
h1 {
  font-size: clamp(28px, 4.8vw, 44px);
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: var(--sp-3);
  color: var(--fg);
}
h2 {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: var(--sp-3);
  color: var(--fg);
}
h3 {
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: var(--sp-3);
  color: var(--fg);
}
h4 {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: var(--sp-2);
  color: var(--fg);
}

p {
  margin-top: 0;
  margin-bottom: var(--sp-3);
  color: var(--muted);
}

/* Utility classes */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-4);
  padding-right: var(--sp-4);
}

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

/* Logo container */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}

/* Logo image */
.logo img {
  height: 1.4em;
  width: auto;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

/* Logo footer */



/* Footer grid: 4 fixed columns, centered */


/* Make the logo span the whole row above */

/* Responsive: collapse to 2 columns, then 1 */
@media (max-width: 980px) {
  
}

@media (max-width: 520px) {
   /* one column full width */
}
