/* ============================================================
   MoranVault · document pages (Privacy / Terms / Support)
   Morandi palette, matches the main site; self-contained.
   ============================================================ */
:root {
  --bg: #F3EFE6;
  --surface: #FFFFFF;
  --ink: #2B2D42;
  --ink-soft: #5C5E70;
  --line: #E5DFD3;
  --sage: #A3B18A;
  --blue: #8E9AAF;
  --tan: #DDBEA9;
  --oat: #E0CDA9;
  --dark: #1C1C1E;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 760px; margin: 0 auto; padding: 22px 20px 4px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand img { width: 34px; height: 34px; border-radius: 9px; display: block; }
.brand b { font-size: 17px; font-weight: 600; letter-spacing: .01em; }

.lang-select {
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink);
  border: 1px solid var(--line); border-radius: 20px; padding: 7px 30px 7px 14px;
  cursor: pointer; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%235C5E70' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none; -webkit-appearance: none;
}
.lang-select:focus { outline: none; border-color: var(--sage); }

/* ---------- main column ---------- */
main { max-width: 720px; margin: 0 auto; padding: 16px 20px 60px; }
header { margin-bottom: 8px; }
.brand-row { margin-bottom: 18px; }
h1 { font-size: 27px; line-height: 1.35; margin: 0 0 10px; font-weight: 700; }
h2 {
  font-size: 18px; margin: 38px 0 12px; font-weight: 600;
  padding-top: 18px; border-top: 1px solid var(--line);
}
h3 { font-size: 16px; margin: 22px 0 8px; font-weight: 600; }
.lede { color: var(--ink-soft); font-size: 15px; }
.lede2 { color: var(--ink-soft); font-size: 14px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 20px 0;
}
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

p, li { color: var(--ink); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
a { color: var(--sage); text-decoration: none; }
a:hover { text-decoration: underline; }

code {
  background: rgba(128,128,128,.12); padding: 1px 6px; border-radius: 6px;
  font-size: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-soft); font-weight: 600; }

/* ---------- footer ---------- */
footer {
  margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 14px; text-align: center;
}
.foot-copy { display: block; }
.foot-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: baseline; gap: 4px 8px; margin-top: 10px;
}
.foot-links a { white-space: nowrap; color: var(--sage); }
.foot-links .sep { opacity: .5; color: var(--ink-soft); }
