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

:root {
  --ink: #111111;
  --ink-soft: #555555;
  --accent: #0f2340;
  --accent-light: #1a3a5e;
  --accent-pale: #eef2f8;
  --rule: #e0e0e0;
  --surface: #f7f7f7;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

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

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-mark svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.nav-logo-text {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.nav-logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  transition: background 0.15s !important;
}

.nav-cta:hover {
  background: var(--accent-light) !important;
  color: var(--white) !important;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--accent);
}

.btn-primary:hover {
  background: #e8f0fb;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--accent);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* SECTIONS */
section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--ink);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.75;
}

/* PAGE HEADER (subpages) */
.page-header {
  background: linear-gradient(160deg, #070f1c 0%, #0f2340 60%, #1a3a5e 100%);
  color: var(--white);
  padding: 3rem 2rem;
}

.page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-header .section-label {
  color: #7eb8f7;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.65;
}

/* FOOTER */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 2.5rem 2rem;
  font-size: 0.85rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.footer-brand .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
}

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

footer a:hover {
  color: rgba(255,255,255,0.9);
}

/* DIVIDER */
.divider {
  height: 1px;
  background: var(--rule);
  max-width: 1100px;
  margin: 0 auto;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .nav-links { display: none; }
  section { padding: 3.5rem 1.5rem; }
  .page-header { padding: 2.5rem 1.5rem; }
}
