:root {
  --bg: #ecd7d0;
  --ink: #1a1220;
  --muted: #6d534c;
  --accent: #8c3d32;
  --line: color-mix(in srgb, #1a1220 12%, transparent);
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
}

.splash {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
}

.splash__logo {
  display: block;
  width: 50%;
  max-width: 360pt;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.splash__bot {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.page {
  flex: 1 0 auto;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 16px 32px;
}

.legal p,
.legal li {
  font-size: 0.95rem;
  line-height: 1.45;
}

.legal ul {
  margin: 0.35rem 0 0.85rem;
  padding-left: 1.2rem;
}

.legal h2 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0.75rem 0 1rem;
}

.legal th,
.legal td {
  border-bottom: 1px solid var(--line);
  padding: 0.4rem 0.35rem;
  text-align: left;
}

.site-footer {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  justify-content: center;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  font-size: 0.85rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--muted);
}

.back {
  display: inline-block;
  margin: 4px 0 16px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

h1 {
  font-size: 1.25rem;
  margin: 0 0 16px;
}
