:root {
  color-scheme: light;
  --bg-top: #f7efe4;
  --bg-bottom: #e8f0ff;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-border: rgba(52, 77, 123, 0.12);
  --text-main: #142033;
  --text-muted: #5c6980;
  --accent: #d96941;
  --accent-strong: #b64f2a;
  --shadow: 0 18px 60px rgba(31, 48, 87, 0.12);
  --font-display: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-display);
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 38%),
    linear-gradient(160deg, var(--bg-top), var(--bg-bottom));
}

code {
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.08);
  font-size: 0.92em;
}

.page-shell {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.hero-card {
  padding: 2rem;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.96;
}

.intro {
  max-width: 42rem;
  margin: 1rem 0 0;
  line-height: 1.7;
  color: var(--text-muted);
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.site-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 220px;
  padding: 1.4rem;
  border: 1px solid rgba(20, 32, 51, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(31, 48, 87, 0.08);
  color: inherit;
  text-decoration: none;
  transform: translateY(0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-card:hover,
.site-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(217, 105, 65, 0.35);
  box-shadow: 0 18px 40px rgba(31, 48, 87, 0.14);
}

.site-name {
  font-size: 1.35rem;
  font-weight: 700;
}

.site-desc {
  flex: 1;
  line-height: 1.6;
  color: var(--text-muted);
}

.site-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

@media (max-width: 640px) {
  .page-shell {
    padding-top: 2.4rem;
  }

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