* {
  box-sizing: border-box;
}

:root {
  --bg: #07111f;
  --surface: #101827;
  --text: #f8fafc;
  --muted: #a8b3c7;
  --primary: #22c55e;
  --accent: #38bdf8;
  --border: rgba(255, 255, 255, 0.12);
  --radius: 28px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.22), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(56, 189, 248, 0.18), transparent 30%),
    linear-gradient(180deg, var(--bg), #0f172a);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.hero,
.cards,
.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 88px 0 66px;
}

.tag {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 800px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.16rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--primary);
  color: #052e16;
}

.button.secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.cards {
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cards article,
.section {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: var(--shadow);
}

.cards article {
  padding: 26px;
}

.cards strong {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #052e16;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.cards p,
.steps {
  color: var(--muted);
}

.section {
  margin-bottom: 24px;
  padding: 34px;
}

.steps {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  font-weight: 800;
}

.steps li {
  margin-bottom: 10px;
  break-inside: avoid;
}

.links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.links a {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 900px) {
  .cards,
  .links {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    columns: 1;
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .cards,
  .section {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    padding: 54px 0 42px;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 4.3rem);
  }

  .cards,
  .links {
    grid-template-columns: 1fr;
  }

  .actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 24px;
  }
}
