:root {
  --ink: #1b2430;
  --muted: #5c6b7a;
  --line: #e6eef8;
  --blue: #2f6bff;
  --paper: #f4f8fd;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 28%),
    radial-gradient(720px 360px at 12% 8%, rgba(47, 107, 255, .14), transparent 70%),
    radial-gradient(640px 420px at 78% 86%, rgba(47, 107, 255, .1), transparent 68%),
    repeating-linear-gradient(115deg, rgba(47, 107, 255, .045) 0 1px, transparent 1px 18px),
    var(--paper);
  font: 15px/1.6 "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.brand {
  position: absolute;
  top: 22px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.brand img { width: 28px; height: 28px; }

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 460px) 400px;
  gap: 72px;
  align-items: center;
  justify-content: center;
  width: min(980px, calc(100% - 64px));
  margin: 0 auto;
  padding: 96px 0 48px;
}

.points { text-align: center; }

.points h1 {
  margin: 0 0 28px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 700;
}

.points ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.points li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  text-align: left;
}

.points b {
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
  text-align: center;
}

.points span { font-size: 14px; }

.card {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(27, 36, 48, .08);
  padding: 28px 32px 32px;
}

.tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.tabs button {
  margin: 0 0 -1px;
  padding: 8px 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

label {
  display: block;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

input {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid #d7e2f0;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

input:focus {
  outline: 2px solid rgba(47, 107, 255, .28);
  border-color: var(--blue);
}

.primary {
  width: 100%;
  height: 42px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.primary:disabled { opacity: .55; cursor: default; }

.toast-wrap {
  position: fixed;
  z-index: 1003;
  top: 40px;
  left: 0;
  width: 100%;
  padding: 0 10px;
  text-align: center;
  pointer-events: none;
}

.toast-wrap[hidden] { display: none; }

.toast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #e5e6eb;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
  pointer-events: auto;
}

.toast i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f53f3f;
  color: #fff;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.toast span {
  color: #1d2129;
  font-size: 14px;
  line-height: 1.4;
}

.who {
  display: grid;
  gap: 6px;
  margin: 8px 0 18px;
}

.who span { color: var(--muted); font-size: 13px; }

.who strong { font-size: 22px; }

@media (max-width: 860px) {
  .brand { left: 20px; }
  .page {
    grid-template-columns: 1fr;
    gap: 28px;
    width: min(460px, calc(100% - 32px));
    padding-top: 84px;
  }
  .points { display: none; }
}
