:root {
  --bg: #f6f2f7;
  --bg-soft: #fbf8fc;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-alt: #f1eaf3;
  --text: #1f2330;
  --text-soft: #5a6172;
  --line: rgba(79, 87, 107, 0.14);
  --line-strong: rgba(79, 87, 107, 0.24);
  --accent: #d8bfd8;
  --accent-strong: #b894c2;
  --accent-deep: #7a5b86;
  --shadow: 0 18px 50px rgba(76, 51, 88, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI Variable", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(216, 191, 216, 0.28), transparent 34%),
    radial-gradient(circle at right center, rgba(226, 214, 236, 0.42), transparent 24%),
    linear-gradient(180deg, #fffdfd 0%, var(--bg) 44%, #f4eef4 100%);
  line-height: 1.6;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(122, 91, 134, 0.48);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

code {
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  background: rgba(216, 191, 216, 0.22);
  color: var(--accent-deep);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(251, 248, 252, 0.78);
  border-bottom: 1px solid rgba(79, 87, 107, 0.08);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-inner {
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: linear-gradient(145deg, #efe2ef, #d8bfd8);
  color: #4b3753;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
}

.hero {
  padding: 4.75rem 0 2.4rem;
}

.hero-grid,
.section-head,
.about-grid,
.launch-grid,
.entry-grid,
.notice-layout,
.server-grid,
.governance-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.panel,
.launch-card,
.entry-card,
.notice-feature,
.notice-list article,
.server-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2.2rem;
  border-radius: var(--radius-xl);
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.hero-text,
.section-intro,
.panel p,
.entry-card p,
.notice-feature p,
.notice-list p,
.server-card p,
.governance-panel p,
.site-footer p {
  color: var(--text-soft);
}

.hero-text {
  max-width: 64ch;
  margin: 1.2rem 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(145deg, #d8bfd8, #cfafd5);
  color: #35283b;
  box-shadow: 0 16px 30px rgba(168, 128, 172, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero-points {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-soft);
}

.hero-points li::before {
  content: "";
  flex: 0 0 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
}

.hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--radius-xl);
}

.stat-card,
.mini-grid article {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.stat-card span,
.mini-grid span,
.entry-tag,
.notice-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card strong,
.mini-grid strong {
  display: block;
  font-size: 1.38rem;
  letter-spacing: -0.02em;
}

.stat-card p {
  margin-bottom: 0;
}

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

.section {
  padding: 1.4rem 0 1.8rem;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 1rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(216, 191, 216, 0.14));
  z-index: -1;
}

.section-head {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  align-items: end;
  margin-bottom: 1.2rem;
}

.section h2 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.section-intro {
  margin: 0;
}

.about-grid,
.launch-grid,
.entry-grid,
.server-grid,
.governance-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel,
.launch-card,
.entry-card,
.notice-feature,
.notice-list article,
.server-card {
  padding: 1.45rem;
  border-radius: var(--radius-lg);
}

.panel h3,
.launch-card h3,
.entry-card h3,
.notice-feature h3,
.notice-list h3,
.server-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.18rem;
}

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

.launch-card h3 {
  font-size: 1.14rem;
}

.launch-card p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.launch-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-card a,
.footer-links a {
  color: var(--accent-deep);
  font-weight: 600;
}

.entry-card a:hover,
.footer-links a:hover,
.entry-card a:focus-visible,
.footer-links a:focus-visible {
  color: #5a4264;
}

.notice-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.notice-feature time {
  display: inline-flex;
  margin-top: 0.9rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(216, 191, 216, 0.2);
  color: var(--accent-deep);
  font-size: 0.86rem;
}

.notice-list {
  display: grid;
  gap: 1rem;
}

.server-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.governance-panel {
  min-height: 100%;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(79, 87, 107, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-meta {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .notice-layout,
  .about-grid,
  .launch-grid,
  .server-grid,
  .governance-grid,
  .entry-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding: 0.5rem 0 0.2rem;
    border-top: 1px solid rgba(79, 87, 107, 0.08);
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .hero-copy,
  .hero-panel,
  .panel,
  .launch-card,
  .entry-card,
  .notice-feature,
  .notice-list article,
  .server-card,
  .footer-inner {
    padding: 1.2rem;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
