/* Echo legal site — paper, ink, amber. Keep it quieter than the app. */

:root {
  --paper: #faf8f5;
  --paper-warm: #fdfbf6;
  --ink: #2c2c2e;
  --muted: #6e6e73;
  --amber: #e8a87c;
  --mint: #b5d6c8;
  --rule: rgba(44, 44, 46, 0.12);
  --max: 38rem;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "Source Han Serif SC", serif;
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.mark {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}

.mark:hover { color: var(--amber); }

nav a, .lang button {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

nav { display: flex; gap: 1rem; align-items: center; }

nav a[aria-current], .lang button[aria-pressed="true"] {
  color: var(--ink);
}

h1 {
  font-weight: 500;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}

.lede {
  color: var(--muted);
  margin: 0 0 2rem;
}

h2 {
  font-weight: 500;
  font-size: 1.15rem;
  margin: 2rem 0 0.6rem;
}

p, li { margin: 0 0 0.85rem; }
ul { padding-left: 1.15rem; }
li { margin-bottom: 0.45rem; }

a { color: var(--ink); text-underline-offset: 0.18em; }
a:hover { color: var(--amber); }

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.2rem 0;
}

.meta {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.faq dt {
  font-weight: 500;
  margin-top: 1.2rem;
}

.faq dd { margin: 0.3rem 0 0; color: var(--muted); }

[hidden] { display: none !important; }
