:root {
  --bg: #0b0f14;
  --bg-alt: #0e141b;
  --panel: #121a23;
  --panel-2: #16202b;
  --line: #1e2a37;
  --text: #dce7f2;
  --muted: #8aa0b4;
  --arch: #1793d1;
  --arch-2: #41b6ff;
  --green: #38d39f;
  --amber: #f6c177;
  --red: #f0608a;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--arch-2); text-decoration: none; }
a:hover { text-decoration: underline; }

code { font-family: var(--mono); font-size: 0.9em; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 0.1em 0.4em; }

.container { width: min(1140px, 92%); margin: 0 auto; }

.dim { color: var(--muted); }

::selection { background: rgba(23, 147, 209, 0.4); }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.9rem 4vw;
  background: rgba(11, 15, 20, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--mono); font-weight: 700; font-size: 1rem;
  color: var(--text); letter-spacing: -0.02em; white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--arch-2); margin-right: 0.35rem; }

.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 0.95rem;
  border-radius: 10px; padding: 0.8rem 1.5rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--arch), #0f6fa8);
  color: #fff;
  box-shadow: 0 8px 28px rgba(23, 147, 209, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 34px rgba(23, 147, 209, 0.5); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--arch); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

.hero {
  position: relative;
  padding: 9.5rem 0 4rem;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center;
}

.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 45% at 75% 20%, rgba(23, 147, 209, 0.16), transparent),
    radial-gradient(ellipse 45% 40% at 15% 80%, rgba(56, 211, 159, 0.08), transparent),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 85%);
}

.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--mono); font-size: 0.8rem; font-weight: 500;
  color: var(--green);
  border: 1px solid rgba(56, 211, 159, 0.35);
  background: rgba(56, 211, 159, 0.07);
  border-radius: 999px; padding: 0.35rem 0.9rem; margin-bottom: 1.4rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pulse .dot { animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 211, 159, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(56, 211, 159, 0); }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  font-weight: 900; line-height: 1.06; letter-spacing: -0.03em;
  margin-bottom: 1.3rem;
}

.grad {
  background: linear-gradient(100deg, var(--arch-2), var(--green) 70%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lede { font-size: 1.13rem; color: var(--muted); max-width: 56ch; margin-bottom: 2rem; }
.lede strong { color: var(--text); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }

.stat-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.chip {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-alt));
  padding: 0.9rem 1rem;
}
.chip-num { display: block; font-family: var(--mono); font-weight: 700; font-size: 1.25rem; color: var(--arch-2); }
.chip-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }

.hero-terminal {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #0a0e13;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(23, 147, 209, 0.08);
  overflow: hidden;
}
.term-bar {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.7rem 0.9rem; background: var(--panel); border-bottom: 1px solid var(--line);
}
.tb { width: 11px; height: 11px; border-radius: 50%; }
.tb.r { background: var(--red); } .tb.y { background: var(--amber); } .tb.g { background: var(--green); }
.term-title { margin-left: auto; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }

