:root {
  color-scheme: dark;
  --bg: #080a0d;
  --panel: #11151c;
  --line: #2a303b;
  --text: #eaf0f7;
  --muted: #8c96a6;
  --accent: #00f2a8;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 15px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.consent-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.consent-card {
  width: min(620px, 100%);
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-weight: 900;
}

h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
}

.intro,
.message {
  margin: 0;
  color: var(--muted);
}

.version-box {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1016;
  color: var(--muted);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1016;
}

.check-row input {
  width: 18px;
  height: 18px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

button {
  height: 44px;
  border: 0;
  border-radius: 8px;
  color: #07120f;
  background: var(--accent);
  font-weight: 900;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.message.is-error {
  color: var(--danger);
}

.legal-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: keep-all;
  overflow-wrap: anywhere;
  color: var(--text);
  font: inherit;
}
