/* Base Reset & Typography */
@import './tokens.css';

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

body {
  font-family: var(--font-family-base);
  line-height: var(--lh-base);
  color: var(--c-gray-700);
  background-color: var(--c-gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  line-height: var(--lh-heading);
  font-weight: 700;
  color: var(--c-gray-900);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--c-primary);
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  transition: color 0.2s;
}

a:hover {
  color: var(--c-primary-dark);
  text-decoration: none;
}

/* Global Focus Style for Accessibility */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-shadow);
  border-radius: var(--radius-sm);
}

/* Visually Hidden utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

