/* ========================================
   NEONTRIP — Base Styles
   Font: Inter, Colors: #0A0A0A / #F5F5F5 / #810180
   ======================================== */

/* Google Fonts loaded via <link> in HTML for non-blocking render */

/* CSS Variables */
:root {
  --color-dark: #0A0A0A;
  --color-light: #F5F5F5;
  --color-white: #FFFFFF;
  --color-accent: #810180;
  --color-accent-hover: #6a016a;
  --color-gray-100: #f7f7f7;
  --color-gray-200: #e5e5e5;
  --color-gray-300: #d4d4d4;
  --color-gray-400: #a3a3a3;
  --color-gray-500: #737373;
  --color-gray-600: #525252;
  --color-gray-700: #404040;
  --color-gray-800: #262626;
  --color-gray-900: #171717;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --max-width: 1200px;
  --max-width-narrow: 800px;
  --header-height: 72px;
  --border-radius: 8px;
  --transition: 0.2s ease;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-white);
}

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

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

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

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip link */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: var(--space-lg);
  z-index: 200;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--color-white);
}

ul, ol {
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.35em;
}

address {
  font-style: normal;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

/* Sections */
.section {
  padding: var(--space-4xl) 0;
}

.section--cream {
  background: var(--color-gray-100);
  min-height: calc(100vh - var(--header-height));
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-dark);
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 600;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

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