:root {
  --bg: #0f1b39;
  --card: #121823;
  --muted: #8aa0b2;
  --text: #e6edf3;
  --accent: #5dd0ff;
  --accent-2: #25238d;
  --border: #1e293b;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --r-xl: 18px;
  --r-lg: 14px;
  --r-md: 10px;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --maxw: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Garamond, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(9, 13, 18, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--text);
}

.brand-name {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.2px;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 10px;
}

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

.cta {
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #001319 !important;
  padding: 10px 14px !important;
  border-radius: 12px;
  font-weight: 800 !important;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  width: 48px;
  color: var(--text);
}

.hamburger .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    gap: 8px;
    background: rgba(11, 15, 20, 0.96);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 12px;
    width: min(86vw, 360px);
    box-shadow: var(--shadow);
    z-index: 100;
  }

  .nav-links a {
    padding: 10px 12px;
    border-radius: 8px;
  }

  .nav-links.open {
    display: flex;
  }
}

.section {
  max-width: var(--maxw);
  margin: 8px auto;
  padding: 24px 20px 60px;
}

.section h2 {
  font-size: clamp(22px, 3vw, 34px);
  margin: 0 0 14px;
  letter-spacing: -0.3px;
}

.section p.lead {
  color: var(--muted);
  margin: 0 0 22px;
}

.intro {
  max-width: var(--maxw);
  margin: 16px auto 10px;
  padding: 0 20px;
}

.intro h1 {
  margin: 12px 0 6px;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.3px;
}

.intro p {
  color: var(--muted);
  margin: 0 0 16px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 20px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--text);
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
