:root {
  --cream: #f6f1e7;
  --surface: #fffbf3;
  --surface-variant: #ede5d7;
  --ink: #27231d;
  --muted-ink: #6f6658;
  --green: #3d654b;
  --green-container: #d8e8da;
  --gold: #ffb300;
  --max-width: 68rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 241, 231, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface-variant);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 22%;
}

.hero .app-icon {
  display: block;
  width: 5.5rem;
  height: auto;
  margin: 0 auto 1.4rem;
  border-radius: 22%;
  box-shadow: 0 10px 28px rgba(39, 35, 29, 0.22);
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted-ink);
  font-weight: 600;
}

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

/* ---------- Hero ---------- */

.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero .eyebrow {
  display: inline-block;
  background: var(--green-container);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
}

.hero p.tagline {
  font-size: 1.2rem;
  color: var(--muted-ink);
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(61, 101, 75, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(61, 101, 75, 0.4);
}

.store-button svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

/* ---------- Sections ---------- */

.section {
  padding: 3rem 0;
}

.section h2 {
  font-size: 1.8rem;
  margin: 0 0 1.5rem;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--surface-variant);
  border-radius: 16px;
  padding: 1.5rem;
}

.feature .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--green-container);
  color: var(--green);
  margin-bottom: 0.9rem;
  font-size: 1.3rem;
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

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

/* ---------- Screenshots ---------- */

.screenshots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 2rem;
}

.screenshots figure {
  margin: 0;
  text-align: center;
}

.screenshots img {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--surface-variant);
  box-shadow: 0 12px 32px rgba(39, 35, 29, 0.18);
}

.screenshots figcaption {
  margin-top: 0.8rem;
  color: var(--muted-ink);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Prose (privacy policy) ---------- */

.prose {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.prose h1 {
  font-size: 2.1rem;
  margin: 0 0 0.5rem;
}

.prose .meta {
  color: var(--muted-ink);
  margin: 0 0 2rem;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 2.2rem 0 0.7rem;
}

.prose p,
.prose li {
  color: var(--ink);
}

.prose ul {
  padding-left: 1.3rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--surface-variant);
  padding: 2rem 0;
  text-align: center;
  color: var(--muted-ink);
  font-size: 0.9rem;
}

.site-footer a {
  color: inherit;
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }

  .section {
    padding: 2.25rem 0;
  }

  .screenshots img {
    max-width: 17rem;
  }
}
