:root {
  --bg: #0b1220;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.09);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.56);
  --stroke: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --accent: #6ee7ff;
  --accent-2: #7c5cff;
  --ok: #2ee59d;

  --radius: 16px;
  --radius-sm: 12px;
  --container: 1120px;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% 10%, rgba(124, 92, 255, 0.35), transparent 55%),
    radial-gradient(1000px 600px at 80% 20%, rgba(110, 231, 255, 0.24), transparent 55%),
    radial-gradient(900px 600px at 50% 95%, rgba(46, 229, 157, 0.14), transparent 55%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(110, 231, 255, 0.6);
  text-underline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, 0.55);
  color: var(--text);
  transform: translateY(-140%);
  transition: transform 180ms ease;
  z-index: 30;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(8, 12, 22, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.95), rgba(110, 231, 255, 0.9));
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.25);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-sub {
  color: var(--faint);
  font-size: 12px;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nav-link:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  margin: 2px 0;
}

.hero {
  padding: 54px 0 20px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 13px;
}

.hero-title {
  font-size: clamp(34px, 4.2vw, 52px);
  margin: 14px 0 8px;
  letter-spacing: 0.02em;
}

.hero-desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 600;
  min-width: 120px;
  transition: transform 120ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  border-color: rgba(110, 231, 255, 0.35);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.9), rgba(110, 231, 255, 0.75));
}

.btn-primary:hover {
  border-color: rgba(110, 231, 255, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
}

.meta-item {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
}

.meta-item dt {
  font-size: 12px;
  color: var(--faint);
}

.meta-item dd {
  margin: 6px 0 0;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.hero-card {
  display: flex;
  justify-content: flex-end;
}

.card {
  width: min(420px, 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card.pad {
  padding: 18px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.dots {
  display: inline-flex;
  gap: 7px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.20);
}

.card-title {
  font-size: 13px;
  color: var(--muted);
}

.card-body {
  padding: 16px;
}

.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
}

.stat-k {
  font-size: 12px;
  color: var(--faint);
}

.stat-v {
  font-weight: 700;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin: 10px 0 12px;
}

.fineprint {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 30px 0 44px;
}

.section-title {
  font-size: 22px;
  margin: 0 0 6px;
}

.section-sub {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 70ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
}

.feature-title {
  margin: 0 0 8px;
  font-size: 16px;
}

.feature-desc {
  margin: 0 0 12px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(110, 231, 255, 0.9);
  font-weight: 600;
}

.text-link:hover {
  text-decoration: none;
  color: rgba(110, 231, 255, 1);
}

.page {
  padding-bottom: 10px;
}

.page-hero {
  padding: 40px 0 10px;
}

.page-title {
  margin: 0;
  font-size: 34px;
  letter-spacing: 0.02em;
}

.page-sub {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 72ch;
}

.prose {
  max-width: 860px;
}

.prose h2 {
  margin: 22px 0 10px;
  font-size: 18px;
}

.prose p,
.prose ul {
  color: var(--muted);
}

.prose ul {
  padding-left: 20px;
}

.info-table {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  margin-top: 10px;
}

.info-table .row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.info-table .row:first-child {
  border-top: 0;
}

.info-table .cell {
  padding: 12px 14px;
}

.info-table .cell.k {
  color: var(--faint);
  background: rgba(255, 255, 255, 0.03);
}

.info-table .cell.v {
  color: var(--text);
}

.callout {
  margin-top: 16px;
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(46, 229, 157, 0.22);
  background: rgba(46, 229, 157, 0.08);
  color: rgba(255, 255, 255, 0.90);
}

.muted {
  color: var(--muted);
}

.card-h {
  margin: 0 0 12px;
  font-size: 16px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.contact-item .k {
  color: var(--faint);
  font-size: 13px;
}

.contact-item .v {
  color: var(--text);
  font-weight: 600;
  word-break: break-word;
}

.hint {
  display: inline-block;
  margin-left: 8px;
  font-weight: 500;
  color: var(--faint);
  font-size: 12px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(8, 12, 22, 0.40);
  backdrop-filter: blur(8px);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 700;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.footer-meta a {
  color: rgba(110, 231, 255, 0.9);
}

.sep {
  color: rgba(255, 255, 255, 0.35);
}

.icp {
  color: var(--muted);
  font-size: 13px;
}

.icp a {
  color: rgba(110, 231, 255, 0.9);
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-card {
    justify-content: flex-start;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    right: 20px;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 12, 22, 0.92);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
    min-width: 200px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .info-table .row {
    grid-template-columns: 1fr;
  }

  .contact-item {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
