:root {
  color-scheme: light dark;
  --ink: #192a4d;
  --muted: #667690;
  --paper: #fff;
  --bg: #f7f9fc;
  --line: #e2e8f2;
  --primary: #1c2c5c;
  --on-primary: #fff;
  --soft: #edf2f9;
  --danger: #b52237;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.7 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
a {
  color: var(--primary);
  text-underline-offset: 4px;
}
header {
  padding: 20px max(24px, calc((100vw - 1100px) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  letter-spacing: -1px;
  font-weight: 800;
  text-decoration: none;
}
nav {
  display: flex;
  gap: 16px;
  font-size: 13px;
}
nav a {
  text-decoration: none;
  color: var(--muted);
}
nav [aria-current] {
  font-weight: 750;
  color: var(--ink);
}
main {
  max-width: 1100px;
  margin: 36px auto 64px;
  padding: 0 24px;
}
.back {
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
}
.intro {
  max-width: 760px;
  margin: 35px 0;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--muted);
}
h1 {
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 14px 0 18px;
}
h2 {
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.4px;
  margin: 0 0 22px;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 24px 0 10px;
}
p {
  color: var(--muted);
  margin: 0 0 20px;
}
.deletion-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}
.form-card,
.steps-card,
.data-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  padding: 32px;
}
.form-card {
  box-shadow: 0 12px 44px #192a4d08;
}
.steps-card {
  background: var(--soft);
  border: 0;
}
.steps-card ol {
  padding-left: 23px;
  margin: 0;
}
.steps-card li {
  padding: 0 0 21px 8px;
  color: var(--muted);
}
.steps-card li::marker {
  color: var(--ink);
  font-weight: 700;
}
.small {
  font-size: 13px;
  line-height: 1.65;
}
.phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 16px;
  margin: 8px 0 15px;
  background: var(--bg);
}
.phone-input input {
  border: 0;
  background: none;
  min-width: 0;
  flex: 1;
  padding: 14px 0;
  margin: 0;
}
.phone-input:focus-within {
  outline: 3px solid #92add248;
  outline-offset: 1px;
}
label {
  font-size: 13px;
  font-weight: 650;
}
input {
  color: var(--ink);
  font: inherit;
  outline: 0;
}
button,
.button-link {
  font: inherit;
  font-weight: 650;
  display: block;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: var(--on-primary);
  cursor: pointer;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  margin-top: 16px;
}
button:disabled {
  opacity: 0.48;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #92add2;
  outline-offset: 3px;
}
.secondary-button {
  background: var(--soft);
  color: var(--ink);
}
.danger-button {
  background: var(--danger);
  color: #fff;
}
.text-button {
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 4px;
  margin-top: 5px;
}
.code-input {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  letter-spacing: 16px;
  text-align: center;
  font-size: 28px;
  padding: 14px 0 14px 16px;
  margin: 8px 0 18px;
}
#message,
.notice {
  padding: 13px 16px;
  border-radius: 10px;
  background: #fff0f1;
  color: #8b2737;
  font-size: 13px;
  margin-bottom: 20px;
}
#busy {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.success-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 24px;
}
.data-card {
  margin-top: 32px;
}
.data-card section + section {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.data-card p:last-child {
  margin-bottom: 0;
}
.data-card section {
  margin-bottom: 24px;
}
footer {
  font-size: 13px;
  margin-top: 32px;
  color: var(--muted);
}
footer p {
  margin: 16px 0;
}
.steps-card .small {
  margin-top: 8px;
  margin-bottom: 0;
}
@media (max-width: 700px) {
  header {
    padding: 16px 20px;
  }
  .brand {
    font-size: 21px;
  }
  nav {
    gap: 12px;
  }
  main {
    padding: 0 16px;
    margin-top: 24px;
  }
  .intro {
    margin: 26px 0;
  }
  .deletion-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-card,
  .steps-card,
  .data-card {
    padding: 25px 22px;
    border-radius: 16px;
  }
  h2 {
    font-size: 21px;
  }
  h3 {
    font-size: 17px;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1f1f1;
    --muted: #b6b8bd;
    --paper: #151618;
    --bg: #0c0d0f;
    --line: #303236;
    --primary: #f1f1f1;
    --on-primary: #151618;
    --soft: #242629;
    --danger: #772335;
  }
  #message,
  .notice {
    background: #302026;
    color: #f2c8cf;
  }
  .danger-button {
    background: #f1f1f1;
    color: #151618;
  }
}
