/* F43: the account-deletion pages. Same palette and type as the privacy page (/privacy/). */
:root {
  --bg: #fbfaf7;
  --text: #1f1d1a;
  --muted: #5c5750;
  --link: #2f5d3a;
  --rule: #dedad2;
  --field: #ffffff;
  --danger: #a3261b;
  --danger-text: #ffffff;
  --notice-bg: #f1eee7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171614;
    --text: #ece8e1;
    --muted: #b3ada3;
    --link: #9fd0a9;
    --rule: #3a3733;
    --field: #22201d;
    --danger: #ff8a7a;
    --danger-text: #1b0d0a;
    --notice-bg: #24221f;
  }
}
html { -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 42rem; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 1rem; }
h2 {
  font-size: 1.375rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
h1:focus, h2:focus { outline: none; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: 0.5rem; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
}
.lang { display: flex; justify-content: flex-end; gap: 0.5rem; margin-bottom: 1rem; }
.lang button {
  min-width: 48px;
  min-height: 48px;
  padding: 0 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { border-color: var(--text); font-weight: 600; }
label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.hint { color: var(--muted); margin: 0 0 0.5rem; }
input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--muted);
  border-radius: 0.5rem;
  background: var(--field);
  color: var(--text);
  font: inherit;
}
.actions { margin-top: 1rem; }
.primary, .danger, .secondary {
  min-height: 48px;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.primary { border: 1px solid var(--link); background: var(--link); color: var(--bg); }
.danger { border: 1px solid var(--danger); background: var(--danger); color: var(--danger-text); }
.secondary { border: 1px solid var(--muted); background: transparent; color: var(--text); }
button:disabled { opacity: 0.6; cursor: progress; }
.status { margin-top: 1rem; }
.status:not(:empty) { padding: 0.75rem 1rem; border-radius: 0.5rem; background: var(--notice-bg); }
.status.error { border-left: 4px solid var(--danger); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
[hidden] { display: none !important; }
