:root {
  /* ========================
     COLOR SYSTEM
  ======================== */
  --bg: #07100f;
  --bg-2: #101716;
  --bg-deep: #0d1110;
  --bg-base-blend: #091211;

  --panel: rgba(12,22,21,0.82);
  --panel-strong: #13211f;

  /* Glass / overlays */
  --overlay-subtle: rgba(255,255,255,0.02);
  --overlay-soft: rgba(255,255,255,0.05);
  --overlay-dark: rgba(0,0,0,0.4);

  /* Panel gradients */
  --panel-grad-top: rgba(18,30,28,0.9);
  --panel-grad-bottom: rgba(10,20,18,0.7);

  /* Lines */
  --line: rgba(194,255,232,0.18);
  --line-strong: rgba(125,255,213,0.42);

  /* Text */
  --text: #edf9f5;
  --muted: #a7bbb4;

  --text-primary: #edf9f5;
  --text-secondary: #a7bbb4;
  --text-tertiary: rgba(255,255,255,0.5);

  /* Brand colours */
  --cyan: #40e9ff;
  --green: #62ffb7;
  --amber: #ffcc66;
  --pink: #ff5fa2;
  --ink: #050807;  
--green-soft: rgba(98,255,183,0.06);
--green-soft-md: rgba(98,255,183,0.08);
--green-soft-lg: rgba(98,255,183,0.15);
--green-glow-border: rgba(98,255,183,0.4);


  /* ========================
     GRADIENTS
  ======================== */
  --grad-accent: linear-gradient(90deg, var(--green), var(--cyan));
  --grad-panel: linear-gradient(180deg, var(--panel-grad-top), var(--panel-grad-bottom));

  /* Background effects */
  --bg-grad-1: rgba(64,233,255,0.1);
  --bg-grad-2: rgba(98,255,183,0.08);

  /* ========================
     SHADOWS + GLOWS
  ======================== */
  --shadow-sm: 0 8px 24px rgba(0,0,0,0.25);
  --shadow-md: 0 16px 48px rgba(0,0,0,0.35);
  --shadow-lg: 0 24px 80px rgba(0,0,0,0.42);

  --glow-green-sm: 0 0 8px rgba(98,255,183,0.35);
  --glow-green-md: 0 0 14px rgba(98,255,183,0.5);
  --glow-green-lg: 0 0 22px rgba(98,255,183,0.6);

  --glow-sm: 0 0 0.4rem var(--green);

  /* ========================
     BLUR
  ======================== */
  --blur-sm: 6px;
  --blur-md: 10px;

  /* ========================
     TYPOGRAPHY
  ======================== */
  --text-xs: 0.75rem;
  --text-sm: 0.85rem;
  --text-base: 1rem;
  --text-lg: 1.2rem;
  --text-xl: 1.4rem;

  --text-hero: clamp(2.2rem, 4.5vw, 3.4rem);
  --title-lg: clamp(2rem, 3.5vw, 2.6rem);

  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;

  --tracking-normal: 0.02em;
  --tracking-wide: 0.04em;

  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-loose: 1.7;

  /* ========================
     SPACING
  ======================== */
  --space-2xs: 0.125rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Tight spacing */
  --space-tight-xs: calc(var(--space-xs) - 2px);
  --space-tight-sm: calc(var(--space-sm) - 2px);
  --space-tight-md: calc(var(--space-md) - 2px);

  /* ========================
     RADIUS
  ======================== */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* ========================
     MOTION
  ======================== */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.45s ease;

  --motion-shift-sm: 0.2rem;

  /* ========================
     OPACITY
  ======================== */
  --opacity-strong: 0.9;
  --opacity-high: 0.85;
  --opacity-medium: 0.65;
  --opacity-low: 0.5;
  --opacity-subtle: 0.3;

  /* ========================
     BREAKPOINTS
  ======================== */
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;

  /* ========================
     LAYOUT
  ======================== */
  --max: 1160px;
  --content-narrow: 700px;
  --scroll-offset: 100px;
}

/* ========================
   RESET
======================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ========================
   BODY
======================== */
body {
  margin: 0;
  min-width: 320px;
  color: var(--text-primary);
  font-family: Inter, system-ui, sans-serif;
  line-height: var(--leading-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  background:
    radial-gradient(circle at 12% 18%, var(--bg-grad-1), transparent 24rem),
    radial-gradient(circle at 88% 10%, var(--bg-grad-2), transparent 23rem),
    linear-gradient(180deg, var(--bg), var(--bg-base-blend) 48%, var(--bg-deep));
}

/* ========================
   GLOBAL ELEMENTS
======================== */
a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* ========================
   ACCESSIBILITY
======================== */
.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: absolute;
  left: var(--space-md);
  top: var(--space-md);
  width: auto;
  height: auto;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  background: var(--green);
  color: var(--ink);
  z-index: 20;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* ========================
   LAYOUT
======================== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: var(--bp-md)) {
  .container {
    padding: 0 var(--space-lg);
  }
}

.global-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* ========================
   SECTION HEADINGS
======================== */
.section-heading {
  margin: 0;
  max-width: var(--content-narrow);
  margin-right: auto;
  text-align: left;
  scroll-margin-top: var(--scroll-offset);
}

.section-title {
  font-size: var(--title-lg);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--text-sm);
  color: var(--text-primary);
  opacity: var(--opacity-medium);
  line-height: var(--leading-normal);
}