:root {
  --primary: #1877e6;
  --primary-dark: #0d5bbd;
  --primary-soft: #e8f2fd;
  --accent: #12a875;
  --ink: #0f1b2d;
  --text: #33445c;
  --muted: #64748b;
  --line: #e2eaf3;
  --bg: #ffffff;
  --bg-soft: #f5f9fe;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 8px 24px rgba(15, 27, 45, .06);
  --shadow-lg: 0 24px 60px rgba(24, 119, 230, .16);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: .1em .4em;
  border-radius: 6px;
}
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  font: 600 15px/1 var(--font);
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(24, 119, 230, .28); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15, 27, 45, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  color: var(--text); font-weight: 500; font-size: 15px;
  padding: 8px 14px; border-radius: 8px;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--primary); background: var(--primary-soft); }
.site-nav .btn { margin-left: 10px; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(24, 119, 230, .12), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(18, 168, 117, .08), transparent 60%),
    linear-gradient(180deg, #f7fbff 0%, #fff 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(24, 119, 230, .14) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-grid > *, .steps-grid > * { min-width: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 20px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  background: #e7f7f0; border: 1px solid #c4eddc; border-radius: 999px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(18, 168, 117, .18); }
.hl {
  background: linear-gradient(90deg, var(--primary), #3aa0ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; }

.install-box { margin: 28px 0; max-width: 580px; }
.install-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.install-cmd {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 6px 6px 6px 16px; box-shadow: var(--shadow);
}
.install-cmd code {
  flex: 1; min-width: 0; overflow-wrap: anywhere;
  background: none; color: var(--ink); padding: 8px 0; font-size: 14px; line-height: 1.6;
}
.install-cmd .prompt { color: var(--accent); margin-right: 6px; user-select: none; }
.copy-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--primary-soft); color: var(--primary-dark);
  font: 600 13px/1 var(--font); transition: background .2s, color .2s;
}
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover { background: var(--primary); color: #fff; }
.copy-btn.copied { background: var(--accent); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Terminal (light) */
.hero-visual { position: relative; }
.terminal {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.tdot { width: 11px; height: 11px; border-radius: 50%; }
.tdot.r { background: #ff6159; } .tdot.y { background: #ffbd2e; } .tdot.g { background: #28c941; }
.terminal-title { margin-left: 10px; font: 500 12px var(--mono); color: var(--muted); }
.terminal-body {
  margin: 0; padding: 20px 22px 24px;
  font: 13px/1.75 var(--mono); color: var(--ink);
  overflow-x: auto; white-space: pre;
}
.t-accent { color: var(--primary); }
.t-num { color: var(--primary); font-weight: 600; }
.t-ok { color: var(--accent); font-weight: 600; }
.cursor {
  display: inline-block; width: 8px; height: 16px; margin-left: 2px;
  vertical-align: -3px; background: var(--primary); animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); font-size: 14px; font-weight: 600; color: var(--ink);
  animation: float 5s ease-in-out infinite;
}
.fc-icon {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: var(--primary-soft); color: var(--primary); font-size: 14px;
}
.fc-icon.ok { background: #e7f7f0; color: var(--accent); }
.fc-1 { left: -28px; bottom: -44px; }
.fc-2 { right: -18px; top: -20px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

.stats {
  position: relative; list-style: none; margin: 64px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stats li { padding: 22px 24px; text-align: center; }
.stats li + li { border-left: 1px solid var(--line); }
.stats strong { display: block; font-size: 1.75rem; font-weight: 700; color: var(--primary); line-height: 1.2; }
.stats span { font-size: 14px; color: var(--muted); }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary);
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: #c8dcf3; box-shadow: var(--shadow); transform: translateY(-3px); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 12px; background: var(--primary-soft); color: var(--primary);
}
.icon svg { width: 24px; height: 24px; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.steps { list-style: none; margin: 28px 0 32px; padding: 0; }
.steps li { display: flex; gap: 18px; padding: 18px 0; }
.steps li + li { border-top: 1px dashed var(--line); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
.step-no {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700;
}
.req-card {
  padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.note {
  margin: 20px 0 0; padding: 12px 14px; font-size: 14px;
  background: #fff8e8; border: 1px solid #fbe3a6; border-radius: 10px; color: #7a5a12;
}

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 8px 0 8px 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%;
  background: #e7f7f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a875' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list li.warn::before {
  background: #fff1e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8730c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Features */
.feature {
  display: block; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.feature:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.feature h3 { font-size: 1rem; margin: 10px 0 6px; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }
.f-no { font: 600 13px var(--mono); color: var(--primary); background: var(--primary-soft); padding: 3px 8px; border-radius: 6px; }

/* Panels */
.panel { padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.panel-head .icon { margin: 0; }
.panel-head h2 { margin: 0; font-size: 1.5rem; }

/* Chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips li {
  padding: 12px 24px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
}
.chips .chip-main { background: var(--primary); border-color: var(--primary); color: #fff; }

/* CTA */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 48px 56px; border-radius: 20px; color: #fff;
  background: linear-gradient(120deg, var(--primary) 0%, #3aa0ff 100%);
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; opacity: .9; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-top: 64px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-grid p { color: var(--muted); max-width: 320px; }
.footer-grid h3 { font-size: 15px; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 4px 0; color: var(--muted); }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--primary); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); margin-left: 20px; }

/* Page hero (trang con) */
.page-hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(24, 119, 230, .1), transparent 60%),
    linear-gradient(180deg, #f7fbff 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 820px; }
.page-hero .lead { margin: 0; max-width: 680px; }
.page-meta { margin: 0; font-size: 14px; color: var(--muted); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }
.section-tight { padding: 56px 0 72px; }
.narrow { max-width: 820px; }
.link-arrow { display: inline-block; margin-top: 12px; font-weight: 600; }
.link-arrow:hover { text-decoration: underline; }

/* Tính năng */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.toc a {
  padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
}
.toc a:hover { color: var(--primary); border-color: var(--primary); }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 48px 0; scroll-margin-top: 88px;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row:nth-of-type(even) .feature-media { order: 2; }
.feature-media img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.feature-text h2 { margin: 12px 0 8px; font-size: 1.6rem; }
.feature-text > p { color: var(--muted); }
.feature-text .check-list { columns: 2; column-gap: 24px; }
.feature-text .check-list li { break-inside: avoid; font-size: 15px; }
.tech-grid .panel h3 { font-size: 1.25rem; margin-bottom: 12px; }
.tech-grid .check-list li { font-size: 15px; }

/* Hướng dẫn */
.guide-featured {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 36px 40px; margin-bottom: 32px; color: inherit;
  background: linear-gradient(120deg, #f2f8ff, #eaf9f3); border: 1px solid #cfe3f7; border-radius: 18px;
  transition: box-shadow .2s, transform .2s;
}
.guide-featured:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.guide-featured .badge { margin-bottom: 12px; }
.guide-featured h2 { font-size: 1.6rem; }
.guide-featured p { margin: 0; color: var(--muted); max-width: 680px; }
.guide-card {
  display: block; padding: 24px; color: inherit; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.guide-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.guide-card h3 { margin: 12px 0 6px; }
.guide-card p { margin: 0; font-size: 14px; color: var(--muted); }

.section-doc { padding: 48px 0 80px; }
.doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.doc-nav {
  position: sticky; top: 96px; padding: 20px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.doc-nav h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 10px; }
.doc-nav ul { list-style: none; margin: 0; padding: 0; }
.doc-nav a { display: block; padding: 7px 10px; font-size: 14px; color: var(--text); border-radius: 8px; }
.doc-nav a:hover { color: var(--primary); }
.doc-nav a[aria-current] { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 3px rgba(15, 27, 45, .08); }

.prose { font-size: 16.5px; line-height: 1.75; }
.prose h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .3em 0; }
.prose strong { color: var(--ink); }
.prose figure { margin: 1.4em 0; }
.prose figure img, .prose p img {
  border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.prose pre {
  margin: 1.2em 0; padding: 16px 18px; overflow-x: auto;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
}
.prose pre code { background: none; padding: 0; color: var(--ink); font-size: 14px; }
.pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line);
}
.pager a {
  display: block; padding: 16px 20px; color: var(--ink); font-weight: 600; font-size: 15px;
  border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s;
}
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager small { display: block; margin-bottom: 4px; font-weight: 500; font-size: 13px; color: var(--muted); }
.pager-next { text-align: right; }

/* Change log */
.release {
  margin-bottom: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.release[open] { box-shadow: var(--shadow); }
.release summary {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px; cursor: pointer; list-style: none;
}
.release summary::-webkit-details-marker { display: none; }
.release summary::after {
  content: ""; width: 9px; height: 9px; margin-left: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s;
}
.release[open] summary::after { transform: rotate(-135deg); }
.ver { font: 600 16px var(--mono); color: var(--ink); }
.tag {
  padding: 3px 10px; font-size: 12px; font-weight: 600; color: var(--accent);
  background: #e7f7f0; border-radius: 999px;
}
.release time { margin-left: auto; font-size: 14px; color: var(--muted); }
.release-body { padding: 0 22px 18px; border-top: 1px solid var(--line); }
.release-body h3 { font-size: 1rem; margin: 18px 0 6px; }
.release-body ul { margin: 12px 0 0; padding-left: 1.3em; }
.release-body h3 + ul { margin-top: 0; }
.release-body li { margin: 4px 0; font-size: 15px; }

/* Responsive */
@media (max-width: 1024px) {
  .doc-grid { grid-template-columns: 1fr; }
  .doc-nav { position: static; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row:nth-of-type(even) .feature-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .hero-grid, .steps-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 10px;
    background: #fff; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(15, 27, 45, .08);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 14px; }
  .site-nav .btn { margin: 8px 0 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .section { padding: 64px 0; }
  .guide-featured { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .feature-text .check-list { columns: 1; }
  .pager { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .grid-4 { grid-template-columns: 1fr; }
  .terminal-body { font-size: 11px; padding: 16px; }
  .float-card { display: none; }
  .copy-btn span { display: none; }
  .hero-actions .btn { flex: 1; }
  .panel, .req-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom a { margin: 0 16px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
