:root {
  color-scheme: dark;
  --bg: #0a0d12;
  --surface: #12161e;
  --text: #f5f6fa;
  --muted: #9ba1ac;
  --border: rgba(255, 255, 255, 0.1);
  --blue: #7db2ff;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 0%, rgba(71, 149, 240, 0.13), transparent 27rem),
    radial-gradient(circle at 8% 65%, rgba(115, 90, 241, 0.09), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.legal-nav,
.legal-footer,
.legal-doc,
.legal-card {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-nav {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 19px;
  font-weight: 780;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.legal-brand img {
  border-radius: 11px;
  box-shadow: 0 10px 28px rgba(47, 86, 203, 0.22);
}

.legal-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.legal-back:hover { color: #fff; }

.legal-doc {
  padding-block: 78px 90px;
}

.legal-kicker {
  color: #88b8f7;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.15em;
}

h1 {
  margin: 16px 0 10px;
  font-size: clamp(40px, 7vw, 62px);
  font-weight: 740;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

h2 {
  margin: 46px 0 12px;
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

p { color: #b0b5be; }

.meta {
  margin-bottom: 42px;
  color: #717986;
  font-size: 12px;
}

.legal-footer {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: #6f7783;
  font-size: 11px;
}

.legal-footer a {
  color: #8b939f;
  text-decoration: none;
}

.legal-card {
  margin-block: 66px 78px;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(24, 28, 36, 0.94), rgba(13, 16, 22, 0.96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.03);
}

.delete-card h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 52px);
}

.delete-card label {
  display: block;
  margin: 24px 0 8px;
  color: #d8dbe1;
  font-size: 13px;
  font-weight: 670;
}

.delete-card input,
.delete-card button {
  width: 100%;
  min-height: 50px;
  border-radius: 13px;
  font: inherit;
}

.delete-card input {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 7, 11, 0.48);
  padding: 11px 13px;
  color: #fff;
}

.delete-card button {
  margin-top: 14px;
  border: 0;
  background: #b9363b;
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}

.delete-card button.secondary {
  background: linear-gradient(135deg, #2879dc, #6758e5);
  box-shadow: 0 15px 35px rgba(53, 87, 210, 0.24);
}

.delete-card .note {
  color: #7f8793;
  font-size: 13px;
}

.delete-card .status {
  display: none;
  margin-top: 18px;
  padding: 13px;
  border: 1px solid rgba(125, 178, 255, 0.15);
  border-radius: 12px;
  background: rgba(71, 149, 240, 0.08);
  color: #abd0ff;
}

@media (max-width: 560px) {
  .legal-nav,
  .legal-footer,
  .legal-doc,
  .legal-card { width: min(100% - 28px, 820px); }
  .legal-nav { min-height: 72px; }
  .legal-doc { padding-block: 58px 70px; }
  .legal-card { margin-block: 42px 58px; padding: 28px 22px; border-radius: 22px; }
  .legal-footer { gap: 16px; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 22px; }
}
