:root {
  --dark-green: #123b24;
  --green: #2e6b3a;
  --lime: #a6d83b;
  --gold: #f2c230;
  --cream: #f4e7b5;
  --ink: #18241b;
  --muted: #5d6b60;
  --background: #f6f8f4;
  --surface: #ffffff;
  --surface-muted: #edf3e7;
  --border: #d9e2d5;
  --value: #123b24;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(166, 216, 59, 0.24), transparent 34rem),
    linear-gradient(135deg, var(--background), var(--surface-muted) 45%, var(--background));
  line-height: 1.6;
}

.site-header {
  background: var(--dark-green);
  border-bottom: 1px solid rgba(244, 231, 181, 0.18);
  box-shadow: 0 14px 40px rgba(18, 59, 36, 0.18);
}

.site-header,
.site-footer {
  padding: 0 24px;
}

.site-header > *,
.site-footer > * {
  max-width: 1120px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header .brand,
.site-header nav {
  margin-top: 0;
  margin-bottom: 0;
}

.site-header {
  min-height: 76px;
  gap: 32px;
}

.brand {
  color: var(--cream);
  font-size: 1.55rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.04em;
}

nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

nav a {
  color: rgba(244, 231, 181, 0.86);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 8px 12px;
  text-decoration: none;
}

nav a:hover {
  color: var(--dark-green);
  background: var(--lime);
  border-color: rgba(166, 216, 59, 0.45);
  text-decoration: none;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 42px 24px 76px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 42px;
  padding: 56px 0 52px;
}

.hero-copy {
  min-width: 0;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(82%, 390px);
  border-radius: 30px;
  filter: drop-shadow(0 24px 34px rgba(18, 59, 36, 0.24));
}

h1 {
  margin: 0;
  max-width: 900px;
  color: var(--value);
  font-size: clamp(2.35rem, 6.6vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.app-store-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 10px 16px 10px 10px;
  color: var(--cream);
  background: var(--dark-green);
  border: 1px solid rgba(244, 231, 181, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(18, 59, 36, 0.16);
}

.app-store-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--dark-green);
  background: linear-gradient(135deg, var(--lime), var(--gold));
  border-radius: 11px;
  font-weight: 950;
}

.app-store-note strong,
.app-store-note small {
  display: block;
}

.app-store-note strong {
  font-size: 1rem;
  line-height: 1.15;
}

.app-store-note small {
  color: rgba(244, 231, 181, 0.78);
  font-size: 0.82rem;
  line-height: 1.3;
}

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

.card,
.contact,
.legal-page {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(18, 59, 36, 0.08);
}

.card {
  padding: 24px;
}

.card h2,
.contact h2,
.legal-page h2 {
  margin: 0 0 10px;
  color: var(--dark-green);
  line-height: 1.2;
}

.card h2::after,
.contact h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), var(--gold));
}

.card p,
.contact p,
.legal-page p {
  margin: 0 0 16px;
  color: var(--muted);
}

.contact {
  margin-top: 22px;
  padding: 28px;
  background: linear-gradient(135deg, #eef6e8, #dceccf);
  border-color: #c7ddbe;
}

.contact a,
.legal-page a,
.site-footer a {
  color: var(--dark-green);
  font-weight: 800;
  text-decoration: none;
}

.contact a:hover,
.legal-page a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.legal-page {
  max-width: 860px;
  padding: 38px;
}

.legal-page h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 28px;
}

.legal-page h2 {
  margin-top: 28px;
}

.site-footer {
  color: var(--cream);
  background: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  min-height: 88px;
}

.site-footer p {
  margin: 0;
  max-width: 1120px;
}

.site-footer a {
  color: var(--lime);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 18px 24px;
  }

  nav a {
    padding-left: 0;
  }

  nav a:hover {
    padding-left: 12px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 0 36px;
  }

  .hero-visual {
    min-height: 280px;
  }

  .legal-page {
    padding: 28px;
  }
}