.term-body { padding: 1.1rem 1.2rem 1.4rem; font-family: var(--mono); font-size: 0.88rem; min-height: 210px; }
.term-line { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.prompt { color: var(--green); font-weight: 700; }
.cmd { color: var(--arch-2); }
#typed { color: var(--text); white-space: pre; }
.caret {
  display: inline-block; width: 9px; height: 1.15em;
  background: var(--arch-2); vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.term-out { margin-top: 0.7rem; color: var(--muted); white-space: pre-wrap; }
.term-out .ok { color: var(--green); }
.term-out .hl { color: var(--arch-2); }
.term-out .warn { color: var(--amber); }

.ticker { overflow: hidden; border-block: 1px solid var(--line); margin-top: 3.5rem; background: var(--bg-alt); }
.ticker-track {
  display: flex; gap: 2.2rem; width: max-content;
  padding: 0.75rem 0;
  font-family: var(--mono); font-size: 0.82rem; color: var(--muted);
  animation: scroll 30s linear infinite;
}
.ticker-track span:nth-child(odd) { color: var(--arch-2); }
@keyframes scroll { to { transform: translateX(-50%); } }

.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center, .section-head:nth-child(n) { }
.kicker {
  font-family: var(--mono); font-size: 0.8rem; font-weight: 700;
  color: var(--arch-2); letter-spacing: 0.08em; text-transform: lowercase;
  display: block; margin-bottom: 0.6rem;
}
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.section-head p { color: var(--muted); }

.ram-compare { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2rem; }
.ram-row { display: grid; grid-template-columns: 240px 1fr; align-items: center; gap: 1.2rem; }
.ram-name { font-family: var(--mono); font-size: 0.85rem; color: var(--text); text-align: right; }
.ram-bar {
  height: 38px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 9px; overflow: hidden;
}
.ram-fill {
  height: 100%; width: 0; border-radius: 8px;
  display: flex; align-items: center; padding-left: 0.8rem;
  font-family: var(--mono); font-size: 0.8rem; font-weight: 700; color: #06121c;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.fill-us-base { background: linear-gradient(90deg, var(--green), #6ee7c7); }
.fill-us-full { background: linear-gradient(90deg, var(--arch), var(--arch-2)); color: #fff; }
.fill-them { background: linear-gradient(90deg, #4a5a6b, #66788c); color: #dce7f2; }
.ram-note { font-size: 0.8rem; color: var(--muted); font-family: var(--mono); }

.proof { margin-top: 2rem; }
.proof img, .shot img, .video-card img, .g-item img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.proof figcaption, .video-card figcaption {
  margin-top: 0.7rem; font-size: 0.82rem; color: var(--muted); font-family: var(--mono); text-align: center;
}

.arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.arch-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg));
  padding: 2.2rem; text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.arch-card:hover { transform: translateY(-4px); border-color: var(--arch); }
.arch-icon { font-size: 2.2rem; margin-bottom: 0.8rem; }
.arch-card h3 { font-family: var(--mono); font-size: 1.3rem; color: var(--arch-2); margin-bottom: 0.6rem; }
.arch-card p { color: var(--muted); font-size: 0.95rem; }

.mini-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem; }
.fact {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem;
  background: var(--panel);
}
.fact strong { display: block; font-size: 0.95rem; margin-bottom: 0.25rem; color: var(--text); }
.fact span { font-size: 0.82rem; color: var(--muted); }

.theme-tabs { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.8rem; }
.theme-tab {
  font-family: var(--mono); font-size: 0.9rem; font-weight: 700;
  color: var(--muted); background: var(--panel); border: 1px solid var(--line);
  padding: 0.6rem 1.4rem; border-radius: 999px; cursor: pointer;
  transition: all 0.18s ease;
}
.theme-tab:hover { color: var(--text); border-color: var(--arch); }
.theme-tab.is-active {
  background: linear-gradient(135deg, var(--arch), #0f6fa8);
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 20px rgba(23, 147, 209, 0.35);
}

.theme-panel { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
.theme-panel[hidden] { display: none; }
.shot-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.shot-row:last-child { grid-template-columns: repeat(3, 1fr); }
.shot { display: block; }
.shot:hover img, .g-item:hover img, .proof:hover img {
  transform: scale(1.015);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55);
}

.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.video-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--panel);
}
.video-card img { border: none; border-radius: 0; border-bottom: 1px solid var(--line); }
.video-card figcaption { display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 1.2rem; text-align: left; }
.video-card figcaption strong { color: var(--text); font-family: var(--sans); font-size: 0.98rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.g-item { display: block; }
.g-item:nth-child(6n+1), .g-item:nth-child(6n+4) { grid-row: span 1; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  background: linear-gradient(180deg, var(--panel), var(--bg));
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--arch); }
.f-ico { font-size: 1.5rem; display: inline-block; margin-bottom: 0.7rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature p { font-size: 0.88rem; color: var(--muted); }

.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.install-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg));
  padding: 2.2rem;
}
.step-num {
  position: absolute; top: -1.1rem; left: 1.6rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--arch), #0f6fa8);
  font-family: var(--mono); font-weight: 700; color: #fff;
  box-shadow: 0 6px 18px rgba(23, 147, 209, 0.4);
}
.install-card h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; font-size: 1.2rem; }
.tag {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
  color: var(--green); border: 1px solid rgba(56, 211, 159, 0.4);
  padding: 0.15rem 0.55rem; border-radius: 999px;
}
.install-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }

