:root {
  --navy: #1a2a55;
  --navy-deep: #0f1c3d;
  --blue: #4a7fd6;
  --blue-light: #7aa8f0;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --text: #2a2f3a;
  --text-muted: #5a6478;
  --border: #e3e7ef;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 28, 61, 0.04), 0 1px 3px rgba(15, 28, 61, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 28, 61, 0.08), 0 2px 4px rgba(15, 28, 61, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 28, 61, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

h1, h2, h3 {
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; color: #fff; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 44px; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 6px 0;
  position: relative;
}
.primary-nav a:hover { color: var(--navy); }
.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 999px;
  transition: background 0.18s ease;
}
.nav-cta:hover { background: var(--blue); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* HERO */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74, 127, 214, 0.14), transparent 70%),
    linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%);
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(122, 168, 240, 0.10), transparent 60%);
  pointer-events: none;
}

.hero-inner { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }

.eyebrow, .section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.section-eyebrow.light { color: var(--blue-light); }

.lede {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 28px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 0;
  text-align: center;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* SECTIONS */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #d6deeb;
}
.section-dark h2 { color: #fff; }

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 32px;
}
.about-copy p { color: var(--text-muted); font-size: 1.05rem; }
.about-copy p:last-child { margin-bottom: 0; }

.about-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.about-badges li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}
.about-badges strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 2px;
}
.about-badges span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #c8d3e8;
}
.card h3 { margin-top: 8px; }
.card p { color: var(--text-muted); margin-bottom: 0; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }

/* PRINCIPLES */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 36px;
}
.principle {
  padding: 8px 4px;
}
.principle-num {
  font-family: -apple-system-mono, ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.principle h3 { color: var(--navy); }
.principle p { color: var(--text-muted); margin-bottom: 0; }

/* CONTACT */
.contact-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.contact-copy {
  color: #b6c1d6;
  font-size: 1.08rem;
  margin-bottom: 28px;
}

/* FOOTER */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo { height: 36px; width: auto; opacity: 0.9; }
.footer-copy {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}
.footer-contact { margin: 0; font-size: 0.92rem; }
.footer-contact a { color: var(--navy); font-weight: 500; }
.footer-contact a:hover { color: var(--blue); }

/* RESPONSIVE */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .primary-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .primary-nav a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
  }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta {
    margin: 10px 20px;
    text-align: center;
  }

  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
