:root {
  color-scheme: dark;
  --bg: #111516;
  --fg: #f6faf7;
  --muted: #a4ada8;
  --line: rgba(255, 255, 255, 0.1);
  --soft: rgba(255, 255, 255, 0.04);
  --primary: #7cf36f;
  --primary-ink: #102012;
  --amber: #f5c86a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(124, 243, 111, 0.18), transparent 38rem),
    radial-gradient(circle at 0% 45%, rgba(82, 176, 255, 0.08), transparent 22rem),
    radial-gradient(circle at 100% 90%, rgba(124, 243, 111, 0.1), transparent 24rem), #111516;
  color: var(--fg);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.58;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, black 20%, transparent 72%);
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 21, 22, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.brand-logo {
  display: block;
  height: 24px;
  width: auto;
}

.top-links,
.footer-links,
.langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.top-links a,
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.top-links a.active,
.top-links a:hover,
.footer-links a:hover {
  color: var(--fg);
}

.hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 72px 0;
}

.hero-content {
  max-width: 820px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(124, 243, 111, 0.32);
  background: rgba(124, 243, 111, 0.1);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 5px 12px;
  border-radius: 999px;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 14px rgba(124, 243, 111, 0.8);
}

h1 {
  max-width: 900px;
  margin: 18px 0 0;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.updated {
  margin-top: 16px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 0 40px -8px rgba(124, 243, 111, 0.7);
}

.contact-cta:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

.content-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 32px;
  padding: 56px 0 64px;
}

.toc {
  position: sticky;
  top: 88px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 16px;
  padding: 20px;
}

.toc-title {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 4px 0;
}

.toc a:hover {
  color: var(--fg);
}

.cards {
  display: grid;
  gap: 16px;
}

.notice,
.review-note,
section.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
}

.notice {
  border-color: rgba(245, 200, 106, 0.26);
  background: rgba(245, 200, 106, 0.06);
  color: #f7dfaa;
  padding: 14px 16px;
  font-size: 0.92rem;
}

.notice strong {
  color: var(--fg);
}

section.card {
  scroll-margin-top: 92px;
  padding: 24px;
  box-shadow: 0 20px 70px -54px rgba(124, 243, 111, 0.55);
}

section.card h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(124, 243, 111, 0.14);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(124, 243, 111, 0.28);
  font-size: 0.78rem;
  font-weight: 900;
}

section.card p,
section.card ul {
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
}

section.card ul {
  padding-left: 20px;
  margin-top: 10px;
}

section.card li {
  margin-bottom: 6px;
}

.review-note {
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
}

.footer-stack {
  display: grid;
  gap: 24px;
  justify-items: center;
}

.footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.chip {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.75rem;
}

@media (max-width: 860px) {
  .content-grid {
    display: block;
    padding-top: 40px;
  }

  .toc {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1180px);
  }
  .header-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-header .brand-logo {
    display: none;
  }
  .hero {
    padding: 54px 0;
  }
  section.card {
    padding: 20px;
  }
}
