/* Vedara legal pages — single stylesheet shared by index.html, privacy.html, terms.html. */

:root {
  --bg: #F7F2E8;
  --surface: #FFFFFF;
  --text: #2C2520;
  --text-soft: #6B6058;
  --muted: #9A9088;
  --line: #E5DDD0;
  --accent: #7FB069;
  --accent-soft: #E3EFDB;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.hero { text-align: center; padding: 32px 0 24px; }
.hero h1 {
  font-size: 38px; font-weight: 300; letter-spacing: 6px;
  color: var(--accent); margin: 0 0 6px;
}
.hero .tagline {
  color: var(--muted); font-size: 14px; margin: 0;
}

.back {
  display: inline-block; margin-bottom: 16px;
  color: var(--accent); text-decoration: none; font-size: 14px;
}
.back:hover { text-decoration: underline; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

.card {
  display: block;
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.card .emoji { font-size: 28px; display: block; margin-bottom: 8px; }
.card h2 {
  font-size: 18px; font-weight: 500; margin: 0 0 4px; color: var(--text);
}
.card p {
  font-size: 13px; color: var(--text-soft); margin: 0; line-height: 1.5;
}

.doc {
  background: var(--surface);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.doc h1 {
  font-size: 28px; font-weight: 400; margin: 0 0 8px; color: var(--text);
}
.doc h2 {
  font-size: 19px; font-weight: 500; margin: 32px 0 10px;
  color: var(--text); padding-top: 8px; border-top: 1px solid var(--line);
}
.doc h2:first-of-type { border-top: none; padding-top: 0; }
.doc h3 {
  font-size: 15px; font-weight: 600; margin: 20px 0 6px; color: var(--text);
}
.doc p {
  font-size: 14px; line-height: 1.65; color: var(--text-soft); margin: 0 0 12px;
}
.doc strong { color: var(--text); font-weight: 600; }
.doc ul, .doc ol { padding-left: 20px; margin: 8px 0 16px; }
.doc li {
  font-size: 14px; line-height: 1.65; color: var(--text-soft); margin-bottom: 6px;
}
.doc li::marker { color: var(--accent); }
.doc a { color: var(--accent); }
.doc hr {
  border: none; border-top: 1px solid var(--line); margin: 24px 0;
}
.doc em { color: var(--muted); font-style: italic; }
.doc code {
  background: var(--accent-soft); padding: 2px 6px; border-radius: 4px;
  font-size: 12px; color: var(--text);
}

footer {
  text-align: center; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 12px;
}
footer a { color: var(--accent); }
