:root {
  --bg: #0b1020;
  --card: #141a33;
  --accent: #4ade80;
  --accent-soft: rgba(74, 222, 128, 0.12);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
  color: var(--text);
}

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

a:hover {
  text-decoration: underline;
}

/* Layout */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.75));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #4ade80, #22c55e 60%, #16a34a 100%);
  font-size: 0.8rem;
  font-weight: 700;
  color: #020617;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
}

.nav a:hover {
  color: var(--accent);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #022c22;
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: #020617;
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--muted);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero */

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

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--muted);
  font-size: 0.8rem;
}

.hero h1 {
  margin: 1rem 0 0.5rem;
  font-size: 2.2rem;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-aside {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  padding: 1.5rem 1.3rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top, #111827, #020617);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.65);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.hero-card ol {
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card-foot {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-gray {
  background: radial-gradient(circle at top, #020617, #020617);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step {
  padding: 1.3rem 1.1rem;
  border-radius: 1rem;
  background: #020617;
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Notice */

.notice {
  margin-top: 2rem;
  padding: 1.3rem 1.2rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(248, 250, 252, 0.05);
}

.notice h3 {
  margin: 0 0 0.6rem;
}

.notice ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* FAQ */

.faq details {
  margin-bottom: 0.6rem;
  padding: 0.9rem 0.8rem;
  border-radius: 0.7rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(75, 85, 99, 0.8);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contacts */

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contacts-card {
  padding: 1.4rem 1.2rem;
  border-radius: 1rem;
  background: #020617;
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.contacts-card h3 {
  margin-top: 0;
}

/* Legal */

.legal ul {
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-note {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 1);
  padding: 1.3rem 0 1.8rem;
  background: #020617;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links a {
  margin-left: 0.8rem;
}

/* Responsive */

 @media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    justify-content: flex-start;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .header-inner {
    gap: 0.75rem;
  }

  .nav {
    display: none;
  }
}

 @media (max-width: 640px) {
  .hero {
    padding-top: 2.5rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}