:root {
  color-scheme: light;
  --bg: #f4fbff;
  --bg-2: #e8f7ec;
  --surface: #ffffff;
  --surface-soft: #f7fbf4;
  --ink: #183026;
  --muted: #5d7168;
  --line: #cfe4d7;
  --leaf: #3e9f5c;
  --leaf-dark: #1f6f3f;
  --sky: #74c7e7;
  --sun: #f6c65b;
  --mud: #7a5a35;
  --shadow: 0 18px 50px rgba(30, 84, 66, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(116, 199, 231, 0.38), transparent 32rem),
    linear-gradient(180deg, var(--bg) 0%, var(--surface) 46%, var(--bg-2) 100%);
}

a {
  color: var(--leaf-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #124d2b;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(207, 228, 215, 0.8);
  background: rgba(244, 251, 255, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  width: calc(100% - 32px);
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #13462a;
  border-radius: 8px;
  color: #13462a;
  background: linear-gradient(135deg, #d3f7ac, #5dc773);
  box-shadow: inset -3px -3px 0 rgba(19, 70, 42, 0.14);
  font-size: 18px;
  line-height: 1;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
}

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

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--leaf-dark);
}

main {
  width: calc(100% - 32px);
  max-width: 1100px;
  margin: 0 auto;
}

.hero {
  min-height: clamp(520px, 82vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.96fr);
  align-items: center;
  gap: clamp(28px, 6vw, 74px);
  padding: 54px 0 42px;
}

.hero-copy {
  max-width: 660px;
  min-width: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.9rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  font-weight: 850;
}

h3 {
  font-size: 1.1rem;
  font-weight: 850;
}

p {
  margin: 0;
  overflow-wrap: break-word;
}

.lead {
  margin-top: 22px;
  max-width: 590px;
  color: #39564a;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid var(--leaf-dark);
  border-radius: 8px;
  background: var(--leaf-dark);
  color: #ffffff;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(31, 111, 63, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--leaf-dark);
  box-shadow: none;
}

.button:hover {
  transform: translateY(-1px);
  color: #ffffff;
}

.button.secondary:hover {
  color: var(--leaf-dark);
}

.pixel-scene {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(116, 199, 231, 0.48) 0%, rgba(255, 255, 255, 0.64) 54%, rgba(196, 232, 176, 0.86) 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.pixel-scene::before {
  content: "";
  position: absolute;
  inset: 24px 30px auto auto;
  width: 74px;
  height: 74px;
  background: var(--sun);
  border: 4px solid rgba(122, 90, 53, 0.22);
  border-radius: 8px;
  box-shadow: 12px 12px 0 rgba(246, 198, 91, 0.18);
}

.tree {
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 96px;
  height: 348px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #5d3d22, #8f673a 46%, #5d3d22);
  border: 4px solid #4d341d;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.tree::before,
.tree::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 190px;
  height: 86px;
  transform: translateX(-50%);
  border: 4px solid #174927;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.18) 18px 23px, transparent 23px),
    linear-gradient(135deg, #7ed56b, #2f954d);
  box-shadow:
    -72px 34px 0 -8px #4ab25b,
    74px 46px 0 -10px #6acb65,
    4px 76px 0 -12px #2d8848;
}

.tree::before {
  top: 22px;
}

.tree::after {
  top: 128px;
  width: 154px;
  height: 72px;
  opacity: 0.94;
}

.platform {
  position: absolute;
  height: 18px;
  border: 3px solid #4d341d;
  border-radius: 6px;
  background: linear-gradient(180deg, #7fc15d, #5a923c);
  box-shadow: 0 8px 0 #6e4c28;
}

.platform.one {
  width: 122px;
  left: 42px;
  bottom: 124px;
}

.platform.two {
  width: 110px;
  right: 50px;
  bottom: 214px;
}

.platform.three {
  width: 92px;
  left: 58px;
  top: 110px;
}

.frog {
  position: absolute;
  left: 88px;
  bottom: 160px;
  width: 48px;
  height: 34px;
  border: 4px solid #13462a;
  border-radius: 8px;
  background: #7ee26e;
  box-shadow:
    0 16px 0 -7px #4db759,
    40px 8px 0 -10px #13462a;
}

.frog::before,
.frog::after {
  content: "";
  position: absolute;
  top: -14px;
  width: 16px;
  height: 16px;
  border: 3px solid #13462a;
  border-radius: 6px;
  background: #dfffd6;
}

.frog::before {
  left: 3px;
}

.frog::after {
  right: 3px;
}

.section {
  padding: 54px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-header {
  max-width: 760px;
  min-width: 0;
  margin-bottom: 28px;
}

.section-header p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

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

.card,
.info-block {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(30, 84, 66, 0.08);
}

.card {
  padding: 22px;
}

.card p,
.info-block p,
li {
  color: var(--muted);
  overflow-wrap: break-word;
}

.card p {
  margin-top: 8px;
}

.info-block {
  padding: clamp(22px, 4vw, 34px);
}

.info-block + .info-block {
  margin-top: 16px;
}

.content-page {
  max-width: 880px;
  padding: 54px 0 74px;
}

.page-title {
  margin-bottom: 26px;
}

.page-title p {
  margin-top: 16px;
  color: #39564a;
  font-size: 1.16rem;
}

.document {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.document h2 {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.document h3 {
  margin-top: 10px;
}

ul,
ol {
  margin: 14px 0 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 8px;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.footer-inner {
  width: calc(100% - 32px);
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

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

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 42px 0 26px;
  }

  .pixel-scene {
    min-height: 360px;
  }

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

@media (max-width: 520px) {
  main,
  .nav,
  .footer-inner {
    width: calc(100% - 22px);
    max-width: 1100px;
  }

  .nav-links {
    gap: 6px 12px;
  }

  .button {
    width: 100%;
  }

  .pixel-scene {
    min-height: 300px;
  }

  .tree {
    height: 282px;
  }
}
