/* 
 * Reset & Base 
 */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-family-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

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

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

a:hover {
  opacity: 0.7;
}

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* 
 * Typography
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em; /* Apple-style tight tracking for headings */
}

.mega-title {
  font-size: var(--font-size-mega);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.large-paragraph {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 400;
}

/* Utils */
.text-center {
  text-align: center;
}

.margin-top-lg {
  margin-top: var(--space-lg);
}

.margin-bottom-md {
  margin-bottom: var(--space-md);
}

.margin-bottom-lg {
  margin-bottom: var(--space-lg);
}
