:root {
  --green: #0b4f12;
  --green-2: #176d25;
  --green-soft: #e8f4e9;
  --gold: #c99a00;
  --text: #1e2a1f;
  --muted: #687568;
  --line: #e1e7e1;
  --bg: #f7faf7;
  --white: #ffffff;
  --shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-bottom: 78px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.app-header {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: var(--white);
  padding: 24px 18px 30px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: var(--shadow);
}

.app-kicker {
  margin: 0 0 6px;
  color: #d9f6dc;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

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

h1 {
  margin-bottom: 8px;
  font-size: 29px;
  line-height: 1.1;
}

.app-subtitle {
  margin: 0;
  color: #d9f6dc;
  font-weight: 600;
}

.app-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 18px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.hero-card,
.info-card,
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
}

.hero-card {
  padding: 22px;
}

.info-card {
  padding: 18px;
  margin-top: 14px;
}

.hero-card h2,
.info-card h3,
.section-title h2 {
  color: var(--green);
}

.hero-card p,
.info-card p,
.news-card p {
  color: var(--muted);
  line-height: 1.55;
}

.quick-actions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

button,
.main-action,
.install-btn,
.small-btn {
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  padding: 13px 16px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.main-action:hover,
.install-btn:hover,
.small-btn:hover,
button:hover {
  background: var(--green-2);
}

.link-action {
  background: var(--gold);
}

.link-action:hover {
  background: #b18400;
}

.full-width {
  width: 100%;
  margin-top: 12px;
}

.install-btn {
  background: var(--gold);
  align-self: flex-start;
  white-space: nowrap;
}

.small-btn {
  padding: 8px 12px;
  font-size: 13px;
  background: var(--green-2);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.list {
  display: grid;
  gap: 12px;
}

.news-card {
  padding: 16px;
}

.news-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
  color: var(--green);
}

.news-card a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.news-card a:hover {
  text-decoration: underline;
}

.news-meta {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.muted {
  color: var(--muted);
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.nav-btn {
  background: transparent;
  color: var(--muted);
  border-radius: 14px;
  padding: 10px 8px;
}

.nav-btn.active {
  background: var(--green-soft);
  color: var(--green);
}

@media (min-width: 760px) {
  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: 34px;
  }
}