:root {
  --brand: #8F5F45;
  --brand-soft: #E6DCD1;
  --warm: #C29984;
  --surface: #F5F1E8;
  --text: #2A2320;
  --muted: #6E5D50;
  --card: #FFFFFF;
  --border: rgba(143, 95, 69, 0.15);
  --radius: 16px;
  --shadow: 0 4px 20px rgba(42, 35, 32, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
               "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ---- Header ---- */
.site-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(245, 241, 232, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #756250);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
}
nav a {
  margin-left: 18px;
  font-size: 14px;
  color: var(--muted);
}
nav a:hover { color: var(--brand); text-decoration: none; }

/* ---- Hero ---- */
.hero {
  text-align: center;
  padding: 40px 0 24px;
}
.hero .app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--brand), #756250);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 44px;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.hero .tagline {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 24px;
}
.badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: white !important;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease;
}
.badge-download:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.badge-download.secondary {
  background: transparent;
  color: var(--brand) !important;
  border: 1.5px solid var(--brand);
}

/* ---- Sections ---- */
section { margin-bottom: 40px; }
section h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 16px;
  letter-spacing: -0.3px;
}
section h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 8px;
}
section p, section li {
  color: var(--text);
  margin-bottom: 12px;
}
section ul {
  padding-left: 20px;
}

/* ---- Features grid ---- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.feature {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.feature .icon {
  width: 40px;
  height: 40px;
  background: var(--brand-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---- Doc-page styling ---- */
.doc { background: var(--card); padding: 40px; border-radius: var(--radius);
       box-shadow: var(--shadow); border: 1px solid var(--border); }
.doc h1 { font-size: 30px; margin-bottom: 6px; }
.doc .updated { color: var(--muted); font-size: 13px; margin-bottom: 24px; }

/* ---- FAQ ---- */
.faq-item {
  background: var(--card);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}
.faq-item h3 { margin: 0 0 6px; font-size: 15px; }
.faq-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 24px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  background: var(--card);
}
.site-footer .links {
  margin-bottom: 8px;
}
.site-footer .links a {
  margin: 0 10px;
  color: var(--muted);
}
.site-footer .links a:hover { color: var(--brand); }
