/* ==========================================================================
   ukcarronadebore.com - Foundation & Core Resets
   Prefix: ure-
   ========================================================================== */

:root {
  --bg: #0c0e12;
  --surface: #141822;
  --surface-alt: #1a1f2c;
  --surface-border: rgba(239, 242, 247, 0.16);
  --surface-border-hover: rgba(44, 248, 248, 0.45);
  --primary: #eff2f7;
  --primary-hover: #ffffff;
  --accent: #2cf8f8;
  --accent-glow: rgba(44, 248, 248, 0.25);
  --accent-secondary: #00d2ff;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(239, 242, 247, 0.08);
  --radius: 8px;
  --radius-lg: 14px;
  --header-bg: rgba(12, 14, 18, 0.94);
  --font-heading: 'Orbitron', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace, sans-serif;
  --font-body: 'Chakra Petch', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-w: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Accessibility Skip Link */
.ure-skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  background: var(--accent);
  color: #0c0e12;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  z-index: 99999;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-heading);
}

.ure-skip-link:focus {
  top: 1rem;
}

/* Base Typo */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

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

/* Utility Containers */
.ure-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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