@font-face {
    font-family: 'Orbitron';
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
    src: url('../../fonts/orbitron-bold.woff2') format('woff2');
}

body {
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  font-family: var(--font-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-top: var(--space-2xl);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-top: var(--space-xl);
}

h4 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
  max-width: 70ch;
}

strong {
  font-weight: 600;
  color: var(--color-text-primary);
}

em {
  font-style: italic;
  color: var(--color-text-secondary);
}

ul {
  list-style: none;
  margin-bottom: var(--space-lg);
}

ul li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
}

ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.25em;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--color-border-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

figure {
  margin: var(--space-xl) 0;
  text-align: center;
}

img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: auto;
  max-width: 100%;
}

figcaption {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: italic;
}

dl {
  margin: var(--space-lg) 0;
}

dt {
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  font-size: 1.0625rem;
}

dd {
  margin-left: var(--space-lg);
  color: var(--color-text-secondary);
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-border);
}

aside {
  background-color: #eff6ff;
  border-left: 4px solid var(--color-primary);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  border-radius: var(--radius-md);
}

aside p {
  margin-bottom: 0;
  color: var(--color-text-primary);
}

aside strong {
  color: var(--color-primary);
}

::selection {
  background-color: var(--color-primary);
  color: white;
}

button,
[role="button"] {
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  min-height: var(--touch-min);
  padding: 0.75rem 1.5rem;
}

button:hover,
[role="button"]:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

button:active,
[role="button"]:active {
  transform: translateY(0);
}

main {
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (max-width: 240px) {
  body {
    font-size: 0.75rem;
  }
  
  h1 {
    font-size: 1.25rem;
  }
  
  h2 {
    font-size: 1.125rem;
  }
  
  h3, h4 {
    font-size: 1rem;
  }
}
