:root {
  --bg: #0b1220;
  --bg-alt: #121b2e;
  --text: #e8edf7;
  --muted: #afbbd1;
  --primary: #4f8cff;
  --border: #243149;
  --card: #121a2b;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--primary);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

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

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.tag {
  color: var(--muted);
  margin: 0;
}

h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.intro {
  max-width: 720px;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.section {
  padding: 3.5rem 0;
}

.section h2 {
  margin-top: 0;
  font-size: 1.65rem;
}

.section p {
  color: var(--muted);
}

.alt-bg {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.contact-list li {
  margin: 0.35rem 0;
}

.note {
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  color: var(--muted);
}

.doc-main {
  padding: 2rem 0 4rem;
}

.doc-header {
  margin-bottom: 1rem;
}

.doc-header h1 {
  margin: 0;
}

.doc-meta {
  color: var(--muted);
}

.doc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
}

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