:root {
  --green-950: #062113;
  --green-900: #0b3120;
  --green-800: #135636;
  --green-700: #1f7c4f;
  --green-600: #2ebf73;
  --green-500: #44df88;
  --green-300: #a8efc9;
  --green-200: #cff7e0;
  --green-100: #e8fcef;
  --canvas: #f2fcf5;
  --white: #ffffff;
  --ink: #0f2319;
  --muted: #3f6250;
  --line: rgba(17, 60, 37, 0.16);
  --line-strong: rgba(17, 60, 37, 0.26);
  --shadow-soft: 0 14px 32px rgba(18, 83, 48, 0.14);
  --shadow-float: 0 24px 50px rgba(16, 71, 42, 0.2);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 3%, #d7f9e4 0, transparent 28%),
    radial-gradient(circle at 92% 0, #c5f4da 0, transparent 34%),
    linear-gradient(180deg, #f8fff9 0%, #edfbf2 48%, #f7fff9 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(
      115deg,
      transparent 0 48%,
      rgba(17, 60, 37, 0.12) 49% 51%,
      transparent 52%
    ),
    linear-gradient(
      65deg,
      transparent 0 47%,
      rgba(17, 60, 37, 0.08) 48% 50%,
      transparent 51%
    );
  background-size: 260px 260px;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  padding-bottom: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(244, 255, 247, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: -0.02em;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--white);
  padding: 7px;
  border: 1px solid rgba(17, 60, 37, 0.14);
  box-shadow: var(--shadow-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: var(--green-900);
  background: var(--green-100);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: var(--green-950);
  background: linear-gradient(135deg, #4bf194 0%, #27cb70 100%);
  border-color: #52e993;
  box-shadow: 0 16px 28px rgba(34, 191, 108, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 20px 32px rgba(34, 191, 108, 0.34);
}

.btn-outline {
  color: var(--green-900);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.74);
}

.btn-outline:hover {
  background: #ffffff;
}

.btn-store {
  min-width: 190px;
  justify-content: flex-start;
}

.btn-store .store-badge {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(6, 33, 19, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.btn-store small {
  display: block;
  font-size: 0.72rem;
  line-height: 1;
  opacity: 0.72;
}

.btn-store strong {
  font-size: 0.97rem;
  line-height: 1.1;
}

.main-section {
  padding: 70px 20px;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-800);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 7px 12px;
}

.section-title {
  font-family: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.07;
  margin: 14px 0 10px;
}

.section-title.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.section-title.large-title {
  font-size: clamp(1.8rem, 4vw, 2.85rem);
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
  max-width: 65ch;
}

.hero-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: stretch;
}

.hero-copy {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.84),
    rgba(239, 252, 245, 0.84)
  );
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 4vw, 38px);
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  top: -140px;
  right: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68, 223, 136, 0.3), transparent 70%);
  pointer-events: none;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.quick-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.quick-stats .stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
}

.quick-stats .stat strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.15;
}

.quick-stats .stat span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-float);
  padding: 16px;
  display: grid;
  gap: 14px;
  align-content: start;
  position: relative;
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.hero-visual::before {
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(68, 223, 136, 0.18),
    transparent 70%
  );
  top: -88px;
  left: -70px;
  animation: floatOrb 7s ease-in-out infinite;
}

.hero-visual::after {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(23, 131, 76, 0.18), transparent 72%);
  bottom: -78px;
  right: -58px;
  animation: floatOrb 8.5s ease-in-out infinite reverse;
}

.map-frame {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(17, 60, 37, 0.14);
  background: linear-gradient(180deg, #f7fff9 0%, #eaf8ef 100%);
  padding: 14px;
  z-index: 1;
}

.map-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(17, 60, 37, 0.13);
}

.pins {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.pin-chip {
  border-radius: 999px;
  border: 1px solid rgba(17, 60, 37, 0.13);
  background: #ffffff;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.pin-chip::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  background: var(--green-600);
}

.pin-chip.hot::before {
  background: #ffb66c;
}

.pin-chip.contested::before {
  background: #f26b5f;
}

.art-placeholder {
  position: relative;
  border: 2px dashed rgba(17, 131, 76, 0.45);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(68, 223, 136, 0.14), rgba(68, 223, 136, 0.06)),
    repeating-linear-gradient(
      -38deg,
      rgba(17, 60, 37, 0.08) 0,
      rgba(17, 60, 37, 0.08) 10px,
      rgba(255, 255, 255, 0.56) 10px,
      rgba(255, 255, 255, 0.56) 20px
    );
  color: var(--green-900);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px 16px;
  min-height: 130px;
}

