:root {
  color-scheme: dark;
  --bg: #07100f;
  --panel: rgba(13, 29, 27, .8);
  --panel-solid: #0d1d1b;
  --line: rgba(137, 203, 190, .18);
  --muted: #8ca6a0;
  --text: #e8f3ef;
  --accent: #70e1bf;
  --accent-2: #f2cc72;
  --danger: #ed997f;
  --sidebar: 248px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Segoe UI", "Microsoft YaHei UI", system-ui, sans-serif; line-height: 1.7; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
a { color: inherit; }
code { color: var(--accent); background: rgba(112,225,191,.08); border: 1px solid rgba(112,225,191,.14); padding: .1em .35em; border-radius: 5px; word-break: break-word; }

.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .12; }
.ambient-a { width: 440px; height: 440px; background: #36d6a8; top: -160px; right: 4vw; }
.ambient-b { width: 360px; height: 360px; background: #d7a73c; bottom: 0; left: 28vw; }

.sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: var(--sidebar); padding: 30px 24px; border-right: 1px solid var(--line); background: rgba(5,14,13,.86); backdrop-filter: blur(22px); display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font: 700 13px/1 ui-monospace, monospace; transform: rotate(45deg); }
.brand-mark::first-line { transform: rotate(-45deg); }
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: .08em; }
.brand small { margin-top: 2px; color: var(--muted); font: 10px/1.2 ui-monospace, monospace; letter-spacing: .1em; }
.sidebar nav { display: grid; gap: 5px; margin: 58px 0; }
.sidebar nav a { padding: 9px 12px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; transition: .2s ease; }
.sidebar nav a:hover, .sidebar nav a.active { border-color: var(--accent); color: var(--text); background: linear-gradient(90deg, rgba(112,225,191,.09), transparent); }
.sidebar-status { margin-top: auto; display: flex; gap: 11px; align-items: center; padding: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.sidebar-status b, .sidebar-status small { display: block; }
.sidebar-status b { font-size: 13px; }
.sidebar-status small { color: var(--muted); font-size: 10px; }
.pulse, .status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 5px rgba(242,204,114,.08); }
.pulse.online, .status-dot.online { background: var(--accent); box-shadow: 0 0 0 5px rgba(112,225,191,.08), 0 0 20px var(--accent); }