.code {
  position: relative; background: #0a0e13; border: 1px solid var(--line);
  border-radius: 10px; padding: 1rem 1.2rem; overflow-x: auto;
}
.code code { background: none; border: none; padding: 0; font-size: 0.82rem; color: var(--green); white-space: pre; display: block; line-height: 1.7; }
.copy {
  position: absolute; top: 0.6rem; right: 0.6rem;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 700;
  color: var(--muted); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 0.3rem 0.7rem; cursor: pointer;
  transition: all 0.15s ease;
}
.copy:hover { color: var(--text); border-color: var(--arch); }
.copy.done { color: var(--green); border-color: var(--green); }

.note { font-size: 0.8rem !important; color: var(--muted); }
.note code { font-size: 0.78rem; }

.req-note {
  margin-top: 1.8rem; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; color: var(--muted); font-size: 0.88rem;
}
.req-note strong { color: var(--text); }

.footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; background: var(--bg-alt); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer-sub { color: var(--muted); font-size: 0.85rem; margin-top: 0.6rem; font-family: var(--mono); }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; font-family: var(--mono); font-size: 0.85rem; }
.credits { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.credits p { color: var(--muted); font-size: 0.8rem; }

.lightbox-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 8, 12, 0.92);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 3rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: min(1400px, 100%); max-height: 90vh;
  border-radius: 10px; border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 101;
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer;
  display: grid; place-items: center;
  transition: border-color 0.15s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { border-color: var(--arch); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .stat-chips { grid-template-columns: repeat(2, 1fr); }
  .arch-grid, .install-grid, .video-grid { grid-template-columns: 1fr; }
  .mini-facts { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ram-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .ram-name { text-align: left; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .feature-grid, .gallery-grid, .shot-row, .shot-row:last-child, .mini-facts { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .hero { padding-top: 7rem; }
}

.lab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.lab-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg));
  padding: 1.8rem;
}
.lab-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.lab-head h3 { font-size: 1.1rem; }

.lab-screen {
  position: relative; aspect-ratio: 16 / 9;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 30% 20%, rgba(23, 147, 209, 0.12), transparent),
    radial-gradient(ellipse 60% 70% at 80% 90%, rgba(56, 211, 159, 0.07), transparent),
    #0a0f15;
}
.lab-screen::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(30, 42, 55, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 42, 55, 0.5) 1px, transparent 1px);
  background-size: 10% 20%;
  pointer-events: none;
}

