/* AnyBMS landing (anybms.ziewnull.com). Layout and motion follow the Vigil landing; colours are the
   app's Flow style (navy #042C53, amber #EF9F27). No inline scripts, fonts self-hosted. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-lat.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/inter-cyr.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --bg: #031c36;
  --bg2: #042c53;
  --panel: rgba(255, 255, 255, .05);
  --panel-2: rgba(255, 255, 255, .08);
  --line: rgba(160, 200, 242, .13);
  --text: #e6f1fb;
  --muted: #a0c8f2;
  --amber: #ef9f27;
  --amber-2: #e8870f;
  --indigo: #185fa5;
  --violet: #378add;
  --red: #e24b4a;
  --green: #1d9e75;
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--max), 100% - 32px); margin: 0 auto; }

/* backdrop: slow drifting glows and a faint grid */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(1200px 700px at 80% -10%, #0c447c 0%, transparent 60%), var(--bg); }
.sky::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%); }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.glow.a { width: 520px; height: 520px; background: #185fa5; top: -120px; left: -140px; }
.glow.b { width: 460px; height: 460px; background: #ff8a1f; top: 260px; right: -180px; opacity: .22; animation-duration: 28s; }
.glow.c { width: 600px; height: 600px; background: #0c447c; bottom: -300px; left: 30%; opacity: .3; animation-duration: 34s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.12); } }

/* header */
header.top { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); background: rgba(4, 22, 44, .66); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav .links { display: flex; gap: 22px; margin-inline-start: 18px; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav .links a:hover { color: var(--text); }
.nav .end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; padding: 8px 12px; border-radius: 12px; color: var(--muted);
  font-size: 14px; font-weight: 600; border: 1px solid var(--line); }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary, .lang summary:hover { color: var(--text); background: var(--panel); }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; width: max-content;
  display: grid; grid-template-columns: repeat(3, auto); gap: 0 2px; max-height: 70vh; overflow-y: auto;
  background: #08345f; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.lang li a { display: block; padding: 8px 12px; border-radius: 9px; font-size: 14px; }
.lang li a:hover, .lang li a[aria-current] { background: var(--panel-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; font-weight: 700;
  padding: 12px 20px; font-size: 15px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.primary { color: #412402; background: linear-gradient(180deg, #fac775, var(--amber-2));
  box-shadow: 0 10px 30px -8px rgba(239, 159, 39, .55), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.primary:hover { box-shadow: 0 14px 38px -8px rgba(239, 159, 39, .8), inset 0 1px 0 rgba(255,255,255,.5); transform: translateY(-1px); }
.btn.ghost { border: 1px solid var(--line); background: var(--panel); }
.btn.ghost:hover { background: var(--panel-2); }
.btn.sm { padding: 9px 15px; font-size: 14px; border-radius: 12px; }

/* hero */
.hero { padding: 84px 0 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(29,158,117,.2); }
h1 { font-size: clamp(42px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -.045em; margin: 20px 0 18px; font-weight: 850; }
h1 .grad { background: linear-gradient(100deg, #fac775 0%, var(--amber) 45%, #f0763a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--amber); }

/* Google Play badge (drawn, not Google's image) */
.play { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 14px;
  background: #000; border: 1px solid rgba(255,255,255,.22); transition: transform .15s ease, border-color .2s; }
.play:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.45); }
.play svg { width: 26px; height: 28px; flex: none; }
.play small { display: block; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: #cfd3e6; line-height: 1.1; }
.play b { display: block; font-size: 18px; line-height: 1.15; font-weight: 650; letter-spacing: -.01em; }

/* the phone with the app's Live screen */
.stage { position: relative; display: grid; justify-items: center; perspective: 1400px; }
.phone { position: relative; width: min(330px, 78vw); aspect-ratio: 1080 / 1920; border-radius: 42px; padding: 11px;
  background: linear-gradient(160deg, #1a5d9c, #06305a 60%); border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 50px 120px -30px rgba(24, 95, 165, .7), 0 30px 60px -30px #000;
  transform: rotateY(-10deg) rotateX(4deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.stage:hover .phone { transform: rotateY(-3deg) rotateX(2deg); }
.phone .shot { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
/* the bridge chip floating next to the phone */
.chip { position: absolute; left: -10px; top: 58%; display: flex; gap: 10px; align-items: center; padding: 10px 14px;
  border-radius: 16px; background: rgba(8, 40, 74, .86); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.7);
  font-size: 13px; line-height: 1.35; animation: float 7s ease-in-out infinite; }
.chip svg { width: 26px; height: 26px; color: var(--amber); flex: none; }
.chip b { display: block; font-size: 14px; }
.chip span { color: var(--muted); }
.chip .live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-inline-end: 6px;
  box-shadow: 0 0 0 4px rgba(29,158,117,.2); animation: pulse 1.6s infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse { 50% { opacity: .25 } }
@media (max-width: 620px) { .chip { left: 4px; top: 56%; } }

/* the push notification that slides in over the mock */
.toast { position: absolute; right: -18px; bottom: -34px; width: min(330px, 86%); display: flex; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 18px; background: rgba(8, 40, 74, .86); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  animation: toast 9s infinite; }
.toast img { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.toast b { display: block; font-size: 14px; }
.toast span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.toast time { margin-inline-start: auto; align-self: flex-start; font-size: 11px; color: var(--muted); }
@keyframes toast { 0%, 26% { opacity: 0; transform: translateY(16px) scale(.98) } 32%, 82% { opacity: 1; transform: none } 90%, 100% { opacity: 0; transform: translateY(8px) } }

/* sections */
section { padding: 96px 0; }
.kicker { color: var(--amber); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.035em; margin: 12px 0 16px; font-weight: 820; }
.sub { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0; }
.head { margin-bottom: 44px; }
.head.center { text-align: center; }
.head.center .sub { margin: 0 auto; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.step::before { counter-increment: s; content: counter(s); position: absolute; inset-inline-end: 18px; top: 6px; font-size: 96px; font-weight: 900;
  letter-spacing: -.06em; color: rgba(255,255,255,.04); line-height: 1; }
.step .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(160deg, rgba(239,159,39,.22), rgba(255,138,31,.06)); border: 1px solid rgba(239,159,39,.3); }
.step .ic svg { width: 24px; height: 24px; color: var(--amber); }
.step h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card { position: relative; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  overflow: hidden; transition: border-color .25s, transform .25s; }
.card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-2px); }
.card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; height: 90%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(24,95,165,.35), transparent); pointer-events: none; }
.card.w3 { grid-column: span 3; } .card.w2 { grid-column: span 2; } .card.w4 { grid-column: span 4; }
.card h3 { margin: 14px 0 8px; font-size: 20px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); }
.card .ic svg { width: 22px; height: 22px; color: var(--amber); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: #cfe2f6; }
.search { margin-top: 18px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: rgba(0,0,0,.25); border: 1px solid var(--line); font-size: 15px; color: #e2eefa; }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search .caret { width: 2px; height: 18px; background: var(--amber); animation: pulse 1s steps(1) infinite; }

/* the two apps */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.app { position: relative; padding: 34px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(24,95,165,.28), rgba(255,255,255,.03) 55%); }
.app.alt { background: linear-gradient(160deg, rgba(239,159,39,.16), rgba(255,255,255,.03) 55%); }
.app .top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app .top img { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.6); }
.app .top small { display: block; color: var(--muted); font-size: 14px; font-weight: 600; }
.app h3 { margin: 0; font-size: 26px; letter-spacing: -.025em; }
.app ul { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; }
.app li { display: flex; gap: 10px; color: #d6e7f8; font-size: 16px; }
.app li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--green); }
.app .need { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* account panel: sign in on the web, sign up in the app */
.account { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: stretch; }
.panel { padding: 34px; border-radius: 28px; background: var(--panel); border: 1px solid var(--line); }
.panel h3 { margin: 0 0 10px; font-size: 26px; letter-spacing: -.025em; }
.panel p { color: var(--muted); margin: 0 0 22px; }
.signin { background: linear-gradient(160deg, #0c447c, #06305a); border-color: rgba(255,255,255,.14); position: relative; overflow: hidden; }
.signin::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(239,159,39,.35), transparent); }
.signin > * { position: relative; }
.browser { margin-top: 26px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #041f3d; }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: rgba(255,255,255,.05); }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.browser .bar span { margin-inline-start: 10px; font-size: 12px; color: var(--muted); padding: 4px 10px; border-radius: 8px; background: rgba(0,0,0,.3); }
.browser .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px; }
.browser .grid div { aspect-ratio: 16 / 10; border-radius: 8px; position: relative; overflow: hidden; background: #0a3460; }
.browser .grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
.browser .grid b, .browser .grid span { position: absolute; font: 600 10px/1 "Inter", system-ui, sans-serif; color: #fff;
  padding: 3px 5px; border-radius: 4px; background: rgba(0,0,0,.5); white-space: nowrap; }
.browser .grid b { left: 5px; top: 5px; display: flex; align-items: center; gap: 4px; }
.browser .grid b::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: pulse 1.4s infinite; }
.browser .grid span { left: 5px; bottom: 5px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 620px) { .browser .grid b { display: none; } }
.note { display: flex; gap: 14px; padding: 16px; border-radius: 16px; background: rgba(239,159,39,.08); border: 1px solid rgba(239,159,39,.25); margin-bottom: 22px; }
.note svg { width: 22px; height: 22px; flex: none; color: var(--amber); margin-top: 2px; }
.note p { margin: 0; color: #fbe7c6; font-size: 15px; }
.mini-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.mini-steps li { display: flex; gap: 14px; align-items: flex-start; color: #d6e7f8; }
.mini-steps b { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: 14px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--amber); }

/* privacy strip */
.privacy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.privacy div { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.privacy svg { width: 24px; height: 24px; color: var(--green); }
.privacy h4 { margin: 12px 0 6px; font-size: 17px; }
.privacy p { margin: 0; color: var(--muted); font-size: 15px; }

/* final call */
.final { text-align: center; padding: 70px 28px; border-radius: 34px; position: relative; overflow: hidden;
  background: radial-gradient(70% 120% at 50% 0%, rgba(239,159,39,.25), transparent 60%), linear-gradient(180deg, #0c447c, #042c53);
  border: 1px solid rgba(255,255,255,.12); }
.final h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.final .cta { justify-content: center; margin-top: 30px; }

footer { padding: 50px 0 60px; color: var(--muted); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a:hover { color: var(--text); }

/* reveal on scroll (site.js adds .in; without JS everything is visible) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 54px; gap: 70px; }
  .phone { transform: none; }
  .steps, .apps, .account { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.w3, .card.w2, .card.w4 { grid-column: span 1; }
  .privacy { grid-template-columns: 1fr 1fr; }
  .nav .links { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 70px 0; }
  .bento, .privacy { grid-template-columns: 1fr; }
  .toast { right: 8px; bottom: -44px; }
  .app, .panel { padding: 24px; }
  .nav .end .btn.ghost { display: none; }
  .final { padding: 50px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .toast, .chip { opacity: 1; }
}

/* 24 languages: the camera picture stays left-to-right; scripts without Latin-style tight tracking */
.phone, .browser, .flow { direction: ltr; }
[dir="rtl"] .toast { right: auto; left: -18px; }
:lang(ar) :is(h1, h2, h3), :lang(fa) :is(h1, h2, h3), :lang(ur) :is(h1, h2, h3), :lang(hi) :is(h1, h2, h3), :lang(bn) :is(h1, h2, h3),
:lang(th) :is(h1, h2, h3), :lang(zh) :is(h1, h2, h3), :lang(ja) :is(h1, h2, h3), :lang(ko) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.25; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 620px) { h1 { hyphens: auto; } }
@media (max-width: 620px) { [dir="rtl"] .toast { left: 8px; } .lang ul { grid-template-columns: repeat(2, auto); } }

/* supported batteries */
.brands { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--panel); font-size: 15.5px; }
.brands th, .brands td { text-align: start; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.brands tr:last-child td { border-bottom: 0; }
.brands th { color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.12); }
.brands td:first-child { font-weight: 700; }
.brands td { color: #d6e7f8; }
.brands .tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-inline-start: 8px;
  color: #04342c; background: #5dcaa5; vertical-align: 1px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }
@media (max-width: 620px) { .brands th, .brands td { padding: 12px 14px; } }

/* the bridge: battery -> bridge -> server -> phone and browser */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; margin: 6px 0 48px; }
.node { padding: 20px 16px; border-radius: 20px; text-align: center; background: var(--panel); border: 1px solid var(--line); }
.node svg { width: 30px; height: 30px; color: var(--amber); }
.node b { display: block; margin-top: 8px; font-size: 16px; }
.node span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.node.hl { background: linear-gradient(160deg, rgba(239,159,39,.2), rgba(255,255,255,.03)); border-color: rgba(239,159,39,.4); }
.wire { position: relative; width: 52px; height: 2px; background: linear-gradient(90deg, rgba(160,200,242,.15), rgba(160,200,242,.5)); }
.wire::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 12px var(--amber); animation: run 2.4s linear infinite; }
.wire small { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; }
@keyframes run { from { left: 0; opacity: 0 } 15% { opacity: 1 } 85% { opacity: 1 } to { left: calc(100% - 8px); opacity: 0 } }
@keyframes rundown { from { top: 0; opacity: 0 } 15% { opacity: 1 } 85% { opacity: 1 } to { top: calc(100% - 8px); opacity: 0 } }
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; }
  .wire { width: 2px; height: 38px; margin: 0 auto; background: linear-gradient(180deg, rgba(160,200,242,.15), rgba(160,200,242,.5)); }
  .wire::after { left: -3px; animation-name: rundown; }
  .wire small { top: 50%; left: 14px; transform: translateY(-50%); }
}

/* two ways to get a bridge */
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: rgba(239,159,39,.18); color: #fac775; border: 1px solid rgba(239,159,39,.4); }
.app .top .badge { margin-inline-start: auto; align-self: flex-start; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.spec { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.spec span { font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: #cfe2f6; }
.app .top .ico { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; flex: none;
  background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.app .top .ico svg { width: 38px; height: 38px; color: var(--amber); }
.app li svg { color: #5dcaa5; }

/* screenshot strip */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.shots figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; text-align: center; }
@media (max-width: 980px) { .shots { grid-template-columns: 1fr 1fr; } }

/* web app mock: a battery card instead of camera tiles */
.browser .dash { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; padding: 10px; }
.browser .dash > div { border-radius: 10px; background: #0a3460; padding: 12px; min-width: 0; }
.browser .soc { font: 800 34px/1 "Inter", sans-serif; letter-spacing: -.04em; }
.browser .soc small { font-size: 14px; color: var(--muted); font-weight: 600; margin-inline-start: 2px; }
.browser .lbl { font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 8px; display: flex; justify-content: space-between; gap: 6px; }
.browser .lbl .on { color: #5dcaa5; }
.browser .bar2 { height: 12px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; margin: 10px 0 8px; }
.browser .bar2 i { display: block; height: 100%; width: 73%; border-radius: 6px; background: linear-gradient(90deg, #c47a0d, var(--amber)); }
.browser .nums { display: flex; justify-content: space-between; font-size: 12px; color: #d6e7f8; font-variant-numeric: tabular-nums; }
.browser .cells { display: flex; align-items: flex-end; gap: 4px; height: 70px; }
.browser .cells i { flex: 1; border-radius: 3px 3px 1px 1px; background: #1d9e75; animation: cell 3s ease-in-out infinite alternate; }
.browser .cells i:nth-child(2n) { animation-delay: -.8s; } .browser .cells i:nth-child(3n) { animation-delay: -1.7s; }
@keyframes cell { from { height: 86%; } to { height: 94%; } }
.browser .spark { grid-column: span 2; height: 64px; }
.browser .spark svg { width: 100%; height: 100%; }

/* the bridge guide */
.guide { max-width: 820px; padding: 64px 0 20px; }
.guide h1 { font-size: clamp(36px, 5vw, 56px); }
.guide h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 64px; scroll-margin-top: 90px; }
.guide h3 { font-size: 19px; margin: 28px 0 8px; }
.guide p, .guide li { color: #d6e7f8; }
.guide ol, .guide ul { padding-inline-start: 22px; display: grid; gap: 8px; }
.guide code { font: 500 .9em/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; background: rgba(0,0,0,.28);
  padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); }
.guide .note { margin: 22px 0; }
.guide a:not(.btn) { color: #fac775; text-decoration: underline; text-underline-offset: 3px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.toc a { font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); }
.guide .toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--text); }
.pins { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.pins th, .pins td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pins th { color: var(--muted); font-weight: 600; font-size: 13px; }
.note.warn { background: rgba(226,75,74,.1); border-color: rgba(226,75,74,.35); }
.note.warn svg { color: #f09595; }
.note.warn p { color: #fcebeb; }
