:root {
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
  padding: 0 16px;
}

.section {
  padding: 64px 0;
}

.text-center {
  text-align: center;
}

.mb-12 {
  margin-bottom: 48px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    width: 95%;
    padding: 0 20px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 48px 0;
  }
  
  .container {
    width: 100%;
    padding: 0 16px;
  }
  
  .grid {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 32px 0;
  }
  
  .container {
    padding: 0 12px;
  }
  
  .mb-12 {
    margin-bottom: 32px;
  }
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transition: .2s all ease;
  cursor: pointer;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

.btn i {
  font-size: .9rem;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: #2a3a55;
}

.btn-primary {
  background: var(--gradient-brand);
  border: none;
  color: #fff;
  box-shadow: 0 6px 16px rgba(233, 30, 99, .25);
}

.btn-outline {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .card {
    padding: 16px;
    border-radius: 12px;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  z-index: 1000;
  padding: 8px 12px;
  background: #000;
  color: #fff;
  border-radius: 8px;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Enforce dark theme by default, ignore data-theme toggle */
:root,
:root[data-theme="dark"],
html[data-theme="dark"],
body[data-theme="dark"]{
  color-scheme: dark;
}