:root {
  --bg: #081326;
  --bg-soft: #10213a;
  --card: #152b4b;
  --line: #28456c;
  --text: #dce6f5;
  --muted: #9fb3cf;
  --accent: #53d1a8;
  --accent-2: #f2c66d;
  --danger: #ea6f70;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% -10%, #1d3f67 0%, transparent 45%), linear-gradient(145deg, #070f1f 0%, #0d1c33 55%, #101c2e 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(0.9rem, 3vw, 2rem);
  background: rgba(8, 19, 38, 0.92);
  border-bottom: 1px solid rgba(83, 209, 168, 0.28);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 180px;
  max-width: 45vw;
  height: auto;
}

.top-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.top-nav a {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  color: var(--text);
  border-color: var(--line);
  background: rgba(21, 43, 75, 0.7);
}

.page-wrap {
  width: min(1120px, 94vw);
  margin: 1rem auto 2rem;
}

.site-footer {
  width: min(1120px, 94vw);
  margin: 0 auto 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.9rem;
  font-size: 0.92rem;
}

.button-link,
button {
  border: 0;
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.button-link.primary,
button.primary {
  text-decoration: none;
  background: var(--accent);
  color: #062a1c;
}

.button-link.secondary,
button.secondary {
  text-decoration: none;
  background: rgba(21, 43, 75, 0.85);
  color: var(--text);
  border: 1px solid var(--line);
}

.section-title {
  margin: 1.1rem 0 0.8rem;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    width: 150px;
  }

  .site-footer {
    font-size: 0.86rem;
  }
}