:root {
  --ink: #172033;
  --muted: #718096;
  --line: #e4eaf2;
  --surface: #ffffff;
  --page: #f5f8fc;
  --blue: #2864e8;
  --teal: #14a89b;
  --shadow: 0 18px 50px rgba(35, 58, 96, .08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--page);
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 5%, rgba(40, 100, 232, .10), transparent 28rem),
    radial-gradient(circle at 92% 20%, rgba(20, 168, 155, .10), transparent 28rem),
    var(--page);
}

a { color: inherit; text-decoration: none; }

.shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(228, 234, 242, .85);
}

.brand, .card-top, .status, .notice {
  display: flex;
  align-items: center;
}

.brand { gap: 12px; }
.brand-mark, .site-icon {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 10px 20px rgba(40, 100, 232, .2);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; letter-spacing: .2px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 12px; }

.status {
  gap: 7px;
  color: #5e6c80;
  font-size: 13px;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #19b981;
  box-shadow: 0 0 0 4px rgba(25, 185, 129, .12);
}

main { flex: 1; padding: 78px 0 40px; }
.intro { max-width: 640px; }
.eyebrow {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -.8px;
}

.lead {
  max-width: 580px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.site-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.site-card:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 100, 232, .35);
  box-shadow: 0 24px 60px rgba(35, 58, 96, .13);
}

.site-card.pending:hover { transform: none; border-color: var(--line); box-shadow: var(--shadow); }
.card-top { justify-content: space-between; }
.site-icon { width: 44px; height: 44px; border-radius: 13px; font-size: 18px; font-weight: 800; }
.api-icon { font-size: 11px; letter-spacing: .5px; }
.site-icon.muted { color: #8794a8; background: #eef2f7; box-shadow: none; }
.tag { padding: 5px 9px; color: #2563c7; border-radius: 999px; background: #edf4ff; font-size: 12px; font-weight: 700; }
.api-tag { color: #087f78; background: #e8faf7; }
.muted-tag { color: #8290a3; background: #f0f3f7; }

h2 { margin: 27px 0 9px; font-size: 23px; letter-spacing: -.2px; }
.site-card p { max-width: 420px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.enter { display: inline-flex; gap: 12px; align-items: center; margin-top: 30px; color: var(--blue); font-size: 14px; font-weight: 700; }
.enter b { font-size: 20px; font-weight: 500; transition: transform .18s ease; }
.site-card:hover .enter b { transform: translateX(4px); }
.muted-text { color: #9aa5b4; }

.notice {
  gap: 12px;
  margin-top: 18px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.62);
}

.notice-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--blue);
  border-radius: 50%;
  background: #eaf2ff;
  font-size: 13px;
  font-weight: 800;
}

.notice strong { display: block; font-size: 13px; }
.notice p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 0 28px;
  color: #9aa5b4;
  font-size: 12px;
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 560px); }
  .topbar { min-height: 70px; }
  main { padding: 55px 0 30px; }
  h1 { font-size: 36px; }
  .site-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .site-card { min-height: 224px; padding: 23px; }
  footer { gap: 10px; flex-direction: column; }
}
