:root {
  --teal: #2f9e8f;
  --teal-dark: #1f7a6d;
  --text: #1b2b29;
  --text-secondary: #50635f;
  --bg: #f6faf9;
  --surface: #ffffff;
  --border: #e2ebe9;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--teal-dark);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

/* Site header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-dark);
  text-decoration: none;
}

.nav a {
  margin-left: 18px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav a:hover {
  color: var(--teal-dark);
}

/* Hero */
.hero {
  text-align: center;
  padding: 56px 0 32px;
}

.hero h1 {
  font-size: 36px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 28px;
}

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

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

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

.btn-secondary {
  background: var(--surface);
  color: var(--teal-dark);
  border: 1px solid var(--border);
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 40px 0;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* Legal document */
.legal h1 {
  font-size: 30px;
  margin: 24px 0 8px;
}

.legal .updated {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 24px;
}

.legal .intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 20px;
  margin: 32px 0 10px;
}

.legal p {
  margin: 0 0 12px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 24px 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.site-footer a {
  text-decoration: none;
  margin: 0 8px;
}

/* Email is revealed on click (see contact.js), so the link starts as a label. */
.contact-link {
  cursor: pointer;
}
