/* ************** Global style ************** */
/*
  Fonts pulled from your site's CSS (with sensible fallbacks)
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap");

:root {
  /* Core palette inferred from your site */
  --bg: 255, 255, 255;
  --text: 24, 24, 30;
  --primary: 76, 81, 86;

  /* Neutral ramp (fallbacks around your bg/text) */
  --gray-100: 243, 244, 246;
  --gray-200: 229, 231, 235;
  --gray-300: 209, 213, 219;
  --gray-400: 156, 163, 175;
  --gray-500: 107, 114, 128;
  --gray-600: 75, 85, 99;
  --gray-700: 55, 65, 81;
  --gray-800: 31, 36, 45;
  --gray-900: 24, 24, 30;

  /* Accent ramp */
  --blue-400: 96, 165, 250;
  --blue-500: var(--primary);
  --blue-600: 37, 99, 235;
  --blue-700: 29, 78, 216;

  /* Typography scale */
  --font-size-xs: 0.75rem;
  --font-size-s: 0.875rem;
  --font-size-m: 1rem;
  --font-size-l: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --font-size-7xl: 4.5rem;
  --font-size-8xl: 6rem;

  --line-height-2xs: 0.875rem;
  --line-height-xs: 1rem;
  --line-height-s: 1.25rem;
  --line-height-m: 1.5rem;
  --line-height-l: 1.75rem;
  --line-height-xl: 1.75rem;
  --line-height-2xl: 2rem;
  --line-height-3xl: 2.25rem;
  --line-height-4xl: 2.5rem;

  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;

  --nav-height: 72px;
}

/* Light theme override */
.light_theme {
  --bg: 255, 255, 255;
  --text: 24, 24, 30;
}

/* Reset + defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Body/Article */
body {
  background: rgb(var(--bg));
  color: rgb(var(--text));
}
article {
  padding: 1rem 5% 5%;
  background: rgb(var(--bg));
  color: rgb(var(--text));
  height: auto;
}

/* Hero-like section */
section {
  padding: 3.5rem 1rem 2.25rem;
  background: rgb(var(--bg));
}

/* Section header patterns */
.section_header {
  text-align: center;
  padding: 3.5rem 1rem 2.25rem;
  margin-bottom: 2.25rem;
  font-family: var(--font-sans);
}
.section_kicker {
  margin: 0;
  font-size: var(--font-size-m);
  line-height: var(--line-height-2xl);
  font-weight: 600;
  color: rgba(var(--text), 0.7);
  letter-spacing: 0.01em;
}
.section_title {
  margin: 0;
  font-weight: 700;
  font-size: var(--font-size-5xl);
  line-height: 1.1;
  color: rgb(var(--text));
}
@media (max-width: 900px) {
  .section_kicker {
    font-size: var(--font-size-s);
  }
  .section_title {
    font-size: var(--font-size-4xl);
  }
}
@media (max-width: 560px) {
  .section_kicker {
    font-size: var(--font-size-xs);
  }
  .section_title {
    font-size: var(--font-size-3xl);
  }
}

/* Utilities */
.text-primary {
  color: rgb(var(--primary));
}
.bg-primary {
  background-color: rgb(var(--primary));
}
.btn-primary {
  background: rgb(var(--primary));
  color: white;
  border: 0;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
}
.navbar {
  height: var(--nav-height);
  background: rgb(var(--primary));
  color: white;
  position: sticky;
  top: 0;
}
