/* Modern CSS Reset */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text-mid);
  background-color: var(--surface-white);
  overflow-x: hidden;
}

/* Typography Reset */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-weight: 700;
  line-height: var(--lh-tight);
}

h1 {
  font-size: var(--fs-7xl);
  font-family: var(--font-display);
  color: var(--text-dark);
}

h2 {
  font-size: var(--fs-5xl);
  font-family: var(--font-heading);
  color: var(--text-dark);
}

h3 {
  font-size: var(--fs-3xl);
  font-family: var(--font-heading);
  color: var(--text-dark);
}

h4 {
  font-size: var(--fs-2xl);
  font-family: var(--font-heading);
  color: var(--text-dark);
}

h5 {
  font-size: var(--fs-xl);
  font-family: var(--font-body);
  color: var(--text-dark);
}

h6 {
  font-size: var(--fs-lg);
  font-family: var(--font-body);
  color: var(--text-mid);
}

p {
  margin: 0;
  line-height: var(--lh-relaxed);
}

/* Links */
a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-gold-hover);
}

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

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

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Forms */
button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  border: none;
}

textarea {
  resize: vertical;
}

/* Remove default button/input styling */
input[type="button"],
input[type="submit"],
input[type="reset"],
button {
  -webkit-appearance: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder {
  opacity: 0.6;
}

/* Emphasis */
strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

/* Code */
code, pre {
  font-family: 'Monaco', 'Courier New', monospace;
}

/* Horizontal Rule */
hr {
  border: none;
  border-top: 1px solid var(--surface-light);
  margin: var(--spacing-xl) 0;
}

/* Blockquote */
blockquote {
  margin: 0;
  padding: var(--spacing-lg);
  border-left: 4px solid var(--accent-gold);
}
