/* ── Reset & tokens ───────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-800: #0d47a1;
  --blue-700: #1565c0;
  --blue-600: #1976d2;
  --blue-50: #e3f2fd;
  --surface: #fafafa;
  --surface-2: #f5f5f5;
  --on-surface: #212121;
  --on-surface-variant: #616161;
  --outline: #e0e0e0;
  --white: #ffffff;
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--white);
  color: var(--on-surface);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ── Header ───────────────────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-700);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-name {
  font-size: 20px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: 6px;
  transition:
    background 0.15s,
    color 0.15s;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.btn-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  transition:
    background 0.15s,
    transform 0.1s;
  white-space: nowrap;
}

.btn-open:hover {
  background: var(--blue-50);
  transform: translateY(-1px);
}

/* ── Shared components ────────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: var(--surface-2);
  border-top: 1px solid var(--outline);
  padding: 28px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: var(--on-surface-variant);
}

.footer-link {
  font-size: 13px;
  color: var(--blue-700);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}
