:root {
  --bg: #f4efe7;
  --panel: rgba(255, 252, 247, 0.92);
  --panel-strong: #fffaf4;
  --ink: #16211f;
  --muted: #586864;
  --line: rgba(22, 33, 31, 0.12);
  --brand: #1f5a52;
  --brand-soft: #dbe9e4;
  --accent: #ab6b2e;
  --ok-bg: #eef7f3;
  --ok-text: #1c5c42;
  --wait-bg: #fff3e1;
  --wait-text: #8f5a15;
  --shadow: 0 24px 60px rgba(20, 28, 26, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(171, 107, 46, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(31, 90, 82, 0.12), transparent 28%),
    linear-gradient(180deg, #fbf7f1 0%, var(--bg) 100%);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(251, 247, 241, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-mark {
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.94rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
}

.nav a:hover,
.nav a.active {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
}

.hero {
  padding: 48px 0 24px;
}

.hero-grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
  gap: 22px;
}

.card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card-inner {
  padding: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 90, 82, 0.08);
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.35rem);
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 14px;
}

.lead {
  font-size: 1.06rem;
  color: #243330;
  max-width: 58ch;
}

.tag-row,
.badge-row,
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag,
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.tag {
  background: rgba(31, 90, 82, 0.08);
  color: var(--brand);
}

.status-ok {
  background: var(--ok-bg);
  color: var(--ok-text);
}

.status-waiting {
  background: var(--wait-bg);
  color: var(--wait-text);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  border-color: var(--line);
}

.metric-list,
.list,
.simple-list {
  display: grid;
  gap: 12px;
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.metric:last-child {
  border-bottom: 0;
}

.metric .label {
  color: var(--muted);
}

.metric .value {
  text-align: right;
  font-weight: 600;
}

.section {
  padding: 18px 0 14px;
}

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

.mini-card {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.muted {
  color: var(--muted);
}

.notice {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(171, 107, 46, 0.08);
  border: 1px solid rgba(171, 107, 46, 0.12);
}

.table-like {
  display: grid;
  gap: 12px;
}

.table-row {
  display: grid;
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row .head {
  color: var(--muted);
}

.site-footer {
  padding: 22px 0 48px;
}

.footer-card {
  background: rgba(22, 33, 31, 0.96);
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
}

.footer-card a {
  color: #f7d6a8;
}

.login-wrap {
  max-width: 560px;
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 600;
}

.field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
}

.field-help {
  font-size: 0.92rem;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.page-intro {
  padding: 38px 0 14px;
}

@media (max-width: 900px) {
  .hero-grid,
  .content-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

@media (max-width: 640px) {
  .site-header .shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-inner,
  .footer-card {
    padding: 22px;
  }

  .hero {
    padding-top: 28px;
  }
}
