:root {
  --bg: #12151c;
  --bg-2: #181c25;
  --panel: #1d2230;
  --panel-2: #242a3b;
  --line: #32394d;
  --text: #e9edf5;
  --muted: #93a0b8;
  --accent: #4f8cff;
  --accent-2: #6aa2ff;
  --ok: #34d399;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
a { color: var(--accent-2); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 20px 80px; }

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(18, 21, 28, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 60px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 700;
}
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.logo {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(145deg, #4f8cff, #2563eb);
  display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 800;
}
.nav-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  text-decoration: none; font-weight: 600; font-size: 14px;
}
.btn.primary { background: var(--accent); border-color: transparent; color: #fff; }
.btn.lg { height: 46px; padding: 0 20px; }

.hero {
  padding: 48px 0 12px;
}
.kicker {
  color: var(--accent-2); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600; margin: 0 0 10px;
}
h1 {
  margin: 0 0 14px; font-size: 40px; letter-spacing: -0.04em; line-height: 1.15;
}
.lead { color: #c9d3e5; font-size: 18px; margin: 0 0 22px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; }
.crumbs {
  color: var(--muted); font-size: 13px; margin: 18px 0 8px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }

.shot {
  margin: 22px 0 28px; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; background: var(--panel);
}
.shot figcaption { color: var(--muted); font-size: 13px; padding: 8px 12px 12px; }

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 36px;
}
.card {
  display: block; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 16px 14px; text-decoration: none; color: inherit;
}
.card:hover { border-color: #4b5d86; }
.card h3 { margin: 0 0 6px; font-size: 17px; color: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .kw { color: var(--accent-2); font-size: 12px; font-weight: 600; margin-bottom: 6px; }

.group-title {
  margin: 36px 0 12px; font-size: 22px; letter-spacing: -0.03em;
}

article h2 { margin: 32px 0 10px; font-size: 26px; letter-spacing: -0.03em; }
article h3 { margin: 22px 0 8px; font-size: 19px; }
article p { margin: 0 0 14px; }
article ul, article ol { margin: 0 0 16px; padding-left: 1.2em; }
article li { margin: 0 0 8px; }
article strong { color: #fff; }
.note {
  background: #1a2438; border: 1px solid #31456d; border-radius: 12px;
  padding: 14px 16px; color: #d5def0; margin: 16px 0 20px;
}
.warn {
  background: #2a2216; border: 1px solid #6b5424; border-radius: 12px;
  padding: 14px 16px; color: #f3e2b8; margin: 16px 0 20px;
}
table {
  width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px;
}
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--panel); }

.faq details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; margin: 0 0 8px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: #c9d3e5; }

.related { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 28px; }
.final {
  background: linear-gradient(180deg, #1a2740, #151a24);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 22px; text-align: center; margin: 36px 0 12px;
}
.final h2 { margin: 0 0 8px; }
.final p { color: var(--muted); }

.foot {
  border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
  padding: 22px 0 36px; margin-top: 20px;
}
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; margin-right: 14px; }
.foot a:hover { color: #fff; }

@media (max-width: 900px) {
  h1 { font-size: 30px; }
  .grid, .related { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