.lab-window {
  position: absolute; display: flex; flex-direction: column;
  background: #0d1420; border: 1px solid #2a3a4d; border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.snap-float { left: 26%; top: 14%; width: 48%; height: 66%; }
.snap-left { left: 3%; top: 5%; width: 47%; height: 90%; }
.snap-right { left: 50%; top: 5%; width: 47%; height: 90%; }
.snap-top { left: 26%; top: 4%; width: 48%; height: 44%; }
.snap-bottom { left: 26%; top: 52%; width: 48%; height: 44%; }

.lab-titlebar {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.35rem 0.6rem; background: #16202b; border-bottom: 1px solid #223042;
}
.lab-dot { width: 7px; height: 7px; border-radius: 50%; background: #33465c; }
.lab-window.snap-float .lab-dot:nth-child(1) { background: var(--red); }
.lab-window.snap-float .lab-dot:nth-child(2) { background: var(--amber); }
.lab-window.snap-float .lab-dot:nth-child(3) { background: var(--green); }
.lab-app { margin-left: auto; font-family: var(--mono); font-size: 0.62rem; color: var(--muted); }
.lab-body { flex: 1; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 0.8rem; color: var(--green); }

.lab-keys { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.key-btn {
  font-family: var(--mono); font-size: 0.75rem; font-weight: 700;
  color: var(--text); background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 0.45rem 0.8rem; cursor: pointer;
  transition: all 0.15s ease;
}
.key-btn:hover { border-color: var(--arch); }
.key-btn.is-active { background: linear-gradient(135deg, var(--arch), #0f6fa8); color: #fff; border-color: transparent; }
.key-btn.key-ghost { color: var(--muted); }
.lab-hint { margin-top: 0.8rem; font-size: 0.78rem; color: var(--muted); }

.desk-stage { position: absolute; inset: 0; }
.dw {
  position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem;
  background: rgba(13, 20, 32, 0.92); border: 1px solid #2a3a4d; border-radius: 8px;
  animation: dwIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.dw-l { left: 3%; top: 5%; width: 47%; height: 90%; }
.dw-r { left: 50%; top: 5%; width: 47%; height: 90%; }
.dw-full { left: 3%; top: 5%; width: 94%; height: 90%; }
.dw-ico { font-size: 1.4rem; }
.dw-label { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }
.dw-empty {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.78rem; color: var(--muted); opacity: 0.7;
}
@keyframes dwIn { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

.desk-name {
  position: absolute; left: 0.7rem; bottom: 0.55rem;
  font-family: var(--mono); font-size: 0.68rem; color: var(--arch-2);
  background: rgba(10, 15, 21, 0.8); border: 1px solid var(--line);
  border-radius: 6px; padding: 0.15rem 0.5rem;
}
.desk-rail { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.desk-pill {
  width: 34px; height: 34px; border-radius: 9px;
  font-family: var(--mono); font-size: 0.8rem; font-weight: 700;
  color: var(--muted); background: var(--panel-2); border: 1px solid var(--line);
  cursor: pointer; transition: all 0.15s ease;
}
.desk-pill:hover { color: var(--text); border-color: var(--arch); }
.desk-pill.is-active {
  background: linear-gradient(135deg, var(--arch), #0f6fa8); color: #fff;
  border-color: transparent; box-shadow: 0 5px 16px rgba(23, 147, 209, 0.4);
}

kbd {
  font-family: var(--mono); font-size: 0.78em; font-weight: 700;
  color: var(--arch-2); background: var(--panel-2);
  border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 6px; padding: 0.12rem 0.45rem; white-space: nowrap;
}

.cheatsheet {
  margin-top: 2rem; border: 1px dashed var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 1.4rem 1.6rem;
}
.cheatsheet-title { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.kbd-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; }
.kbd-item { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: var(--muted); }

.snapline { display: flex; justify-content: space-between; position: relative; margin: 3rem 0 1.5rem; }
.snapline::before {
  content: ""; position: absolute; top: 7px; left: 3%; right: 3%; height: 2px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green) 58%, var(--red) 72%, var(--arch-2) 100%);
}
.snap-node { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; position: relative; z-index: 1; }
.snap-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-alt); border: 3px solid var(--green);
}
.snap-node.broken .snap-dot { border-color: var(--red); }
.snap-node.rollback .snap-dot { border-color: var(--arch-2); }
.snap-label { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); white-space: nowrap; }
.snap-node.rollback .snap-label { color: var(--arch-2); }

.rollback-code { max-width: 720px; }
.rollback-code .note { margin-top: 0.7rem; }

@media (max-width: 960px) {
  .lab-grid { grid-template-columns: 1fr; }
  .snapline { flex-wrap: wrap; gap: 1rem; justify-content: flex-start; }
  .snapline::before { display: none; }
}

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