:root {
  /* EWG-inspired marketing canvas: pale cool field + forest ink */
  --bg: #eef3f6;
  --bg-elevated: #ffffff;
  --bg-band: #0f3d32;
  --bg-band-soft: #1a5c4a;
  --ink: #16302a;
  --muted: #5a6b66;
  --line: #d5e0dc;
  --brand: #1f5c45;
  --brand-deep: #0f3d32;
  --brand-leaf: #3d8f5f;
  --brand-soft: rgba(31, 92, 69, 0.12);
  --cream: #f7f5f0;
  --score-good: #2f9e6b;
  --max: 46rem;
  --wide: 68rem;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); }
a:hover { color: var(--brand); }

.wrap {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(238, 243, 246, 0.92);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  height: 2rem;
  width: auto;
  max-width: 11rem;
}

.brand-mark-img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 560;
}

.nav-links a[aria-current="page"],
.nav-links a:hover { color: var(--brand-deep); }

.nav-cta {
  display: inline-flex;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 650;
  font-size: 0.88rem;
}

.nav-cta:hover { background: var(--brand-deep); }

/* —— Hero (EWG apps style: copy + phone) —— */
.hero-apps {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.hero-apps-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-apps h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--brand-deep);
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.hero-lead {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.95rem;
  border-radius: 0.75rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  min-width: 10.5rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.store-badge:hover {
  color: #fff;
  transform: translateY(-1px);
  opacity: 0.92;
}

.store-badge.android { background: #0b0b0b; }

.store-badge svg { flex: 0 0 auto; }

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge-text small {
  font-size: 0.68rem;
  opacity: 0.85;
}

.store-badge-text strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.store-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-phone {
  display: flex;
  justify-content: center;
}

.hero-phone img {
  width: min(100%, 340px);
  filter: drop-shadow(0 28px 50px rgba(15, 61, 50, 0.28));
}

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 0 0 0.55rem;
  color: var(--brand-deep);
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Three phone columns — EWG marketing trio */
.mock-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.mock-col {
  text-align: center;
}

.mock-col h3 {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  margin: 0 0 0.4rem;
  color: var(--brand-deep);
  line-height: 1.2;
}

.mock-col p {
  margin: 0 auto 1rem;
  max-width: 22rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.mock-col img {
  width: min(100%, 260px);
  margin-inline: auto;
  filter: drop-shadow(0 18px 30px rgba(15, 61, 50, 0.18));
}

/* Dark band feature (EWG scan panel) */
.band-dark {
  background: linear-gradient(160deg, var(--bg-band) 0%, #164a3d 55%, #0c2f27 100%);
  color: #f3f8f5;
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}

.band-dark .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.band-dark h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin: 0 0 0.75rem;
  line-height: 1.12;
}

.band-dark h2 em {
  font-style: normal;
  color: #9fd4b5;
}

.band-dark p {
  margin: 0;
  color: rgba(243, 248, 245, 0.86);
  max-width: 32rem;
  font-size: 1.05rem;
}

.band-dark img {
  width: min(100%, 300px);
  margin-inline: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.category-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 9.5rem;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  text-decoration: none;
  color: #fff;
  background: #1a3d34;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.category-card span {
  position: relative;
  z-index: 1;
  font-weight: 750;
  font-size: 1.05rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem;
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: var(--brand-deep);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.download-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.download-panel h2 {
  font-family: var(--display);
  margin: 0 0 0.5rem;
  color: var(--brand-deep);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.download-panel p {
  margin: 0;
  color: var(--muted);
}

.legal {
  max-width: var(--max);
  margin: 2rem auto 0;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: clamp(1.35rem, 3vw, 2.1rem);
}

.legal h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 0.4rem;
  color: var(--brand-deep);
}

.meta { color: var(--muted); font-size: 0.92rem; margin: 0 0 1.4rem; }
.legal h2 { font-size: 1.12rem; margin: 1.7rem 0 0.5rem; color: var(--brand-deep); }
.legal h3 { font-size: 1rem; margin: 1.15rem 0 0.35rem; }
.legal ul, .legal ol { padding-left: 1.2rem; }

.toc {
  background: #f0f6f3;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  margin: 0 0 1.5rem;
}

.disclosure {
  background: #fff8e8;
  border: 1px solid #edd9a0;
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  color: #6b4e12;
}

.notice {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand img { height: 1.7rem; width: auto; }
.footer-col h3 {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink);
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  margin: 0.28rem 0;
}

.footer-col a:hover { color: var(--brand-deep); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.footer-bottom a { text-decoration: none; color: var(--muted); }

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

.blog-card {
  background: var(--bg-elevated);
  border: 1px dashed var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  min-height: 9rem;
}

.blog-card .meta { font-size: 0.8rem; margin-bottom: 0.4rem; }
.blog-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-family: var(--display);
  color: var(--brand-deep);
}
.blog-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.2rem;
  border-radius: 0.65rem;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
}

.button-primary { background: var(--brand); color: #fff; }
.button-primary:hover { background: var(--brand-deep); color: #fff; }
.button-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.story-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.story-band.reverse { grid-template-columns: 0.95fr 1.05fr; }
.story-band.reverse .story-copy { order: 2; }
.story-band.reverse .story-media { order: 1; }

.story-media {
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream);
  min-height: 16rem;
}

.story-media img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.story-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin: 0 0 0.7rem;
  line-height: 1.15;
  color: var(--brand-deep);
}

.story-copy p { color: var(--muted); margin: 0 0 0.85rem; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.pill {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 650;
}

@media (max-width: 960px) {
  .hero-apps-grid,
  .band-dark .wrap,
  .download-panel,
  .story-band,
  .story-band.reverse,
  .faq-grid,
  .mock-trio,
  .category-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .story-band.reverse .story-copy,
  .story-band.reverse .story-media { order: initial; }
  .hero-apps h1 { max-width: none; }
  .section-head { text-align: left; margin-left: 0; }
}

@media (max-width: 640px) {
  .nav { flex-direction: column; align-items: flex-start; }
  .nav-links { width: 100%; }
}
