:root {
  --bg: #f2f4f3;
  --panel: #ffffff;
  --ink: #18201c;
  --muted: #5f6b65;
  --line: #d7ddd9;
  --green: #0c7c43;
  --green-dark: #075b32;
  --soft-green: #e6f4ec;
  --shadow: 0 14px 34px rgba(18, 26, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(242, 244, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
}

.nav {
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 86px 6vw;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 22, 18, 0.9), rgba(13, 22, 18, 0.66), rgba(13, 22, 18, 0.32)),
    url("assets/app-menu.jpeg") center / cover no-repeat;
  color: #fff;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ff0b9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--green);
  color: var(--green);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-title {
  max-width: 780px;
  margin-bottom: 34px;
}

.intro,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 44px;
  align-items: center;
}

.intro img,
.split img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.module-grid,
.pricing-grid,
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-card,
.price-card,
.how-grid article,
details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(18, 26, 22, 0.06);
}

.module-card,
.price-card,
.how-grid article {
  padding: 24px;
}

.module-card p,
.price-card p,
.how-grid p,
.section-title p,
.intro p,
.split p {
  color: var(--muted);
}

.featured {
  border-color: rgba(12, 124, 67, 0.45);
  background: var(--soft-green);
}

.badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.price {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.payments {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(12, 124, 67, 0.32);
  border-radius: 8px;
  background: var(--soft-green);
  box-shadow: var(--shadow);
}

.download-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.install-note {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
}

.install-note strong {
  color: var(--ink);
}

.balance-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.amount {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 8px;
  color: var(--muted);
}

details {
  margin-bottom: 12px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 30px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: min(380px, calc(100% - 36px));
  padding: 16px 18px;
  border-radius: 8px;
  background: #152019;
  color: #fff;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 620px;
    background-position: 58% center;
  }

  .intro,
  .split,
  .download-panel,
  .module-grid,
  .pricing-grid,
  .how-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 520px) {
  .section {
    width: min(100% - 28px, 1180px);
    padding: 62px 0;
  }

  .hero {
    min-height: 560px;
    padding: 64px 20px;
  }

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