:root {
  --ink: #080D18;
  --ink-2: #0C1526;
  --surface: #111B2E;
  --surface-2: #16233C;
  --surface-glass: rgba(17, 27, 46, 0.65);
  --rose: #6366f1;
  --rose-soft: #a5b4fc;
  --teal: #35DFC9;
  --teal-soft: #8FF3E3;
  --amber: #F2A85C;
  --paper: #EDF3FB;
  --muted: #8CA0C0;
  --muted-2: #5D6F8C;
  --line: rgba(150, 170, 205, 0.14);
  --line-strong: rgba(150, 170, 205, 0.30);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --container: 860px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --ok: #22c55e;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: linear-gradient(160deg, #060A14 0%, var(--ink) 40%, #0A1225 100%);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rose-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 14px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: 0.45em; }
strong { color: var(--paper); }
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 4vw, 28px); }
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 13, 24, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-block: 12px; max-width: 1100px; margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 28px);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font-family: var(--font-display); font-weight: 700; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.top-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.88rem;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff;
  box-shadow: 0 8px 22px -8px rgba(99, 102, 241, 0.55);
}
.btn-primary:hover { text-decoration: none; filter: brightness(1.06); }
.btn-outline {
  border-color: var(--line-strong); color: var(--paper); background: rgba(255,255,255,.03);
}
.btn-outline:hover { border-color: var(--rose-soft); color: var(--rose-soft); text-decoration: none; }
.btn-ok {
  background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac; font-weight: 700;
}
.btn-ok:hover { text-decoration: none; background: rgba(34, 197, 94, 0.25); }
.live-banner {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.18), rgba(99, 102, 241, 0.18));
  border-bottom: 1px solid rgba(34, 197, 94, 0.35);
  padding: 10px 0; text-align: center; font-size: 0.92rem;
}
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); margin-right: 8px;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.breadcrumbs {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted-2);
  padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span[aria-hidden] { opacity: 0.5; }
article.article { padding: 20px 0 64px; }
.meta-row {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted-2); margin-bottom: 18px;
}
.badge {
  background: rgba(99, 102, 241, 0.15); color: var(--rose-soft);
  border: 1px solid rgba(99, 102, 241, 0.4);
  padding: 3px 10px; border-radius: 999px; font-weight: 700; letter-spacing: 0.04em;
}
.badge-out {
  background: rgba(34, 197, 94, 0.15); color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.4);
  padding: 3px 10px; border-radius: 999px; font-weight: 700;
}
h1 { font-size: clamp(1.7rem, 1.15rem + 2vw, 2.45rem); margin-bottom: 16px; }
.article-lede { font-size: 1.08rem; color: var(--muted); margin-bottom: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 28px; }
.card {
  background: var(--surface-glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  margin: 22px 0;
  backdrop-filter: blur(10px);
}
.card h2 { font-size: 1.25rem; }
.card.app-cta {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(53, 223, 201, 0.06));
}
.card.tip {
  border-color: rgba(242, 168, 92, 0.35);
  background: rgba(242, 168, 92, 0.07);
}
.toc {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 24px 0;
}
.toc h2 {
  font-size: 1rem; font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px;
}
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { color: var(--paper); }
.toc a:hover { color: var(--rose-soft); }
.section { margin: 40px 0; }
.section h2 {
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.7rem);
  padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.section h3 { font-size: 1.12rem; margin-top: 22px; color: var(--rose-soft); }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step; position: relative;
  padding: 14px 14px 14px 56px; margin-bottom: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 14px; top: 14px;
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--rose), #4f46e5);
  color: #fff; font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
}
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0;
}
@media (max-width: 640px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-col {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px;
}
.compare-col h3 { margin-top: 0; font-size: 1.05rem; }
.compare-col.pro h3 { color: var(--teal-soft); }
.compare-col.con h3 { color: var(--amber); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 12px 0 4px; }
th, td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); }
th {
  background: var(--surface-2); font-family: var(--font-mono); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--rose-soft);
}
.table-wrap { overflow-x: auto; margin: 8px 0 16px; border-radius: var(--radius-sm); }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 10px; overflow: hidden;
}
.faq-item summary {
  padding: 16px 18px; cursor: pointer; font-weight: 650; list-style: none;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--rose-soft); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 18px 16px; color: var(--muted); font-size: 0.95rem; }
.related {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px;
}
.related a {
  display: block; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--paper); font-size: 0.92rem; font-weight: 600;
}
.related a:hover { border-color: var(--rose-soft); text-decoration: none; color: var(--rose-soft); }
.related a small { display: block; font-weight: 400; color: var(--muted-2); margin-top: 4px; font-size: 0.8rem; }
.guide-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin: 20px 0;
}
.guide-cards a {
  display: block; padding: 20px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); color: var(--paper); transition: border-color .2s, transform .2s;
}
.guide-cards a:hover { border-color: var(--rose-soft); text-decoration: none; transform: translateY(-3px); }
.guide-cards h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--rose-soft); }
.guide-cards p { margin: 0; font-size: 0.9rem; color: var(--muted); font-weight: 400; }
.disclaimer {
  font-size: 0.88rem; color: var(--muted-2); border-left: 3px solid var(--amber);
  padding: 12px 16px; background: rgba(242, 168, 92, 0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 28px 0;
}
footer.page-footer {
  border-top: 1px solid var(--line); padding: 36px 0 28px; background: var(--ink-2);
  font-size: 0.88rem; color: var(--muted-2);
}
footer.page-footer a { color: var(--muted); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; max-width: 1100px;
  margin-inline: auto; padding-inline: clamp(18px, 4vw, 28px); margin-bottom: 24px;
}
.footer-grid h4 {
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted-2); margin-bottom: 12px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom {
  max-width: 1100px; margin-inline: auto; padding: 16px clamp(18px, 4vw, 28px) 0;
  border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .top-links .btn-outline { display: none; }
}