.mobile-header { display: none; }
main { margin-left: var(--sidebar); overflow: hidden; }
.hero, .section, footer { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.hero { min-height: 92vh; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 72px; padding: 90px 0 64px; }
.eyebrow, .section-heading p { color: var(--accent); font: 12px/1.2 ui-monospace, monospace; letter-spacing: .18em; }
.hero h1 { margin: 18px 0 24px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(54px, 6.8vw, 100px); line-height: .99; letter-spacing: -.045em; font-weight: 500; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(232,243,239,.42); }
.hero-lead { max-width: 650px; color: #b1c3be; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--line); font: inherit; text-decoration: none; cursor: pointer; transition: .2s ease; }
.button.primary { background: var(--accent); color: #052019; border-color: var(--accent); font-weight: 700; }
.button.primary:hover { background: #9af0d6; transform: translateY(-2px); }
.button.ghost { color: var(--text); background: transparent; }
.button.ghost:hover { border-color: var(--accent); color: var(--accent); }

.server-card { position: relative; padding: 25px; border: 1px solid rgba(112,225,191,.25); background: linear-gradient(145deg, rgba(17,44,39,.9), rgba(7,18,17,.9)); box-shadow: 0 28px 90px rgba(0,0,0,.3); }
.server-card::before, .server-card::after { content: ""; position: absolute; width: 42px; height: 42px; border-color: var(--accent); opacity: .6; }
.server-card::before { top: -6px; left: -6px; border-left: 1px solid; border-top: 1px solid; }
.server-card::after { right: -6px; bottom: -6px; border-right: 1px solid; border-bottom: 1px solid; }
.server-card-head { display: flex; justify-content: space-between; color: var(--muted); font: 11px/1 ui-monospace, monospace; letter-spacing: .16em; }
.server-address { margin: 34px 0 28px; font: 600 clamp(22px, 2.3vw, 34px)/1.2 ui-monospace, monospace; word-break: break-all; }
.server-address em { color: var(--accent); font-style: normal; }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.status-grid div { min-height: 82px; padding: 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.status-grid small, .status-grid strong { display: block; }
.status-grid small { color: var(--muted); font-size: 11px; }
.status-grid strong { margin-top: 5px; font-size: 14px; }
.server-card > p { margin: 20px 0 0; color: var(--muted); font-size: 13px; }

.section { padding: 100px 0 30px; }
.section-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 38px; }
.section-heading > span { color: rgba(112,225,191,.35); font: 40px/1 Georgia, serif; }
.section-heading p, .section-heading h2 { margin: 0; }
.section-heading h2 { margin-top: 5px; font: 500 34px/1.2 Georgia, "Noto Serif SC", serif; }
.announcement { display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding: 30px; border: 1px solid var(--line); background: var(--panel); }
.announcement-date { display: flex; align-items: center; gap: 10px; border-right: 1px solid var(--line); }
.announcement-date b { font: 50px/1 Georgia, serif; color: var(--accent-2); }
.announcement-date span { color: var(--muted); font: 10px/1.3 ui-monospace, monospace; }
.announcement h3 { margin: 9px 0 4px; font-size: 22px; }
.announcement p { margin: 0; color: #aec0ba; }
.tag { color: var(--accent); font: 11px/1 ui-monospace, monospace; border: 1px solid rgba(112,225,191,.3); padding: 5px 8px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps article { min-height: 290px; padding: 25px; background: var(--panel-solid); }
.steps article > b, .rules-grid article > b { color: var(--accent); font: 13px/1 ui-monospace, monospace; }
.steps h3 { margin: 42px 0 10px; }
.steps p { color: var(--muted); font-size: 14px; }
.steps a { color: var(--accent); font-size: 13px; text-decoration: none; }
.notice { margin-top: 20px; padding: 18px 22px; display: flex; gap: 18px; border-left: 3px solid var(--accent); background: rgba(112,225,191,.06); }
.notice strong { white-space: nowrap; color: var(--accent); }
.notice p { margin: 0; color: #b4c5c0; }
.notice.warning { border-color: var(--accent-2); background: rgba(242,204,114,.06); }
.notice.warning strong { color: var(--accent-2); }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-grid article { padding: 26px; border: 1px solid var(--line); background: var(--panel); }
.feature-icon { color: var(--accent-2); font: 11px/1 ui-monospace, monospace; letter-spacing: .15em; }
.feature-grid h3 { margin: 28px 0 7px; }
.feature-grid p { margin: 0; color: var(--muted); }
details { border: 1px solid var(--line); background: rgba(255,255,255,.018); }
details + details { border-top: 0; }
summary { cursor: pointer; padding: 18px 21px; font-weight: 600; }
.feature-grid + details { margin-top: 16px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 22px; }
.chip-list span { padding: 5px 9px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.command-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.command-group { padding: 24px; border-top: 2px solid var(--accent); background: var(--panel); }
.command-group h3 { margin-top: 0; }
.command-group dl { margin: 0; }
.command-group dt { float: left; clear: left; width: 54%; color: var(--accent); font: 12px/2.2 ui-monospace, monospace; }
.command-group dd { margin-left: 54%; color: var(--muted); font-size: 12px; line-height: 2.2; }

.split-section { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: center; }
.clean-list { list-style: none; padding: 0; margin: 25px 0 0; border-top: 1px solid var(--line); }
.clean-list li { display: grid; grid-template-columns: 130px 1fr; padding: 11px 0; border-bottom: 1px solid var(--line); }
.clean-list span { color: var(--muted); }
.voice-visual { height: 260px; display: flex; justify-content: center; align-items: center; gap: 12px; border: 1px solid var(--line); background: radial-gradient(circle, rgba(112,225,191,.11), transparent 58%); }
.voice-visual i { display: block; width: 7px; height: 30px; background: var(--accent); animation: voice 1.2s ease-in-out infinite alternate; }
.voice-visual i:nth-child(2), .voice-visual i:nth-child(6) { height: 70px; animation-delay: -.25s; }
.voice-visual i:nth-child(3), .voice-visual i:nth-child(5) { height: 120px; animation-delay: -.5s; }
.voice-visual i:nth-child(4) { height: 180px; animation-delay: -.75s; background: var(--accent-2); }
@keyframes voice { to { transform: scaleY(.38); opacity: .5; } }

.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.rules-grid article { min-height: 140px; padding: 24px; background: var(--panel-solid); display: grid; grid-template-columns: 50px 1fr; gap: 10px; }
.rules-grid p { margin: 0; color: #b1c3be; }
.faq details p { margin: 0; padding: 0 21px 20px; color: var(--muted); }

footer { margin-top: 100px; padding: 34px 0 50px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; }
footer p { margin: 5px 0 0; color: var(--muted); }
footer div:last-child { display: flex; gap: 24px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 28px; transform: translate(-50%, 30px); padding: 10px 18px; background: var(--accent); color: #052019; opacity: 0; pointer-events: none; transition: .25s ease; font-weight: 700; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .sidebar { display: none; }
  .mobile-header { display: flex; position: sticky; z-index: 30; top: 0; height: 68px; padding: 0 20px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(5,14,13,.92); backdrop-filter: blur(20px); }
  .mobile-header .brand-mark { width: 30px; height: 30px; font-size: 10px; }
  .mobile-download { color: var(--accent); text-decoration: none; }
  main { margin-left: 0; }
  .hero, .section, footer { width: min(100% - 40px, 760px); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 50px; padding-top: 70px; }
  .hero h1 { font-size: clamp(52px, 14vw, 88px); }
  .steps { grid-template-columns: 1fr 1fr; }
  .command-columns { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero, .section, footer { width: min(100% - 28px, 760px); }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 16px; }
  .hero-actions, .notice, footer { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .steps, .feature-grid, .rules-grid, .split-section { grid-template-columns: 1fr; }
  .steps article { min-height: auto; }
  .announcement { grid-template-columns: 1fr; }
  .announcement-date { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .section { padding-top: 74px; }
  .section-heading h2 { font-size: 29px; }
  .status-grid { grid-template-columns: 1fr; }
  .voice-visual { height: 190px; }
  .clean-list li { grid-template-columns: 1fr; }
  footer div:last-child { margin-top: 20px; }
}
