:root {
  --text: #1c1c1c;
  --muted: #4a4a4a;
  --line: #dcdcdc;
  --fill: #f7f7f7;
  --accent: #0f766e;
  --link: #155e75;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background: #fff;
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 12vh 28px 48px;
}

.hero h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0 14px;
  letter-spacing: 0.01em;
}

.site {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 36em;
}

.widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--fill);
  min-height: 88px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  flex: 1;
}

.check-row:disabled {
  cursor: default;
}

.box {
  width: 28px;
  height: 28px;
  border: 2px solid #6b6b6b;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.box .spin,
.box .ok,
.box.loading .idle,
.box.done .idle,
.box.done .spin,
.box.loading .ok {
  display: none;
}

.box.loading .spin,
.box.done .ok {
  display: block;
}

.box.loading,
.box.done {
  border-color: transparent;
  background: transparent;
}

.spin {
  width: 28px;
  height: 28px;
  animation: turn 0.9s linear infinite;
}

.spin circle {
  stroke: var(--accent);
  stroke-dasharray: 56;
  stroke-dashoffset: 18;
}

.ok {
  width: 26px;
  height: 26px;
  fill: var(--accent);
}

.label {
  font-size: 15px;
}

.brand {
  text-align: right;
  min-width: 92px;
}

.shield {
  width: 28px;
  height: 28px;
  margin-left: auto;
  display: block;
}

.shield path:first-child {
  fill: var(--accent);
}

.shield .check {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #555;
}

.brand-links {
  margin-top: 2px;
  font-size: 11px;
  color: #888;
}

.link {
  border: 0;
  background: none;
  color: #888;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.link:hover {
  color: var(--link);
}

.foot {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  color: #8a8a8a;
  font-size: 13px;
}

.panel {
  border: 1px solid var(--line);
  padding: 20px 22px;
  max-width: 420px;
}

.panel::backdrop {
  background: rgba(0, 0, 0, 0.25);
}

.panel h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

.panel p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
}

.panel button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px 12px;
  cursor: pointer;
}

@keyframes turn {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 520px) {
  .page {
    padding-top: 8vh;
  }

  .site {
    font-size: 26px;
  }

  .widget {
    flex-wrap: wrap;
  }

  .brand {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .shield {
    margin: 0;
  }
}
