/* Nexus Browser landing page. Builds on the site's mb.css look (glass panels, cyan/blue gradient). */
.bx { padding-top: 120px; overflow-x: clip; }
.bx-ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Hero */
.bx-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; align-items: center; margin-bottom: 96px; }
.bx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.bx-cta .mb-btn { gap: 10px; }
.bx-btn-ghost { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border: 1px solid var(--mb-line-2); border-radius: 14px; color: var(--mb-text); font-weight: 600; text-decoration: none; background: rgba(255,255,255,.03); transition: background .2s, border-color .2s; }
.bx-btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(34,211,238,.35); }
.bx-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--mb-dim); font-size: 13px; }
.bx-facts li { display: flex; align-items: center; gap: 8px; }
.bx-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mb-cyan); opacity: .7; }

/* Product shot */
.bx-shot { position: relative; }
.bx-shot::before { content: ""; position: absolute; inset: 8% -6% -6% 6%; background: radial-gradient(closest-side, rgba(34,211,238,.28), transparent); filter: blur(30px); z-index: -1; }
.bx-window { border: 1px solid rgba(255,255,255,.1); border-radius: 16px; overflow: hidden; background: #0b0c10; box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(34,211,238,.06); }
.bx-chrome { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; background: #131419; border-bottom: 1px solid rgba(255,255,255,.06); }
.bx-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #2a2c33; }
.bx-url { flex: 1; margin: 0 10px; padding: 4px 12px; border-radius: 999px; background: #0b0c10; color: var(--mb-dim); font-size: 11px; }
.bx-body { display: grid; grid-template-columns: 1fr 210px; min-height: 330px; }
.bx-page { padding: 16px; display: grid; gap: 9px; align-content: start; }
.bx-video { display: grid; place-items: center; aspect-ratio: 16/9; border-radius: 10px; background: linear-gradient(135deg, #1b2a3a, #10161f); color: rgba(255,255,255,.6); font-size: 20px; }
.bx-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); }
.bx-line.w80 { width: 80%; } .bx-line.w70 { width: 70%; } .bx-line.w60 { width: 60%; } .bx-line.w50 { width: 50%; } .bx-line.w40 { width: 40%; } .bx-line.w30 { width: 30%; }
.bx-comment { display: flex; gap: 8px; margin-top: 4px; }
.bx-comment b { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.1); flex: none; }
.bx-comment > div { flex: 1; display: grid; gap: 5px; }
.bx-panel { border-left: 1px solid rgba(255,255,255,.07); background: #0a0c10; padding: 10px; display: grid; gap: 8px; align-content: start; font-size: 10.5px; }
.bx-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 6px; border-bottom: 1px solid rgba(255,255,255,.06); }
.bx-panel-head strong { font-size: 12px; }
.bx-avatar { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #67efc4, #3aa7d8); color: #06231a; font-weight: 800; font-size: 9px; }
.bx-card { display: grid; gap: 6px; padding: 9px; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: #111419; }
.bx-card small { font-weight: 600; color: #e9edf2; font-size: 10.5px; }
.bx-chip { justify-self: start; padding: 1px 7px; border-radius: 999px; background: rgba(103,239,196,.12); color: #67efc4; font-size: 9px; font-weight: 700; }
.bx-field { padding: 5px 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; background: #0a0c10; }
.bx-field.dim { color: var(--mb-muted); }
.bx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.bx-pbtn, .bx-sbtn { display: block; padding: 5px; border-radius: 6px; text-align: center; font-weight: 700; }
.bx-pbtn { background: #67efc4; color: #06231a; }
.bx-sbtn { border: 1px solid rgba(255,255,255,.12); background: #171b22; }
.bx-answer { padding: 7px; border-radius: 6px; background: #0a0c10; border: 1px solid rgba(255,255,255,.07); color: #cfd6de; line-height: 1.5; }

/* Sections */
.bx-section { margin-bottom: 88px; }
.bx-h2 { margin: 0 0 28px; font-family: var(--mb-display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.bx-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bx-feature { padding: 24px !important; transition: transform .25s var(--mb-ease), border-color .25s; }
.bx-feature:hover { transform: translateY(-3px); border-color: rgba(34,211,238,.25); }
.bx-feature h3, .bx-steps h3 { margin: 16px 0 6px; color: #fff; font-size: 16px; font-weight: 700; }
.bx-feature p, .bx-steps p { margin: 0; color: var(--mb-muted); font-size: 14.5px; line-height: 1.6; }
.bx-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(34,211,238,.1); color: #67e8f9; box-shadow: inset 0 0 0 1px rgba(34,211,238,.18); }
.bx-tag { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(59,130,246,.15); color: #93c5fd; font-size: 11px; font-style: normal; font-weight: 600; vertical-align: 2px; }

/* Install steps */
.bx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bx-steps li { display: flex; flex-direction: column; padding: 26px !important; }
.bx-steps p { flex: 1; }
.bx-steps b { color: #e4e4e7; }
.bx-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--mb-grad); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 8px 22px rgba(14,165,233,.35); }
.bx-link { align-self: flex-start; margin-top: 18px; padding: 0; border: 0; background: none; color: #67e8f9; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.bx-link:hover { color: #fff; }
.bx-link::after { content: " →"; }
.bx-note { margin: 18px 0 0; color: var(--mb-dim); font-size: 13.5px; }
.bx-note b { color: var(--mb-muted); }

/* FAQ */
.bx-faq { max-width: 860px; }
.bx-faq details { padding: 0 !important; margin-bottom: 12px; }
.bx-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; color: #fff; font-weight: 650; cursor: pointer; }
.bx-faq summary::-webkit-details-marker { display: none; }
.bx-faq summary::after { content: "+"; color: var(--mb-cyan); font-size: 20px; font-weight: 400; transition: transform .2s; }
.bx-faq details[open] summary::after { transform: rotate(45deg); }
.bx-faq details p { margin: 0 24px 16px; color: var(--mb-muted); font-size: 14.5px; line-height: 1.7; }
.bx-faq details p:last-child { margin-bottom: 22px; }
.bx-faq a { color: #67e8f9; }
.bx-faq code { color: #a5f3fc; font-family: var(--mb-mono); font-size: 13px; }

/* Connect page */
.bx-connect { max-width: 620px; }
.bx-connect-head { text-align: center; margin-bottom: 28px; }
.bx-connect-head img { display: block; margin: 0 auto 18px; filter: drop-shadow(0 8px 24px rgba(34,211,238,.35)); }
.bx-connect-head .mb-kicker { justify-content: center; }
.bx-connect-head .mb-sub { margin: 0 auto; }
.bx-connect-card { margin-bottom: 16px; }
.bx-connect-card h2 { margin: 0 0 6px; color: #fff; font-size: 19px; font-weight: 700; }
.bx-connect-card > p { margin: 0 0 18px; color: var(--mb-muted); font-size: 14.5px; }
.bx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bx-code { display: block; width: 100%; margin: 4px 0 10px; padding: 16px 18px; border: 1px solid var(--mb-line-2); border-radius: 14px; background: var(--mb-inset); color: #fff; text-align: center; font: 800 30px/1.2 var(--mb-mono); letter-spacing: .18em; text-transform: uppercase; transition: border-color .2s, box-shadow .2s; }
.bx-code:focus { outline: none; border-color: rgba(34,211,238,.6); box-shadow: 0 0 0 4px rgba(34,211,238,.12); }
.bx-fine { margin: 0 0 18px; color: var(--mb-dim); font-size: 13px; text-align: center; }
.bx-fine b { color: var(--mb-muted); }
.bx-perms { display: grid; gap: 8px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--mb-line); list-style: none; color: var(--mb-muted); font-size: 13.5px; }
.bx-perms li { display: flex; gap: 10px; }
.bx-perms li::before { content: "✓"; color: var(--mb-pos); font-weight: 700; }
.bx-message { min-height: 22px; margin: 6px 0 16px; color: var(--mb-pos); text-align: center; font-size: 14px; }
.bx-message.error { color: var(--mb-neg); }
.bx-message:empty { display: none; }
.bx-devices { display: grid; gap: 8px; }
.bx-devices .device { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--mb-line); border-radius: 12px; background: var(--mb-inset); }
.bx-devices .device strong { color: #fff; font-size: 14.5px; }
.bx-devices .device p, .bx-devices > p { margin: 2px 0 0; color: var(--mb-dim); font-size: 12.5px; }
.bx-btn-ghost.sm { min-height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13px; cursor: pointer; font-family: inherit; }
.bx-back { display: flex; justify-content: center; gap: 24px; margin-top: 26px; }
.bx-back a { color: #67e8f9; font-size: 14px; font-weight: 600; text-decoration: none; }
.bx-back a:hover { color: #fff; }

@media (max-width: 960px) {
  .bx-hero { grid-template-columns: 1fr; gap: 44px; margin-bottom: 72px; }
  .bx-features, .bx-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .bx { padding-top: 96px; }
  .bx-features, .bx-steps { grid-template-columns: 1fr; }
  .bx-body { grid-template-columns: 1fr 170px; min-height: 280px; }
  .bx-cta .mb-btn, .bx-btn-ghost { flex: 1 1 100%; justify-content: center; }
}
