:root {
  --leaf: #2f8d24;
  --leaf-dark: #134c22;
  --leaf-soft: #e9f7d3;
  --sun: #f8dd1b;
  --gold: #ffc24a;
  --orange: #ef7a00;
  --soil: #6a310c;
  --ink: #173021;
  --muted: #5f6f63;
  --paper: #fffdf4;
  --cream: #fff8dc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(38, 84, 26, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(248, 221, 27, 0.28), transparent 28rem),
    linear-gradient(180deg, #fffdf4 0%, #f6fbec 44%, #fffdf4 100%);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 244, 0.86);
  border-bottom: 1px solid rgba(19, 76, 34, 0.12);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(47, 141, 36, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--leaf-dark);
}

.nav-links a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: var(--leaf-soft);
  outline: none;
}

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

.hero {
  min-height: auto;
  padding-top: 72px;
  padding-bottom: 18px;
}

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

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

h1 {
  margin-bottom: 22px;
  color: var(--leaf-dark);
  font-size: clamp(4rem, 13vw, 8.5rem);
  line-height: 0.88;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  color: var(--leaf-dark);
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  color: var(--soil);
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  max-width: 820px;
  color: #425546;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button,
.contact-form button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary,
.contact-form button {
  color: var(--white);
  background: linear-gradient(135deg, var(--leaf) 0%, var(--leaf-dark) 100%);
  box-shadow: 0 16px 30px rgba(47, 141, 36, 0.24);
}

.secondary {
  color: var(--leaf-dark);
  background: var(--leaf-soft);
}

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

.app-preview {
  padding-top: 22px;
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.phone-row.five-up {
  width: min(940px, calc(100vw - 32px));
  margin-left: 50%;
  transform: translateX(-50%);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.phone {
  padding: 6px;
  border: 1px solid rgba(19, 76, 34, 0.18);
  border-radius: 24px;
  background: #142116;
  box-shadow: 0 14px 30px rgba(19, 76, 34, 0.16);
}

.phone img {
  width: 100%;
  aspect-ratio: 390 / 844;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
}

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

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

.download-steps li {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(19, 76, 34, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(38, 84, 26, 0.12);
}

.download-steps span {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--leaf), var(--leaf-dark));
  font-weight: 800;
}

.download-steps h3 {
  color: var(--leaf-dark);
}

.text-section {
  max-width: 860px;
}

.page-title {
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.95;
}

.page-section {
  min-height: calc(100vh - 160px);
}

.text-section h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  color: var(--soil);
  font-size: 1.35rem;
  line-height: 1.25;
}

.updated {
  margin-bottom: 36px;
  color: var(--soil);
  font-weight: 800;
}

.text-section a {
  color: var(--leaf-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  gap: 56px;
  align-items: start;
}

.contact-form {
  padding: 24px;
  border: 1px solid rgba(19, 76, 34, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--leaf-dark);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid rgba(19, 76, 34, 0.22);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--leaf);
  outline: 3px solid rgba(47, 141, 36, 0.16);
}

.contact-form button {
  width: 100%;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-top: 1px solid rgba(19, 76, 34, 0.12);
}

.footer img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.footer p {
  margin: 0;
  font-weight: 800;
  color: var(--leaf-dark);
}

@media (max-width: 980px) {
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .phone-row {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .phone-row.five-up {
    width: calc(100vw - 24px);
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    padding: 4px 4px 26px;
    scroll-snap-type: x proximity;
  }

  .phone-row.five-up .phone {
    flex: 0 0 min(292px, 78vw);
    scroll-snap-align: start;
  }

  .download-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    font-size: 0.88rem;
  }

  .nav-links a {
    padding: 9px 8px;
    text-align: center;
  }

  .section {
    width: min(100% - 24px, 1120px);
    padding: 64px 0;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 18px;
  }

  .app-preview {
    padding-top: 18px;
  }

  h1 {
    font-size: clamp(3.4rem, 20vw, 5rem);
  }

  .phone-row {
    grid-template-columns: 1fr;
  }

  .phone-row.five-up {
    width: min(100% - 0px, 1120px);
    margin-left: 0;
    transform: none;
    display: grid;
    overflow: visible;
    padding: 0;
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 18px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}
