:root {
  color-scheme: dark;
  --bg: #06100a;
  --panel: #0d1d12;
  --panel-2: #11291a;
  --text: #f3fff6;
  --muted: #a5b9aa;
  --neon: #7cff45;
  --emerald: #38d978;
  --line: rgba(124, 255, 69, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 0%, rgba(56, 217, 120, 0.17), transparent 32rem),
    linear-gradient(160deg, #06100a, #08150c 50%, #050b07);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.75;
}

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

.shell {
  width: min(960px, calc(100% - 40px));
  min-height: calc(100vh - 90px);
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  align-items: start;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(17, 41, 26, 0.96), rgba(8, 22, 13, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.mark {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 26px;
  color: #071008;
  background: linear-gradient(145deg, var(--neon), var(--emerald));
  font-size: 56px;
  font-weight: 900;
  box-shadow: 0 0 42px rgba(124, 255, 69, 0.24);
}

.eyebrow,
.tag {
  margin: 0 0 10px;
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.7rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
}

h2 {
  margin: 0 0 8px;
  line-height: 1.45;
}

p {
  margin: 0;
}

.lead {
  max-width: 700px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.card,
.notice,
.document section {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(13, 29, 18, 0.86);
}

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

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 255, 69, 0.42);
}

.card p,
.notice p,
.document section p {
  color: var(--muted);
}

.link-label {
  display: inline-block;
  margin-top: 22px;
  color: var(--neon);
  font-weight: 750;
}

.notice {
  margin-top: 18px;
  padding: 28px;
}

.document {
  max-width: 780px;
}

.document nav {
  margin-bottom: 42px;
}

.document nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.document > .lead {
  margin-bottom: 30px;
}

.document section {
  margin-top: 14px;
  padding: 24px;
}

.button {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 13px;
  color: #071008;
  background: var(--neon);
  font-weight: 800;
  text-decoration: none;
}

footer {
  height: 90px;
  color: #6f8375;
  text-align: center;
  font-size: 0.8rem;
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 960px);
    padding: 32px 0 48px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 26px;
    border-radius: 24px;
  }

  .mark {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    font-size: 42px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
}
