/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100vh; /* Constrain to viewport */
  overflow: hidden; /* Prevent HTML scroll */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fefefe;
  color: #1a1a1a;
  line-height: 1.6;
  font-weight: 400;
  overflow: hidden; /* Prevent body scroll */
  margin: 1rem;
  height: calc(100vh - 2rem); /* Account for margin */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

p {
  line-height: 1.7;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

input, textarea {
  font-family: inherit;
}

/* Hidden elements */
.honeypot {
  display: none;
}

/* Base animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid rgba(255, 60, 60, 0.5);
  outline-offset: 2px;
}

/* Selection styles */
::selection {
  background: rgba(255, 60, 60, 0.2);
  color: #1a1a1a;
}

/* Smooth transitions for all interactive elements */
* {
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}