:root {
  --cream: #F8F4EC;
  --white: #FFFFFF;
  --sage: #DDE6D8;
  --green: #3F6651;
  --green-dark: #24372D;
  --text-muted: #8B9086;
  --text-faint: #ABAFA3;
  --danger: #C0503F;
  --border: rgba(36, 55, 45, 0.10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--green-dark);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.page.wide {
  max-width: 860px;
}

/* Landing page hero */
.hero-section {
  text-align: center;
  padding: 72px 0 8px;
}

.hero-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: block;
  margin: 0 auto 28px;
  box-shadow: 0 8px 24px rgba(36, 55, 45, 0.15);
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 16px;
}

.hero-description {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 auto 36px;
}

.hero-image-frame {
  max-width: 640px;
  margin: 0 auto 40px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(36, 55, 45, 0.08), 0 24px 48px rgba(36, 55, 45, 0.14);
}

.hero-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Store badges */
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
}

.download-button img {
  height: 52px;
  width: auto;
  display: block;
}

/* Feature highlights */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 640px) {
  .hero-section {
    padding: 48px 0 8px;
  }
  .hero-title {
    font-size: 32px;
    max-width: none;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Header */
.site-header {
  text-align: center;
  margin-bottom: 40px;
}

.site-header img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: block;
  margin: 0 auto 16px;
}

.site-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.effective-date {
  font-size: 13px;
  color: var(--text-faint);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.tagline {
  font-size: 15px;
  color: var(--text-muted);
  margin: 8px 0 0;
}

/* Nav pills, used on the index page and in footers */
.nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 0;
}

.nav-pills a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.nav-pills a:hover {
  background: var(--sage);
}

/* Content sections */
.section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 28px;
  margin-bottom: 20px;
}

.section h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 12px;
}

.section p {
  font-size: 15px;
  margin: 0 0 12px;
}

.section p:last-child {
  margin-bottom: 0;
}

.section ul, .section ol {
  font-size: 15px;
  padding-left: 22px;
  margin: 0 0 12px;
}

.section li {
  margin-bottom: 6px;
}

.section li:last-child {
  margin-bottom: 0;
}

.intro-text {
  font-size: 15.5px;
  color: var(--green-dark);
}

.highlight {
  background: var(--sage);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14.5px;
}

.highlight p {
  margin: 0;
}

.contact-info {
  font-size: 15.5px;
}

a {
  color: var(--green);
}

a:hover {
  color: var(--green-dark);
}

strong {
  color: var(--green-dark);
}

/* FAQ — <details>/<summary>, no JS needed */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  list-style: none;
  width: 100%;
  padding: 16px 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--text-faint);
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: '\2212';
}

.faq-answer {
  padding: 0 0 16px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.faq-answer p {
  margin: 0;
}

/* Footer */
.site-footer {
  text-align: center;
  margin-top: 48px;
  font-size: 13px;
  color: var(--text-faint);
}

.site-footer .nav-pills {
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .page {
    padding: 40px 18px 60px;
  }
  .section {
    padding: 22px 20px;
  }
}
