:root {
  --bg: #F5F3EF;
  --card: #FFFFFF;
  --text: #1A1A1A;
  --muted: #999999;
  --green: #1D9E75;
  --green-dark: #085041;
  --green-light: #9FE1CB;
  --border: #E2DED8;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  margin-left: 20px;
}

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

/* Hero (landing) */
.hero {
  text-align: center;
  padding: 64px 0 32px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

.cta {
  display: inline-block;
  background: var(--green-dark);
  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}

.cta:hover { text-decoration: none; opacity: 0.9; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 64px;
}

.feature {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  color: var(--muted);
}

/* Doc pages (privacy / terms) */
.doc h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.doc .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.doc h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.doc h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 8px;
}

.doc p, .doc li {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--text);
}

.doc ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.doc strong { font-weight: 600; }

.doc hr {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 32px 0;
}

/* Footer */
footer {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

footer a {
  color: var(--muted);
  margin-left: 16px;
}

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

@media (max-width: 600px) {
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  header { flex-direction: column; gap: 20px; align-items: flex-start; }
  nav a { margin-left: 0; margin-right: 16px; }
  footer { flex-direction: column; gap: 12px; align-items: flex-start; }
  footer a { margin-left: 0; margin-right: 16px; }
}
