/* =============================================
   SkillPilot Advisory — Global Design System
   ============================================= */

/* — CSS Variables — */
:root {
  --sp-cream: #FBF7F1;
  --sp-paper: #FFFFFF;
  --sp-peach: #F4C8A8;
  --sp-coral: #F2A87E;
  --sp-honey: #D9B86A;
  --sp-gold: #B58A3C;
  --sp-ink-soft: #6B5A4D;
  --sp-ink: #3A2E26;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-width: 1200px;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--sp-ink);
  background-color: var(--sp-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: fadeIn 300ms ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

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

ul, ol {
  list-style: none;
}

/* — Typography — */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--sp-ink);
  line-height: 1.2;
}

h1 { font-size: 56px; }
h2 { font-size: 40px; }
h3 { font-size: 28px; }
h4 { font-size: 20px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sp-ink-soft);
  margin-bottom: 16px;
}

/* — Layout — */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 100px 0;
}

/* — Utility — */
.text-center { text-align: center; }
.text-cream  { color: var(--sp-cream); }
.text-honey  { color: var(--sp-honey); }
.text-gold   { color: var(--sp-gold); }
.text-soft   { color: var(--sp-ink-soft); }

.bg-cream { background-color: var(--sp-cream); }
.bg-paper { background-color: var(--sp-paper); }
.bg-peach { background-color: var(--sp-peach); }
.bg-ink   { background-color: var(--sp-ink); }
.bg-gold  { background-color: var(--sp-gold); }

.mx-auto { margin-left: auto; margin-right: auto; }

/* — Section helpers — */
.section-intro {
  max-width: 760px;
}

.section-intro.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-intro p {
  margin-top: 20px;
  font-size: 18px;
  color: var(--sp-ink-soft);
}

/* — Grid — */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

/* — Two-column layout — */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* — Responsive — */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }

  .container {
    padding: 0 24px;
  }

  section {
    padding: 64px 0;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-intro p {
    font-size: 16px;
  }
}
