:root {
  --bg: #0a1628;
  --card: #0f1f35;
  --text: #e8f0f8;
  --muted: #8ba4be;
  --cyan: #00d4ff;
  --orange: #ff8c00;
  --sea-1: #2b5876;
  --sea-2: #4e4376;
  --border: rgba(0, 212, 255, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(960px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 31, 53, 0.9);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.brand span em {
  color: var(--orange);
  font-style: normal;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
}

.nav a:hover,
.nav a.active {
  color: var(--cyan);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 48px 0 32px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.hero p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 24px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--sea-1));
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.92;
}

/* Ad slots */
.ad-wrap {
  margin: 28px auto;
  text-align: center;
}

.ad-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.ad-slot {
  min-height: 90px;
  background: rgba(15, 31, 53, 0.8);
  border: 1px dashed var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 16px;
  overflow: hidden;
}

.ad-slot--banner {
  min-height: 120px;
}

.ad-slot--sidebar {
  min-height: 250px;
}

/* Content */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding-bottom: 48px;
}

@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.card h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #fff;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 0.95rem;
}

.card ul {
  padding-left: 20px;
  margin-top: 10px;
}

.card li {
  margin-bottom: 6px;
}

.meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p + p {
  margin-top: 8px;
}

/* Inner pages */
.page-title {
  padding: 40px 0 24px;
}

.page-title h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.page-title p {
  color: var(--muted);
}

.prose h2 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
  color: #fff;
}

.prose p {
  color: var(--muted);
  margin-bottom: 12px;
}

.prose ul {
  color: var(--muted);
  padding-left: 20px;
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
