:root {
  --bg-night: #0b1223;
  --bg-emerald: #05453a;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #dbe5ee;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --soft-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "Noto Sans", sans-serif;
  color: #dbe7f2;
  line-height: 1.5;
  background:
    radial-gradient(1300px 700px at 15% -10%, #164e63 0%, transparent 55%),
    radial-gradient(1100px 700px at 100% 0%, #14532d 0%, transparent 55%),
    linear-gradient(160deg, var(--bg-night), var(--bg-emerald));
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 82px 20px 62px;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: -48px 0 24px;
  padding: 12px 0;
  background: rgba(11, 18, 35, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.4);
  background: rgba(2, 6, 23, 0.24);
  color: #dbeafe;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.top-nav a[aria-current="page"] {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(147, 197, 253, 0.65);
  color: #eff6ff;
}

.top-nav .nav-cta {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.top-nav .nav-cta:hover {
  background: var(--primary-hover);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 35, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  margin: -82px -20px 22px;
  padding: 0 20px;
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: #f8fafc;
  text-decoration: none;
  margin-right: auto;
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  transition: color 150ms, background 150ms;
}

.nav-links a:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.07);
}

.nav-links a[aria-current="page"] {
  background: rgba(37, 99, 235, 0.22);
  color: #eff6ff;
}

.nav-cta {
  margin-left: 8px;
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 8px 16px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.nav-cta:hover {
  background: var(--primary-hover) !important;
}

.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.top-nav a:hover {
  background: rgba(15, 23, 42, 0.45);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 18px;
  color: #dbe7f2;
  max-width: 840px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.btn-primary,
.btn-secondary {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover { background: var(--primary-hover); }

.btn-secondary {
  color: #dbeafe;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(2, 6, 23, 0.26);
}

.grid {
  display: grid;
  gap: 12px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
  padding: 16px;
}

.card h2,
.card h3 {
  margin-top: 0;
  color: #0f172a;
}

.card p,
.card li,
.card a {
  color: #334155;
}

.card a {
  color: #1d4ed8;
  font-weight: 700;
}

.section-title {
  margin: 22px 0 10px;
  font-size: 24px;
  color: #f8fafc;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  font-size: 14px;
}

footer {
  margin-top: 34px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 18px;
  color: #cbd5e1;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-links a {
  color: #dbeafe;
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover { text-decoration: underline; }

.footer-copy {
  color: #cbd5e1;
}

.note {
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 880px) {
  .wrap {
    padding-top: 92px;
  }

  .top-nav {
    margin-top: -58px;
  }

  .top-nav .nav-cta {
    margin-left: 0;
  }

  .nav {
    margin-top: -92px;
  }

  .nav-hamburger {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(11, 18, 35, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    padding: 16px;
    gap: 4px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
