:root {
  --bg: #f5e8d1;
  --surface: #faf2e0;
  --surface-elevated: #fcf6ea;
  --text-primary: #0f0a06;
  --text-secondary: #6c5a46;
  --text-tertiary: #998771;
  --accent: #b37330;
  --accent-soft: #d8b487;
  --accent-dark: #845420;
  --ember: #e0a66b;
  --separator: #d8c7a8;
  --shadow: 0 14px 36px rgba(89, 64, 35, 0.13), 0 2px 6px rgba(89, 64, 35, 0.07);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 920px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: ui-serif, "Source Serif 4", Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(216, 180, 135, 0.32), transparent 55%),
    radial-gradient(circle at 82% 88%, rgba(132, 84, 32, 0.10), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

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

/* HERO */
.hero {
  padding: 24px 24px 80px;
}

.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto 64px;
}

.brand {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.4px;
}

.navlinks a {
  margin-left: 18px;
  color: var(--text-secondary);
  font-size: 15px;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

.hero-inner h1 {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: -0.8px;
}

.lede {
  font-size: 20px;
  color: var(--text-secondary);
  margin: 0 0 36px;
  font-style: italic;
}

.cta {
  display: inline-block;
  background: var(--accent-dark);
  color: white;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}
.cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(89, 64, 35, 0.20);
}

.muted {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-top: 18px;
}

/* MAIN */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 80px;
}

.feature {
  background: var(--surface-elevated);
  border: 1px solid var(--separator);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
}

.feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* MANIFESTO */
.manifesto {
  max-width: 680px;
  margin: 80px auto;
  text-align: center;
  padding: 0 24px;
}

.manifesto h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 600;
  margin: 0 0 24px;
  letter-spacing: -0.4px;
}

.manifesto p {
  font-size: 19px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
}

/* DOWNLOAD */
.download-block {
  text-align: center;
  margin-top: 80px;
  padding: 48px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--separator);
}

.download-block h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.download-block p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 24px;
}

/* PAGES (privacy / support) */
.page {
  max-width: 720px;
  margin: 64px auto;
  padding: 0 24px 64px;
}

.page h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: -0.4px;
}

.page h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 10px;
}

.page p, .page li {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

.page a {
  border-bottom: 1px solid var(--accent-soft);
}

.back {
  display: inline-block;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 36px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 36px 24px 48px;
  color: var(--text-tertiary);
  font-size: 13px;
  border-top: 1px solid var(--separator);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

footer a {
  color: var(--text-secondary);
  margin: 0 6px;
}
