:root {
  --primary: #2563eb;
  --primary-600: #1d4ed8;
  --secondary: #1e40af;
  --accent: #22c55e;
  --danger: #ef4444;
  --bg: #ffffff;
  --section-1: #ffffff;
  --section-2: #f1f5f9;
  --section-3: #e2e8f0;
  --footer-bg: #f8fafc;
  --text: #0f172a;
  --text-muted: #334155;
  --border: #0f172a;
  --border-width: 2px;
  --radius: 0px;
  --radius-sm: 4px;
  --shadow: 4px 4px 0 #000000;
  --shadow-sm: 2px 2px 0 #000000;
  --shadow-lg: 8px 8px 0 #000000;
  --focus: 2px dashed #000000;
  --container: 1200px;
  --gap: 1rem;
  --gap-lg: 2rem;
  --gap-xl: 3rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.5rem; line-height: 1.25; }
h4 { font-size: 1.25rem; line-height: 1.3; }
h5 { font-size: 1.125rem; line-height: 1.35; }
h6 { font-size: 1rem; line-height: 1.4; }

p {
  margin: 0 0 1rem 0;
  color: var(--text);
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 3rem 0;
  background: var(--section-1);
}

.section.alt {
  background: var(--section-2);
}

.section.dark {
  background: var(--section-3);
}

.header {
  border-bottom: var(--border-width) solid var(--border);
  background: var(--bg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo {
  width: 28px;
  height: 28px;
  border: var(--border-width) solid var(--border);
  border-radius: 50%;
  display: inline-block;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border: var(--border-width) solid transparent;
}

.nav-link:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-link.active {
  border-color: var(--border);
  background: var(--accent);
  color: #000000;
  box-shadow: var(--shadow-sm);
}

.main {
  min-height: 60vh;
}

.footer {
  background: var(--footer-bg);
  border-top: var(--border-width) solid var(--border);
  padding: 2rem 0;
  color: var(--text);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.footer-brand {
  font-weight: 700;
}

.footer-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border: var(--border-width) solid transparent;
}

.footer-link:hover {
  border-color: var(--border);
  background: var(--section-2);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gap-xl);
  align-items: center;
  padding: 3rem 0;
}

.hero-card {
  background: var(--bg);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero-visual {
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(
    45deg,
    var(--primary) 0,
    var(--primary) 12px,
    var(--secondary) 12px,
    var(--secondary) 24px
  );
  position: relative;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: var(--border-width) solid #000000;
  background: rgba(255,255,255,0.12);
  mix-blend-mode: screen;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.kicker {
  display: inline-block;
  background: var(--accent);
  color: #000000;
  padding: 0.25rem 0.5rem;
  border: var(--border-width) solid #000000;
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  gap: var(--gap-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--bg);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.card-title {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--text);
}

.badge {
  display: inline-block;
  border: var(--border-width) solid #000000;
  border-radius: var(--radius-sm);
  padding: 0.125rem 0.5rem;
  font-weight: 700;
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.badge.green {
  background: var(--accent);
  color: #000000;
}

.badge.blue {
  background: var(--secondary);
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: var(--border-width) solid #000000;
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 120ms ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.btn:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: var(--shadow-sm);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
}

.btn.secondary {
  background: var(--secondary);
  color: #ffffff;
}

.btn.success {
  background: var(--accent);
  color: #000000;
}

.btn.danger {
  background: var(--danger);
  color: #ffffff;
}

.btn.icon {
  width: 42px;
  height: 42px;
  padding: 0;
}

.form {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.375rem;
}

.label {
  font-weight: 700;
  color: var(--text);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: var(--focus);
  outline-offset: 2px;
}

.checkbox,
.radio {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: var(--border-width) solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.table th,
.table td {
  padding: 0.75rem 1rem;
  border-bottom: var(--border-width) solid var(--border);
  text-align: left;
  color: var(--text);
}

.table th {
  background: var(--section-2);
  font-weight: 800;
}

.table tr:last-child td {
  border-bottom: 0;
}

.alert {
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  background: var(--section-2);
  box-shadow: var(--shadow-sm);
}

.alert.info {
  background: #dbeafe;
  color: #000000;
}

.alert.success {
  background: #dcfce7;
  color: #000000;
}

.alert.warning {
  background: #fef3c7;
  color: #000000;
}

.alert.error {
  background: #fee2e2;
  color: #000000;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 700;
  color: var(--text);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: var(--border-width) solid transparent;
}

.breadcrumb a:hover {
  border-color: var(--primary);
}

.pagination {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.5rem;
  border: var(--border-width) solid var(--border);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.page:hover {
  background: var(--section-2);
}

.page.current {
  background: var(--primary);
  color: #ffffff;
}

.spacer { height: 1rem; }
.spacer-lg { height: 2rem; }
.spacer-xl { height: 3rem; }

.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;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .container { padding: 0 0.75rem; }
  .section { padding: 2rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .card {
    transition: none;
  }
}

@supports (aspect-ratio: 1 / 1) {
  .media {
    aspect-ratio: 16 / 9;
  }
}

[data-target] {
  cursor: pointer;
}

hr {
  border: 0;
  border-top: var(--border-width) solid var(--border);
  margin: 1rem 0;
}

::selection {
  background: var(--accent);
  color: #000000;
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}