:root {
  --bg: #f4f1e8;
  --bg-soft: #e7f0e4;
  --card: #fffcf7;
  --text: #163028;
  --muted: #52685c;
  --accent: #1b7a43;
  --accent-2: #0e5c32;
  --line: #d7e0d2;
  --header: #10241c;
  --header-text: #f4f7f2;
  --ochre: #a8843d;
  --shadow: 0 18px 40px rgba(16, 36, 28, 0.08);
}

* { box-sizing: border-box; }

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img { height: auto; }

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(27, 122, 67, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.02em;
}

a { color: var(--accent-2); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 28px;
  background: rgba(16, 36, 28, 0.94);
  color: var(--header-text);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--header-text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 7px;
  background: #f4f7f2;
  padding: 2px;
}

.top-tabs {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

.top-tabs a {
  color: var(--header-text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.top-tabs a:hover { background: rgba(255, 255, 255, 0.08); }

.top-tabs .admin-tab {
  background: #d7f5e2;
  color: #0c3d24;
  font-weight: 650;
  margin-left: 6px;
}

.top-tabs .admin-tab:hover { background: #edfff3; }

#home, #about, #features, #docs, #download { scroll-margin-top: 88px; }

main.landing {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 22px 64px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--ochre);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 650;
}

.kicker-light { color: #e7c98a; }

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46rem;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.02;
  color: #10241c;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 36px;
  align-items: center;
  padding: 18px 0 8px;
  background: transparent;
  border: 0;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--accent-2);
  color: #f6fff8;
  font-weight: 650;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent-2);
}

.btn:hover { background: #0a4a28; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: #b7c7bb;
}

.btn-outline:hover { background: rgba(16, 36, 28, 0.04); }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  position: relative;
}

.hero-photo {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: 72% center;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-phone {
  position: absolute;
  width: min(230px, 46%);
  right: 16px;
  bottom: 16px;
  border-radius: 22px;
  filter: drop-shadow(0 18px 24px rgba(16, 36, 28, 0.35));
}

.audience {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audience p {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}

.audience ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.92rem;
}

.section { margin-top: 72px; }

.section-head { max-width: 640px; margin-bottom: 28px; }

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

.feature-grid article {
  padding: 18px 16px 20px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.card-index {
  display: block;
  margin-bottom: 18px;
  font-family: "Fraunces", Georgia, serif;
  color: var(--ochre);
  font-size: 0.95rem;
}

.feature-grid h3 { margin: 0 0 8px; font-size: 1.25rem; }

.feature-grid p,
.feature-grid li,
.doc-note {
  margin: 0;
  color: var(--muted);
}

.feature-grid ul {
  margin: 0;
  padding-left: 1.1rem;
}

.feature-grid li + li { margin-top: 6px; }

.app-feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-feature-grid figure {
  margin: 0;
  display: grid;
  gap: 12px;
}

.shot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}

.shot img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.app-feature-grid figcaption {
  display: grid;
  gap: 4px;
  padding: 0 4px 8px;
}

.app-feature-grid figcaption span { color: var(--muted); }

.project-info-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  gap: 36px;
  align-items: center;
  padding: 18px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.founders { margin: 0; }

.founders img,
.project-info-image {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  max-height: 460px;
}

.doc-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.doc-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
}

.doc-list a small {
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.doc-list a:hover { border-color: #9db8a6; }

.contact {
  margin-top: 22px;
  font-style: normal;
  display: grid;
  gap: 4px;
}

.contact p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.download-section {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
  padding: 36px 36px 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(232, 201, 138, 0.16), transparent 42%),
    #123528;
  color: #f4f7f2;
}

.download-section h2,
.download-section p { color: #f4f7f2; }

.download-section p:not(.kicker) {
  margin: 0;
  max-width: 38rem;
  color: #d5e4da;
}

.download-panel { text-align: center; }

.play-store-link { display: inline-block; line-height: 0; }

.play-store-badge {
  width: min(220px, 100%);
  height: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 28px 22px 36px;
  text-align: center;
}

.site-footer p { margin: 0; }

.footer-links {
  margin-top: 10px !important;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-links a { color: var(--accent-2); text-decoration: none; }

@media (max-width: 900px) {
  .hero,
  .feature-grid,
  .project-info-layout,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    width: 100%;
    height: 380px;
  }

  .hero-phone {
    width: min(200px, 46%);
    right: 12px;
  }

  .audience {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
  }

  .top-tabs { width: 100%; justify-content: flex-start; }

  #home, #about, #features, #docs, #download { scroll-margin-top: 88px; }

main.landing { padding: 12px 14px 40px; }

  .hero-photo { height: 280px; border-radius: 20px; }

  .hero-phone { position: static; width: min(220px, 70%); margin: -48px auto 0; }

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

  .download-section { padding: 24px 18px 16px; }

  h1 { font-size: 2.35rem; }
}
