:root {
  --green: #0d563f;
  --green-2: #147b53;
  --gold: #f5ad2f;
  --orange: #df7e0b;
  --cream: #fff8ea;
  --page: #fffdf7;
  --ink: #18231e;
  --muted: #647067;
  --line: #eadfca;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px clamp(16px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  color: var(--green);
  display: inline-flex;
  font-size: 22px;
  font-weight: 950;
  gap: 10px;
}

.brand img {
  height: 54px;
  width: 54px;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  border-radius: 8px;
  color: #34443b;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
}

.site-nav a:hover {
  background: #f3ead8;
}

.nav-cta,
.primary-btn {
  background: var(--green);
  color: #fff !important;
}

.hero {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  min-height: calc(100vh - 78px);
  overflow: hidden;
  padding: 46px clamp(16px, 5vw, 64px) 54px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  color: var(--orange);
  display: inline-block;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

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

.hero h1 {
  color: var(--green);
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 22px;
}

.hero p,
.section-head p,
.download-band p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.primary-btn,
.secondary-btn {
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  padding: 14px 18px;
}

.secondary-btn {
  background: #f2ead8;
  color: var(--green);
}

.hero-visual {
  min-height: 620px;
  position: relative;
}

.phone {
  background: #14231c;
  border: 10px solid #14231c;
  border-radius: 44px;
  box-shadow: 0 28px 60px rgba(13, 86, 63, 0.22);
  overflow: hidden;
  position: absolute;
}

.phone-main {
  height: 610px;
  right: 80px;
  top: 0;
  width: 300px;
}

.phone-side {
  height: 470px;
  right: 310px;
  top: 110px;
  width: 238px;
}

.phone-top {
  background: #0c1712;
  border-radius: 0 0 18px 18px;
  height: 22px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 86px;
  z-index: 2;
}

.app-screen {
  background: linear-gradient(180deg, #fff7e3 0%, #ffffff 42%, #f2fbf6 100%);
  height: 100%;
  padding: 38px 18px 18px;
}

.app-logo {
  display: block;
  height: 150px;
  margin: 0 auto 12px;
  width: 150px;
}

.app-screen h2 {
  color: var(--green);
  font-size: 25px;
  margin-bottom: 14px;
}

.stats {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}

.stats span,
.screen-card,
.mini-list,
.search-pill {
  background: #fff;
  border: 1px solid #eadfca;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(13, 86, 63, 0.08);
  padding: 12px;
}

.stats strong {
  color: var(--orange);
  display: block;
  font-size: 20px;
}

.screen-card {
  display: grid;
  gap: 5px;
  margin-top: 12px;
}

.screen-card.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.screen-card small,
.mini-list span {
  color: var(--muted);
  font-weight: 700;
}

.screen-card.active small {
  color: rgba(255, 255, 255, 0.78);
}

.app-screen.light {
  background: #fffdf7;
}

.search-pill {
  color: var(--green);
  font-weight: 900;
  margin-bottom: 12px;
}

.mini-list {
  display: flex;
  font-size: 13px;
  font-weight: 850;
  justify-content: space-between;
  margin-top: 10px;
}

.section,
.download-band,
.policy-page {
  padding: 72px clamp(16px, 5vw, 64px);
}

.section-head {
  max-width: 760px;
}

.section-head h2,
.download-band h2,
.policy-page h1 {
  color: var(--green);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.08;
}

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

.feature-grid article,
.screen-shot,
.policy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(13, 86, 63, 0.08);
  padding: 22px;
}

.feature-grid span {
  color: var(--orange);
  font-weight: 950;
}

.feature-grid h3,
.screen-shot strong,
.policy-card h2 {
  color: var(--green);
  display: block;
  font-size: 21px;
  margin: 10px 0 8px;
}

.feature-grid p,
.screen-shot p,
.policy-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.screen-section {
  background: #f7f2e8;
}

.screen-shot {
  min-height: 340px;
}

.screen-shot img {
  display: block;
  height: 138px;
  margin: 14px auto 20px;
  width: 138px;
}

.screen-title {
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.download-band {
  align-items: center;
  background: var(--green);
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.download-band h2,
.download-band p,
.download-band .eyebrow {
  color: #fff;
}

.download-band .primary-btn {
  background: var(--gold);
  color: #1f241e !important;
  flex: 0 0 auto;
}

.policy-page {
  margin: 0 auto;
  max-width: 980px;
}

.updated {
  color: var(--muted);
  font-weight: 800;
}

.policy-card h2 {
  margin-top: 26px;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.site-footer {
  align-items: center;
  background: #10231b;
  color: #fff;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 28px clamp(16px, 5vw, 64px);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .phone-main {
    left: 50%;
    right: auto;
    transform: translateX(-30%);
  }

  .phone-side {
    left: 50%;
    right: auto;
    transform: translateX(-95%);
  }

  .feature-grid,
  .screen-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .download-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    background: #f5eedf;
  }

  .hero {
    min-height: auto;
  }

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

  .phone-main {
    height: 500px;
    transform: translateX(-50%);
    width: 250px;
  }

  .phone-side {
    display: none;
  }
}
