/* Base styles with overflow prevention */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-size: var(--font-size-base);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-standard);
}

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

/* Lists */
ul,
ol {
  padding: 0;
}

/* Form elements with mobile-first accessibility */
input, select, textarea {
  min-height: 44px;
  font-size: 16px; /* Prevents zoom on iOS */
}

@media (min-width: 769px) {
  input, select, textarea {
    min-height: auto;
    font-size: var(--font-size-base);
  }
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* Accessibility */
*:focus {
  outline-width: 3px;
}

@media (min-width: 769px) {
  *:focus {
    outline-width: 2px;
  }
}

/* Coming soon page styles */
.coming-soon-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-professional-bg) 0%, var(--color-professional-dark) 100%);
  padding: var(--space-20);
}

.coming-soon-content {
  text-align: center;
  max-width: 600px;
  background: var(--color-professional-surface);
  padding: var(--space-32);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-professional-border);
}

.coming-soon-logo {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-professional-primary);
  margin-bottom: var(--space-16);
}

.coming-soon-title {
  font-size: var(--font-size-2xl);
  color: var(--color-professional-text);
  margin-bottom: var(--space-12);
}

.coming-soon-description {
  color: var(--color-professional-text-secondary);
  margin-bottom: var(--space-24);
  line-height: 1.6;
}