:root {
  --ink: #171b1f;
  --muted: #65717d;
  --paper: #f5efe3;
  --card: rgba(255, 252, 244, 0.82);
  --line: rgba(23, 27, 31, 0.12);
  --blue: #215c78;
  --sea: #2f8f83;
  --gold: #d49a35;
  --red: #bd563d;
  --shadow: 0 24px 80px rgba(25, 42, 52, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "LXGW WenKai Screen", "霞鹜文楷", "Noto Serif SC", Georgia, serif;
  background:
    radial-gradient(circle at 16% 10%, rgba(212, 154, 53, 0.33), transparent 34rem),
    radial-gradient(circle at 86% 8%, rgba(47, 143, 131, 0.24), transparent 31rem),
    linear-gradient(135deg, #f3e4c6 0%, #e6efe7 48%, #d5e6ea 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(23, 27, 31, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 27, 31, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.shell {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 66px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(110deg, rgba(255, 252, 244, 0.95), rgba(255, 252, 244, 0.66)),
    url("data:image/svg+xml,%3Csvg width='220' height='160' viewBox='0 0 220 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 108c36-66 92-72 144-25 20 18 42 22 58 7M20 140c42-42 90-44 150-10' fill='none' stroke='%23215c78' stroke-opacity='.12' stroke-width='11' stroke-linecap='round'/%3E%3C/svg%3E");
  box-shadow: var(--shadow);
  animation: lift 700ms ease-out both;
}

.hero::after {
  content: "";
  position: absolute;
  right: -86px;
  top: -90px;
  width: 275px;
  height: 275px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sea));
  opacity: 0.18;
}

.eyebrow,
.tag {
  margin: 0;
  color: var(--blue);
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 10px 0 16px;
  font-size: clamp(2.5rem, 10vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.hero-actions,
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.primary-link,
.ghost-link,
.links a,
.disabled-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  font-weight: 850;
  text-decoration: none;
}

.primary-link,
.links a {
  color: #fffaf0;
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(33, 92, 120, 0.25);
}

.ghost-link {
  color: var(--blue);
  border: 1px solid rgba(33, 92, 120, 0.28);
  background: rgba(255, 255, 255, 0.32);
}

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid rgba(189, 86, 61, 0.24);
  border-radius: 22px;
  color: #653d2c;
  background: rgba(255, 246, 224, 0.78);
}

.grid {
  display: grid;
  gap: 18px;
}

.site-card,
.checklist,
.login-watch {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--card);
  box-shadow: 0 18px 50px rgba(25, 42, 52, 0.11);
  backdrop-filter: blur(14px);
  animation: rise 640ms ease-out both;
}

.site-card:nth-child(2) {
  animation-delay: 90ms;
}

.site-card:nth-child(3) {
  animation-delay: 180ms;
}

.site-card.featured {
  border-color: rgba(47, 143, 131, 0.28);
}

.site-card.muted {
  opacity: 0.78;
}

.site-mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 26px;
  color: #fffaf0;
  font: 950 1.18rem/1 "Aptos Display", "Trebuchet MS", sans-serif;
  background: linear-gradient(135deg, var(--blue), var(--sea) 58%, var(--gold));
}

h2 {
  margin: 7px 0 8px;
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.site-main p {
  max-width: 680px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

.disabled-link {
  color: var(--muted);
  border: 1px dashed rgba(101, 113, 125, 0.34);
  background: rgba(255, 255, 255, 0.35);
}

.checklist {
  display: block;
  margin-top: 24px;
}

.login-watch {
  grid-template-columns: 1fr;
  margin: 24px 0;
}

.login-watch p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.watch-card {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(47, 143, 131, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
}

.watch-card.overdue {
  border-color: rgba(189, 86, 61, 0.4);
  background: rgba(255, 241, 224, 0.72);
}

.watch-card.push-failed {
  border-color: rgba(189, 86, 61, 0.66);
}

.watch-card strong,
.watch-card span,
.watch-card small,
.today-pill {
  display: block;
}

.watch-card span {
  margin-top: 7px;
  color: var(--blue);
  font-weight: 850;
}

.watch-card small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.today-pill {
  width: fit-content;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #653d2c;
  background: rgba(212, 154, 53, 0.18);
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  font-size: 0.86rem;
  font-weight: 850;
}

.today-pill.ok {
  color: #1d5e55;
  background: rgba(47, 143, 131, 0.18);
}

.watch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.watch-actions a,
.watch-actions button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: "Aptos Display", "Trebuchet MS", sans-serif;
  font-weight: 850;
}

.watch-actions a {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  border: 1px solid rgba(33, 92, 120, 0.28);
  text-decoration: none;
}

.watch-actions button {
  color: #fffaf0;
  border: 0;
  background: var(--sea);
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(47, 143, 131, 0.24);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.check-grid div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.42);
}

.check-grid strong,
.check-grid span {
  display: block;
}

.check-grid span {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.6;
}

@keyframes lift {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 1120px);
    padding: 24px 0 44px;
  }

  .hero,
  .site-card,
  .checklist {
    border-radius: 24px;
  }

  .site-card {
    grid-template-columns: 1fr;
  }

  .watch-grid {
    grid-template-columns: 1fr;
  }

  .site-mark {
    width: 62px;
    height: 62px;
    border-radius: 20px;
  }

  .primary-link,
  .ghost-link,
  .links a,
  .disabled-link,
  .watch-actions a,
  .watch-actions button {
    width: 100%;
    justify-content: center;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }
}
