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

:root {
  --bg: #0F1117;
  --surface: #181C27;
  --surface-2: #1E2333;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(99,140,255,0.35);
  --blue: #4C6EF5;
  --blue-bright: #638CFF;
  --blue-dim: rgba(76,110,245,0.55);
  --blue-glow: rgba(76,110,245,0.12);
  --text: #FFFFFF;
  --text-muted: rgba(255,255,255,0.5);
  --text-dim: rgba(255,255,255,0.3);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 1.7;
}

header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  gap: 1rem;
}

.wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: flex;
  gap: 0.4em;
}

.wordmark .w1 { color: var(--text); }
.wordmark .w2 { color: var(--blue-bright); }

.nav-back {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-back:hover { color: var(--blue-bright); }

main {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  width: 100%;
}

.page-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.6rem;
}

.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  letter-spacing: 0.05em;
  line-height: 1.05;
  margin-bottom: 0.4rem;
}

.page-title .highlight { color: var(--blue-bright); }

.page-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.contact-card {
  background: var(--blue-glow);
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.contact-email {
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue-bright);
}

.contact-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

section {
  margin-bottom: 2.5rem;
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  margin-top: 1.25rem;
}

p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

.tab-row {
  display: flex;
  gap: 0;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.tab {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.tab.active {
  color: var(--blue-bright);
  border-bottom-color: var(--blue-bright);
}

.tab:hover:not(.active) { color: var(--text); }

a { color: var(--blue-bright); }

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

footer a { color: var(--blue-dim); text-decoration: none; }

@media (max-width: 480px) {
  .page-title { font-size: 2.2rem; }
  main { padding: 2rem 1.25rem 3rem; }
  header { padding: 1.25rem; }
}
