/* The consent screen. Colors come from theme.css, which the build writes from the app's own tokens (src/theme/colors.ts): no color is typed here. */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--background);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.card {
  width: 100%;
  max-width: 440px;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.overline {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}

h1 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}

h2 { margin: 20px 0 6px; font-size: 15px; font-weight: 600; }
ul { margin: 0; padding-left: 20px; }
li { margin: 4px 0; }
p { margin: 0 0 12px; }
.who, .hint { font-size: 14px; }
.hint { margin-top: 16px; }
strong { overflow-wrap: anywhere; }

label { display: block; margin: 14px 0 6px; font-size: 14px; font-weight: 600; }

input {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--field-border);
  border-radius: 10px;
}

input:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

button {
  min-height: 48px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
}

button:disabled { cursor: progress; opacity: 0.6; }
.primary { color: var(--on-ink); background: var(--ink); border: 1px solid var(--ink); }
.secondary { color: var(--ink); background: transparent; border: 1px solid var(--ink); }
#signin-form .primary { width: 100%; margin-top: 20px; }
.actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; }
.error { margin-top: 12px; color: var(--danger); font-weight: 600; }
