:root {
  --bg: #0d1117;
  --bg-card: #161b22;
  --bg-section: #0f1319;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #58a6ff;
  --accent-soft: rgba(88, 166, 255, 0.15);
  --border: #30363d;
  --font-sans: 'Manrope', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 80px 0 72px;
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg) 100%);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* Sections */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text);
}

.text-block h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 14px;
  color: var(--text);
}

.text-block h3:first-child {
  margin-top: 0;
}

.text-block p {
  margin-bottom: 18px;
  color: var(--text-muted);
}

.text-block p:last-child {
  margin-bottom: 0;
}

.text-block strong {
  color: var(--text);
}

/* Contacts */
.contacts {
  padding: 72px 0 80px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.contacts-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.contacts-desc {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1rem;
}

.contacts-box {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  padding: 32px 40px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.contact-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

.contact-value:hover {
  color: #79b8ff;
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
  .header .container {
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav {
    gap: 20px;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .section {
    padding: 48px 0;
  }

  .contacts-box {
    flex-direction: column;
    padding: 24px;
  }
}
