/* ============================================
   Foghorn — main.css
   Global reset, design tokens, layout utilities
   ============================================ */

/* Components: /css/components.css
   Page styles: /css/pages/<page>.css          */

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

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

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Design tokens --- */
:root {
  --bg: #0a0a0a;
  --fg: #ffffff;
  --accent: #d5010d; /* Foghorn red */
  --accent-dark: #a80009;
  --muted: rgba(255, 255, 255, 0.65);

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  --max-width: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --nav-height: 72px;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --- Typography helpers --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}
