:root {
  /* Palette built around the footer navy (#0f172a) and the logo navy (#172032) */
  --color-navy: #0f172a;
  --color-navy-soft: #1e293b;
  --color-primary: #2c4779;
  --color-primary-dark: #1b2a4b;
  --color-primary-light: #e6ebf4;
  --color-primary-tint: #edf1f7;
  --color-on-dark: #d4dcea;
  --color-link-on-dark: #adc0e0;
  --color-text: var(--color-navy);
  --color-muted: #475569;
  --color-bg: #ffffff;
  --color-bg-alt: #f1f5f9;
  --color-border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 4px 16px rgba(15, 23, 42, 0.06);
  --max-width: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-primary);
}

a:hover {
  color: var(--color-primary-dark);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

address {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  width: 180px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  color: var(--color-muted);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.site-nav a[aria-current="page"] {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-primary-tint) 0%, #ffffff 60%);
  padding: 6rem 0 5rem;
}

.hero-inner {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1875rem;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary-light);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-header {
  background: linear-gradient(135deg, var(--color-primary-tint) 0%, #ffffff 70%);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.about {
  max-width: 820px;
  text-align: center;
}

.about .section-title {
  margin-bottom: 1.25rem;
}

/* Grid & cards */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-single {
  max-width: 440px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
}

.contact-card .card-icon {
  margin-left: auto;
  margin-right: auto;
}

.contact-card h2 {
  font-size: 1.25rem;
}

.contact-card a {
  word-break: break-word;
}

.coming-soon {
  text-align: center;
  font-size: 1.1875rem;
  color: var(--color-muted);
  margin: 0;
}

/* CTA */
.cta {
  background: var(--color-primary);
  color: #fff;
}

.cta-inner {
  text-align: center;
  max-width: 720px;
}

.cta p {
  color: var(--color-on-dark);
}

.cta .btn-primary {
  background: #fff;
  color: var(--color-primary);
}

.cta .btn-primary:hover {
  background: var(--color-primary-light);
}

/* 404 */
.not-found {
  display: flex;
  align-items: center;
  padding: 6rem 0;
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: #cbd5e1;
  padding-top: 3rem;
  font-size: 0.9375rem;
}

.site-footer a {
  color: var(--color-link-on-dark);
}

.site-footer a:hover {
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-inner p {
  margin-bottom: 0.5rem;
}

.footer-logo {
  width: 237px;
  height: auto;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--color-navy-soft);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 1.5rem 1rem;
  }

  .site-nav.open {
    display: flex;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
