@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

:root {
  --color-primary: #fbf315;
  --color-primary-hover: #e8df00;
  --color-text: #1f1f1f;
  --color-muted: #666666;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f4f1;
  --color-bg-grey: #eeeeea;
  --color-border: #deded8;
  --color-focus: #005fcc;

  --font-base: 'Open Sans', Arial, Helvetica, sans-serif;

  --container: 1200px;
  --container-wide: 1360px;
  --container-narrow: 820px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.12em;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
  font-weight: 800;
  line-height: 1.15;
}

h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }

p { margin: 0 0 var(--space-md); }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 1rem;
  z-index: 1000;
  background: var(--color-black);
  color: var(--color-white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}
