:root {
  --green-900: #2F6F63;
  --green-600: #6FA89A;
  --green-300: #A7CFC2;
  --green-100: #D2E4DD;
  --green-50: #E9F3EF;

  --text: #17342f;
  --muted: #5f716d;
  --white: #ffffff;
  --border: rgba(47, 111, 99, 0.14);
  --shadow: 0 24px 70px rgba(47, 111, 99, 0.13);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--green-50), #ffffff 42%);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(233, 243, 239, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.site-nav {
  display: none;
  position: absolute;
  top: 72px;
  left: 16px;
  right: 16px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
  gap: 14px;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.menu-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  display: grid;
  place-content: center;
  gap: 4px;
  cursor: pointer;
}

.menu-button span {
  width: 18px;
  height: 2px;
  background: var(--green-900);
  border-radius: 999px;
}

.hero {
  padding: 64px 0 48px;
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.hero-badge,
.section-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(167, 207, 194, 0.36);
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.35rem, 9vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
  background: var(--green-900);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(47, 111, 99, 0.22);
}

.button-secondary {
  background: var(--white);
  color: var(--green-900);
  border: 1px solid var(--border);
}

.hero-card,
.feature-card,
.download-card,
.support-card,
.screenshot-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  text-align: center;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 26px;
}

.hero-card h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.hero-card > p {
  margin: 8px 0 24px;
}

.mini-list {
  display: grid;
  gap: 12px;
  text-align: left;
}

.mini-list div {
  padding: 14px;
  border-radius: 18px;
  background: var(--green-50);
}

.mini-list strong,
.mini-list span {
  display: block;
}

.mini-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(210, 228, 221, 0.58), rgba(233, 243, 239, 0.2));
}

.section-grid {
  display: grid;
  gap: 28px;
}

.section h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.text-block p {
  margin-top: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  gap: 18px;
}

.feature-card {
  padding: 24px;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 900;
  font-size: 1.2rem;
}

.feature-card h3 {
  margin: 18px 0 8px;
  font-size: 1.35rem;
}

.feature-card p,
.feature-card span {
  color: var(--muted);
}

.feature-card strong,
.feature-card span {
  display: block;
}

.screenshots-grid {
  display: grid;
  gap: 18px;
}

.screenshot-card {
  min-height: 480px;
  padding: 14px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 10%, rgba(167, 207, 194, 0.42), transparent 34%),
    var(--white);
}

.screenshot-card img {
  width: 100%;
  max-width: 280px;
  border-radius: 32px;
  border: 1px solid var(--border);
  background: var(--green-50);
}

.screenshots-grid-official {
  grid-template-columns: 1fr;
}

.screenshots-grid-official .screenshot-card {
  min-height: auto;
  padding: 0;
  overflow: hidden;
  background: var(--green-50);
}

.screenshots-grid-official .screenshot-card img {
  width: 100%;
  max-width: none;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.section-download {
  padding-top: 40px;
}

.download-card {
  padding: 34px 24px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(167, 207, 194, 0.56), transparent 42%),
    var(--white);
}

.download-card h2 {
  margin-top: 14px;
}

.download-card p {
  color: var(--muted);
}

.store-buttons {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.store-button {
  display: grid;
  gap: 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--green-900);
  color: var(--white);
  text-align: left;
}

.store-button span {
  font-size: 0.78rem;
  opacity: 0.8;
}

.store-button strong {
  font-size: 1.18rem;
}

.support-grid {
  display: grid;
  gap: 24px;
}

.support-grid p {
  color: var(--muted);
}

.support-card {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.support-card a {
  padding: 14px 0;
  color: var(--green-900);
  font-weight: 800;
  border-bottom: 1px solid var(--border);
}

.support-card a:last-child {
  border-bottom: 0;
}

.site-footer {
  padding: 40px 0 34px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.58);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  margin-bottom: 24px;
}

.footer-brand p {
  margin: 0;
}

.footer-version {
  margin-top: 6px !important;
  opacity: 0.75;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--green-900);
  font-weight: 800;
}

.footer-powered-by {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.footer-powered-by span {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-company-logo {
  height: 92px;
  width: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-company-logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.legal-page {
  padding: 56px 0 80px;
}

.legal-container {
  max-width: 820px;
}

.legal-container h1 {
  margin: 16px 0 8px;
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.legal-updated {
  color: var(--muted);
  margin-bottom: 36px;
}

.legal-container section {
  padding: 26px 0;
  border-top: 1px solid var(--border);
}

.legal-container h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.legal-container p {
  color: var(--muted);
}

.legal-container a {
  color: var(--green-900);
  font-weight: 800;
}

@media (min-width: 720px) {
  .hero-actions,
  .store-buttons {
    grid-template-columns: repeat(2, max-content);
    display: grid;
  }

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

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

  .screenshots-grid-official {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-end;
  }
}

@media (min-width: 920px) {
  .menu-button {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero {
    padding: 104px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.72fr;
    align-items: center;
  }

  .section-grid,
  .support-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .footer-company-logo {
    height: 100px;
  }
}

@media (min-width: 1040px) {
  .screenshots-grid-official {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-company-logo {
    height: 78px;
  }
}