:root {
  --bg: #eef2f1;
  --ink: #12141a;
  --muted: #5d6670;
  --line: #d7dde0;
  --accent: #10b981;
  --panel: rgba(255, 255, 255, 0.78);
}
html[data-theme="dark"] {
  --bg: #0b1114;
  --ink: #eef4f5;
  --muted: #a8b7be;
  --line: #25323a;
  --accent: #21d8a0;
  --panel: rgba(16, 23, 28, 0.78);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% -10%, rgba(63, 110, 220, 0.16) 0, transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(22, 148, 118, 0.16) 0, transparent 35%),
    var(--bg);
}
.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.announcement {
  margin-top: 10px;
  border: 1px solid color-mix(in oklab, var(--line) 85%, white);
  border-radius: 999px;
  padding: 8px 14px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  background: color-mix(in oklab, var(--panel) 90%, white);
}
header { position: sticky; top: 10px; z-index: 10; }
.nav {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 40px rgba(0,0,0,.16);
  backdrop-filter: blur(18px) saturate(145%);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-icon { width: 30px; height: 30px; border-radius: 8px; }
.logo-word { font-size: 1.35rem; font-weight: 820; color: var(--ink); }
.logo-word span { color: var(--accent); }
.top-links { display: flex; align-items: center; gap: 8px; }
.top-link {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--panel) 70%, white 30%);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .84rem;
  font-weight: 700;
}
.top-link.active { color: #bdf3e3; background: linear-gradient(150deg, rgba(44,79,90,.82), rgba(21,58,65,.7)); border-color: rgba(94,224,184,.34); }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--panel) 75%, white 25%);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.theme-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.is-hidden { display: none; }
main { padding: 56px 0 72px; }
.hero h1 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: .98; }
.hero p { color: var(--muted); max-width: 66ch; font-size: 1.02rem; }
.section { margin-top: 34px; }
.section h2 { margin: 0 0 10px; font-size: 1.45rem; }
.section .sub { margin: 0 0 14px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 14px; }
.card h3 { margin: 0 0 8px; font-size: 1rem; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }
.tag { display: inline-block; margin-top: 10px; border: 1px solid rgba(94,224,184,.4); color: #0f8f6b; border-radius: 999px; padding: 4px 9px; font-size: .74rem; font-weight: 700; }
html[data-theme="dark"] .tag { color: #bdf3e3; }
footer { border-top: 1px solid var(--line); padding: 20px 0 36px; color: var(--muted); font-size: .84rem; }
@media (max-width: 920px){ .grid { grid-template-columns: 1fr; } .nav{ flex-wrap: wrap; justify-content:center;} }
