/* ===================================================================
   GOUA.LA — COLORS, TYPE & CORE TOKENS
   Dark-only design system. All tokens assume a dark surface.
   Drop into <head> before any other stylesheet.
   =================================================================== */

/* ── Fonts ───────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}

/* Hero subtitle face — only the Bold weight was provided.
   If you need Roman/Medium, request additional files. */
@font-face {
  font-family: 'Neue Hass Grotesk Display';
  src: url('fonts/NeueHaasDisplayBold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Italic.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}

@font-face {
  font-family: 'Gochi Hand';
  src: url('fonts/GochiHand-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ── Tokens ──────────────────────────────────────────────────────── */

:root {
  /* Base */
  --color-black: #191919;
  --color-white: #ffffff;

  /* Backgrounds */
  --color-background:     #191919;
  --color-surface:        #202020;
  --color-surface-hover:  #191919;
  --color-surface-raised: #2a2a2a;

  /* Text */
  --color-text:           #ffffff;
  --color-text-secondary: #a3a3a3;
  --color-text-muted:     #919191;
  --color-text-tertiary:  var(--color-text-muted);

  /* Borders */
  --color-border:        #262626;
  --color-border-light:  #404040;

  /* Accent (primary brand purple) */
  --color-accent:        #9045CF;
  --color-accent-hover:  #9333ea;
  --color-accent-light:  #c084fc;

  /* Palette */
  --color-red:        #FF5E5E;
  --color-orange:     #FF8E5F;
  --color-yellow:     #FFBA49;
  --color-blue-vivid: #5E1AFF;
  --color-teal:       #34BEAE;

  /* Social */
  --color-linkedin:  #0a66c2;
  --color-youtube:   #FF0000;

  /* Status (aliases) */
  --color-success:   var(--color-teal);
  --color-error:     var(--color-red);
  --color-warning:   var(--color-yellow);

  /* Notion dark palette (faux-UI components) */
  --notion-gray-text:   #9B9B9B;  --notion-gray-bg:   #252525;
  --notion-green-text:  #4F9768;  --notion-green-bg:  #242B26;
  --notion-blue-text:   #447ACB;  --notion-blue-bg:   #1F282D;
  --notion-purple-text: #865DBB;  --notion-purple-bg: #2A2430;
  --notion-red-text:    #BE524B;  --notion-red-bg:    #332523;

  /* Gradient — used ONLY for metric/stat numbers (background-clip: text). */
  --gradient-primary: linear-gradient(135deg, #9045CF 0%, #9333ea 100%);

  /* ── Type ──────────────────────────────────────────────────────── */

  --font-title:    'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-subtitle: 'Neue Hass Grotesk Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hand:     'Gochi Hand', cursive;
  --font-mono:     'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;

  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  2rem;      /* 32px */
  --text-4xl:  2.5rem;    /* 40px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  4rem;      /* 64px */
  --text-7xl:  5rem;      /* 80px */

  --font-normal:   400;
  --font-medium:   500;
  --font-semibold: 600;
  --font-bold:     700;

  --leading-none:    1;
  --leading-tight:   1.25;
  --leading-snug:    1.375;
  --leading-normal:  1.5;
  --leading-relaxed: 1.625;

  --tracking-tight: -0.025em;
  --tracking-wide:   0.025em;
  --tracking-wider:  0.05em;

  /* ── Spacing (4px base) ───────────────────────────────────────── */
  --space-1:  0.25rem;  --space-2:  0.5rem;  --space-3:  0.75rem;
  --space-4:  1rem;     --space-5:  1.25rem; --space-6:  1.5rem;
  --space-8:  2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-14: 3.5rem;   --space-16: 4rem;    --space-20: 5rem;
  --space-24: 6rem;     --space-32: 8rem;

  --section-padding-mobile:  var(--space-16);
  --section-padding-tablet:  var(--space-20);
  --section-padding-desktop: var(--space-24);

  /* ── Layout ──────────────────────────────────────────────────── */
  --container-max-width: 1600px;
  --container-narrow:    800px;
  --grid-gutter:         var(--space-6);
  --content-right:       calc((100vw - var(--grid-gutter)) / 12);

  --container-padding-mobile:  var(--space-4);
  --container-padding-tablet:  var(--space-10);
  --container-padding-desktop: var(--space-8);

  --grid-gap-sm: var(--space-4);
  --grid-gap-md: var(--space-6);
  --grid-gap-lg: var(--space-8);
  --grid-gap-xl: var(--space-12);

  /* ── Borders ─────────────────────────────────────────────────── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* ── Transitions (single easing curve) ───────────────────────── */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Z-index ─────────────────────────────────────────────────── */
  --z-fixed:          1030;
  --z-modal-backdrop: 1040;
  --z-modal:          1050;
  --z-popover:        1060;
  --z-tooltip:        1070;

  /* ── Nav ─────────────────────────────────────────────────────── */
  --nav-height:          80px;
  --nav-height-scrolled: 64px;
}

@media (min-width: 1601px) {
  :root {
    --content-right: calc(
      (100vw - var(--container-max-width)) / 2 +
      var(--grid-gutter) +
      (var(--container-max-width) - 13 * var(--grid-gutter)) / 12
    );
  }
}

@media (max-width: 768px) {
  :root {
    --text-4xl: 2rem;
    --text-5xl: 2.5rem;
    --text-6xl: 3rem;
    --text-7xl: 3.5rem;
  }
}

/* ── Semantic element styling ────────────────────────────────────── */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
  margin: 0;
}

h1 { font-size: var(--text-6xl); line-height: var(--leading-none); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin: 0 0 var(--space-4);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}
p:last-child { margin-bottom: 0; }

strong, b { font-weight: var(--font-bold); color: var(--color-text); }
em, i     { font-style: italic; }

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-accent); }
p a:not([class]) { text-decoration: underline; }

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background-color: var(--color-surface);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

::selection { background-color: var(--color-accent); color: #fff; }

/* Eyebrow label — quiet section signposts.
   --text-sm, --font-medium, --color-text-muted. Normal case, no letter-spacing.
   They label a section without competing with the title. */
.section__eyebrow {
  display: block;
  width: fit-content;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text-muted);
  margin: 0;
}
