:root {
  /* Color Palette - Strict Monochrome with Blue Accent */
  --color-primary: #111111;
  --color-secondary: #6b7280;
  --color-background: #ffffff;
  --color-footer: #f8f9fa;
  --color-button: #2563eb;
  --color-section-1: #ffffff;
  --color-section-2: #f8f9fa;
  --color-section-3: #ffffff;
  
  /* Typography Scale */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Spacing System - Generous Whitespace */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-base: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-pill: 9999px;
  
  /* Shadows - Minimal & Refined */
  --shadow-subtle: 0 1px 3px 0 rgba(17, 17, 17, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(17, 17, 17, 0.08);
  --shadow-elevated: 0 10px 15px -3px rgba(17, 17, 17, 0.1);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-primary);
  background-color: var(--color-background);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  letter-spacing: -0.05em;
}

h2 {
  font-size: var(--font-size-4xl);
  font-weight: 600;
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--space-4);
  max-width: 65ch;
}

.lead {
  font-size: var(--font-size-lg);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-secondary);
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-button);
}

a:focus {
  outline: 2px solid var(--color-button);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Lists */
ul, ol {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

li {
  margin-bottom: var(--space-2);
}

/* Layout Components */
.section {
  padding: var(--space-24) 0;
}

.section--hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section--light {
  background-color: var(--color-section-2);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards - Minimal Design */
.card {
  background: var(--color-background);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all 0.3s ease;
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.card--elevated {
  box-shadow: var(--shadow-card);
  border: none;
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-3);
}

.card__content {
  color: var(--color-secondary);
  line-height: 1.6;
}

/* Buttons - Pill-shaped as requested */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn--primary {
  background-color: var(--color-button);
  color: white;
}

.btn--primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn--secondary:hover {
  background-color: var(--color-primary);
  color: white;
}

.btn--link {
  background: none;
  color: var(--color-button);
  padding: var(--space-2) 0;
  text-transform: none;
  letter-spacing: normal;
  position: relative;
}

.btn--link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-button);
  transition: width 0.3s ease;
}

.btn--link:hover::after {
  width: 100%;
}

/* Forms */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius-base);
  background-color: var(--color-background);
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-button);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) 0;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
}

.nav__link {
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
  letter-spacing: 0.05em;
  padding: var(--space-2) 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--color-button);
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

/* Header */
.header {
  background-color: var(--color-background);
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}

/* Footer */
.footer {
  background-color: var(--color-footer);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: var(--space-24);
}

.footer__content {
  text-align: center;
  color: var(--color-secondary);
}

.footer__text {
  font-size: var(--font-size-sm);
}

/* Hero Section */
.hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: var(--font-size-6xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-secondary);
  margin-bottom: var(--space-12);
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.p-0 { padding: 0; }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.hidden {
  display: none;
}

.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;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .section {
    padding: var(--space-16) 0;
  }
  
  .section--hero {
    min-height: 80vh;
  }
  
  h1 {
    font-size: var(--font-size-4xl);
  }
  
  h2 {
    font-size: var(--font-size-3xl);
  }
  
  .hero__title {
    font-size: var(--font-size-4xl);
  }
  
  .hero__subtitle {
    font-size: var(--font-size-lg);
  }
  
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  
  .nav__menu {
    gap: var(--space-4);
  }
  
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .nav {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .nav__menu {
    gap: var(--space-6);
  }
  
  .section {
    padding: var(--space-12) 0;
  }
  
  h1 {
    font-size: var(--font-size-3xl);
  }
  
  .hero__title {
    font-size: var(--font-size-3xl);
  }
}

/* Focus states for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--color-button);
  outline-offset: 2px;
}

/* Smooth transitions for interactive elements */
button,
input,
textarea,
select,
.card,
.btn {
  transition: all 0.2s ease;
}

/* Selection styling */
::selection {
  background-color: var(--color-button);
  color: white;
}

::-moz-selection {
  background-color: var(--color-button);
  color: white;
}

/* Scrollbar styling (webkit browsers) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-footer);
}

::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: var(--radius-base);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}


/* 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;
    }
}