:root {
  color-scheme: dark;
  --bg: #0f1915;
  --surface: #17251f;
  --surface-soft: #1d3028;
  --ink: #f4f8f5;
  --muted: #b7c4bd;
  --brand: #71c7a8;
  --lime: #d8f27b;
  --line: rgba(255, 255, 255, 0.1);
  --danger: #ff9e88;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 5%, rgba(45, 128, 98, 0.28), transparent 32rem),
    var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

a:hover,
a:focus-visible {
  color: #edffae;
}

.wrap {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
}

header {
  padding: 24px 0;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  padding: 76px 0 92px;
}

.mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 23px;
  background: var(--lime);
  color: #10251d;
  font-size: 2.2rem;
  font-weight: 900;
  box-shadow: 0 18px 60px rgba(216, 242, 123, 0.16);
}

h1 {
  max-width: 720px;
  margin: 28px 0 16px;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.lead {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 72px;
}

.card,
.document {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(23, 37, 31, 0.88);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.15);
}

.card {
  display: block;
  min-height: 185px;
  padding: 22px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(216, 242, 123, 0.48);
}

.card h2 {
  margin: 18px 0 6px;
  font-size: 1.2rem;
}

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

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(216, 242, 123, 0.12);
  color: var(--lime);
  font-weight: 900;
}

.document {
  margin: 36px 0 70px;
  padding: clamp(22px, 5vw, 54px);
}

.document h1 {
  margin-top: 0;
  font-size: clamp(2.2rem, 7vw, 4rem);
}

.document h2 {
  margin: 36px 0 10px;
  color: var(--lime);
  font-size: 1.16rem;
  line-height: 1.35;
}

.document p,
.document li {
  color: var(--muted);
}

.document strong {
  color: var(--ink);
}

.meta {
  color: #8fa198;
  font-size: 0.88rem;
}

.blocker {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(255, 158, 136, 0.35);
  border-radius: 16px;
  background: rgba(141, 51, 35, 0.17);
  color: #ffd3c8 !important;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: 16px;
  background: var(--lime);
  color: #10251d;
  font-weight: 900;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  color: #10251d;
  background: #e8fa9d;
}

footer {
  padding: 0 0 38px;
  color: #82938a;
  font-size: 0.86rem;
  text-align: center;
}

@media (max-width: 720px) {
  nav {
    align-items: flex-start;
  }

  .nav-links {
    max-width: 220px;
  }

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

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

  .card {
    min-height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card {
    transition: none;
  }
}
