@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url(fonts/space-grotesk-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 700; font-display: swap; src: url(fonts/jetbrains-mono-latin-700-normal.woff2) format('woff2'); }

:root {
  --bg: #0E151D; --panel: #16202A; --panel2: #1D2B38; --line: #22303D; --line2: #3A4B5B;
  --text: #E6EDF3; --soft: #C5D1DC; --muted: #9AAAB8; --amber: #F2A33A; --amber-hi: #FFC573; --teal: #3CC3B5; --teal-hi: #6FE0D3;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
a { color: var(--amber); }
a:hover { color: var(--amber-hi); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
h1, h2, h3 { font-family: 'Space Grotesk', Inter, sans-serif; line-height: 1.15; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 8px; background: var(--amber); color: #10161D; padding: 8px 12px; z-index: 10; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 22px 'Space Grotesk', sans-serif; letter-spacing: .3px; }
.brand:hover { color: var(--text); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; font-size: 15px; }
nav a { color: var(--soft); text-decoration: none; }
nav a:hover, nav a[aria-current=page] { color: #fff; }
nav a[aria-current=page] { font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid transparent; font-size: 16px; cursor: pointer; font-family: inherit; }
.btn-amber { background: var(--amber); color: #10161D; }
.btn-amber:hover { background: var(--amber-hi); color: #10161D; }
.btn-line { border-color: var(--line2); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--soft); color: #fff; }
nav .btn { min-height: 40px; padding: 0 16px; font-size: 15px; color: #10161D; }

/* hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 64px 0 48px; }
.hero > div { flex: 1 1 440px; min-width: 0; }
.eyebrow { margin: 0 0 14px; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); margin: 0 0 20px; }
.lead { font-size: 19px; color: #B5C2CE; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.credit { margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.call { font-family: 'JetBrains Mono', monospace; color: var(--soft); }

/* sections */
section.block { padding: 40px 0; }
section.block h2 { font-size: 32px; margin: 0 0 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; font-family: Inter, sans-serif; font-weight: 600; }
.card p { margin: 0; color: #B5C2CE; }
.card .tag { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.radios { display: flex; flex-wrap: wrap; gap: 14px; }
.radio { flex: 1 1 240px; border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; }
.badge { font-size: 13px; padding: 5px 10px; border-radius: 99px; font-weight: 500; }
.b-ok { background: #173B37; color: var(--teal-hi); } .b-test { background: #3D2E15; color: var(--amber-hi); } .b-plan { background: var(--line); color: var(--soft); } .b-no { background: #3D1D1A; color: #F0A49C; }
.note { color: var(--muted); font-size: 15px; }
.privacy-band { background: #13242A; border: 1px solid #1F4A47; border-radius: 14px; padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.privacy-band > div { flex: 1 1 400px; min-width: 0; }
.privacy-band h2 { font-size: 26px !important; margin: 0 0 8px !important; }
.privacy-band p { margin: 0; color: #B5C2CE; }
details.faq { border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
details.faq p { margin: 0 0 16px; color: #B5C2CE; }

/* inner pages */
main.page { padding: 48px 0 64px; }
main.page h1 { font-size: clamp(32px, 4.5vw, 40px); margin: 0 0 12px; }
main.page .intro { font-size: 18px; color: #B5C2CE; max-width: 780px; margin: 0 0 28px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin: 32px 0 10px; }
.prose p, .prose li { color: #C5D1DC; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line2); background: transparent; color: var(--text); font: 500 14px Inter, sans-serif; cursor: pointer; }
.chip[aria-pressed=true] { border-color: var(--amber); background: #3D2E15; color: var(--amber-hi); font-weight: 600; }
.card[hidden] { display: none; }
.cols3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 36px; }
.keep { background: #13242A; border-color: #1F4A47; }
.keep h2 { color: var(--teal-hi); }
.cols3 .card h2 { font-size: 17px; margin: 0 0 10px; font-family: Inter, sans-serif; }
.cols3 ul { margin: 0; padding-left: 18px; color: #C5D1DC; }

/* contact */
.contact { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.contact > section:first-child { flex: 1 1 300px; min-width: 0; }
.contact form { flex: 1.4 1 440px; min-width: 0; background: var(--panel); border: 1px solid #26374A; border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.who { background: var(--panel); border: 1px solid #26374A; border-radius: 12px; padding: 20px; display: flex; gap: 16px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 99px; background: #26374A; display: flex; align-items: center; justify-content: center; font: 700 20px 'Space Grotesk', sans-serif; color: var(--amber); flex: none; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; flex: 1 1 200px; }
.contact form > .field { flex: none; }
.pair { display: flex; flex-wrap: wrap; gap: 14px; }
input, select, textarea { min-height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: 15px Inter, sans-serif; }
textarea { padding: 12px; resize: vertical; min-height: 160px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.status { padding: 12px 14px; border-radius: 8px; font-size: 15px; }
.status.ok { background: #13242A; border: 1px solid #1F4A47; color: var(--teal-hi); }
.status.err { background: #3A1E1E; border: 1px solid #7A3A3A; color: #FFB4AB; }
.status:empty { display: none; }

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 24px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; color: var(--muted); font-size: 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 32px; gap: 32px; }
  nav ul { gap: 6px 16px; }
  .privacy-band { padding: 22px; }
  .contact form { padding: 20px; }
}

#d-dist { transition: opacity .3s; }
#d-luton, #d-gb3pi { transition: opacity .4s; }

/* mobile menu */
.menu-btn, .mob-only { display: none; }
.menu-btn { width: 44px; height: 44px; border: 1px solid var(--line2); border-radius: 8px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1180px) {
  .top .wrap { flex-wrap: nowrap; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .brand { margin-right: auto; }
  .menu-btn { display: inline-flex; }
  .mob-only { display: inline-flex; min-height: 44px; padding: 0 16px; font-size: 15px; }
  .desk-only { display: none; }
  .top { position: relative; }
  #mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); z-index: 20; box-shadow: 0 12px 24px rgba(0,0,0,.4); }
  #mainnav.open { display: block; }
  #mainnav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 16px 14px; max-width: 1200px; margin: 0 auto; }
  #mainnav a { display: block; padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  #mainnav li:last-child a { border-bottom: 0; }
}
@media (max-width: 360px) { .brand { font-size: 19px; } .mob-only { padding: 0 12px; } }

/* connect page */
.howto { background: var(--panel); border: 1px solid #26374A; border-radius: 14px; padding: 18px; margin: 8px 0 8px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 16px; }
.steps button { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line2); background: transparent; color: var(--soft); font: 500 15px Inter, sans-serif; cursor: pointer; text-align: left; }
.steps button b { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 99px; background: var(--panel2); color: var(--text); font: 700 14px 'JetBrains Mono', monospace; }
.steps button[aria-selected=true] { border-color: var(--amber); color: #fff; background: rgba(242,163,58,.08); }
.steps button[aria-selected=true] b { background: var(--amber); color: #10161D; }
.stage { background: var(--bg); border-radius: 10px; padding: 22px; }
.rig { display: grid; grid-template-columns: 170px minmax(40px, 1fr) minmax(0, 2.4fr); align-items: center; }
.scanner { background: #26323E; border: 1px solid #3A4B5B; border-radius: 12px; padding: 14px; position: relative; }
.lcd { background: #10333A; border-radius: 6px; padding: 10px; color: #8FF0E0; display: flex; flex-direction: column; }
.lcd-f { font: 700 22px 'JetBrains Mono', monospace; }
.lcd small { font-size: 11px; color: #5FB8AD; letter-spacing: 1px; }
.knobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.knobs i { height: 14px; border-radius: 4px; background: #3A4B5B; }
.port { position: absolute; right: -1px; top: 50%; transform: translate(100%, -50%); background: #3A4B5B; color: var(--muted); font: 600 10px Inter, sans-serif; padding: 3px 5px; border-radius: 0 4px 4px 0; }
.cable { height: 6px; background: #22303D; border-radius: 99px; margin: 0 10px 0 34px; overflow: hidden; }
.cable span { display: block; height: 100%; width: 100%; background: var(--teal); border-radius: 99px; }
.s1 .cable span { animation: plug 1.8s ease-out both; }
@keyframes plug { from { width: 0; } to { width: 100%; } }
.win { background: #1A2733; border: 1px solid #2D3E4F; border-radius: 10px; overflow: hidden; min-height: 230px; display: flex; flex-direction: column; }
.bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #22303D; }
.bar i { width: 9px; height: 9px; border-radius: 99px; background: #3A4B5B; flex: none; }
.url { margin-left: 8px; flex: 1; min-width: 0; background: #16202A; border-radius: 99px; padding: 3px 12px; font-size: 13px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr { display: none; flex: 1; padding: 16px; position: relative; font-size: 14px; }
.s1 .scr1, .s2 .scr2, .s3 .scr3, .s4 .scr4, .s5 .scr5 { display: block; animation: fadein .4s ease-out; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.s1 .url { visibility: hidden; }
.pc { display: grid; place-items: center; height: 100%; min-height: 170px; color: var(--muted); text-align: center; }
.pc p { margin: 6px 0 0; }
.mini-signin { max-width: 280px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.mini-signin b { font-family: 'Space Grotesk', sans-serif; font-size: 17px; margin-bottom: 4px; }
.mb { border-radius: 6px; padding: 8px 10px; background: #26323E; border: 1px solid #3A4B5B; text-align: center; font-weight: 500; }
.mb.g { background: #fff; color: #1F2328; }
.mb.a { background: var(--amber); color: #10161D; border-color: var(--amber); }
.appbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); border-radius: 99px; padding: 6px 12px; color: var(--text); font-weight: 500; }
.pill { width: 9px; height: 9px; border-radius: 99px; background: #9AAAB8; }
.pill.ok { background: var(--teal-hi); box-shadow: 0 0 8px var(--teal); }
.cbtn { border-radius: 8px; padding: 6px 14px; background: var(--amber); color: #10161D; font-weight: 600; }
.cbtn.off { background: transparent; border: 1px solid var(--line2); color: var(--soft); }
.hl { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242,163,58,.0); } 50% { box-shadow: 0 0 0 5px rgba(242,163,58,.45); } }
.dd { margin-top: 12px; max-width: 300px; background: #16202A; border: 1px solid #2D3E4F; border-radius: 8px; padding: 10px; }
.dd > span { font-size: 12px; color: var(--muted); }
.dd ul, .pop ul { list-style: none; margin: 6px 0 0; padding: 0; }
.dd li, .pop li { padding: 6px 8px; border-radius: 6px; color: var(--soft); }
.dd li.on, .pop li.on { background: rgba(242,163,58,.16); color: #fff; outline: 1px solid var(--amber); }
.pop { margin: 14px auto 0; max-width: 330px; background: #F3F5F7; color: #1F2328; border-radius: 10px; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.pop b { font-size: 14px; }
.pop li { color: #1F2328; }
.pop li.on { background: #DCE8F7; outline-color: #1A73E8; color: #1F2328; }
.pbtn { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; font-weight: 600; font-size: 13px; }
.pbtn span { padding: 6px 12px; border-radius: 99px; border: 1px solid #C9D1D9; color: #1A73E8; }
.pbtn .go { background: #1A73E8; color: #fff; border-color: #1A73E8; }
.live { margin-top: 14px; }
.lf { font: 700 34px 'JetBrains Mono', monospace; color: var(--amber); }
.lm { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 10px; border-radius: 8px; background: var(--panel2); border-left: 3px solid var(--amber); }
.lm span { color: var(--teal); white-space: nowrap; }
.live small { display: block; color: var(--muted); margin-top: 6px; }
.cap { min-height: 3.2em; margin: 18px 0 0; font-size: 17px; color: var(--text); }
.ctl { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.ctl .btn { min-height: 40px; padding: 0 14px; font-size: 15px; }
.howlist { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: #B5C2CE; max-width: 820px; }
.howlist b { color: var(--text); }
@media (max-width: 760px) {
  .howto { padding: 12px; }
  .steps { gap: 6px; }
  .steps button { flex-direction: column; gap: 4px; padding: 8px 2px; font-size: 12px; text-align: center; justify-content: center; }
  .stage { padding: 14px; }
  .rig { grid-template-columns: 1fr; justify-items: center; }
  .scanner { width: 180px; }
  .port { right: 50%; top: auto; bottom: -1px; transform: translate(50%, 100%); border-radius: 0 0 4px 4px; }
  .cable { width: 6px; height: 34px; margin: 22px 0 8px; }
  .cable span { height: 100%; width: 100%; }
  .s1 .cable span { animation-name: plugv; }
  @keyframes plugv { from { height: 0; } to { height: 100%; } }
  .win { width: 100%; min-height: 210px; }
  .lf { font-size: 28px; }
  .cap { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .s1 .cable span, .hl, .scr { animation: none !important; }
}
.win { min-height: 280px; }
@media (max-width: 760px) { .win { min-height: 300px; } .cap { min-height: 4.8em; } }

/* animated demo, in the app's own design */
.hero > .democol { flex: 1 1 560px; }
.demo { background: var(--panel); border: 1px solid #26374A; border-radius: 14px; padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 12px; font-size: 13px; }
.demo .read { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.demo .lab { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; color: #B68A4C; }
.demo .ro { display: flex; justify-content: space-between; gap: 10px; background: #0A1016; border-radius: 10px; padding: 12px 14px; color: var(--amber); }
.demo .freq { font: 700 26px 'JetBrains Mono', monospace; color: var(--amber); white-space: nowrap; margin-top: 2px; }
.demo .freq small { font-size: 11px; margin-left: 4px; opacity: .8; }
.demo .mode { font-size: 12px; color: #C49A5C; min-height: 1.2em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo .now { text-align: right; min-width: 0; }
.demo .nf { font: 500 14px 'JetBrains Mono', monospace; color: var(--amber); margin-top: 2px; }
.demo .st { font-size: 12px; color: #74C0FC; margin-top: 2px; }
.demo .st.rx { color: var(--teal-hi); }
.demo .sql { height: 5px; width: 90px; margin: 6px 0 0 auto; border-radius: 99px; background: #2B3946; overflow: hidden; }
.demo .sql span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--amber)); transition: width .4s ease-out; }
.demo .wait { margin: 2px 0; color: var(--muted); font-size: 13px; }
.demo .mcard { display: flex; align-items: center; gap: 10px; background: #16202A; border: 1px solid #e8590c; border-left-width: 5px; border-radius: 10px; padding: 9px 10px; opacity: 0; transition: opacity .35s; }
.demo .rk { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #e8590c; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.demo .mbody { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.demo .mbody b { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo .mbody .src { color: #8CE99A; font-size: 12px; }
.demo .mbody .sub { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo .md { text-align: right; flex: none; display: flex; flex-direction: column; }
.demo .md b { font-size: 15px; color: var(--text); } .demo .md span { color: var(--muted); font-size: 12px; }
.demo .acard { background: #16202A; border: 1px solid #5A4520; border-radius: 10px; padding: 9px 10px; opacity: 0; transition: opacity .4s; }
.demo .ah { color: var(--muted); font-size: 12px; margin-bottom: 4px; } .demo .ah b { color: var(--text); font-size: 13px; }
.demo .acard ul { list-style: none; margin: 0; padding: 0; }
.demo .acard li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-top: 1px solid #22303D; font-size: 12px; color: var(--muted); }
.demo .acard li span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.demo .acard li b { color: var(--text); font-weight: 600; }
.demo .acard li i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #f59f00; margin-right: 6px; vertical-align: 1px; }
.demo .alt { font-family: 'JetBrains Mono', monospace; color: var(--soft); white-space: nowrap; }
.demo .hits { background: #16202A; border: 1px solid #22303D; border-radius: 10px; padding: 9px 10px; }
.demo .hits ol { list-style: none; margin: 4px 0 0; padding: 0; min-height: 1.4em; }
.demo .hits li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding: 3px 0; font-size: 12px; color: var(--soft); }
.demo .hits li b { font-family: 'JetBrains Mono', monospace; color: var(--amber); font-weight: 500; }
.demo .hits li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo .hits li em { font-style: normal; color: #8CE99A; font-size: 11px; }
.demo .map { position: relative; border-radius: 10px; overflow: hidden; background: #DCDCDC; min-height: 260px; }
.demo .map svg { display: block; width: 100%; height: 100%; position: absolute; inset: 0; }
.demo .pin .pop { transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); transform-box: fill-box; transform-origin: center; }
.demo .pin.on .pop { transform: scale(1); }
.demo .plane { opacity: 0; transition: opacity .5s; }
.demo.air .plane { opacity: 1; }
.demo.air #d-ring { opacity: .6; }
.demo .plane .pl { font: 700 8px Inter, sans-serif; fill: #1F2328; paint-order: stroke; stroke: #fff; stroke-width: 2.5px; }
.demo .plane .pa { font: 500 7.5px Inter, sans-serif; fill: #444; paint-order: stroke; stroke: #fff; stroke-width: 2.5px; }
.demo .tag { transition: opacity .3s; }
.demo .mpill { position: absolute; left: 10px; top: 10px; background: #16202A; color: var(--amber); font: 600 12px 'JetBrains Mono', monospace; padding: 5px 9px; border-radius: 7px; opacity: 0; transition: opacity .3s; max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo .legend { position: absolute; left: 10px; bottom: 10px; background: #16202A; color: var(--soft); font-size: 11px; padding: 4px 9px; border-radius: 7px; display: flex; align-items: center; gap: 6px; }
.demo .legend .l1 { width: 16px; height: 3px; background: #e8590c; border-radius: 2px; }
.demo .legend .l2 { width: 8px; height: 8px; border-radius: 50%; background: #f59f00; margin-left: 6px; }
.builtin { margin: 12px 2px 0; font-size: 14px; color: var(--soft); }
.builtin b { color: var(--text); }
.builtin.small { margin-top: 4px; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) {
  .demo { grid-template-columns: 1fr; }
  .demo .map { min-height: 0; aspect-ratio: 300 / 260; }
}
@media (prefers-reduced-motion: reduce) { .demo * { transition: none !important; } }
.demo { align-items: start; }
.demo .map { min-height: 0; aspect-ratio: 300 / 260; }
.demo { align-items: stretch; }
.demo .map { aspect-ratio: auto; min-height: 300px; }
.demo .map svg { overflow: visible; }
@media (max-width: 760px) { .demo .map { aspect-ratio: 300 / 260; min-height: 0; } }
.demo .slot { position: relative; }
.demo .slot .wait { position: absolute; inset: 0; display: flex; align-items: center; margin: 0; transition: opacity .3s; }
.demo .acard .rptinfo, .demo .acard .airinfo { display: none; }
.demo.rpt .acard .rptinfo, .demo.air .acard .airinfo, .demo:not(.rpt) .acard .airinfo { display: block; }
.demo.rpt .acard .airinfo { display: none; }
.demo .rptinfo li span:first-child { color: var(--muted); }
.demo .hits ol { min-height: 50px; }
/* wide (landscape) demo under the hero text on desktop */
@media (min-width: 900px) {
  .hero { row-gap: 36px; }
  .hero > div:first-child, .hero > .ge-sweepband + div { flex: 1 1 100%; max-width: 860px; }
  .hero > .democol { flex: 1 1 100%; }
  .demo { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 16px; padding: 16px; }
  .demo .map { min-height: 400px; }
}
/* real-map demo (Esri tiles) */
.demo .map { background: #E5E3DF; }
.demo .map svg { overflow: hidden; }
.demo .plane .pl { font-size: 10.5px; stroke-width: 3px; }
.demo .plane .pa { font-size: 9.5px; stroke-width: 3px; }
.demo .attr { position: absolute; right: 0; bottom: 0; background: rgba(255,255,255,.75); color: #444; font-size: 9px; padding: 1px 5px; border-top-left-radius: 4px; }
.demo .legend { bottom: 22px; }
@media (max-width: 760px) { .demo .map { aspect-ratio: 786 / 560; } }
.demo .legend { bottom: auto; top: 10px; left: auto; right: 10px; }
@media (max-width: 760px) { .demo .legend { display: none; } .demo .mpill { font-size: 11px; } }
a.call, .call a { text-decoration: underline; text-decoration-color: rgba(242,163,58,.45); text-underline-offset: 3px; }
a.call:hover, .call a:hover { color: var(--amber); text-decoration-color: var(--amber); }
.call .qrz { font: 12px Inter, sans-serif; color: var(--muted); }
/* legal pages */
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.legal-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14px; color: #C5D1DC; text-decoration: none; }
.legal-nav a[aria-current="page"] { background: var(--panel); border-color: #F2A33A; color: #F2A33A; }
.legal h2 { scroll-margin-top: 80px; }
.legal .tbl { overflow-x: auto; margin: 12px 0 18px; border: 1px solid var(--line); border-radius: 10px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.45; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 11px; border-bottom: 1px solid var(--line); color: #C5D1DC; }
.legal th { background: var(--panel); color: var(--text); font-weight: 600; }
.legal tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .legal tr:last-child { border-bottom: 0; }
  .legal td { border: 0; padding: 4px 12px; }
  .legal td::before { content: attr(data-h); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
}

/* features page */
.feat-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.feat-jump .chip { text-decoration: none; }
section.feat { padding: 32px 0 8px; scroll-margin-top: 16px; }
section.feat h2 { margin-bottom: 8px; }
.feat-lead { color: var(--muted); margin: 0 0 20px; font-size: 17px; }
.grid3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
@media (max-width: 400px) { .grid3 { grid-template-columns: 1fr; } }

/* home redesign */
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: -10px 0 26px; padding: 0; color: var(--soft); font-weight: 500; }
.ticks li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 7px; }
.how3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.how3 li { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.how3 li > b { flex: 0 0 40px; height: 40px; border-radius: 50%; background: #3D2E15; color: var(--amber-hi); display: grid; place-items: center; font: 700 18px 'Space Grotesk', sans-serif; }
.how3 h3 { margin: 2px 0 6px; font: 600 18px Inter, sans-serif; }
.how3 p { margin: 0; color: #B5C2CE; }
.nolist { background: linear-gradient(135deg, #1B2A22 0%, #16202A 70%); border: 1px solid #2E4A36; border-radius: 14px; padding: 36px; }
.nolist h2 { font-size: 30px !important; margin: 0 0 10px !important; }
.nolist > div > p:not(.eyebrow):not(.builtin) { color: #C5D1DC; max-width: 760px; margin: 0 0 18px; font-size: 17px; }
.srcs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; }
.srcs li { border: 1px solid #3F6A4C; background: rgba(60,195,181,.06); color: var(--text); border-radius: 99px; padding: 8px 14px; font-size: 15px; font-weight: 500; }
.nolist .builtin.small { margin: 0; }
@media (max-width: 600px) { .nolist { padding: 22px; } .nolist h2 { font-size: 24px !important; } }

/* phone demo: map straight under the readout and match, and taller */
@media (max-width: 760px) {
  .demo { display: flex; flex-direction: column; gap: 10px; padding: 10px; }
  .demo .read { display: contents; }
  .demo .ro { order: 1; } .demo .slot { order: 2; } .demo .map { order: 3; } .demo .acard { order: 4; } .demo .hits { order: 5; }
  .demo .map { aspect-ratio: auto; min-height: 0; height: min(92vw, 380px); }
}
details.faq ul { margin: 0 0 16px; padding-left: 20px; color: #B5C2CE; } details.faq li { margin: 0 0 6px; }
#radio-settings { margin-top: 36px; }
.rp-pick { display: flex; gap: 14px; flex-wrap: wrap; margin: 18px 0; }
.rp-pick label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); flex: 1 1 220px; }
.rp-pick select { font: inherit; font-size: 16px; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.rp-cards { display: grid; gap: 14px; }
.rp-group ul, .rp-always ul { margin: 6px 0 0; padding-left: 20px; color: #B5C2CE; } .rp-group li, .rp-always li { margin-bottom: 6px; }
.rp-group h3 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rp-always { margin-top: 14px; border-color: var(--amber-hi, #F2A33A); }
#your-radio:not(.rp-js) .rp-pick { display: none; }
/* FAQ / Connect page: per-radio steps and problems */
.rp-group h4, details.faq h4 { margin: 12px 0 4px; font-size: 14px; color: #E6EDF3; }
.rp-group ol, details.faq ol { margin: 0 0 8px; padding-left: 22px; color: #B5C2CE; } .rp-group ol li, details.faq ol li { margin-bottom: 6px; }
/* 20 Nov 2026: legal pages in plain text, no bold highlighting */
.legal b, .legal strong { font-weight: inherit; }
.legal h2 { font-size: 19px; font-weight: 600; font-family: Inter, sans-serif; margin: 26px 0 8px; }
.legal h3 { font-size: 16px; font-weight: 600; font-family: Inter, sans-serif; }
.legal p, .legal li { font-size: 15px; }
.legal th { font-weight: 500; }
/* 21 Nov 2026: supported radios grouped by make, aligned rows */
.rgroups { columns: 3 320px; column-gap: 16px; }
.rgroup { break-inside: avoid; border: 1px solid var(--line); border-radius: 12px; background: rgba(22,32,42,.6); padding: 16px 18px 10px; margin: 0 0 16px; }
.rgroup h3 { margin: 0 0 6px; font: 600 17px Inter, sans-serif; color: var(--text); }
.rgroup ul { list-style: none; margin: 0; padding: 0; }
.rgroup li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.4; color: var(--soft); }
.rgroup li:first-child { border-top: 0; }
.rgroup .badge { flex: none; font-size: 12px; padding: 3px 9px; margin-top: 1px; white-space: nowrap; }
.rgroup .rnote { margin: 2px 0 6px; font-size: 13px; color: var(--muted); }
/* coming soon (mobile app) */
.soon{display:inline-block;font:600 12px Inter,sans-serif;letter-spacing:.6px;text-transform:uppercase;color:#10161D;background:var(--amber);border-radius:99px;padding:4px 10px;vertical-align:middle}
.chip.chip-soon{border-color:var(--amber);color:var(--amber)}
.card.card-soon{border-color:var(--amber)}
.navsoon{display:inline-block;margin-left:5px;font:700 9.5px Inter,sans-serif;letter-spacing:.5px;text-transform:uppercase;color:#10161D;background:var(--amber);border-radius:99px;padding:2px 6px;vertical-align:2px}

/* ---- Home page live map (web 1.7) ---- */
.hero > .democol { flex: 1 1 620px; }
.demo.lm { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-rows: auto auto 1fr auto; }
.lm-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.lm-chip { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 13px; min-width: 0; }
.lm-chip b { font-weight: 600; } .lm-how { color: var(--muted); }
.lm-dot { width: 9px; height: 9px; border-radius: 50%; background: #3CC3B5; box-shadow: 0 0 0 4px rgba(60,195,181,.18); flex: none; }
.lm-note { grid-column: 1 / -1; background: #1B2633; border: 1px solid #3A4E63; border-radius: 10px; padding: 8px 11px; color: var(--soft); font-size: 12.5px; line-height: 1.45; }
.lm-note b { color: var(--text); }
.demo.lm .map { min-height: 400px; }
#lm-map { position: absolute; inset: 0; background: #DCDCDC; }
.lm-sim, .lm-touch { position: absolute; left: 8px; z-index: 500; background: rgba(14,21,29,.82); color: #E6EDF3; font-size: 11px; padding: 3px 8px; border-radius: 99px; pointer-events: none; }
.lm-sim { top: 8px; left: 50px; } .lm-touch { bottom: 22px; }
.demo .near { background: #16202A; border: 1px solid #22303D; border-radius: 10px; padding: 9px 10px; flex: 1; }
.lm-tap { float: right; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 11px; }
.demo .near ul { list-style: none; margin: 6px 0 0; padding: 0; }
.demo .near li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 5px 5px; border-top: 1px solid #22303D; font-size: 12px; color: var(--soft); cursor: pointer; border-radius: 6px; }
.demo .near li:hover, .demo .near li:focus-visible { background: #1C2935; outline: none; }
.demo .near li.on { background: #2A2117; box-shadow: inset 3px 0 0 #e8590c; }
.demo .near li b { font-family: 'JetBrains Mono', monospace; color: var(--amber); font-weight: 500; }
.demo .near li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo .near li span i { font-style: normal; color: var(--muted); }
.demo .near li em { font-style: normal; color: var(--muted); font-size: 11px; white-space: nowrap; }
.demo .near li.sec { display: block; cursor: default; color: #B68A4C; font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; padding-top: 8px; }
.demo .near li.sec:hover { background: none; }
.lm-cta { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid #22303D; padding-top: 12px; }
.lm-cta span { color: var(--muted); font-size: 12.5px; }
.lm-small { color: var(--muted); font-size: 11.5px; margin: 8px 2px 0; line-height: 1.45; }
.lm-small a { color: var(--muted); }
.lm-you { width: 16px; height: 16px; border-radius: 50%; background: #111; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); box-sizing: border-box; }
.lm-you.approx { background: #12897C; }
.lm-youlab { position: absolute; left: 20px; top: -1px; font: 700 12px Inter, sans-serif; color: #222; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; white-space: nowrap; }
.lm-pin { display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); cursor: pointer; }
.demo.lm .leaflet-container { font-family: Inter, system-ui, sans-serif; }
.demo.lm .leaflet-control-attribution { font-size: 9.5px; }
@media (max-width: 760px) {
  .lm-top { order: 0; } .lm-note { order: 0; } .demo.lm .ro { order: 1; } .demo.lm .slot { order: 2; } .demo.lm .map { order: 3; } .demo .near { order: 4; } .lm-cta { order: 6; }
  .lm-tap { display: none; }
  .lm-cta .btn { flex: 1 1 100%; }
}
.lm-chip { flex: 1 1 240px; }

.lm-chip > span:last-child { min-width: 0; overflow-wrap: anywhere; }
/* the old demo's ".demo .map svg" sizing must not touch Leaflet's drawing layer or the pins */
.demo.lm .map svg { position: static; inset: auto; width: auto; height: auto; overflow: visible; }
.demo.lm .map .leaflet-pane > svg { position: absolute; left: 0; top: 0; }
/* simple radio controls under the readout (beta 3) */
.lm-ctl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lm-ctl button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 62px; background: #16202A; border: 1px solid #2F4256; border-radius: 10px; color: var(--text); font: 600 12.5px Inter, system-ui, sans-serif; cursor: pointer; }
.lm-ctl button .i { font-size: 18px; color: var(--amber); line-height: 1; letter-spacing: -2px; }
.lm-ctl button:hover { border-color: var(--amber); }
.lm-ctl button[aria-pressed="true"] { background: #2A2117; border-color: #e8590c; }
.demo.lm .read { justify-content: flex-start; }
@media (max-width: 760px) { .demo.lm .map { order: 4; } .lm-ctl { order: 3; } }
@media (max-width: 760px) { .lm-chip { flex-basis: 100%; } .lm-chip > span:last-child { white-space: normal; } .lm-how { display: block; font-size: 12px; } }
.lm-plane { position: relative; width: 0; height: 0; }
.lm-plane i { position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.45)); }
.lm-plane span { position: absolute; left: 15px; top: -8px; font: 700 11.5px Inter, sans-serif; color: #222; white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; }

/* ---- website 1.8: same map, rings and zoom buttons as the app ---- */
.lm-gl { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.lm-gl .maplibregl-canvas { outline: none; }
.leaflet-container > .lm-gl.maplibregl-map { position: absolute; inset: 0; }
/* rings: a fixed 260 px on screen, bold, slow; only transform + opacity animate */
.lm-ripw { pointer-events: none; transition: opacity 3s ease-out; }
.lm-ripw.fade { opacity: 0; }
.lm-rip { position: relative; width: 100%; height: 100%; --rd: 5.2s; }
.lm-rip i { position: absolute; inset: 0; border-radius: 50%; border: 3.5px solid #e8590c; opacity: 0; transform: scale(.04); backface-visibility: hidden; will-change: transform, opacity; animation: lmrip3 var(--rd) cubic-bezier(.22, .61, .36, 1) infinite; }
.lm-rip i:nth-child(2) { animation-delay: calc(var(--rd) / 3); }
.lm-rip i:nth-child(3) { animation-delay: calc(var(--rd) * 2 / 3); }
.lm-rip.in { --ri: 6.6s; }
.lm-rip.in i { border-color: #5c7cfa; animation: lmripin var(--ri) cubic-bezier(.45, 0, .55, 1) infinite; }
.lm-rip.in i:nth-child(2) { animation-delay: calc(var(--ri) / 4); }
.lm-rip.in i:nth-child(3) { animation-delay: calc(var(--ri) / 2); }
.lm-rip.in i:nth-child(4) { animation-delay: calc(var(--ri) * 3 / 4); }
@keyframes lmrip3 { 0% { transform: scale(.04); opacity: 0; } 12% { opacity: .85; } 70% { opacity: .4; } 100% { transform: scale(1); opacity: 0; } }
@keyframes lmripin { 0% { transform: scale(1); opacity: 0; } 20% { opacity: .35; } 80% { opacity: .7; } 100% { transform: scale(.03); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lm-rip { display: none; } }
/* + and -: round, dark, amber ring and amber signs, like the app */
.demo.lm .leaflet-control-zoom.leaflet-bar { border: 0; box-shadow: none; background: transparent; display: flex; flex-direction: column; gap: 8px; }
.demo.lm .leaflet-control-zoom.leaflet-bar a { width: 44px; height: 44px; line-height: 42px; border-radius: 50%; font: 600 24px/42px system-ui, sans-serif; text-indent: 0; background: #1a222c; color: #F2A33A; border: 1.5px solid #F2A33A; box-shadow: 0 4px 18px rgba(0,0,0,.3); text-decoration: none; }
.demo.lm .leaflet-control-zoom.leaflet-bar a:hover, .demo.lm .leaflet-control-zoom.leaflet-bar a:focus-visible { background: #243140; color: #FFB956; border-color: #FFB956; }
.demo.lm .leaflet-control-zoom.leaflet-bar a.leaflet-disabled { opacity: .45; background: #1a222c; color: #F2A33A; }
.demo.lm .leaflet-touch .leaflet-control-zoom.leaflet-bar a:first-child, .demo.lm .leaflet-control-zoom.leaflet-bar a:last-child { border-radius: 50%; }
/* Personalise: a card with a location icon that gently pulses, title, line and arrow */
.lm-me { display: inline-flex; align-items: center; gap: 10px; background: #F2A33A; color: #0E151D; border: 0; border-radius: 14px; padding: 7px 12px 7px 7px; font: 600 13px Inter, system-ui, sans-serif; text-align: left; cursor: pointer; box-shadow: 0 4px 18px rgba(0,0,0,.35); transition: background .2s, transform .15s; }
.lm-me:hover { background: #FFB956; transform: translateY(-1px); } .lm-me:active { transform: none; }
.lm-me:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lm-me-ic { position: relative; flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #0E151D; color: #F2A33A; }
.lm-me-ic::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #0E151D; opacity: 0; animation: lmme 2.6s ease-out infinite; }
@keyframes lmme { 0% { transform: scale(.9); opacity: .55; } 100% { transform: scale(1.45); opacity: 0; } }
.lm-me-t { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.lm-me-t b { font: 700 15px "Space Grotesk", Inter, sans-serif; }
.lm-me-t small { font-size: 12px; font-weight: 500; opacity: .8; }
.lm-me-go { font: 700 22px/1 Inter, sans-serif; margin-left: 2px; }
.lm-me.busy { cursor: wait; } .lm-me.busy .lm-me-ic svg { animation: lmspin 1.2s linear infinite; }
@keyframes lmspin { to { transform: rotate(360deg); } }
.lm-me.done { background: #0E151D; color: #E6EDF3; box-shadow: 0 0 0 1.5px #3CC3B5, 0 4px 18px rgba(0,0,0,.35); }
.lm-me.done .lm-me-ic { background: #3CC3B5; color: #0E151D; } .lm-me.done .lm-me-ic::after { border-color: #3CC3B5; }
.lm-me.done .lm-me-t b::after { content: " ✓"; color: #3CC3B5; } .lm-me.done .lm-me-go { color: #3CC3B5; }
.lm-me:disabled { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .lm-me-ic::after, .lm-me.busy .lm-me-ic svg { animation: none; } }
@media (max-width: 760px) { .lm-me { padding: 5px 10px 5px 5px; gap: 8px; } .lm-me-ic { width: 32px; height: 32px; } .lm-me-t b { font-size: 14px; } .lm-me-t small { font-size: 11px; } }
.demo.lm .lm-me .lm-me-t b, .demo.lm .lm-me .lm-me-t small, .demo.lm .lm-me .lm-me-go { color: inherit; }
.demo.lm .lm-me.done .lm-me-go { color: #3CC3B5; }
.demo.lm .lm-map .lm-top { left: 66px; }
.demo.lm .lm-me span.lm-me-t, .demo.lm .lm-me span.lm-me-go { color: inherit; }
.demo.lm .lm-me span.lm-me-ic { color: #F2A33A; }
.demo.lm .lm-me.done span.lm-me-ic { color: #0E151D; }
/* website 1.8: one live network line for a repeater on the demo card */
.demo .mbody .lm-net { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: center; margin-top: 6px; padding-top: 6px; border-top: 1px dashed #2F4256; font-size: 12px; color: var(--soft); white-space: normal; }
.demo .mbody .lm-net[hidden] { display: none; }
.demo .mbody .lm-net-l { display: inline-flex; align-items: center; gap: 6px; color: var(--soft); }
.demo .mbody .lm-net-l b { color: var(--text); font-weight: 600; white-space: normal; }
.demo .mbody .lm-net-l i { width: 8px; height: 8px; border-radius: 50%; background: #6B7B8C; flex: none; }
.demo .mbody .lm-net-l i.on { background: #3CC3B5; box-shadow: 0 0 0 3px rgba(60,195,181,.2); }
.demo .mbody .lm-net a { color: var(--amber); font-weight: 600; text-decoration: none; }
.demo .mbody .lm-net a:hover { text-decoration: underline; }
/* website 1.8: find a repeater */
.lm-find { display: flex; flex-direction: column; gap: 6px; background: #16202A; border: 1px solid #22303D; border-radius: 12px; padding: 10px 11px; }
.lm-find label { font: 600 11px Inter, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #B68A4C; }
.lm-find-row { display: flex; gap: 6px; }
.lm-find input { flex: 1; min-width: 0; height: 42px; background: #0E151D; border: 1.5px solid #2F4256; border-radius: 10px; color: var(--text); padding: 0 12px; font: 500 15px Inter, system-ui, sans-serif; }
.lm-find input::placeholder { color: #6B7B8C; }
.lm-find input:focus { outline: none; border-color: #F2A33A; box-shadow: 0 0 0 3px rgba(242,163,58,.18); }
.lm-find button[type=submit] { flex: none; width: 46px; height: 42px; border-radius: 10px; border: 0; background: #F2A33A; color: #0E151D; display: grid; place-items: center; cursor: pointer; }
.lm-find button[type=submit]:hover { background: #FFB956; }
.lm-find-msg { margin: 0; font-size: 12.5px; color: var(--soft); line-height: 1.45; }
.lm-find-msg b { color: var(--text); } .lm-find-msg a { color: var(--amber); font-weight: 600; }
.lm-find-msg button { background: none; border: 0; padding: 0; color: var(--amber); font: 600 12.5px Inter, sans-serif; cursor: pointer; }
@media (max-width: 760px) { .lm-find { order: 3; } .lm-find input { font-size: 16px; } }
/* website 1.8: "Now hear it on your own radio" under the search */
.lm-try { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 4px; align-content: start; background: linear-gradient(160deg, #1F1A12, #16202A 70%); border: 1px solid #5A4520; border-radius: 12px; padding: 12px 13px; }
.lm-try-ic { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 10px; background: #0E151D; display: grid; place-items: center; }
.lm-try b { font: 700 16px "Space Grotesk", Inter, sans-serif; color: var(--text); align-self: end; }
.lm-try p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--soft); }
.lm-try p.lm-try-r { grid-column: 1 / -1; color: var(--muted); font-size: 12px; margin-top: 4px; }
.lm-try-go { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.lm-try-go .btn { padding: 9px 18px; }
.lm-try-go span { color: var(--muted); font-size: 12px; }
@media (max-width: 760px) { .lm-try { order: 5; } }
/* website 1.8: "What you're hearing" explainer */
.lm-why { background: #111B23; border: 1px solid #22303D; border-radius: 12px; padding: 11px 13px; display: flex; flex-direction: column; gap: 3px; }
.lm-why-k { font: 600 11px Inter, sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #5FB8AD; }
.lm-why b { font: 700 15px "Space Grotesk", Inter, sans-serif; color: var(--text); }
.lm-why p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--soft); }
@media (max-width: 760px) { .lm-why { order: 5; } .lm-try { order: 6; } }
/* website 1.8: how to connect your radio, USB then Bluetooth (10 s loop) */
.lm-try { grid-template-columns: minmax(0, 1fr); }
.lm-conn { background: #0E151D; border: 1px solid #22303D; border-radius: 10px; padding: 6px 8px 8px; margin-bottom: 6px; }
.lm-conn svg { display: block; }
.lm-conn .cab { stroke-dasharray: 220; stroke-dashoffset: 220; animation: lmcab 10s ease-in-out infinite; }
.lm-conn .plug { opacity: 0; animation: lmplug 10s infinite; }
.lm-conn .usb { animation: lmusb 10s infinite; }
.lm-conn .bt { opacity: 0; animation: lmbt 10s infinite; }
.lm-conn .bt .w1, .lm-conn .bt .w2, .lm-conn .bt .w3 { animation: lmwave 1.2s ease-out infinite; }
.lm-conn .bt .w2 { animation-delay: .2s; } .lm-conn .bt .w3 { animation-delay: .4s; }
.lm-conn .ring { opacity: 0; transform-origin: 256px 44px; animation: lmring 10s infinite; }
.lm-conn-l { position: relative; height: 18px; text-align: center; font: 600 12.5px Inter, sans-serif; }
.lm-conn-l span { position: absolute; inset: 0; }
.lm-conn-l .u { color: #F2A33A; animation: lmusb 10s infinite; } .lm-conn-l .b { color: #3CC3B5; opacity: 0; animation: lmbt 10s infinite; }
@keyframes lmcab { 0% { stroke-dashoffset: 220; } 18%, 46% { stroke-dashoffset: 0; } 50%, 100% { stroke-dashoffset: 220; } }
@keyframes lmplug { 0%, 16% { opacity: 0; } 19%, 46% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes lmusb { 0%, 46% { opacity: 1; } 50%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes lmbt { 0%, 48% { opacity: 0; } 53%, 95% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes lmwave { 0% { opacity: .2; } 50% { opacity: 1; } 100% { opacity: .2; } }
@keyframes lmring { 0%, 19% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1.3); } 40%, 60% { opacity: 0; transform: scale(1.6); } 72% { opacity: 1; transform: scale(1.3); } 82%, 100% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .lm-conn * { animation: none !important; } .lm-conn .cab { stroke-dashoffset: 0; } .lm-conn .plug { opacity: 1; } .lm-conn-l .b { display: none; } }
/* website 1.8 (28 Nov): on phones the map comes first, then the radio, controls, search, explainer, try panel */
@media (max-width: 760px) {
  .demo.lm .map, .hero2 .demo.lm .map { order: -1; min-height: 360px; height: 58vh; max-height: 460px; }
  .demo.lm .ro { order: 1; } .demo.lm .slot { order: 2; } .lm-ctl { order: 3; } .lm-find { order: 4; } .lm-why { order: 5; } .lm-try { order: 6; }
  .demo.lm .slot { min-height: 0; }
}
/* website 1.8 (28 Nov 14:11): no "Find a repeater" heading or box, just the search bar */
.lm-find { background: none; border: 0; padding: 0; }
.lm-find label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* website 1.8 (28 Nov 14:13): search taken off the home demo for now (code kept, easy to bring back) */
.lm-find { display: none !important; }
.lm-try p.lm-try-lab { grid-column: 1 / -1; font-size: 12.5px; color: var(--soft); }
.lm-try p.lm-try-lab a { color: #3CC3B5; font-weight: 600; text-decoration: none; } .lm-try p.lm-try-lab a:hover { text-decoration: underline; }
/* website 1.8 (28 Nov 14:31): scene A desktop radio -> USB -> laptop, scene B handheld -> Bluetooth -> phone (12 s) */
.lm-conn .sa { animation: lmsa 12s infinite; } .lm-conn .sb { opacity: 0; animation: lmsb 12s infinite; }
.lm-conn .cab { stroke-dasharray: 160; stroke-dashoffset: 160; animation: lmcab2 12s ease-in-out infinite; }
.lm-conn .plug { opacity: 0; animation: lmplug2 12s infinite; }
.lm-conn .ring { opacity: 0; animation: lmring2 2s ease-out infinite; }
.lm-conn .waves path { animation: lmwave 1.2s ease-out infinite; } .lm-conn .waves .w2 { animation-delay: .2s; } .lm-conn .waves .w3 { animation-delay: .4s; }
.lm-conn-l .u { animation: lmsa 12s infinite; } .lm-conn-l .b { opacity: 0; animation: lmsb 12s infinite; }
@keyframes lmsa { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes lmsb { 0%, 47% { opacity: 0; } 52%, 94% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes lmcab2 { 0%, 4% { stroke-dashoffset: 160; } 18%, 100% { stroke-dashoffset: 0; } }
@keyframes lmplug2 { 0%, 17% { opacity: 0; } 19%, 100% { opacity: 1; } }
@keyframes lmring2 { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.8); } }
@media (prefers-reduced-motion: reduce) { .lm-conn .sb, .lm-conn-l .b { display: none; } .lm-conn .sa, .lm-conn-l .u { opacity: 1; } .lm-conn .cab { stroke-dashoffset: 0; } .lm-conn .plug { opacity: 1; } }

/* website 1.8.3 (15:42, option 1): Personalise becomes a round amber locate button under + and -, label on hover */
.demo.lm .leaflet-control-zoom .lm-me { position: relative; width: 44px; height: 44px; padding: 0; gap: 0; border-radius: 50%; display: grid; place-items: center; background: #F2A33A; color: #0E151D; border: 1.5px solid #F2A33A; box-shadow: 0 4px 18px rgba(0,0,0,.3); transform: none; overflow: visible; }
.demo.lm .leaflet-control-zoom .lm-me:hover, .demo.lm .leaflet-control-zoom .lm-me:focus-visible { background: #FFB956; border-color: #FFB956; transform: none; }
.demo.lm .leaflet-control-zoom .lm-me span.lm-me-ic { width: 100%; height: 100%; background: transparent; color: #0E151D; }
.demo.lm .leaflet-control-zoom .lm-me .lm-me-ic::after { inset: -3px; border-color: #F2A33A; border-width: 2.5px; animation: lmloc 2.8s ease-out infinite; }
.demo.lm .leaflet-control-zoom .lm-me.tapped .lm-me-ic::after { animation: none; opacity: 0; }
@keyframes lmloc { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.demo.lm .leaflet-control-zoom .lm-me span.lm-me-t { position: absolute; left: 54px; top: 50%; transform: translateY(-50%); background: #0E151D; color: #fff; padding: 6px 10px; border-radius: 8px; white-space: nowrap; box-shadow: 0 3px 12px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .15s; }
.demo.lm .leaflet-control-zoom .lm-me span.lm-me-t::before { content: ""; position: absolute; left: -5px; top: 50%; margin-top: -5px; border: 5px solid transparent; border-left: 0; border-right-color: #0E151D; }
.demo.lm .leaflet-control-zoom .lm-me .lm-me-t b { font: 600 13px Inter, system-ui, sans-serif; color: #fff; }
.demo.lm .leaflet-control-zoom .lm-me .lm-me-t small { font-size: 11px; color: #9fb0c0; opacity: 1; }
.demo.lm .leaflet-control-zoom .lm-me .lm-me-t small:empty { display: none; }
.demo.lm .leaflet-control-zoom .lm-me .lm-me-t b::after { content: none; }
.demo.lm .leaflet-control-zoom .lm-me:hover span.lm-me-t, .demo.lm .leaflet-control-zoom .lm-me:focus-visible span.lm-me-t, .demo.lm .leaflet-control-zoom .lm-me.busy span.lm-me-t { opacity: 1; }
.demo.lm .leaflet-control-zoom .lm-me.done { background: #0E151D; border-color: #3CC3B5; box-shadow: 0 4px 18px rgba(0,0,0,.3); }
.demo.lm .leaflet-control-zoom .lm-me.done span.lm-me-ic { color: #3CC3B5; }
@media (max-width: 760px) { .demo.lm .leaflet-control-zoom .lm-me { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .demo.lm .leaflet-control-zoom .lm-me .lm-me-ic::after { animation: none; } }
/* website 1.8.3 beta 2 (16:34): locate button matches + and - exactly; ring in teal with a dark edge so it shows on light maps */
.demo.lm .leaflet-control-zoom.leaflet-bar a span { color: inherit; }
.demo.lm .leaflet-control-zoom.leaflet-bar > * { box-sizing: border-box; margin: 0; flex: none; }
.demo.lm .leaflet-control-zoom .lm-me { -webkit-appearance: none; appearance: none; background: #1a222c; border: 1.5px solid #F2A33A; color: #F2A33A; }
.demo.lm .leaflet-control-zoom .lm-me span.lm-me-ic { color: #F2A33A; }
.demo.lm .leaflet-control-zoom .lm-me:hover, .demo.lm .leaflet-control-zoom .lm-me:focus-visible { background: #243140; border-color: #FFB956; }
.demo.lm .leaflet-control-zoom .lm-me:hover span.lm-me-ic { color: #FFB956; }
.demo.lm .leaflet-control-zoom .lm-me .lm-me-ic::after { inset: -2px; border: 3px solid #3CC3B5; box-shadow: 0 0 0 1.5px rgba(14,21,29,.55), inset 0 0 0 1.5px rgba(14,21,29,.55); animation: lmloc2 2.4s ease-out infinite; }
@keyframes lmloc2 { 0% { transform: scale(1); opacity: 1; } 70% { opacity: .5; } 100% { transform: scale(1.75); opacity: 0; } }
.demo.lm .leaflet-control-zoom .lm-me.done { background: #1a222c; border-color: #3CC3B5; }
.demo.lm .leaflet-control-zoom .lm-me.done span.lm-me-ic { color: #3CC3B5; }
@media (prefers-reduced-motion: reduce) { .demo.lm .leaflet-control-zoom .lm-me .lm-me-ic::after { animation: none; opacity: 0; } }
/* website 1.8.3 beta 3 (16:37): ring in the website background colour */
.demo.lm .leaflet-control-zoom .lm-me .lm-me-ic::after { border-color: #0E151D; box-shadow: none; }

/* website 1.8.3 beta 4 (16:41, option C + agreed glow): smaller dark Personalise card, amber icon, navy ring pulses round the icon until first tap */
.demo.lm .lm-top .lm-me { gap: 10px; padding: 4px 14px 4px 4px; border-radius: 24px; background: #1a222c; color: #E6EDF3; border: 1.5px solid #F2A33A; box-shadow: 0 4px 18px rgba(0,0,0,.3); }
.demo.lm .lm-top .lm-me:hover, .demo.lm .lm-top .lm-me:focus-visible { background: #243140; border-color: #FFB956; transform: none; }
.demo.lm .lm-top .lm-me span.lm-me-ic { width: 34px; height: 34px; background: #F2A33A; color: #0E151D; }
.demo.lm .lm-top .lm-me .lm-me-ic::after { inset: -3px; border: 3px solid #0E151D; animation: lmloc 2.4s ease-out infinite; }
.demo.lm .lm-top .lm-me.tapped .lm-me-ic::after { animation: none; opacity: 0; }
.demo.lm .lm-top .lm-me .lm-me-t b { font: 700 14px "Space Grotesk", Inter, sans-serif; color: #F2A33A; }
.demo.lm .lm-top .lm-me .lm-me-t small { font-size: 11.5px; color: #c9d4de; opacity: 1; }
.demo.lm .lm-top .lm-me.done { border-color: #3CC3B5; box-shadow: 0 4px 18px rgba(0,0,0,.3); }
.demo.lm .lm-top .lm-me.done span.lm-me-ic { background: #3CC3B5; color: #0E151D; }
.demo.lm .lm-top .lm-me.done .lm-me-t b { color: #3CC3B5; }
.demo.lm .lm-top .lm-me.done .lm-me-t b::after { content: " ✓"; }
@media (max-width: 760px) { .demo.lm .lm-top .lm-me { padding: 3px 12px 3px 3px; gap: 8px; } .demo.lm .lm-top .lm-me span.lm-me-ic { width: 30px; height: 30px; } .demo.lm .lm-top .lm-me .lm-me-t b { font-size: 13px; } .demo.lm .lm-top .lm-me .lm-me-t small { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .demo.lm .lm-top .lm-me .lm-me-ic::after { animation: none; opacity: 0; } }
/* website 1.8.3 beta 5 (16:43): the navy glow pulses round the whole pill, not just the icon */
.demo.lm .lm-top .lm-me { position: relative; }
.demo.lm .lm-top .lm-me .lm-me-ic::after { animation: none; opacity: 0; }
.demo.lm .lm-top .lm-me::after { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 0 rgba(14,21,29,.75); animation: lmpill 2.4s ease-out infinite; }
@keyframes lmpill { 0% { box-shadow: 0 0 0 0 rgba(14,21,29,.75); } 80% { box-shadow: 0 0 0 12px rgba(14,21,29,0); } 100% { box-shadow: 0 0 0 12px rgba(14,21,29,0); } }
.demo.lm .lm-top .lm-me.tapped::after { animation: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .demo.lm .lm-top .lm-me::after { animation: none; } }
/* website 1.8.3 (16:45): glow in the original amber theme colour, no blue tint */
.demo.lm .lm-top .lm-me::after { animation-name: lmpilla; }
@keyframes lmpilla { 0% { box-shadow: 0 0 0 0 rgba(242,163,58,.85); } 80% { box-shadow: 0 0 0 12px rgba(242,163,58,0); } 100% { box-shadow: 0 0 0 12px rgba(242,163,58,0); } }
/* website 1.8.4 (16:48): glow stays the dark navy agreed; after the click Personalise keeps its amber colours (no teal) */
.demo.lm .lm-top .lm-me::after { animation-name: lmpill; }
.demo.lm .lm-top .lm-me.done { background: #1a222c; border-color: #F2A33A; }
.demo.lm .lm-top .lm-me.done span.lm-me-ic { background: #F2A33A; color: #0E151D; }
.demo.lm .lm-top .lm-me.done .lm-me-t b { color: #F2A33A; }
.demo.lm .lm-top .lm-me.done .lm-me-t small { color: #c9d4de; }
.demo.lm .lm-top .lm-me.done .lm-me-ic::after { border-color: transparent; }
.demo.lm .lm-top .lm-me.done .lm-me-t b::after { color: #F2A33A; }
/* website 1.9.0 (29 Nov): Features page as infographics, one picture per idea */
section.fx { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; margin: 0 0 20px; scroll-margin-top: 90px; }
.fx-k { color: #3CC3B5; font: 700 11.5px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
section.fx h2 { font: 700 24px/1.2 "Space Grotesk", Inter, sans-serif; margin: 4px 0 4px; }
.fx-lead { color: var(--soft); margin: 0 0 18px; font-size: 15px; }
.fx-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #0E151D; border: 1.5px solid #F2A33A; color: #F2A33A; flex: none; }
.fx-ic svg { width: 24px; height: 24px; }
.fx-ic.sm { width: 34px; height: 34px; } .fx-ic.sm svg { width: 18px; height: 18px; }
.fx-flow { display: flex; align-items: stretch; gap: 10px; }
.fx-step { flex: 1; background: var(--panel2); border-radius: 14px; padding: 18px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fx-step .fx-ic + .fx-ic { margin-top: -46px; margin-left: 58px; border-color: #3CC3B5; color: #3CC3B5; width: 32px; height: 32px; } .fx-step .fx-ic + .fx-ic svg { width: 16px; height: 16px; }
.fx-step b { margin-top: 8px; font-size: 15px; } .fx-step small, .fx-tile small, .fx-pts small, .fx-net small { color: var(--soft); font-size: 12.5px; line-height: 1.4; }
.fx-ar { align-self: center; color: #F2A33A; font: 700 24px Inter, sans-serif; }
.fx-flow.sm .fx-step { padding: 14px 8px; } .fx-flow.sm .fx-ic { width: 40px; height: 40px; }
.fx-g5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; } .fx-g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fx-tile { background: var(--panel2); border-radius: 14px; padding: 16px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fx-tile b { margin-top: 8px; font-size: 14.5px; } .fx-tile small a { color: #3CC3B5; }
.fx-two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; }
.fx-pts { list-style: none; margin: 0; padding: 0; } .fx-pts li { display: flex; gap: 12px; align-items: center; margin: 10px 0; } .fx-pts b { display: block; font-size: 15px; }
.fx-map { position: relative; height: 230px; border-radius: 14px; overflow: hidden; background: #e8ebe6; background-image: linear-gradient(90deg, transparent 56%, #f5d98d 56%, #f5d98d 58.5%, transparent 58.5%), linear-gradient(20deg, transparent 46%, #fff 46%, #fff 49%, transparent 49%), linear-gradient(-30deg, transparent 70%, #fff 70%, #fff 72%, transparent 72%); }
.fx-you { position: absolute; left: 36%; top: 52%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: #3CC3B5; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(60,195,181,.2); z-index: 2; }
.fx-line { position: absolute; left: 36%; top: 52%; width: var(--w); height: 3px; background: #e8590c; transform: rotate(var(--a)); transform-origin: left center; border-radius: 2px; }
.fx-st { position: absolute; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: #0E151D; border: 2px solid #fff; box-shadow: 0 0 0 2px #e8590c; z-index: 2; }
.fx-st.b { box-shadow: 0 0 0 2px #F2A33A; } .fx-st.c { box-shadow: 0 0 0 2px #38bdf8; } .fx-st.n { box-shadow: 0 0 0 2px #7c5cff; }
.fx-lab { position: absolute; background: #0E151D; color: #fff; font: 600 12px Inter, sans-serif; padding: 4px 8px; border-radius: 7px; white-space: nowrap; z-index: 3; }
.fx-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-photo { display: block; width: 100%; height: 340px; object-fit: cover; border-radius: 16px; margin: 0 0 16px; }
.fx-net { display: flex; align-items: center; gap: 10px; background: var(--panel2); border-radius: 10px; padding: 10px 14px; margin: 0 0 8px; }
.fx-net b { font-size: 14.5px; } .fx-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.fx-sky { position: relative; height: 240px; border-radius: 14px; background: radial-gradient(circle at 50% 50%, #1a2836, #0E151D 72%); overflow: hidden; }
.fx-badge { position: absolute; display: inline-flex; align-items: center; gap: 6px; background: #0E151D; border: 1.5px solid #F2A33A; color: #F2A33A; border-radius: 99px; padding: 5px 11px; font: 700 12.5px Inter, sans-serif; }
.fx-badge svg { width: 16px; height: 16px; } .fx-badge.up { border-color: #3CC3B5; color: #3CC3B5; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; } .fx-chip { background: var(--panel2); border: 1px solid var(--line2); border-radius: 99px; padding: 6px 13px; font-size: 13.5px; }
.fx-chart { padding: 4px 4px 0; } .fx-bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; border-bottom: 1px solid var(--line2); }
.fx-bars span { flex: 1; background: linear-gradient(#F2A33A, #c77d1e); border-radius: 6px 6px 0 0; } .fx-days { display: flex; gap: 10px; color: var(--soft); font-size: 11.5px; padding-top: 4px; } .fx-days span { flex: 1; text-align: center; }
@media (max-width: 900px) { .fx-g5 { grid-template-columns: repeat(3, 1fr); } .fx-two { grid-template-columns: 1fr; } .fx-g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  section.fx { padding: 18px 16px; } section.fx h2 { font-size: 20px; }
  .fx-flow { flex-direction: column; } .fx-ar { transform: rotate(90deg); align-self: center; line-height: 1; }
  .fx-step { flex-direction: row; text-align: left; gap: 12px; padding: 12px; } .fx-step b { margin: 0; } .fx-step > b, .fx-step > small { display: block; }
  .fx-step { display: grid; grid-template-columns: auto 1fr; } .fx-step .fx-ic { grid-row: span 2; } .fx-step .fx-ic + .fx-ic { display: none; }
  .fx-g5, .fx-g4 { grid-template-columns: repeat(2, 1fr); } .fx-photo { height: 220px; }
}
.wrap > section#data-sources { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; margin: 0 0 20px; }
.fx-gl { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .4s; }
.fx-map.live .fx-gl { opacity: 1; } .fx-map.live > .fx-you, .fx-map.live > .fx-line, .fx-map.live > .fx-st, .fx-map.live > .fx-lab { display: none; }
.fx-gl .fx-you.gl { position: absolute; left: 0; top: 0; margin: 0; }
.fx-map .fx-gl.maplibregl-map { position: absolute; }
.fx-mk { position: relative; } .fx-mk .fx-st.gl { position: static; display: block; margin: 0; }
.fx-mk .fx-lab.gl { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); }
.fx-attr { margin: 6px 0 0; font-size: 11px; color: var(--soft); } .fx-attr a { color: var(--soft); }
.fx-two > div:has(> .fx-map) { min-width: 0; }
.fx-mk .fx-lab.gl.sm { font-size: 11px; opacity: .9; padding: 2px 6px; }
#fx-netcap { margin-top: 8px; } #fx-netcap b { color: #F2A33A; font-weight: 600; }
/* website 1.9.1: the phone menu sits above the home map (map layers kept inside the demo box) */
.demo.lm { position: relative; isolation: isolate; }
@media (max-width: 1180px) { .top { z-index: 1200; } }
/* website 1.9.3: one line under Personalise saying the browser will ask and the location stays on the device */
.demo.lm .lm-me-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.demo.lm .lm-me-why { display: block; max-width: 260px; padding: 2px 9px; border-radius: 99px; background: rgba(14,21,29,.82); color: #E6EDF3; font: 500 11px/1.4 Inter, sans-serif; }
.demo.lm .lm-me.tapped + .lm-me-why { display: none; }
@media (max-width: 760px) { .demo.lm .lm-me-why { font-size: 10.5px; max-width: 220px; } }
/* website 1.9.6: radios marked Working / May work, with a Radio Lab offer */
.rp-lab a { color: var(--amber-hi); font-weight: 600; }
.rp-lab { margin: 6px 0 10px; font-size: 13.5px; color: var(--soft); }
/* website 1.9.6: untested radios in their own box under the make cards, with a Radio Lab picture */
.ntbox { margin: 22px 0 6px; padding: 20px 22px; border: 1.5px dashed #F2A33A; border-radius: 18px; background: rgba(242,163,58,.05); }
.ntbox[hidden] { display: none; }
.nt-head h3 { margin: 0 0 6px; font: 700 21px/1.25 "Space Grotesk", Inter, sans-serif; color: #F7C27A; }
.nt-head p { margin: 0 0 16px; color: var(--text); max-width: 900px; }
.nt-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: nt; }
.nt-steps li { position: relative; background: #141C25; border: 1px solid #2F4256; border-radius: 14px; padding: 14px 12px 12px; display: flex; flex-direction: column; gap: 3px; }
.nt-steps li b { font-size: 14.5px; } .nt-steps li small { color: var(--soft); font-size: 12.5px; line-height: 1.35; }
.nt-steps li + li::before { content: "→"; position: absolute; left: -12px; top: 26px; color: #F2A33A; font-weight: 700; }
.nt-ic { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #3D2E15; color: #F2A33A; margin-bottom: 6px; }
.nt-ic.ok { background: #173B37; color: #5EE0D0; } .nt-ic.lab { background: #2A2147; color: #b9a5ff; }
.nt-ic svg { width: 21px; height: 21px; }
.nt-row { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; border-top: 1px dashed #3D2E15; }
.nt-row > b { flex: 0 0 170px; color: var(--soft); font-weight: 600; padding-top: 4px; }
.nt-row .rlist li { border: 1.5px dashed #F2A33A; color: #F7C27A; background: transparent; }
.ntbox .btn { margin-top: 14px; }
@media (max-width: 760px) { .nt-steps { grid-template-columns: 1fr 1fr; } .nt-steps li + li::before { display: none; } .nt-row { flex-direction: column; gap: 6px; } .nt-row > b { flex: none; } }
.rp-pick label { min-width: 0; } .rp-pick select { width: 100%; max-width: 100%; min-width: 0; }
/* website 1.9.6b: each make lists every CAT radio; not supported ones in a dashed box with a Radio Lab link */
.rnot { margin-top: 10px; padding: 12px 14px; border: 1.5px dashed #F2A33A; border-radius: 14px; background: rgba(242,163,58,.05); }
.rnot .rsub { margin: 8px 0 6px; font-size: 13px; color: var(--soft); display: flex; align-items: center; gap: 6px; }
.rnot .rlist li { border: 1.5px dashed #6b5631; color: #E8D3B0; background: transparent; }
.rnot .rbeta .rlist li { border-color: #F2A33A; color: #F7C27A; }
.rdot { width: 8px; height: 8px; border-radius: 50%; background: #F2A33A; display: inline-block; flex: none; }
.rnot-foot { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13.5px; }
.rnot-foot a { color: var(--amber-hi); font-weight: 600; } .rnot-foot a.rnot-how { color: var(--soft); font-weight: 500; text-decoration: underline; }
.rnot-ic { width: 26px; height: 26px; border-radius: 50%; background: #2A2147; color: #b9a5ff; display: inline-flex; align-items: center; justify-content: center; flex: none; vertical-align: middle; }
.rnot-ic svg { width: 15px; height: 15px; }
#how-lab .nt-head h3 { display: flex; align-items: center; gap: 10px; color: var(--text); }
.rp-badge[hidden]{display:none}
