:root {
  --ink: #0b1c2c;
  --slate: #273646;
  --muted: #5a6a78;
  --accent: #1f5aa6;
  --accent-dark: #153f77;
  --accent-soft: #e3ebf6;
  --gold: #c58a2b;
  --panel: #ffffff;
  --outline: #d3dbe4;
  --shadow: 0 20px 50px rgba(11, 28, 44, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f6f8fb;
}

h1,
h2,
h3 {
  font-family: "IBM Plex Serif", "Times New Roman", serif;
  font-weight: 600;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

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

.container {
  width: min(1140px, 90vw);
  margin: 0 auto;
}

.page-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, #eef3fb 0%, transparent 45%),
    radial-gradient(circle at 90% 0%, #e1ebf8 0%, transparent 45%),
    linear-gradient(180deg, #f7f9fc 0%, #f2f5fa 100%);
  z-index: -3;
}

.page-lines {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(11, 28, 44, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 28, 44, 0.05) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.2;
  z-index: -2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 248, 251, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(211, 219, 228, 0.7);
}

.topbar {
  background: var(--ink);
  color: #f2f6fb;
  font-size: 0.85rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  position: relative;
}

.logo {
  font-family: "IBM Plex Serif", serif;
  font-weight: 600;
  letter-spacing: 0.6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  color: var(--slate);
}

.nav-links a:hover {
  color: var(--accent);
}

.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--ink);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.lead {
  font-size: 1.05rem;
  color: var(--slate);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 26px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 30px rgba(31, 90, 166, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(31, 90, 166, 0.32);
}

.btn.ghost {
  border-color: var(--outline);
  background: white;
  color: var(--slate);
}

.btn.small {
  padding: 8px 16px;
  font-size: 0.9rem;
  background: var(--accent);
  color: white;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(211, 219, 228, 0.9);
  background: white;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate);
  border-radius: 999px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--slate);
  font-size: 0.9rem;
}

.hero-tags span {
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-panel {
  background: var(--panel);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(211, 219, 228, 0.7);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.panel-grid {
  display: grid;
  gap: 16px;
}

.panel-item {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

.panel-title {
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--ink);
}

.section {
  padding: 70px 0;
}

.section-alt {
  background: #eef3f9;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.cards .card {
  background: var(--panel);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid rgba(211, 219, 228, 0.7);
  box-shadow: 0 10px 28px rgba(11, 28, 44, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(11, 28, 44, 0.12);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.risk-card {
  background: var(--panel);
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(211, 219, 228, 0.7);
}

.teams-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-card {
  background: var(--panel);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(211, 219, 228, 0.7);
  box-shadow: 0 12px 32px rgba(11, 28, 44, 0.08);
}

.team-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--slate);
}

.team-card li {
  margin-bottom: 10px;
}

.band {
  background: linear-gradient(120deg, #e7edf6 0%, #f7f4ee 100%);
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.band-list {
  display: grid;
  gap: 18px;
  font-weight: 500;
  color: var(--slate);
}

.band-list div {
  background: rgba(255, 255, 255, 0.8);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(211, 219, 228, 0.7);
  display: grid;
  gap: 8px;
}

.cta {
  padding: 80px 0;
  background: linear-gradient(120deg, rgba(31, 90, 166, 0.12), rgba(197, 138, 43, 0.12));
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.contact-form {
  background: var(--panel);
  padding: 26px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(211, 219, 228, 0.8);
  display: grid;
  gap: 16px;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  display: grid;
  gap: 8px;
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border: 1px solid var(--outline);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(31, 90, 166, 0.2);
  border-color: var(--accent);
}

.form-message {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate);
}

.site-footer {
  padding: 50px 0 30px;
  background: #0b1c2c;
  color: #e7eef3;
}

.site-footer p,
.site-footer li {
  color: rgba(231, 238, 243, 0.75);
  margin: 0 0 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.footer-title {
  font-weight: 600;
  color: white;
}

.footer-note {
  text-align: center;
  font-size: 0.85rem;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 44, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.reveal {
  animation: rise 0.8s ease forwards;
  opacity: 0;
  transform: translateY(18px);
}

.stagger > * {
  animation: rise 0.9s ease forwards;
  opacity: 0;
  transform: translateY(14px);
}

.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.15s; }
.stagger > *:nth-child(3) { animation-delay: 0.25s; }
.stagger > *:nth-child(4) { animation-delay: 0.35s; }
.stagger > *:nth-child(5) { animation-delay: 0.45s; }
.stagger > *:nth-child(6) { animation-delay: 0.55s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    background: white;
    padding: 20px;
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(211, 219, 228, 0.8);
    box-shadow: 0 16px 30px rgba(11, 28, 44, 0.12);
  }

  .nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
