:root {
  --bg: #f4f5f7;
  --card: #ffffff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --accent: #e2001a; /* brand-like red, to be adjusted */
  --ok: #15803d;
  --error: #b91c1c;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.card {
  background: var(--card);
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.lang-switch { display: flex; justify-content: flex-end; margin-bottom: 0.75rem; }
.lang-switch select {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.35rem 0.5rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

h1 { margin: 0 0 0.5rem; font-size: 1.5rem; }
/* Intro and consent notice share identical typography. */
.lead,
.consent-notice {
  margin: 0 0 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

button,
.button-link {
  display: inline-block;
  width: 100%;
  padding: 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
}
/* Both consent buttons share the same colour. */
.primary,
.secondary { color: #fff; background: var(--accent); border-color: transparent; }
button:disabled { opacity: 0.5; cursor: not-allowed; }

.status { margin: 1rem 0 0; text-align: center; min-height: 1.2em; }
.status.ok { color: var(--ok); font-weight: 600; }
.status.error { color: var(--error); font-weight: 600; }
