:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-alt: #eef3ec;
  --text: #1c1f1d;
  --muted: #59625d;
  --brand: #1f5e3b;
  --brand-strong: #17472d;
  --border: #d6ddd7;
  --shadow: 0 10px 24px rgba(14, 34, 23, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  padding: 3.5rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.logo {
  width: min(480px, 88%);
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.2;
}

h1 {
  margin: 0.2rem 0 0.85rem;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

p {
  margin: 0.4rem 0 0;
  color: var(--text);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.button {
  display: inline-block;
  background: var(--brand);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.68rem 1rem;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.button:hover {
  background: var(--brand-strong);
}

.button-secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.button-secondary:hover {
  background: #e6f0ea;
}

.note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-shot-wrap {
  display: flex;
  justify-content: center;
}

.hero-shot {
  width: min(320px, 92%);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.section {
  padding: 2.3rem 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-list {
  margin: 0.3rem 0 0;
  padding-left: 1.2rem;
}

.feature-list li {
  margin: 0.35rem 0;
}

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

.screenshots-grid figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.7rem;
  box-shadow: var(--shadow);
}

.screenshots-grid img {
  border-radius: 12px;
}

figcaption {
  text-align: center;
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: 0.93rem;
}

.policy-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(1rem, 3vw, 2rem);
}

.policy-intro {
  color: var(--muted);
  margin-bottom: 1rem;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
  margin: 1.25rem 0 0.45rem;
}

.markdown-content p {
  margin: 0.5rem 0;
}

.markdown-content ul {
  margin: 0.45rem 0 0.8rem;
  padding-left: 1.15rem;
}

.markdown-content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.15rem 0;
}

.site-footer {
  padding: 1rem 0 1.3rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.94rem;
}

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

  .hero-shot {
    width: min(290px, 88%);
  }

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