/**
 * Athyr Base Styles
 * Reset, body defaults, and global element styles
 */

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

/* Base */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-dark);
  color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 {
  font-size: 4rem;
  letter-spacing: var(--letter-spacing-wide);
}

h2 {
  font-size: 2.5rem;
  letter-spacing: var(--letter-spacing-tight);
}

h3 {
  font-size: 1.125rem;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-white);
}

/* Lists */
ul, ol {
  list-style: none;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Code */
code, pre {
  font-family: var(--font-display);
}

/* Selection */
::selection {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Section Title (brand pattern) */
.section-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--color-gray-400);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  text-align: center;
}
