 :root {
  color-scheme: light;
  --bg: #f4faf5;
  --bg-soft: #eef7f0;
  --card: rgba(255, 255, 255, 0.94);
  --text: #183127;
  --muted: #5e7768;
  --line: rgba(24, 49, 39, 0.1);
  --accent: #16a34a;
  --accent-dark: #0f7c37;
  --accent-soft: rgba(22, 163, 74, 0.1);
  --shadow: 0 24px 72px rgba(16, 41, 27, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(22, 163, 74, 0.09) 0%, rgba(22, 163, 74, 0) 34%),
    radial-gradient(circle at top right, rgba(72, 187, 120, 0.12) 0%, rgba(72, 187, 120, 0) 22%),
    linear-gradient(180deg, #f8fcf8 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: default;
  user-select: none;
}

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

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #19b449 0%, #0f8e35 100%);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.24);
}

.brand-text {
  display: grid;
  gap: 3px;
}

.brand-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

.mobile-bottom-bar {
  display: none;
}

.nav-link,
.button {
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  min-width: 220px;
  min-height: 48px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.74);
}

.nav-link.is-active {
  background: linear-gradient(135deg, #18b14a 0%, #12953e 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.18);
}

.nav-link.is-active:hover {
  color: #fff;
  background: linear-gradient(135deg, #18b14a 0%, #12953e 100%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, #18b14a 0%, #12953e 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.22);
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(22, 163, 74, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  border-color: var(--line);
}

.button.secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(16, 41, 27, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  padding: 26px 0 18px;
}

.hero-card,
.hero-side,
.platform-strip,
.instruction-card,
.support-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  padding: 34px 34px 30px;
}

.hero-side {
  padding: 28px;
  display: grid;
  gap: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-lead {
  max-width: 720px;
  margin: 0;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.65;
  color: var(--muted);
}

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

.hero-note,
.step-note {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.08) 0%, rgba(255, 255, 255, 0.88) 100%);
  border: 1px solid rgba(22, 163, 74, 0.14);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.mini-stat {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 247, 241, 0.94) 100%);
  border: 1px solid rgba(22, 163, 74, 0.08);
}

.mini-stat h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.mini-stat p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.quick-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.quick-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(24, 49, 39, 0.08);
}

.quick-item strong {
  display: block;
  color: var(--text);
}

.quick-item span:last-child {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.quick-index {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex: 0 0 auto;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-links a,
.tiny-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid rgba(24, 49, 39, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.download-links a.primary-link {
  background: linear-gradient(135deg, #18b14a 0%, #12953e 100%);
  color: #fff;
  border-color: transparent;
}

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

  .topbar {
    align-items: flex-start;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 19px;
  }

  .brand-title {
    font-size: 22px;
  }

  .top-actions {
    display: none;
  }

  body {
    padding-bottom: 92px;
  }

  .download-links,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .download-links a,
  .tiny-link,
  .nav-link {
    width: 100%;
  }

  .mobile-bottom-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    padding: 10px;
    border: 1px solid rgba(24, 49, 39, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(16, 41, 27, 0.14);
    backdrop-filter: blur(14px);
  }

  .mobile-bottom-link {
    min-height: 48px;
    padding: 12px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(24, 49, 39, 0.08);
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    line-height: 1.1;
  }

  .mobile-bottom-icon {
    display: none;
    width: 20px;
    height: 20px;
    line-height: 1;
  }

  .mobile-bottom-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
  }

  .mobile-bottom-text {
    display: block;
  }

  .mobile-bottom-link.is-active {
    background: linear-gradient(135deg, #18b14a 0%, #12953e 100%);
    border-color: transparent;
    color: #fff;
  }

}

@media (max-width: 420px) {
  .mobile-bottom-link {
    min-height: 56px;
    padding: 10px 8px;
    font-size: 12px;
  }

  .mobile-bottom-icon {
    display: block;
  }
}

@media (max-width: 360px) {
  .mobile-bottom-link {
    min-height: 52px;
    padding: 8px 6px;
  }

  .mobile-bottom-text {
    display: none;
  }
}
