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

html { scroll-behavior: smooth; font-family: 'Inter', system-ui, sans-serif; }

body { -webkit-font-smoothing: antialiased; }

/* Skip link */
.skip-link { position: absolute; top: -999px; left: 0; background: #1A1A2E; color: #fff; padding: 0.5rem 1rem; z-index: 9999; }
.skip-link:focus { top: 0; }

/* Hex background pattern */
.bg-hex-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%2300B4D8' fill-opacity='0.06' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Scroll margin for anchor links */
.scroll-mt-20 { scroll-margin-top: 5rem; }

/* Text balance */
.text-balance { text-wrap: balance; }

/* Prose tables */
.legal-content table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.legal-content th { text-align: left; padding: 0.5rem 1rem 0.5rem 0; font-weight: 600; color: #1A1A2E; border-bottom: 1px solid #e5e7eb; }
.legal-content td { padding: 0.5rem 1rem 0.5rem 0; border-bottom: 1px solid #f3f4f6; color: #6C757D; }

/* Cookie banner */
#cookie-banner { display: none; }
#cookie-banner.visible { display: block; }

/* Transitions */
a { transition: color 0.15s ease; }
button { transition: background-color 0.15s ease, color 0.15s ease; }

/* Active nav link */
.nav-link-active { color: #00B4D8 !important; }

/* Form inputs */
input, textarea, select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  color: #1A1A2E;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: #00B4D8;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}
input.error, textarea.error { border-color: #ef4444; }
.field-error { color: #ef4444; font-size: 0.75rem; margin-top: 0.25rem; display: block; }

label { display: block; font-size: 0.875rem; font-weight: 500; color: #1A1A2E; margin-bottom: 0.375rem; }

/* Lucide icons inline alignment */
[data-lucide] { display: inline-block; vertical-align: middle; }
