:root {
  --bg: #fdfbf7;
  --card: #ffffff;
  --ink: #1f2328;
  --muted: #6b7280;
  --line: #e8e2d8;
  --accent: #c2571a;
  --accent-soft: #fbeade;
  --radius: 12px;
  --max: 760px;
  --max-wide: 980px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  font-size: 16px;
  line-height: 1.75;
}

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
a:hover { border-bottom-color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 20px; }

/* header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(253, 251, 247, .92);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(6px);
}
.site-header .inner {
  max-width: var(--max-wide); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.brand { font-size: 18px; font-weight: 700; letter-spacing: .04em; color: var(--ink); border: 0; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--muted); border: 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }

/* hero */
.hero { padding: 64px 0 44px; text-align: center; }
.hero h1 { font-size: 34px; line-height: 1.35; margin: 0 0 14px; letter-spacing: .02em; }
.hero p { color: var(--muted); margin: 0 auto; max-width: 620px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 28px 0 56px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* article */
article { padding: 44px 0 24px; }
article h1 { font-size: 28px; line-height: 1.4; margin: 0 0 8px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
article h2 { font-size: 20px; margin: 34px 0 12px; }
article p, article li { font-size: 16px; }
article ul, article ol { padding-left: 1.4em; }
article li { margin: .3em 0; }
blockquote {
  margin: 22px 0; padding: 14px 18px; background: var(--accent-soft);
  border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0;
}
blockquote p { margin: 0; }
code {
  font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
  font-size: .9em; background: #f2ede4; padding: .12em .4em; border-radius: 4px;
}
pre {
  background: #23262b; color: #e8e6e3; padding: 16px 18px; border-radius: 10px;
  overflow-x: auto; font-size: 14px; line-height: 1.65;
}
pre code { background: none; padding: 0; color: inherit; }
table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }

/* list */
.list { list-style: none; padding: 0; margin: 24px 0 56px; }
.list li { border-bottom: 1px solid var(--line); padding: 18px 0; }
.list h3 { margin: 0 0 6px; font-size: 18px; }
.list .date { color: var(--muted); font-size: 14px; }
.list p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* status */
.status-table td.state { white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.dot.up { background: #2f9e5f; }
.dot.down { background: #c0392b; }
.dot.unknown { background: #b0b0b0; }

.note { color: var(--muted); font-size: 14px; }

/* footer */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 40px;
  text-align: center; color: var(--muted); font-size: 14px;
}
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.muted { color: var(--muted); }

@media (max-width: 600px) {
  .hero { padding: 44px 0 28px; }
  .hero h1 { font-size: 26px; }
  article h1 { font-size: 23px; }
  .nav { gap: 12px; font-size: 14px; }
}
