:root {
  --bg: #fbf4f3;
  --surface: #ffffff;
  --text: #231c1b;
  --muted: #6e6260;
  --line: #ecdedc;
  --accent: #a80c0c;
  --accent-soft: #f7e6e4;
  --focus: #c4321f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171313;
    --surface: #211b1a;
    --text: #f2ecea;
    --muted: #aea19e;
    --line: #362c2a;
    --accent: #ec8f84;
    --accent-soft: #321f1d;
    --focus: #f4a79d;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, sans-serif;
  line-height: 1.6;
}

a { color: var(--accent); }
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

main { flex: 1; }

.hero {
  text-align: center;
  padding: 3rem 0 2rem;
}
.logo {
  display: inline-block;
  width: 11rem;
  height: auto;
  border-radius: 50%;
  background: #fff;
}
.hero h1 {
  margin: 1.5rem 0 0.25rem;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  line-height: 1.15;
  color: var(--accent);
}
.hero .sub {
  margin: 0;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 1.25rem;
  color: var(--muted);
}
.rule {
  width: 4rem;
  height: 2px;
  margin: 1.25rem auto 0;
  background: var(--accent);
  border: 0;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

section { margin: 2rem 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list li + li { border-top: 1px solid var(--line); }
.list a, .list .row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--text);
}
.list a:hover { background: var(--accent-soft); }
.list li:first-child > a { border-radius: 12px 12px 0 0; }
.list li:last-child > a { border-radius: 0 0 12px 12px; }
.list li:only-child > a { border-radius: 12px; }

.icon {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.icon svg { width: 1.25rem; height: 1.25rem; }

.label {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
}
.value { display: block; overflow-wrap: break-word; }

footer {
  padding: 1.5rem 0 2rem;
  font-size: 0.8125rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
footer p { margin: 0.25rem 0; }
footer .legal { font-size: 0.6875rem; white-space: normal; }

/* Legal / long-form pages */
.page-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
  text-decoration: none;
  color: var(--accent);
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: 700;
  font-size: 1.125rem;
}
.page-head img {
  width: 2.5rem;
  height: auto;
  border-radius: 50%;
  background: #fff;
}

.prose {
  padding: 1.5rem 1.25rem;
  margin: 0 0 2rem;
}
.prose h1 {
  margin: 0 0 0.25rem;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: clamp(1.6rem, 6vw, 2rem);
  line-height: 1.2;
  color: var(--accent);
}
.prose .updated {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.prose h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}
.prose p, .prose ul { margin: 0 0 0.75rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin: 0.25rem 0; }
