/* ============================================
   AI SYSTEMS — DESIGN TOKENS
   ============================================ */

:root {
  color-scheme: dark;

  /* Earth palette */
  --earth-deep: #0c110a;
  --earth-mid: #1a2216;
  --earth-warm: #2a3325;

  /* Neutral */
  --stone: #8a8577;
  --parchment: #e8e6df;

  /* Growth spectrum */
  --moss: #5a8f4c;
  --growth: #7fb069;
  --luminance: #a8c76c;

  /* Bioluminescence — AI accent */
  --biolum: #c8f53e;
  --biolum-glow: rgba(200, 245, 62, 0.15);
  --biolum-subtle: rgba(200, 245, 62, 0.06);
  --biolum-border: rgba(168, 199, 108, 0.1);
  --biolum-border-faint: rgba(168, 199, 108, 0.06);

  /* Typography */
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'Instrument Serif', serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-pad: 120px 40px;
  --section-pad-mobile: 64px 20px;
  --container-max: 1400px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s ease;
  --transition-reveal: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background: var(--earth-deep);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

::selection {
  background: var(--biolum);
  color: var(--earth-deep);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

a,
button,
input,
textarea,
select,
label {
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6,
p,
a,
button,
label {
  overflow-wrap: anywhere;
}

[id] {
  scroll-margin-top: 120px;
}


/* ============================================
   TYPOGRAPHY
   ============================================ */

.serif       { font-family: var(--font-display); }
.mono        { font-family: var(--font-mono); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--biolum);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--parchment);
  margin-bottom: 24px;
}

.section-desc {
  font-size: 17px;
  color: var(--stone);
  width: min(100%, 600px);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
}
