:root {
  --bg: #f8f2e8;
  --surface: rgba(255, 252, 246, 0.84);
  --surface-strong: #fffaf1;
  --text: #1f271f;
  --muted: #697064;
  --line: rgba(55, 65, 50, 0.14);
  --primary: #1d6b55;
  --primary-dark: #124638;
  --accent: #d6a85f;
  --accent-soft: #efe0bf;
  --shadow: 0 24px 60px rgba(61, 50, 30, 0.12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(214, 168, 95, 0.28), transparent 34rem),
    radial-gradient(circle at top right, rgba(29, 107, 85, 0.18), transparent 34rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
code {
  background: rgba(29, 107, 85, 0.10);
  padding: 0.12rem 0.35rem;
  border-radius: 0.45rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.9rem;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 0.72rem;
  box-shadow: 0 12px 24px rgba(29, 107, 85, 0.22);
}

.brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.72);
  border-radius: 999px;
}
.nav-links a {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.92rem;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: white;
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  border-radius: 0.9rem;
  padding: 0.65rem 0.8rem;
  font-size: 1.1rem;
}

.section-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 3rem;
  padding: 5rem 0 3rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(3.1rem, 8vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  margin-bottom: 1.25rem;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.45rem;
}
.hero-text, .section-heading p, .info-panel p, .download-section p, .page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 63ch;
}

.hero-actions, .trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}
.hero-actions { margin: 2rem 0 1.5rem; }
.trust-row span {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.66);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 32px rgba(29, 107, 85, 0.22);
}
.button.secondary {
  background: rgba(255, 250, 241, 0.78);
  border-color: var(--line);
  color: var(--text);
}
.button.large { min-height: 3.5rem; padding: 1rem 1.4rem; }
.text-link {
  display: inline-flex;
  color: var(--primary-dark);
  font-weight: 850;
  margin-top: 0.65rem;
}

.phone-card {
  display: grid;
  place-items: center;
  position: relative;
}
.app-screenshot-frame {
  width: min(370px, 100%);
  padding: 10px;
  border-radius: 3rem;
  background: linear-gradient(145deg, var(--phone-frame), #26312b);
  box-shadow: 0 32px 70px rgba(61, 50, 30, 0.25);
  transform: rotate(1.2deg);
  transform-origin: center;
}
.homeview-screenshot-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2.35rem;
}
.mockup-caption {
  margin: -1.2rem 0 0;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.78);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(61, 50, 30, 0.08);
}

.feature-section { padding: 5rem 0; }
.section-heading { max-width: 730px; margin-bottom: 2rem; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feature-card, .info-panel, .support-card, .faq-list details, .legal-page {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(61, 50, 30, 0.08);
}
.feature-card {
  padding: 1.3rem;
  min-height: 215px;
}
.feature-card p, .support-card p, .faq-list p, .legal-page p, .legal-page li { color: var(--muted); }
.icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.1rem;
  border-radius: 1rem;
  background: var(--accent-soft);
  font-size: 1.45rem;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 2rem 0 5rem;
}
.info-panel { padding: 2rem; }
.info-panel.accent {
  background: linear-gradient(135deg, rgba(29, 107, 85, 0.96), rgba(18, 70, 56, 0.98));
  color: white;
}
.info-panel.accent .eyebrow, .info-panel.accent p, .info-panel.accent .text-link { color: rgba(255,255,255,0.78); }

.download-section {
  padding: 3.2rem;
  margin-bottom: 5rem;
  text-align: center;
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.36), transparent 18rem),
    linear-gradient(135deg, rgba(214, 168, 95, 0.28), rgba(29, 107, 85, 0.16));
  border: 1px solid var(--line);
}
.download-section p { margin-left: auto; margin-right: auto; }

.page-hero { padding: 5rem 0 2rem; }
.page-hero h1 { font-size: clamp(2.7rem, 7vw, 5.5rem); }
.support-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem 0 3rem;
}
.support-card { padding: 1.5rem; }
.check-list { padding-left: 1.2rem; color: var(--muted); }
.check-list li { margin-bottom: 0.55rem; }
.small-note { font-size: 0.9rem; color: var(--muted); margin-top: 0.75rem; }
.faq-section { padding: 1rem 0 5rem; }
.faq-list { display: grid; gap: 0.85rem; }
.faq-list details { padding: 1.1rem 1.25rem; }
.faq-list summary { cursor: pointer; font-weight: 850; }
.faq-list p { margin: 0.75rem 0 0; }

.legal-page {
  max-width: 920px;
  padding: 3rem;
  margin-top: 3rem;
  margin-bottom: 5rem;
}
.legal-page h1 { font-size: clamp(2.25rem, 5vw, 4.7rem); }
.legal-page h2 { font-size: 1.6rem; margin-top: 2rem; }
.legal-page a { color: var(--primary-dark); font-weight: 750; text-decoration: underline; }
.effective-date { font-weight: 750; color: var(--primary-dark) !important; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer strong { color: var(--text); }
.site-footer p { margin: 0.35rem 0 0; }
.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer a { font-weight: 750; color: var(--text); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .site-header { align-items: flex-start; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 4.5rem;
    right: 1rem;
    left: 1rem;
    border-radius: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  .hero, .feature-grid, .split-section, .support-layout {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 3rem; }
  .app-screenshot-frame { transform: none; width: min(350px, 100%); }
  .feature-card { min-height: auto; }
  .download-section, .legal-page { padding: 1.5rem; }
  .site-footer { flex-direction: column; }
}