.art-placeholder::before {
  content: attr(data-slot);
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 131, 76, 0.42);
  font-size: 0.69rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 9px;
}

.art-placeholder p {
  margin: 0;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.4;
}

.art-placeholder span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.art-placeholder.large {
  min-height: 185px;
}

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

.step-card,
.feature-card,
.asset-card,
.download-panel,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.step-card,
.feature-card,
.asset-card {
  padding: 18px;
}

.step-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  border: 1px solid rgba(17, 131, 76, 0.3);
  color: var(--green-800);
  font-family: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 700;
}

.card-title {
  margin: 12px 0 8px;
  font-family: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.28rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.card-copy {
  margin: 0;
  color: var(--muted);
}

.inline-art {
  margin-top: 14px;
  min-height: 112px;
}

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

.feature-media {
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid rgba(17, 60, 37, 0.16);
  background: #f6fff8;
  overflow: hidden;
}

.feature-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.screenshot-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

.download-panel {
  padding: clamp(20px, 3.2vw, 34px);
  background:
    radial-gradient(circle at 0 0, rgba(68, 223, 136, 0.26), transparent 35%),
    linear-gradient(130deg, #ffffff 20%, #ecfaef 100%);
}

.download-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.download-actions {
  display: flex;
  gap: 11px;
  margin-top: 18px;
  flex-wrap: wrap;
}

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

.asset-card h3 {
  margin: 0 0 8px;
  font-family: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

.asset-card p {
  margin: 0;
  color: var(--muted);
}

.legal-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 54px 20px 68px;
}

.legal-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      circle at 90% -20%,
      rgba(68, 223, 136, 0.2),
      transparent 40%
    ),
    rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 4vw, 34px);
  margin-bottom: 16px;
}

.legal-hero h1 {
  margin: 12px 0 8px;
  font-family: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.legal-hero p {
  margin: 0;
  color: var(--muted);
}

.legal-meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.legal-card {
  margin-top: 14px;
  padding: 19px;
}

.legal-card h2 {
  margin: 0 0 10px;
  font-size: 1.17rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-family: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
}

.legal-card p,
.legal-card ul,
.legal-card ol {
  margin: 0 0 12px;
  color: var(--muted);
}

.legal-card ul,
.legal-card ol {
  padding-left: 20px;
}

.legal-card a {
  color: var(--green-800);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(8px);
}

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

.footer-links,
.footer-download {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-download a {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 6px 10px;
  transition: 0.2s ease;
}

.footer-links a:hover,
.footer-download a:hover {
  border-color: var(--line);
  color: var(--green-900);
  background: #ffffff;
}

.mobile-download-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 70;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(8, 44, 25, 0.22);
  padding: 10px;
  display: none;
  gap: 8px;
  backdrop-filter: blur(9px);
}

.mobile-download-bar .btn {
  flex: 1;
  min-width: 0;
  padding: 10px 8px;
  font-size: 0.88rem;
}

[data-fade] {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.78s cubic-bezier(0.2, 0.68, 0.2, 1) forwards;
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.7s cubic-bezier(0.2, 0.68, 0.2, 1) forwards;
}

.stagger > :nth-child(1) {
  animation-delay: 0.06s;
}

.stagger > :nth-child(2) {
  animation-delay: 0.12s;
}

.stagger > :nth-child(3) {
  animation-delay: 0.18s;
}

.stagger > :nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-14px) scale(1.05);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-shell {
    padding: 11px 16px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .main-section {
    padding: 58px 16px;
  }

  .site-shell.has-mobile-bar {
    padding-bottom: 100px;
  }

  .mobile-download-bar {
    display: flex;
  }

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

@media (max-width: 680px) {
  .feature-grid,
  .surface-grid,
  .asset-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .download-actions .btn,
  .nav-cta .btn {
    width: 100%;
  }

  .nav-cta {
    width: min(180px, 100%);
  }
}

@media (max-width: 520px) {
  .section-title.hero-title {
    font-size: clamp(2rem, 11vw, 2.75rem);
  }

  .hero-copy,
  .hero-visual,
  .download-panel,
  .legal-hero,
  .step-card,
  .feature-card,
  .asset-card,
  .legal-card {
    border-radius: 16px;
  }

  .footer-inner {
    padding: 16px 14px;
  }
}
