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

:root {
  --bg:          #f7f4f0;
  --surface:     #ffffff;
  --border:      #e2ddd8;
  --text:        #1c1815;
  --muted:       #6b6360;
  --accent:      #7c6a56;
  --accent-h:    #5e4f3e;
  --accent-light:#ede8e2;
  --radius:      6px;
  --max-w:       960px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-link:hover { color: var(--text); }

/* ── Hero ── */

.hero {
  padding: 80px 0 72px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.subhead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-h); }

.btn-secondary {
  background: var(--accent-light);
  color: var(--accent-h);
}

.btn-secondary:hover { background: var(--border); }

.platform-note {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── Features ── */

.features {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 48px;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Download ── */

.download {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.download-inner {
  max-width: 560px;
}

.download h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.download p {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.download a:not(.btn) { color: var(--accent); }
.download a:not(.btn):hover { color: var(--accent-h); }

/* ── Footer ── */

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
}

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ── Responsive ── */

@media (max-width: 600px) {
  .hero { padding: 56px 0 48px; }
  .features { padding: 48px 0; }
  .download { padding: 48px 0; }
}
