/* Shared styling for the Road To DSE policy pages */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  color-scheme: light dark;
  --background: #f8fafc;
  --surface: #ffffff;
  --text: #1f2937;
  --accent: #2563eb;
  --muted: #64748b;
  --border: #e2e8f0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-header {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #fff;
  padding: 3rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
}

.page-header p {
  margin: 0.5rem auto 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.85);
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.tab-link {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.tab-link:hover,
.tab-link:focus {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.tab-link span {
  font-size: 1.15rem;
}

.content-wrapper {
  flex: 1;
  padding: 2.5rem 1.5rem 4rem;
}

.content {
  max-width: 960px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: clamp(2rem, 4vw, 3rem);
}

.content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  color: #0f172a;
}

.content h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  color: #1e293b;
}

.content p,
.content li {
  color: var(--muted);
}

.content ul {
  padding-left: 1.25rem;
}

.content li + li {
  margin-top: 0.75rem;
}

.meta {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.page-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #f1f5f9;
}

@media (max-width: 640px) {
  .tabs {
    flex-direction: column;
  }

  .tab-link {
    justify-content: center;
  }
}
