:root {
  color-scheme: light;
  --green-950: #08291f;
  --green-900: #0d3b2e;
  --green-700: #176247;
  --lime-400: #b7d86b;
  --gold-400: #e7b94f;
  --coral-500: #e8684c;
  --sky-600: #2879bd;
  --ink: #17211f;
  --muted: #65716d;
  --line: #dce6e1;
  --paper: #f7faf6;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(11, 35, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 250, 246, 0.92);
  border-bottom: 1px solid rgba(220, 230, 225, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(8, 41, 31, 0.2);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.top-nav a,
.site-footer a,
.text-link {
  text-decoration: none;
}

.top-nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--green-700);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--green-900);
  border-radius: 8px;
  color: var(--green-900);
  font-weight: 700;
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 74px);
  padding: clamp(42px, 7vw, 96px) clamp(18px, 5vw, 72px) clamp(38px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(8, 41, 31, 0.96), rgba(18, 77, 58, 0.92) 52%, rgba(225, 184, 79, 0.4)),
    url("./assets/screenshot-home.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(247, 250, 246, 0), var(--paper));
  pointer-events: none;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold-400);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 5.2vw, 5.6rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
}

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

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--gold-400);
  color: #182017;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.store-button:hover {
  background: #f2c765;
}

.text-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 36px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats dt {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
}

.hero-stats dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.hero-media {
  min-height: 600px;
}

.map-asset {
  position: absolute;
  right: -3%;
  top: 3%;
  width: min(42vw, 440px);
  opacity: 0.2;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.16));
}

.phone-shot {
  position: absolute;
  width: min(43vw, 330px);
  aspect-ratio: 1242 / 2688;
  margin: 0;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.88);
  border-radius: 30px;
  background: #10271f;
  box-shadow: var(--shadow);
}

.phone-shot img,
.showcase-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.primary-shot {
  right: 22%;
  top: 4%;
  transform: rotate(-4deg);
}

.secondary-shot {
  right: 0;
  bottom: 2%;
  transform: rotate(5deg);
}

section:not(.hero) {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.search-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.search-section h2,
.features h2,
.showcase h2,
.article-links h2,
.faq h2,
.download h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.1vw, 3rem);
  line-height: 1.16;
  letter-spacing: 0;
}

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

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

.intent-grid article,
.feature-grid article,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(11, 35, 28, 0.06);
}

.intent-grid article,
.feature-grid article {
  padding: 22px;
}

.intent-grid h3,
.feature-grid h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.intent-grid p,
.feature-grid p,
.showcase-copy p,
.faq p,
.download p {
  margin: 0;
  color: var(--muted);
}

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

.feature-grid article {
  grid-column: span 2;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 34px;
  margin-bottom: 16px;
  padding: 0 9px;
  border-radius: 8px;
  background: #e8f3ee;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-grid article:nth-child(2) .feature-icon,
.feature-grid article:nth-child(4) .feature-icon {
  background: #fff3d6;
  color: #86611b;
}

.feature-grid article:nth-child(3) .feature-icon {
  background: #e7f0fb;
  color: var(--sky-600);
}

.feature-grid article:nth-child(5) .feature-icon {
  background: #feeae4;
  color: var(--coral-500);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  background: var(--green-950);
  color: var(--white);
}

.showcase-copy {
  max-width: 720px;
}

.showcase-copy p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.showcase-media {
  display: flex;
  justify-content: center;
}

.showcase-phone {
  width: min(100%, 330px);
  aspect-ratio: 1242 / 2688;
  margin: 0;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background: #10271f;
  box-shadow: var(--shadow);
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.topic-list a {
  min-height: 110px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-900);
  font-weight: 800;
  text-decoration: none;
}

.topic-list a:hover {
  border-color: var(--green-700);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq details {
  padding: 20px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin-top: 12px;
}

.download {
  margin: 0 clamp(18px, 5vw, 72px) clamp(48px, 6vw, 80px);
  padding: clamp(36px, 5vw, 58px);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green-900), #194f3d 58%, #8a6d2a);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.download img {
  margin: 0 auto 18px;
  border-radius: 16px;
}

.download p {
  max-width: 620px;
  margin: 14px auto 26px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .top-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    min-height: 520px;
  }

  .map-asset {
    right: 10%;
    width: 320px;
  }

  .phone-shot {
    width: min(48vw, 300px);
  }

  .primary-shot {
    left: 10%;
    right: auto;
  }

  .secondary-shot {
    right: 12%;
  }

  .search-section,
  .showcase {
    grid-template-columns: 1fr;
  }

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

  .feature-grid article {
    grid-column: span 3;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-button {
    width: 100%;
    padding: 0 16px;
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 430px;
  }

  .map-asset {
    top: 0;
    right: 2%;
    width: 250px;
  }

  .phone-shot {
    width: min(64vw, 245px);
    border-width: 7px;
    border-radius: 24px;
  }

  .showcase-phone {
    width: min(100%, 245px);
    border-width: 7px;
    border-radius: 24px;
  }

  .primary-shot {
    left: 0;
  }

  .secondary-shot {
    right: 0;
    bottom: 6%;
  }

  .intent-grid,
  .topic-list,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    grid-column: span 1;
  }

  .site-footer {
    flex-direction: column;
  }
}
