:root {
  color-scheme: light;
  font-family: Onest, system-ui, sans-serif;
  color: #271f34;
  background: #f7f4fa;
  line-height: 1.5;
  --accent: #5633c5;
  --danger: #a52243;
  --muted: #5e536a;
  --line: #e7dfee;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 0; }
a, .text-button { color: var(--accent); text-underline-offset: .24em; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.site-bar, .page, .page-footer { width: min(100% - 32px, 590px); margin-inline: auto; }
.site-bar { padding-block: 28px 0; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 158px; height: auto; display: block; }
.page { margin-top: 42px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(30px, 6vw, 44px); font-weight: 670; letter-spacing: -.045em; line-height: 1.12; }
h2 { font-size: 19px; font-weight: 650; line-height: 1.25; }
.intro { margin-block: 12px 24px; color: var(--muted); }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
#consequences { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
ul { margin: 10px 0; padding-inline-start: 22px; }
li + li { margin-top: 4px; }
#consequences p, .hint, .billing { color: var(--muted); font-size: 14px; }
.hint strong { color: #271f34; overflow-wrap: anywhere; }
.billing { margin: 16px 4px 0; }
label { display: block; font-weight: 620; margin-bottom: 6px; }
input {
  width: 100%;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid #9890a4;
  border-radius: 12px;
  color: #271f34;
  background: #fff;
  font-size: 16px;
}
#deletion-code { letter-spacing: .22em; font-variant-numeric: tabular-nums; }
#deletion-code::placeholder { letter-spacing: normal; }
#email-hint { margin-top: 8px; }
#code-form h2 + p { margin-block: 8px 16px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  margin-top: 16px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.primary { background: var(--accent); }
.danger { background: var(--danger); }
.button:hover:not(:disabled) { filter: brightness(.93); }
.button:disabled { color: #544b60; background: #ece7f0; cursor: default; }
.links { display: flex; flex-wrap: wrap; column-gap: 20px; margin: 8px -4px 0; }
.text-button { min-height: 44px; padding: 4px; text-align: start; border: 0; background: none; cursor: pointer; }
.text-button:hover:not(:disabled) { text-decoration: underline; }
.text-button:disabled { color: var(--muted); cursor: default; }
.form-error { margin-top: 12px; color: var(--danger); font-size: 14px; font-weight: 550; }
.success p { margin-top: 12px; color: var(--muted); }
.success .button { margin-top: 24px; }
.page-footer { display: flex; flex-wrap: wrap; column-gap: 20px; padding-block: 22px 28px; font-size: 14px; }
.page-footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 480px) {
  .site-bar { padding-top: 14px; }
  .page { margin-top: 20px; }
  .intro { margin-bottom: 16px; }
  .panel { padding: 16px; border-radius: 20px; }
  .page-footer { padding-top: 12px; }
}
