@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --color-primary: #000917;
  --color-primary-container: #0D2137;
  --color-secondary: #006687;
  --color-secondary-container: #87D6FE;
  --color-on-tertiary-container: #BF7639;
  --color-surface: #F8F9FF;
  --color-surface-container-low: #EFF4FF;
  --color-surface-container: #E6EEFF;
  --color-on-surface: #0D1C2E;
  --color-on-surface-variant: #44474D;
  --color-outline: #74777D;
  --color-outline-variant: #C4C6CD;
  --max-width: 1280px;
  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-full: 9999px;
  --font-display: 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-surface);
  color: var(--color-on-surface);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.site-header {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo__img {
  height: 52px;
  width: auto;
  display: block;
}

/* ---- Nav ---- */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.10);
}

/* ---- Hamburger ---- */
.nav-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: none;
  padding: 8px;
  line-height: 1;
  font-size: 22px;
  margin-left: 8px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-primary-container);
  color: rgba(255,255,255,0.70);
  padding: 40px 0;
  font-size: 14px;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.site-footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  display: inline-block;
}

.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  text-align: right;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-on-surface);
  margin-top: 0;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

p { margin: 0 0 1rem; }

.label-md {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- Utilities ---- */
.text-secondary { color: var(--color-secondary); }
.text-muted { color: var(--color-on-surface-variant); }

/* ---- Mobile ---- */
@media (max-width: 767px) {
  h1 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.01em;
  }

  h2 { font-size: 20px; line-height: 28px; }

  .container { padding: 0 16px; }

  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-primary);
    padding: 12px 16px 16px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a { padding: 10px 12px; }

  .site-footer .container {
    grid-template-columns: 1fr;
  }

  .footer-disclaimer { text-align: left; }
}
