:root {
  --bg: #0b1f34;
  --bg-soft: #112b47;
  --panel: #14375a;
  --accent: #ffd447;
  --accent-deep: #ffb703;
  --text: #f7fbff;
  --text-muted: rgba(247, 251, 255, 0.8);
  --border: rgba(247, 251, 255, 0.2);
  --max: 1080px;
  --radius: 16px;
  --shadow: 0 14px 34px rgba(5, 10, 20, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(1200px 640px at 12% -5%, rgba(255, 212, 71, 0.2) 0%, rgba(255, 212, 71, 0)
        55%),
    radial-gradient(900px 640px at 96% 6%, rgba(17, 43, 71, 0.9) 0%, rgba(17, 43, 71, 0) 64%),
    linear-gradient(160deg, #081626 0%, #0b1f34 48%, #102d4a 100%);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #ffe07c;
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(8, 22, 38, 0.88);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a {
  color: var(--text-muted);
  padding: 8px 11px;
  border-radius: 10px;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-links a:hover {
  background: rgba(255, 212, 71, 0.14);
  color: var(--text);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  background: rgba(255, 212, 71, 0.19);
  color: var(--text);
}

.page {
  padding: 30px 0 42px;
}

.hero {
  background: linear-gradient(165deg, rgba(20, 55, 90, 0.76), rgba(11, 31, 52, 0.83));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.kicker {
  margin: 0 0 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hero h1 {
  margin: 0 0 8px;
  line-height: 1.14;
  font-size: clamp(28px, 4vw, 42px);
}

.subtitle {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 1.06rem;
}

.lead {
  margin: 0 0 20px;
  max-width: 72ch;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(9, 26, 44, 0.58);
  padding: 18px;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

li {
  margin: 8px 0;
}

.prose {
  background: rgba(20, 55, 90, 0.68);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.prose h1 {
  margin: 0 0 12px;
  font-size: 1.9rem;
}

.prose h2 {
  margin: 20px 0 8px;
  font-size: 1.18rem;
}

.prose p {
  margin: 0 0 12px;
}

.muted {
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(6, 19, 33, 0.84);
}

.footer-inner {
  padding: 18px 0;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-inner a {
  color: var(--accent);
}

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

  .grid {
    grid-template-columns: 1fr;
  }
}
