:root {
  --navy: #1b2f8f;
  --navy-light: #2c40ad;
  --gold: #eab324;
  --gold-light: #f3cc5e;
  --bg: #f7f6f3;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --border: #e4e2dd;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

header.site-header {
  background: #fdfcfa;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand img { height: 34px; width: auto; display: block; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav.main-nav a {
  font-size: 0.95rem;
  color: rgba(27,47,143,0.75);
  transition: color 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active { color: var(--gold); }

.hero {
  background: linear-gradient(160deg, #eef1fb 0%, #f7f6f3 100%);
  color: var(--navy);
  padding: 5rem 1.5rem 6rem;
  text-align: center;
}

.hero-inner { max-width: 720px; margin: 0 auto; }

.hero img.logo {
  height: 88px;
  width: auto;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero p.tagline {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.hero .gold-rule {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 1.75rem auto;
  border-radius: 2px;
}

section { padding: 4.5rem 1.5rem; }

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

.section-header { text-align: center; max-width: 620px; margin: 0 auto 3rem; }

.section-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.section-header p { color: var(--muted); margin-top: 1rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.25rem;
}

.service-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.service-card p { color: var(--muted); font-size: 0.98rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.25rem;
  text-align: center;
}

.team-card .avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}

.team-card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 0.15rem; }
.team-card .role {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}
.team-card p.bio { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.25rem; }

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease;
}

.linkedin-link:hover { background: var(--navy); color: #fff; }

section.dark {
  background: var(--navy);
  color: #fff;
}

section.dark .section-header h2 { color: #fff; }
section.dark .section-header p { color: rgba(255,255,255,0.75); }

.app-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.app-card .app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.app-card .app-body { flex: 1; min-width: 220px; }

.app-card h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.app-card p { color: rgba(255,255,255,0.78); font-size: 0.98rem; }

.contact-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 3rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact-box a.email {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

footer.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site-footer a { color: var(--navy); font-weight: 600; }
footer.site-footer .footer-links {
  margin-top: 0.75rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.legal-page { max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem 5rem; }
.legal-page h1 { color: var(--navy); font-size: 2rem; margin-bottom: 2rem; }
.legal-page h2 { color: var(--navy); font-size: 1.2rem; margin: 2rem 0 0.75rem; }
.legal-page p, .legal-page li { color: var(--muted); margin-bottom: 0.5rem; }
.legal-page ul { padding-left: 1.25rem; }

@media (max-width: 640px) {
  nav.main-nav ul { gap: 1.1rem; }
  .hero h1 { font-size: 2rem; }
  .app-card { flex-direction: column; text-align: center; }
}
