/* ── DESIGN TOKENS ─────────────────────────────────── */
:root {
  --bg-primary:        #FFFFFF;
  --bg-surface:        #F8F9FA;
  --text-primary:      #111827;
  --text-secondary:    #6B7280;
  --border:            #E5E7EB;
  --accent-navy:       #1B3A5C;
  --accent-navy-light: #EEF3F8;
  --accent-red:        #9B2335;
  --shadow-sm:         0 1px 3px rgba(0,0,0,.07);
  --shadow-md:         0 4px 12px rgba(0,0,0,.10);
  --radius-card:       12px;
  --radius-pill:       999px;
  --transition:        200ms ease;
  --container:         1080px;
}

[data-theme="dark"] {
  --bg-primary:        #0D1117;
  --bg-surface:        #161B22;
  --text-primary:      #F0F6FC;
  --text-secondary:    #8B949E;
  --border:            #30363D;
  --accent-navy:       #4D8AB5;
  --accent-navy-light: #1B2D3E;
  --accent-red:        #C0394A;
  --shadow-sm:         0 1px 3px rgba(0,0,0,.3);
  --shadow-md:         0 4px 12px rgba(0,0,0,.4);
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: background var(--transition), color var(--transition);
}

h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── LAYOUT ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); opacity: .92; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent-navy);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1.5px solid var(--accent-navy);
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}
.btn-ghost:hover { background: var(--accent-navy-light); transform: translateY(-2px); }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 56px 0; }
  .section-title { font-size: 28px; }
}
