:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #090c22;
  color: #f7f3ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 5%, rgba(145, 38, 232, 0.3), transparent 32rem),
    radial-gradient(circle at 90% 90%, rgba(0, 180, 220, 0.2), transparent 35rem),
    #090c22;
}

main {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #ec1fb4, #7628ed 55%, #00bce7);
  box-shadow: 0 10px 30px rgba(127, 34, 227, 0.35);
  font-size: 1.45rem;
}

.card {
  margin-top: 28px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(178, 187, 230, 0.18);
  border-radius: 28px;
  background: rgba(25, 30, 65, 0.94);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
}

h1,
h2 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 7vw, 3.4rem);
}

h2 {
  margin-top: 32px;
  font-size: 1.25rem;
}

p,
li {
  color: #c8cce5;
  line-height: 1.6;
}

a {
  color: #d9a7ff;
}

.lead {
  color: #eef0ff;
  font-size: 1.12rem;
}

.notice,
.status {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(93, 105, 170, 0.18);
  color: #e9eaff;
}

.notice-danger {
  border: 1px solid rgba(255, 71, 82, 0.55);
  background: rgba(255, 71, 82, 0.1);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

button,
.button {
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 14px;
  background: #9226e8;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

button:hover,
.button:hover {
  background: #a842f1;
}

button:focus-visible,
.button:focus-visible,
input:focus-visible {
  outline: 3px solid #70dfff;
  outline-offset: 3px;
}

button.danger {
  border: 1px solid #ff4752;
  background: transparent;
  color: #ff8087;
}

button.danger:not(:disabled):hover {
  background: rgba(255, 71, 82, 0.12);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

label {
  display: block;
  margin-top: 22px;
  color: #fff;
  font-weight: 700;
}

input {
  width: 100%;
  margin-top: 8px;
  padding: 14px 2px;
  border: 0;
  border-bottom: 2px solid #666d98;
  background: transparent;
  color: #fff;
  font: inherit;
}

.impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.impact li {
  padding: 14px;
  border-radius: 14px;
  background: rgba(90, 96, 150, 0.18);
}

.impact strong {
  display: block;
  color: #fff;
  font-size: 1.4rem;
}

[hidden] {
  display: none !important;
}

footer {
  margin-top: 28px;
  color: #9298bd;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 520px) {
  main {
    width: min(100% - 20px, 760px);
    padding-top: 24px;
  }

  .card {
    border-radius: 22px;
  }

  .actions,
  button,
  .button {
    width: 100%;
  }
}
