/* catch. legal pages: the app's dark colors, set for comfortable reading of long text. */

:root {
  color-scheme: dark;
  --bg: #0d0c11;
  --panel: #17161d;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f4f8;
  --muted: #b4b0be;
  --lime: #c8f466;
  --purple: #a78bfa;
  --pink: #ff9fc7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--lime);
  text-decoration: underline;
  text-decoration-color: rgba(200, 244, 102, 0.4);
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

a:hover,
a:focus {
  text-decoration-color: var(--lime);
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 16px 56px;
}

/* Logo as in the app: three dots and the wordmark. */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.mark {
  position: relative;
  width: 30px;
  height: 30px;
}

.mark i {
  position: absolute;
  border-radius: 50%;
}

.mark i:nth-child(1) {
  width: 20px;
  height: 20px;
  left: 0;
  top: 6px;
  background: var(--lime);
}

.mark i:nth-child(2) {
  width: 13px;
  height: 13px;
  right: 0;
  top: 0;
  background: var(--purple);
}

.mark i:nth-child(3) {
  width: 10px;
  height: 10px;
  right: 2px;
  bottom: 0;
  background: var(--pink);
}

.wordmark {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -1px;
}

header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

h1 {
  margin: 0 0 6px;
  font-size: 2.1rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.subtitle {
  margin: 0;
  color: var(--muted);
}

.lang-switch {
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.meta {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.summary {
  padding: 4px 18px;
  background: rgba(200, 244, 102, 0.06);
  border: 1px solid rgba(200, 244, 102, 0.25);
  border-radius: 16px;
}

main section {
  margin: 30px 0;
}

h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h3 {
  margin: 22px 0 4px;
  color: var(--purple);
  font-size: 1rem;
}

p {
  margin: 10px 0;
}

ul {
  margin: 8px 0;
  padding-left: 1.25rem;
}

li {
  margin: 6px 0;
}

.muted {
  color: var(--muted);
}

footer {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
