:root {
  --sage-50: #f4f6f1;
  --sage-100: #e8ede4;
  --sage-200: #d5dfcf;
  --sage-400: #9caf97;
  --sage-500: #819a7b;
  --sage-700: #4f6b58;
  --forest: #23382d;
  --forest-soft: #315943;
  --cream: #fbfcf8;
  --white: #ffffff;
  --ochre: #b97d3e;
  --text: #26342b;
  --muted: #637068;
  --border: rgba(35, 56, 45, 0.12);
  --shadow: 0 18px 48px rgba(35, 56, 45, 0.10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(156, 175, 151, 0.22), transparent 34rem),
    linear-gradient(180deg, var(--sage-50) 0%, var(--cream) 42%, var(--white) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--forest-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--forest);
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(35, 56, 45, 0.08);
  background: rgba(244, 246, 241, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.7), transparent 30%),
    linear-gradient(145deg, var(--sage-400), var(--sage-700));
  box-shadow: 0 8px 20px rgba(49, 89, 67, 0.22);
  color: white;
  font-size: 21px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 650;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--forest);
  font: inherit;
  cursor: pointer;
}

.hero {
  padding: 88px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: var(--forest-soft);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  color: var(--forest);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  margin: 22px 0 20px;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  color: white;
  background: var(--forest-soft);
  box-shadow: 0 12px 28px rgba(49, 89, 67, 0.24);
}

.button-primary:hover {
  color: white;
  background: var(--forest);
}

.button-secondary {
  color: var(--forest);
  border-color: var(--border);
  background: rgba(255,255,255,.76);
}

.app-preview {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.phone {
  width: min(310px, 84vw);
  padding: 14px;
  border: 1px solid rgba(35, 56, 45, 0.12);
  border-radius: 42px;
  background: #15231b;
  box-shadow: 0 32px 70px rgba(35, 56, 45, 0.22);
  transform: rotate(2deg);
}

.phone-screen {
  min-height: 580px;
  overflow: hidden;
  border-radius: 31px;
  background: linear-gradient(180deg, #eef1e8, #fbfcf8);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 22px 18px;
}

.phone-city {
  font-weight: 850;
  color: var(--forest);
}

.phone-card {
  margin: 0 16px 14px;
  padding: 18px;
  border-radius: 21px;
  background: white;
  box-shadow: 0 10px 28px rgba(35,56,45,.08);
}

.metric {
  margin-top: 8px;
  color: var(--forest);
  font-size: 2rem;
  font-weight: 900;
}

.sparkline {
  height: 80px;
  margin-top: 14px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(129,154,123,.32) 42% 46%, transparent 46% 100%),
    linear-gradient(180deg, rgba(213,223,207,.8), rgba(244,246,241,.25));
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.pill {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--sage-100);
  color: var(--forest-soft);
  font-size: .72rem;
  font-weight: 750;
}

.section {
  padding: 76px 0;
}

.section-soft {
  background: rgba(232, 237, 228, 0.62);
  border-block: 1px solid rgba(35, 56, 45, 0.07);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 30px rgba(35,56,45,.055);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--sage-100);
  color: var(--forest-soft);
  font-size: 1.25rem;
}

.card p,
.page-copy p,
.page-copy li {
  color: var(--muted);
}

.source-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.source-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 17px 18px;
  border-radius: 15px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
}

.source-item strong {
  color: var(--forest);
}

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

.legal-link {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
  color: var(--forest);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(35,56,45,.05);
}

.legal-link span:last-child {
  color: var(--muted);
  font-size: .9rem;
}

.page-hero {
  padding: 74px 0 34px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.page-copy {
  max-width: 860px;
  padding-bottom: 90px;
}

.page-copy section {
  margin-top: 38px;
}

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--ochre);
  border-radius: 12px;
  background: #fff8ef;
  color: #694920;
}

.placeholder {
  padding: 2px 6px;
  border-radius: 6px;
  background: #fff1dc;
  color: #7a4c17;
  font-weight: 750;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 14px;
}

.data-table th,
.data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--forest);
  background: var(--sage-100);
}

.data-table td {
  background: rgba(255,255,255,.72);
  color: var(--muted);
}

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--border);
  background: var(--forest);
  color: rgba(255,255,255,.78);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  color: white;
  font-weight: 850;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
}

.small {
  color: var(--muted);
  font-size: .92rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .legal-links {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .app-preview {
    min-height: auto;
  }

  .phone {
    transform: none;
  }

  .source-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    inset: 74px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 8px 4px;
  }

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

  h1 {
    font-size: 3rem;
  }

  .phone-screen {
    min-height: 520px;
  }

  .data-table {
    display: block;
    overflow-x: auto;
  }
}
