Rework Mobile SDK explorer into module tile grid, polish nav styling
CI / build (push) Canceled after 0s

Replace the tab/scrubber UI with a module tile grid, drop the leaked
real phone number from the call-scam demo script, and simplify nav
scroll background handling.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-24 18:16:57 +05:00
co-authored by Claude Sonnet 5
parent 7ed6a51d9f
commit 81ffaa85c3
7 changed files with 252 additions and 401 deletions
+3 -3
View File
@@ -611,7 +611,7 @@ footer{background:var(--surface);border-top:1px solid var(--border);padding:2rem
<div class="ap-incoming"> <div class="ap-incoming">
<div class="rings"><svg viewBox="0 0 24 24"><path d="M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a15 15 0 01-15-15z"/></svg></div> <div class="rings"><svg viewBox="0 0 24 24"><path d="M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a15 15 0 01-15-15z"/></svg></div>
<div class="ct"><b>07813996004</b><span>Incoming call · unknown number</span></div> <div class="ct"><b>0123456789</b><span>Incoming call · unknown number</span></div>
<span class="ap-verdict js-verdict">Checking…</span> <span class="ap-verdict js-verdict">Checking…</span>
</div> </div>
@@ -620,7 +620,7 @@ footer{background:var(--surface);border-top:1px solid var(--border);padding:2rem
<div class="av"><svg viewBox="0 0 64 64"><g fill="none" stroke="#e8f4f3" stroke-width="4" stroke-linejoin="round"><path d="M32 6 L56 20 L56 46 L32 60 L8 46 L8 20 Z"/><path d="M32 6 L32 32 M8 20 L32 32 M56 20 L32 32"/></g><circle cx="42" cy="16" r="6" fill="#3BB586"/></svg></div> <div class="av"><svg viewBox="0 0 64 64"><g fill="none" stroke="#e8f4f3" stroke-width="4" stroke-linejoin="round"><path d="M32 6 L56 20 L56 46 L32 60 L8 46 L8 20 Z"/><path d="M32 6 L32 32 M8 20 L32 32 M56 20 L32 32"/></g><circle cx="42" cy="16" r="6" fill="#3BB586"/></svg></div>
<div class="nt"><div class="l1">How was that… <span class="ago">• now</span> <div class="nt"><div class="l1">How was that… <span class="ago">• now</span>
<svg style="width:11px;height:11px;stroke:#f3f0f6;stroke-width:1.7;fill:none" viewBox="0 0 24 24"><path d="M18 15V10a6 6 0 10-12 0v5l-2 3h16zM10 21h4"/></svg></div> <svg style="width:11px;height:11px;stroke:#f3f0f6;stroke-width:1.7;fill:none" viewBox="0 0 24 24"><path d="M18 15V10a6 6 0 10-12 0v5l-2 3h16zM10 21h4"/></svg></div>
<div class="l2">07813996004</div></div> <div class="l2">0123456789</div></div>
<span class="chev">⌄</span> <span class="chev">⌄</span>
</div> </div>
<div class="acts"><span>Spam</span><span class="js-scam">Scam</span><span>OK</span></div> <div class="acts"><span>Spam</span><span class="js-scam">Scam</span><span>OK</span></div>
@@ -1086,7 +1086,7 @@ const SCRIPTS={
]}, ]},
calls:{dur:9200,steps:[ calls:{dur:9200,steps:[
{t:0, s:0, cap:'Home screen. An unknown number starts ringing.'}, {t:0, s:0, cap:'Home screen. An unknown number starts ringing.'},
{t:700, s:1, cap:'Inbound call from <b>07813996004</b> — reputation lookup fires.', {t:700, s:1, cap:'Inbound call from <b>0123456789</b> — reputation lookup fires.',
add:[['.js-verdict','pulse']]}, add:[['.js-verdict','pulse']]},
{t:2100,s:2, cap:'Verdict returned <i>before answer</i>: likely scam, confidence 91.', {t:2100,s:2, cap:'Verdict returned <i>before answer</i>: likely scam, confidence 91.',
set:[['.js-verdict','Likely scam · 91']], add:[['.js-verdict','bad']], rm:[['.js-verdict','pulse']]}, set:[['.js-verdict','Likely scam · 91']], add:[['.js-verdict','bad']], rm:[['.js-verdict','pulse']]},
+31 -35
View File
@@ -61,7 +61,7 @@ const SCRIPTS: Record<string, Spec> = {
dur: 9200, dur: 9200,
steps: [ steps: [
{ t: 0, s: 0, cap: 'Home screen. An unknown number starts ringing.' }, { t: 0, s: 0, cap: 'Home screen. An unknown number starts ringing.' },
{ t: 700, s: 1, cap: 'Inbound call from <b>07813996004</b> – reputation lookup fires.', add: [['.js-verdict', 'pulse']] }, { t: 700, s: 1, cap: 'Inbound call from <b>0123456789</b> – reputation lookup fires.', add: [['.js-verdict', 'pulse']] },
{ t: 2100, s: 2, cap: 'Verdict returned <i>before answer</i>: likely scam, confidence 91.', set: [['.js-verdict', 'Likely scam · 91']], add: [['.js-verdict', 'bad']], rm: [['.js-verdict', 'pulse']] }, { t: 2100, s: 2, cap: 'Verdict returned <i>before answer</i>: likely scam, confidence 91.', set: [['.js-verdict', 'Likely scam · 91']], add: [['.js-verdict', 'bad']], rm: [['.js-verdict', 'pulse']] },
{ t: 3700, s: 3, cap: 'Call ends. Guardian asks how it went.' }, { t: 3700, s: 3, cap: 'Call ends. Guardian asks how it went.' },
{ t: 5300, s: 4, cap: 'One tap: the user labels it <b>Scam</b>.', flash: [['.js-scam', 'hit', 1400]] }, { t: 5300, s: 4, cap: 'One tap: the user labels it <b>Scam</b>.', flash: [['.js-scam', 'hit', 1400]] },
@@ -129,16 +129,26 @@ const SCRIPTS: Record<string, Spec> = {
}, },
} }
const fmt = (ms: number) => '0:' + String(Math.floor(ms / 1000)).padStart(2, '0') // Order mirrors the panel/tile order in mobileSdkExplorer.html — drives
// keyboard left/right navigation across the module grid.
const MODULES: { key: string }[] = [
{ key: 'score' },
{ key: 'protection' },
{ key: 'dns' },
{ key: 'calls' },
{ key: 'sim' },
{ key: 'perms' },
{ key: 'zones' },
{ key: 'identity' },
{ key: 'settings' },
]
class Reel { class Reel {
root: ParentNode root: ParentNode
p: HTMLElement p: HTMLElement
ap: HTMLElement ap: HTMLElement
spec: Spec spec: Spec
fill: HTMLElement
cap: HTMLElement cap: HTMLElement
el: HTMLElement
pp: HTMLButtonElement pp: HTMLButtonElement
applied: [Element, string][] = [] applied: [Element, string][] = []
timers: ReturnType<typeof setTimeout>[] = [] timers: ReturnType<typeof setTimeout>[] = []
@@ -156,19 +166,9 @@ class Reel {
this.ap = panel.querySelector('.ap')! this.ap = panel.querySelector('.ap')!
this.spec = spec this.spec = spec
this.reduced = reduced this.reduced = reduced
this.fill = panel.querySelector('.reel-fill')!
this.cap = panel.querySelector('.reel-cap')! this.cap = panel.querySelector('.reel-cap')!
this.el = panel.querySelector('.js-el')!
this.pp = panel.querySelector('.js-pp')! this.pp = panel.querySelector('.js-pp')!
panel.querySelector('.js-du')!.textContent = fmt(spec.dur)
this.pp.onclick = () => this.toggle() this.pp.onclick = () => this.toggle()
const rs = panel.querySelector<HTMLButtonElement>('.js-rs')!
rs.onclick = () => { this.reset(); this.play() }
const track = panel.querySelector<HTMLElement>('.js-track')!
track.onclick = (e: MouseEvent) => {
const r = track.getBoundingClientRect()
this.seek(Math.max(0, Math.min(1, (e.clientX - r.left) / r.width)) * spec.dur)
}
this.reset() this.reset()
} }
q(sel: string) { return this.ap.querySelector<HTMLElement>(sel) } q(sel: string) { return this.ap.querySelector<HTMLElement>(sel) }
@@ -182,8 +182,8 @@ class Reel {
} }
reset() { reset() {
this.clear(); this.t = 0; this.i = 0; this.playing = false this.clear(); this.t = 0; this.i = 0; this.playing = false
this.pp.textContent = '▶'; this.fill.style.width = '0%' this.pp.textContent = '▶'
this.el.textContent = '0:00'; this.cap.innerHTML = '' this.cap.innerHTML = this.spec.steps[0]?.cap || ''
this.stage(0) this.stage(0)
if (this.reduced) { this.seek(this.spec.dur - 1); this.pause() } if (this.reduced) { this.seek(this.spec.dur - 1); this.pause() }
} }
@@ -226,11 +226,6 @@ class Reel {
;(st.type || []).forEach(([s, txt]) => { const elx = this.q(s); if (elx) { this.remember(elx); elx.textContent = txt } }) ;(st.type || []).forEach(([s, txt]) => { const elx = this.q(s); if (elx) { this.remember(elx); elx.textContent = txt } })
}) })
if (last && last.cap) this.cap.innerHTML = last.cap if (last && last.cap) this.cap.innerHTML = last.cap
this.paint()
}
paint() {
this.fill.style.width = (100 * this.t / this.spec.dur).toFixed(1) + '%'
this.el.textContent = fmt(Math.min(this.t, this.spec.dur))
} }
play() { play() {
if (this.playing) return if (this.playing) return
@@ -242,7 +237,6 @@ class Reel {
this.t += now - prev; prev = now this.t += now - prev; prev = now
const steps = this.spec.steps const steps = this.spec.steps
while (this.i < steps.length && steps[this.i].t <= this.t) { this.apply(steps[this.i]); this.i++ } while (this.i < steps.length && steps[this.i].t <= this.t) { this.apply(steps[this.i]); this.i++ }
this.paint()
if (this.t >= this.spec.dur) { if (this.t >= this.spec.dur) {
this.playing = false; this.pp.textContent = '↻' this.playing = false; this.pp.textContent = '↻'
this.timers.push(setTimeout(() => { this.reset(); this.play() }, 1100)) this.timers.push(setTimeout(() => { this.reset(); this.play() }, 1100))
@@ -274,31 +268,33 @@ export default function MobileSdkExplorer() {
if (k && SCRIPTS[k]) reels[k] = new Reel(p, SCRIPTS[k], reduced) if (k && SCRIPTS[k]) reels[k] = new Reel(p, SCRIPTS[k], reduced)
}) })
const tabs = [...root.querySelectorAll<HTMLButtonElement>('.tab')]
const panels = [...root.querySelectorAll<HTMLElement>('.panel')] const panels = [...root.querySelectorAll<HTMLElement>('.panel')]
const tiles = [...root.querySelectorAll<HTMLButtonElement>('.tab-tile')]
let cur = 'score' let cur = 'score'
function show(k: string) { function show(k: string) {
tabs.forEach((t) => t.classList.toggle('on', t.dataset.p === k)) const idx = MODULES.findIndex((m) => m.key === k)
if (idx === -1) return
panels.forEach((p) => p.classList.toggle('on', p.dataset.p === k)) panels.forEach((p) => p.classList.toggle('on', p.dataset.p === k))
tiles.forEach((t) => t.classList.toggle('on', t.dataset.p === k))
Object.entries(reels).forEach(([n, r]) => { if (n !== k) { r.pause(); r.reset() } }) Object.entries(reels).forEach(([n, r]) => { if (n !== k) { r.pause(); r.reset() } })
cur = k cur = k
// Switching tabs only stages the reel — playback waits for an explicit // Switching modules only stages the reel — playback waits for an
// tap on that reel's own play button. // explicit tap on that reel's own play button.
reels[k]?.reset() reels[k]?.reset()
} }
const onTabClick = (t: HTMLButtonElement) => () => { show(cur)
if (t.dataset.p) show(t.dataset.p) const onTileClick = (t: HTMLButtonElement) => () => { if (t.dataset.p) show(t.dataset.p) }
t.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'center' }) tiles.forEach((t) => { t.onclick = onTileClick(t) })
}
tabs.forEach((t) => { t.onclick = onTabClick(t) })
function step(dir: 1 | -1) {
const i = MODULES.findIndex((m) => m.key === cur)
show(MODULES[(i + dir + MODULES.length) % MODULES.length].key)
}
const tabsEl = root.querySelector<HTMLElement>('#tabs') const tabsEl = root.querySelector<HTMLElement>('#tabs')
const onKeydown = (e: KeyboardEvent) => { const onKeydown = (e: KeyboardEvent) => {
if (e.key !== 'ArrowRight' && e.key !== 'ArrowLeft') return if (e.key !== 'ArrowRight' && e.key !== 'ArrowLeft') return
e.preventDefault() e.preventDefault()
const i = tabs.findIndex((t) => t.classList.contains('on')) step(e.key === 'ArrowRight' ? 1 : -1)
const n = e.key === 'ArrowRight' ? (i + 1) % tabs.length : (i - 1 + tabs.length) % tabs.length
tabs[n].click()
} }
tabsEl?.addEventListener('keydown', onKeydown) tabsEl?.addEventListener('keydown', onKeydown)
@@ -312,7 +308,7 @@ export default function MobileSdkExplorer() {
return () => { return () => {
io.disconnect() io.disconnect()
tabsEl?.removeEventListener('keydown', onKeydown) tabsEl?.removeEventListener('keydown', onKeydown)
tabs.forEach((t) => { t.onclick = null }) tiles.forEach((t) => { t.onclick = null })
Object.values(reels).forEach((r) => r.destroy()) Object.values(reels).forEach((r) => r.destroy())
} }
}, []) }, [])
+53 -43
View File
@@ -14,47 +14,43 @@
--mse-shadow-lg: 0 8px 32px rgba(0,0,0,.40); --mse-shadow-xl: 0 24px 70px rgba(0,0,0,.55); --mse-shadow-lg: 0 8px 32px rgba(0,0,0,.40); --mse-shadow-xl: 0 24px 70px rgba(0,0,0,.55);
font-family: 'Ubuntu', -apple-system, system-ui, sans-serif; font-family: 'Ubuntu', -apple-system, system-ui, sans-serif;
color: var(--mse-text); color: var(--mse-text);
padding: 28px 0 36px; padding: 0 0 8px;
display: grid;
grid-template-columns: 168px minmax(0, 1fr);
column-gap: 70px;
align-items: center;
} }
/* ============================================================ /* ============================================================
EXPLORER + TABS EXPLORER + MODULE GRID
============================================================ */ ============================================================ */
.bd-mse .tabstrip { .bd-mse .mse-grid {
display: flex; gap: .5rem; overflow-x: auto; padding: .4rem; grid-column: 1;
background: var(--mse-surface); border: 1px solid var(--mse-border); border-radius: 18px; margin-bottom: 1.5rem; grid-row: 1;
-webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); display: grid;
mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); grid-template-columns: repeat(3, 1fr);
gap: 7px;
align-content: start;
} }
.bd-mse .tabstrip::-webkit-scrollbar { height: 5px; } .bd-mse .tab-tile {
.bd-mse .tabstrip::-webkit-scrollbar-thumb { background: var(--mse-border-strong); border-radius: 3px; } display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
.bd-mse .tab { flex: 0 0 auto; display: flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border: none; background: transparent; color: var(--mse-text-2); font-family: inherit; font-size: .9rem; font-weight: 600; border-radius: 13px; cursor: pointer; transition: .22s; white-space: nowrap; } padding: 10px 6px; border: none; border-radius: 13px;
.bd-mse .tab:hover { color: var(--mse-text); background: var(--mse-surface-2); } background: var(--mse-surface); color: var(--mse-text-2);
.bd-mse .tab.on { background: var(--mse-accent); color: #fff; box-shadow: 0 6px 18px var(--mse-accent-glow); } font-family: inherit; font-size: .63rem; font-weight: 600; line-height: 1.15; text-align: center;
.bd-mse .tab svg { width: 16px; height: 16px; flex-shrink: 0; } cursor: pointer; transition: .2s;width: 76px; height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.bd-mse .tab-tile svg { width: 16px; height: 16px; flex-shrink: 0; }
.bd-mse .tab-tile:hover { background: var(--mse-surface-2); color: var(--mse-text); }
.bd-mse .tab-tile.on { background: var(--mse-accent); color: #fff; box-shadow: 0 6px 18px var(--mse-accent-glow); }
.bd-mse .panel { display: none; grid-template-columns: 232px 1fr; gap: 2.75rem; align-items: start; max-width: 1180px; margin: 0 auto; } .bd-mse .panel { grid-column: 2; grid-row: 1; display: none; justify-content: center; max-width: 1180px; margin: 0 auto; }
.bd-mse .panel.on { display: grid; animation: mse-fade .45s ease; } .bd-mse .panel.on { display: flex; animation: mse-fade .45s ease; }
@keyframes mse-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } } @keyframes mse-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bd-mse .copy { max-width: 640px; padding-top: 6px; }
.bd-mse .copy .kicker { display: inline-flex; align-items: center; gap: .5rem; font-family: 'Ubuntu Mono', monospace; font-size: .78rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mse-accent); font-weight: 700; }
.bd-mse .copy .kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mse-accent); box-shadow: 0 0 0 3px var(--mse-accent-soft); }
.bd-mse .copy h3 { font-size: 1.55rem; margin: .5rem 0 .75rem; }
.bd-mse .copy .desc { color: var(--mse-text-2); font-size: .95rem; line-height: 1.55; margin-bottom: 1.2rem; }
.bd-mse .sig-title { font-size: .74rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mse-text-mute); font-weight: 700; margin-bottom: .7rem; }
.bd-mse .sigs { list-style: none; display: grid; gap: .5rem; margin-bottom: 1.3rem; }
.bd-mse .sigs li { display: flex; gap: .65rem; align-items: flex-start; padding: .6rem .85rem; background: var(--mse-surface); border: 1px solid var(--mse-border); border-radius: 12px; font-size: .86rem; color: var(--mse-text-2); }
.bd-mse .sigs li b { color: var(--mse-text); font-weight: 600; }
.bd-mse .sigs li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mse-accent); flex-shrink: 0; margin-top: .55rem; }
.bd-mse .pillrow { display: flex; flex-wrap: wrap; gap: .5rem; }
.bd-mse .pill { padding: .4rem .85rem; border-radius: 100px; background: var(--mse-accent-soft); border: 1px solid var(--mse-accent); color: var(--mse-accent); font-size: .78rem; font-weight: 600; font-family: 'Ubuntu Mono', monospace; }
.bd-mse .mono { font-family: 'Ubuntu Mono', monospace; color: var(--mse-accent); }
/* ============================================================ /* ============================================================
PHONE + REEL CHROME PHONE + REEL CHROME
============================================================ */ ============================================================ */
.bd-mse .stage { width: 340px; zoom: .68; } .bd-mse .stage { width: 340px; zoom: .64; }
.bd-mse .phone { .bd-mse .phone {
position: relative; width: 340px; padding: 11px; border-radius: 46px; position: relative; width: 340px; padding: 11px; border-radius: 46px;
background: linear-gradient(160deg,#3a3f45,#191c20 45%,#2c3137); background: linear-gradient(160deg,#3a3f45,#191c20 45%,#2c3137);
@@ -71,15 +67,17 @@
.bd-mse .demo-badge i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: mse-rec 1.4s ease-in-out infinite; } .bd-mse .demo-badge i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: mse-rec 1.4s ease-in-out infinite; }
@keyframes mse-rec { 0%, 100% { opacity: 1; } 50% { opacity: .25; } } @keyframes mse-rec { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.bd-mse .reel-bar { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; padding: .5rem .7rem; background: var(--mse-surface); border: 1px solid var(--mse-border); border-radius: 100px; } /* On-screen play/pause overlay — replaces the old reel-bar transport. */
.bd-mse .reel-btn { width: 28px; height: 28px; flex-shrink: 0; border: none; border-radius: 50%; background: var(--mse-accent); color: #fff; font-size: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s; font-family: inherit; line-height: 1; } .bd-mse .phone-pp {
.bd-mse .reel-btn:hover { background: var(--mse-accent-2); } position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 25;
.bd-mse .reel-btn.ghost { background: transparent; color: var(--mse-text-2); font-size: 14px; } width: 52px; height: 52px; border-radius: 50%; font-size: 15px;
.bd-mse .reel-btn.ghost:hover { background: var(--mse-surface-2); color: var(--mse-text); } background: rgba(10, 12, 16, .55); border: 1px solid rgba(255,255,255,.25);
.bd-mse .reel-track { flex: 1; height: 4px; border-radius: 100px; background: var(--mse-border-strong); position: relative; cursor: pointer; } backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
.bd-mse .reel-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 100px; background: var(--mse-accent); transition: width .35s ease; } color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s;
.bd-mse .reel-time { font-family: 'Ubuntu Mono', monospace; font-size: .72rem; color: var(--mse-text-mute); flex-shrink: 0; letter-spacing: -.3px; } }
.bd-mse .reel-cap { margin-top: .85rem; min-height: 2.9rem; font-size: .87rem; color: var(--mse-text-2); line-height: 1.5; border-left: 2px solid var(--mse-accent); padding-left: .7rem; transition: opacity .3s; } .bd-mse .phone-pp:hover { background: var(--mse-accent); border-color: var(--mse-accent); }
.bd-mse .reel-cap { margin-top: .6rem; min-height: 2.2rem; font-size: .87rem; color: var(--mse-text-2); line-height: 1.5; border-left: 2px solid var(--mse-accent); padding-left: .7rem; transition: opacity .3s; }
.bd-mse .reel-cap b { color: var(--mse-text); font-weight: 600; } .bd-mse .reel-cap b { color: var(--mse-text); font-weight: 600; }
/* ============================================================ /* ============================================================
@@ -282,14 +280,26 @@
.bd-mse .ap-tabbar .it.on { background: #2a2440; color: var(--a-purple); } .bd-mse .ap-tabbar .it.on { background: #2a2440; color: var(--a-purple); }
.bd-mse .ap-home-ind { height: 14px; display: flex; align-items: center; justify-content: center; background: #1e1b24; flex-shrink: 0; } .bd-mse .ap-home-ind { height: 14px; display: flex; align-items: center; justify-content: center; background: #1e1b24; flex-shrink: 0; }
.bd-mse .ap-home-ind::after { content: ''; width: 96px; height: 3.4px; border-radius: 100px; background: rgba(255,255,255,.5); } .bd-mse .ap-home-ind::after { content: ''; width: 96px; height: 3.4px; border-radius: 100px; background: rgba(255,255,255,.5); }
.bd-mse .ap-body-fade { position: absolute; left: 0; right: 0; bottom: 52px; height: 56px; background: linear-gradient(transparent, var(--a-bg)); pointer-events: none; } .bd-mse .ap-body-fade { position: absolute; left: 0; right: 0; background: linear-gradient(transparent, var(--a-bg)); pointer-events: none; }
/* ============================================================ /* ============================================================
RESPONSIVE RESPONSIVE
============================================================ */ ============================================================ */
@media (max-width: 1080px) { @media (max-width: 680px) {
.bd-mse .panel.on { grid-template-columns: 1fr; justify-items: center; gap: 2.5rem; } /* Not enough room for the module grid beside the phone — move it to a
.bd-mse .copy { max-width: 620px; } horizontally-scrollable row above the phone instead. */
.bd-mse { grid-template-columns: 1fr; row-gap: 12px; }
.bd-mse .mse-grid {
grid-column: 1; grid-row: 1;
grid-template-columns: none;
grid-auto-flow: column;
grid-auto-columns: minmax(92px, 1fr);
overflow-x: auto;
padding-bottom: 2px;
-webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
}
.bd-mse .panel { grid-column: 1; grid-row: 2; max-width: 100%; }
} }
@media (max-width: 420px) { @media (max-width: 420px) {
.bd-mse .stage, .bd-mse .phone { width: 100%; max-width: 332px; } .bd-mse .stage, .bd-mse .phone { width: 100%; max-width: 332px; }
+21 -208
View File
@@ -1,13 +1,13 @@
<div class="tabstrip" id="tabs" tabindex="0"> <div class="mse-grid" id="tabs" tabindex="0">
<button class="tab on" data-p="score"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg>Safety score</button> <button class="tab-tile on" data-p="score" type="button"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></svg><span>Safety score</span></button>
<button class="tab" data-p="protection"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 3l8 4v6c0 4.5-3.2 7.6-8 8.9C7.2 20.6 4 17.5 4 13V7z"/></svg>Protection</button> <button class="tab-tile" data-p="protection" type="button"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 3l8 4v6c0 4.5-3.2 7.6-8 8.9C7.2 20.6 4 17.5 4 13V7z"/></svg><span>Protection</span></button>
<button class="tab" data-p="dns"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3c2.5 3 2.5 15 0 18M12 3c-2.5 3-2.5 15 0 18"/></svg>Malicious DNS</button> <button class="tab-tile" data-p="dns" type="button"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3c2.5 3 2.5 15 0 18M12 3c-2.5 3-2.5 15 0 18"/></svg><span>Malicious DNS</span></button>
<button class="tab" data-p="calls"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a15 15 0 01-15-15z"/></svg>Scam calls</button> <button class="tab-tile" data-p="calls" type="button"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a15 15 0 01-15-15z"/></svg><span>Scam calls</span></button>
<button class="tab" data-p="sim"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M6 3h8l4 4v14H6z"/><rect x="9" y="12" width="6" height="5" rx="1"/></svg>SIM &amp; carrier</button> <button class="tab-tile" data-p="sim" type="button"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M6 3h8l4 4v14H6z"/><rect x="9" y="12" width="6" height="5" rx="1"/></svg><span>SIM &amp; carrier</span></button>
<button class="tab" data-p="perms"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="4" y="4" width="7" height="7" rx="2"/><rect x="13" y="4" width="7" height="7" rx="2"/><rect x="4" y="13" width="7" height="7" rx="2"/><rect x="13" y="13" width="7" height="7" rx="2"/></svg>Apps &amp; permissions</button> <button class="tab-tile" data-p="perms" type="button"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="4" y="4" width="7" height="7" rx="2"/><rect x="13" y="4" width="7" height="7" rx="2"/><rect x="4" y="13" width="7" height="7" rx="2"/><rect x="13" y="13" width="7" height="7" rx="2"/></svg><span>Apps &amp; permissions</span></button>
<button class="tab" data-p="zones"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 21s7-5.5 7-11a7 7 0 10-14 0c0 5.5 7 11 7 11z"/><circle cx="12" cy="10" r="2.5"/></svg>Location zones</button> <button class="tab-tile" data-p="zones" type="button"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 21s7-5.5 7-11a7 7 0 10-14 0c0 5.5 7 11 7 11z"/><circle cx="12" cy="10" r="2.5"/></svg><span>Location zones</span></button>
<button class="tab" data-p="identity"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7"/></svg>Identity</button> <button class="tab-tile" data-p="identity" type="button"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7"/></svg><span>Identity</span></button>
<button class="tab" data-p="settings"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M4.2 4.2l2.1 2.1M17.7 17.7l2.1 2.1M2 12h3M19 12h3M4.2 19.8l2.1-2.1M17.7 6.3l2.1-2.1"/></svg>Consent &amp; settings</button> <button class="tab-tile" data-p="settings" type="button"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="3"/><path d="M12 2v3M12 19v3M4.2 4.2l2.1 2.1M17.7 17.7l2.1 2.1M2 12h3M19 12h3M4.2 19.8l2.1-2.1M17.7 6.3l2.1-2.1"/></svg><span>Consent &amp; settings</span></button>
</div> </div>
<!-- ================= 1 · SAFETY SCORE ================= --> <!-- ================= 1 · SAFETY SCORE ================= -->
@@ -48,30 +48,10 @@
<div class="it"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 8a4 4 0 100 8 4 4 0 000-8zm9.4 4l-.1 1.3 2 1.6-1.9 3.3-2.4-.8-1.1.8-.3 2.6h-3.8l-.4-2.6-1.1-.8-2.4.8-1.9-3.3 2-1.6L10 12l-.1-1.3-2-1.6 1.9-3.3 2.4.8 1.1-.8L13.7 3h3.8l.4 2.6 1.1.8 2.4-.8 1.9 3.3-2 1.6z"/></svg><span>Settings</span></div> <div class="it"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 8a4 4 0 100 8 4 4 0 000-8zm9.4 4l-.1 1.3 2 1.6-1.9 3.3-2.4-.8-1.1.8-.3 2.6h-3.8l-.4-2.6-1.1-.8-2.4.8-1.9-3.3 2-1.6L10 12l-.1-1.3-2-1.6 1.9-3.3 2.4.8 1.1-.8L13.7 3h3.8l.4 2.6 1.1.8 2.4-.8 1.9 3.3-2 1.6z"/></svg><span>Settings</span></div>
</div> </div>
<div class="ap-home-ind"></div> <div class="ap-home-ind"></div>
</div></div> </div></div><button class="reel-btn js-pp phone-pp" type="button" aria-label="Play">▶</button>
</div> </div>
<div class="reel-bar">
<button class="reel-btn js-pp" aria-label="Pause">▮▮</button>
<div class="reel-track js-track"><div class="reel-fill"></div></div>
<span class="reel-time"><span class="js-el">0:00</span>/<span class="js-du">0:07</span></span>
<button class="reel-btn ghost js-rs" aria-label="Restart">↻</button> </div>
<p class="reel-cap"></p> <p class="reel-cap"></p>
</div> </div>
<div class="copy">
<span class="kicker">Module 01 · Home</span>
<h3>One number your subscribers understand</h3>
<p class="desc">Guardian collapses every protection signal on the handset into a single 0–100 safety score,
with a delta against the previous check so users can see the effect of acting on advice. Underneath it,
each contributing module reports its own plain-English status – no jargon, no CVE numbers, no dead ends.</p>
<div class="sig-title">What the module exposes</div>
<ul class="sigs">
<li><b>Composite score</b> – 0–100, weighted across all enabled modules</li>
<li><b>Delta since last check</b> – signed change plus the previous value</li>
<li><b>Per-module status</b> – Good / Attention / At risk, each with a one-line reason</li>
<li><b>Remediation queue</b> – ordered, tappable actions behind "How to improve"</li>
</ul>
<div class="pillrow"><span class="pill">score.observe()</span><span class="pill">score.delta</span><span class="pill">score.breakdown[]</span></div>
</div>
</div> </div>
<!-- ================= 2 · PROTECTION ================= --> <!-- ================= 2 · PROTECTION ================= -->
@@ -109,30 +89,10 @@
<div class="it"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 8a4 4 0 100 8 4 4 0 000-8zm9.4 4l-.1 1.3 2 1.6-1.9 3.3-2.4-.8-1.1.8-.3 2.6h-3.8l-.4-2.6-1.1-.8-2.4.8-1.9-3.3 2-1.6L10 12l-.1-1.3-2-1.6 1.9-3.3 2.4.8 1.1-.8L13.7 3h3.8l.4 2.6 1.1.8 2.4-.8 1.9 3.3-2 1.6z"/></svg><span>Settings</span></div> <div class="it"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 8a4 4 0 100 8 4 4 0 000-8zm9.4 4l-.1 1.3 2 1.6-1.9 3.3-2.4-.8-1.1.8-.3 2.6h-3.8l-.4-2.6-1.1-.8-2.4.8-1.9-3.3 2-1.6L10 12l-.1-1.3-2-1.6 1.9-3.3 2.4.8 1.1-.8L13.7 3h3.8l.4 2.6 1.1.8 2.4-.8 1.9 3.3-2 1.6z"/></svg><span>Settings</span></div>
</div> </div>
<div class="ap-home-ind"></div> <div class="ap-home-ind"></div>
</div></div> </div></div><button class="reel-btn js-pp phone-pp" type="button" aria-label="Play">▶</button>
</div> </div>
<div class="reel-bar">
<button class="reel-btn js-pp" aria-label="Pause">▮▮</button>
<div class="reel-track js-track"><div class="reel-fill"></div></div>
<span class="reel-time"><span class="js-el">0:00</span>/<span class="js-du">0:07</span></span>
<button class="reel-btn ghost js-rs" aria-label="Restart">↻</button> </div>
<p class="reel-cap"></p> <p class="reel-cap"></p>
</div> </div>
<div class="copy">
<span class="kicker">Module 02 · Protection tab</span>
<h3>Network and telephony threats in one view</h3>
<p class="desc">The Protection tab groups the modules that defend the connection itself – DNS filtering,
scam-call screening and SIM integrity. Each card is a live status with today's counts, and taps
through to a detail screen with the underlying event log.</p>
<div class="sig-title">What the module exposes</div>
<ul class="sigs">
<li><b>Safe browsing status</b> – on/off plus unsafe requests blocked today</li>
<li><b>Call screening status</b> – scam calls flagged in the current period</li>
<li><b>SIM integrity status</b> – swap detection state</li>
<li><b>Drill-down events</b> – timestamped log per module for support and dispute handling</li>
</ul>
<div class="pillrow"><span class="pill">protection.summary()</span><span class="pill">protection.events()</span></div>
</div>
</div> </div>
<!-- ================= 3 · MALICIOUS DNS ================= --> <!-- ================= 3 · MALICIOUS DNS ================= -->
@@ -164,32 +124,10 @@
</div> </div>
</div> </div>
<div class="ap-home-ind" style="background:transparent"></div> <div class="ap-home-ind" style="background:transparent"></div>
</div></div> </div></div><button class="reel-btn js-pp phone-pp" type="button" aria-label="Play">▶</button>
</div> </div>
<div class="reel-bar">
<button class="reel-btn js-pp" aria-label="Pause">▮▮</button>
<div class="reel-track js-track"><div class="reel-fill"></div></div>
<span class="reel-time"><span class="js-el">0:00</span>/<span class="js-du">0:08</span></span>
<button class="reel-btn ghost js-rs" aria-label="Restart">↻</button> </div>
<p class="reel-cap"></p> <p class="reel-cap"></p>
</div> </div>
<div class="copy">
<span class="kicker">Module 03 · Safe browsing</span>
<h3>Malicious DNS detection</h3>
<p class="desc">Guardian resolves DNS through a filtering layer that scores every lookup against
live phishing, malware and command-and-control intelligence. Lookalike domains – the
<span class="mono">whtaspp-group</span> and <span class="mono">fxjn-web-whatsapp</span> class of
typosquats – are blocked before the handset ever opens a connection. The user sees a plain list of what
was stopped and when, which is what turns a silent security control into something they'll pay for.</p>
<div class="sig-title">What the module exposes</div>
<ul class="sigs">
<li><b>Blocked / total counts</b> – per day, per device, with on-demand refresh</li>
<li><b>Blocked-domain log</b> – domain, timestamp, verdict and threat category</li>
<li><b>Live verdicts</b> – subscribe to block events as they happen</li>
<li><b>Allow-list control</b> – user or operator override for false positives</li>
</ul>
<div class="pillrow"><span class="pill">safeBrowsing.stats()</span><span class="pill">safeBrowsing.blocked()</span><span class="pill">safeBrowsing.allow(domain)</span></div>
</div>
</div> </div>
<!-- ================= 4 · SCAM CALLS ================= --> <!-- ================= 4 · SCAM CALLS ================= -->
@@ -203,7 +141,7 @@
<div class="ap-incoming"> <div class="ap-incoming">
<div class="rings"><svg viewBox="0 0 24 24"><path d="M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a15 15 0 01-15-15z"/></svg></div> <div class="rings"><svg viewBox="0 0 24 24"><path d="M5 4h4l2 5-2.5 1.5a11 11 0 005 5L15 13l5 2v4a15 15 0 01-15-15z"/></svg></div>
<div class="ct"><b>07813996004</b><span>Incoming call · unknown number</span></div> <div class="ct"><b>0123456789</b><span>Incoming call · unknown number</span></div>
<span class="ap-verdict js-verdict">Checking…</span> <span class="ap-verdict js-verdict">Checking…</span>
</div> </div>
@@ -212,7 +150,7 @@
<div class="av"><svg viewBox="0 0 64 64"><g fill="none" stroke="#e8f4f3" stroke-width="4" stroke-linejoin="round"><path d="M32 6 L56 20 L56 46 L32 60 L8 46 L8 20 Z"/><path d="M32 6 L32 32 M8 20 L32 32 M56 20 L32 32"/></g><circle cx="42" cy="16" r="6" fill="#3BB586"/></svg></div> <div class="av"><svg viewBox="0 0 64 64"><g fill="none" stroke="#e8f4f3" stroke-width="4" stroke-linejoin="round"><path d="M32 6 L56 20 L56 46 L32 60 L8 46 L8 20 Z"/><path d="M32 6 L32 32 M8 20 L32 32 M56 20 L32 32"/></g><circle cx="42" cy="16" r="6" fill="#3BB586"/></svg></div>
<div class="nt"><div class="l1">How was that… <span class="ago">• now</span> <div class="nt"><div class="l1">How was that… <span class="ago">• now</span>
<svg style="width:11px;height:11px;stroke:#f3f0f6;stroke-width:1.7;fill:none" viewBox="0 0 24 24"><path d="M18 15V10a6 6 0 10-12 0v5l-2 3h16zM10 21h4"/></svg></div> <svg style="width:11px;height:11px;stroke:#f3f0f6;stroke-width:1.7;fill:none" viewBox="0 0 24 24"><path d="M18 15V10a6 6 0 10-12 0v5l-2 3h16zM10 21h4"/></svg></div>
<div class="l2">07813996004</div></div> <div class="l2">0123456789</div></div>
<span class="chev">⌄</span> <span class="chev">⌄</span>
</div> </div>
<div class="acts"><span>Spam</span><span class="js-scam">Scam</span><span>OK</span></div> <div class="acts"><span>Spam</span><span class="js-scam">Scam</span><span>OK</span></div>
@@ -232,30 +170,10 @@
<div class="ap-card"><div class="ap-cardhead"><h5>Safe browsing</h5><span class="ap-badge good">Good</span></div><p>Safe browsing is on – 288 unsafe requests blocked today.</p></div> <div class="ap-card"><div class="ap-cardhead"><h5>Safe browsing</h5><span class="ap-badge good">Good</span></div><p>Safe browsing is on – 288 unsafe requests blocked today.</p></div>
</div> </div>
<div class="ap-body-fade" style="bottom:0"></div> <div class="ap-body-fade" style="bottom:0"></div>
</div></div> </div></div><button class="reel-btn js-pp phone-pp" type="button" aria-label="Play">▶</button>
</div> </div>
<div class="reel-bar">
<button class="reel-btn js-pp" aria-label="Pause">▮▮</button>
<div class="reel-track js-track"><div class="reel-fill"></div></div>
<span class="reel-time"><span class="js-el">0:00</span>/<span class="js-du">0:09</span></span>
<button class="reel-btn ghost js-rs" aria-label="Restart">↻</button> </div>
<p class="reel-cap"></p> <p class="reel-cap"></p>
</div> </div>
<div class="copy">
<span class="kicker">Module 04 · Call screening</span>
<h3>Scam call warnings, rated by the user</h3>
<p class="desc">Guardian screens inbound numbers against reputation intelligence and warns before the
user engages. Immediately after the call ends, a heads-up prompt asks how it went – <b>Spam</b>, <b>Scam</b> or <b>OK</b>. That one tap is the feedback loop: it feeds a crowd-sourced
reputation graph that sharpens detection for every other subscriber on your network.</p>
<div class="sig-title">What the module exposes</div>
<ul class="sigs">
<li><b>Pre-answer verdict</b> – reputation score and category for the calling number</li>
<li><b>Post-call prompt</b> – Spam / Scam / OK, returned as a user report</li>
<li><b>Daily scam count</b> – feeds the Calls card on the Protection tab</li>
<li><b>Network learning</b> – reports aggregate into shared reputation intelligence</li>
</ul>
<div class="pillrow"><span class="pill">calls.verdict(msisdn)</span><span class="pill">calls.report(verdict)</span><span class="pill">calls.today()</span></div>
</div>
</div> </div>
<!-- ================= 5 · SIM ================= --> <!-- ================= 5 · SIM ================= -->
@@ -280,31 +198,10 @@
</div> </div>
</div> </div>
<div class="ap-home-ind" style="background:transparent"></div> <div class="ap-home-ind" style="background:transparent"></div>
</div></div> </div></div><button class="reel-btn js-pp phone-pp" type="button" aria-label="Play">▶</button>
</div> </div>
<div class="reel-bar">
<button class="reel-btn js-pp" aria-label="Pause">▮▮</button>
<div class="reel-track js-track"><div class="reel-fill"></div></div>
<span class="reel-time"><span class="js-el">0:00</span>/<span class="js-du">0:06</span></span>
<button class="reel-btn ghost js-rs" aria-label="Restart">↻</button> </div>
<p class="reel-cap"></p> <p class="reel-cap"></p>
</div> </div>
<div class="copy">
<span class="kicker">Module 05 · SIM integrity</span>
<h3>SIM-swap detection at the device layer</h3>
<p class="desc">SIM swap is the pivot for most account-takeover fraud: move the number, intercept the OTP,
drain the account. Guardian watches phone-state on the handset and records carrier, slot configuration
and any change event – so a swap is detected from the victim's own device, independently of the
network-side signal, and can be surfaced to your fraud team in real time.</p>
<div class="sig-title">What the module exposes</div>
<ul class="sigs">
<li><b>Change verdict</b> – whether a SIM change has been detected</li>
<li><b>Carrier and slot state</b> – current operator, single vs dual SIM</li>
<li><b>Change history</b> – timestamp of the previous change, or none on record</li>
<li><b>Out-of-band alerting</b> – routed to the recovery email, not just an on-device toast</li>
</ul>
<div class="pillrow"><span class="pill">sim.state()</span><span class="pill">sim.onChange()</span><span class="pill">sim.history()</span></div>
</div>
</div> </div>
<!-- ================= 6 · PERMISSIONS ================= --> <!-- ================= 6 · PERMISSIONS ================= -->
@@ -326,31 +223,10 @@
<div class="ap-btn lav js-scan" style="margin-top:14px">Scan again</div> <div class="ap-btn lav js-scan" style="margin-top:14px">Scan again</div>
</div> </div>
<div class="ap-home-ind" style="background:transparent"></div> <div class="ap-home-ind" style="background:transparent"></div>
</div></div> </div></div><button class="reel-btn js-pp phone-pp" type="button" aria-label="Play">▶</button>
</div> </div>
<div class="reel-bar">
<button class="reel-btn js-pp" aria-label="Pause">▮▮</button>
<div class="reel-track js-track"><div class="reel-fill"></div></div>
<span class="reel-time"><span class="js-el">0:00</span>/<span class="js-du">0:08</span></span>
<button class="reel-btn ghost js-rs" aria-label="Restart">↻</button> </div>
<p class="reel-cap"></p> <p class="reel-cap"></p>
</div> </div>
<div class="copy">
<span class="kicker">Module 06 · Apps &amp; permissions</span>
<h3>Permission risk, ranked by how fraud actually works</h3>
<p class="desc">Rather than dumping the full Android permission table on the user, Guardian scans installed
apps for the specific grants fraudsters abuse and ranks them High / Medium / Low. Each card explains the
capability in one sentence – "can turn on your microphone" – and tapping it reveals exactly which apps
hold that grant, with a review-or-accept decision the user can actually make.</p>
<div class="sig-title">What the module exposes</div>
<ul class="sigs">
<li><b>Risk-ranked permission set</b> – High / Medium / Low against a fraud-abuse model</li>
<li><b>Holder attribution</b> – which installed apps hold each grant</li>
<li><b>Review state</b> – per-permission accepted vs still to review</li>
<li><b>On-demand rescan</b> – user-triggered, results feed the safety score</li>
</ul>
<div class="pillrow"><span class="pill">permissions.scan()</span><span class="pill">permissions.holders(p)</span><span class="pill">permissions.accept(p)</span></div>
</div>
</div> </div>
<!-- ================= 7 · ZONES ================= --> <!-- ================= 7 · ZONES ================= -->
@@ -412,31 +288,10 @@
</div> </div>
</div> </div>
<div class="ap-home-ind" style="background:transparent"></div> <div class="ap-home-ind" style="background:transparent"></div>
</div></div> </div></div><button class="reel-btn js-pp phone-pp" type="button" aria-label="Play">▶</button>
</div> </div>
<div class="reel-bar">
<button class="reel-btn js-pp" aria-label="Pause">▮▮</button>
<div class="reel-track js-track"><div class="reel-fill"></div></div>
<span class="reel-time"><span class="js-el">0:00</span>/<span class="js-du">0:08</span></span>
<button class="reel-btn ghost js-rs" aria-label="Restart">↻</button> </div>
<p class="reel-cap"></p> <p class="reel-cap"></p>
</div> </div>
<div class="copy">
<span class="kicker">Module 07 · Location safety zones</span>
<h3>Geofences the user sets themselves</h3>
<p class="desc">Users define named zones with a radius – home, school, a parent's address – and Guardian
reports arrival and departure against them. It's the consumer-friendly half of location intelligence:
the same signal that flags impossible travel for your fraud engine is presented here as reassurance
rather than surveillance, with the user in control of every zone.</p>
<div class="sig-title">What the module exposes</div>
<ul class="sigs">
<li><b>Zone CRUD</b> – create, activate, delete named zones with a metre radius</li>
<li><b>Enter / exit events</b> – timestamped, per zone</li>
<li><b>Impossible-travel signal</b> – feeds the Identity tab's Location status</li>
<li><b>Configured / active counts</b> – summary for the zone list header</li>
</ul>
<div class="pillrow"><span class="pill">zones.add(name, latLng, r)</span><span class="pill">zones.events()</span><span class="pill">zones.list()</span></div>
</div>
</div> </div>
<!-- ================= 8 · IDENTITY ================= --> <!-- ================= 8 · IDENTITY ================= -->
@@ -478,31 +333,10 @@
<div class="it"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 8a4 4 0 100 8 4 4 0 000-8zm9.4 4l-.1 1.3 2 1.6-1.9 3.3-2.4-.8-1.1.8-.3 2.6h-3.8l-.4-2.6-1.1-.8-2.4.8-1.9-3.3 2-1.6L10 12l-.1-1.3-2-1.6 1.9-3.3 2.4.8 1.1-.8L13.7 3h3.8l.4 2.6 1.1.8 2.4-.8 1.9 3.3-2 1.6z"/></svg><span>Settings</span></div> <div class="it"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 8a4 4 0 100 8 4 4 0 000-8zm9.4 4l-.1 1.3 2 1.6-1.9 3.3-2.4-.8-1.1.8-.3 2.6h-3.8l-.4-2.6-1.1-.8-2.4.8-1.9-3.3 2-1.6L10 12l-.1-1.3-2-1.6 1.9-3.3 2.4.8 1.1-.8L13.7 3h3.8l.4 2.6 1.1.8 2.4-.8 1.9 3.3-2 1.6z"/></svg><span>Settings</span></div>
</div> </div>
<div class="ap-home-ind"></div> <div class="ap-home-ind"></div>
</div></div> </div></div><button class="reel-btn js-pp phone-pp" type="button" aria-label="Play">▶</button>
</div> </div>
<div class="reel-bar">
<button class="reel-btn js-pp" aria-label="Pause">▮▮</button>
<div class="reel-track js-track"><div class="reel-fill"></div></div>
<span class="reel-time"><span class="js-el">0:00</span>/<span class="js-du">0:07</span></span>
<button class="reel-btn ghost js-rs" aria-label="Restart">↻</button> </div>
<p class="reel-cap"></p> <p class="reel-cap"></p>
</div> </div>
<div class="copy">
<span class="kicker">Module 08 · Identity</span>
<h3>Breach exposure and travel anomalies</h3>
<p class="desc">The Identity tab pairs two long-running checks: continuous breach monitoring for the
identifiers the user has registered, and behavioural location analysis that flags travel patterns
inconsistent with the device's history. Both report as plain status lines – "no breaches found",
"no unusual travel detected" – and both escalate out-of-band when they don't.</p>
<div class="sig-title">What the module exposes</div>
<ul class="sigs">
<li><b>Monitored identity count</b> – registered emails and numbers under watch</li>
<li><b>Breach findings</b> – source, date and exposed field classes</li>
<li><b>Travel anomaly verdict</b> – impossible-travel and velocity checks</li>
<li><b>Escalation hooks</b> – webhook to your fraud platform on any positive finding</li>
</ul>
<div class="pillrow"><span class="pill">identity.monitor(email)</span><span class="pill">identity.breaches()</span><span class="pill">location.anomalies()</span></div>
</div>
</div> </div>
<!-- ================= 9 · SETTINGS ================= --> <!-- ================= 9 · SETTINGS ================= -->
@@ -550,29 +384,8 @@
<div class="it on"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 8a4 4 0 100 8 4 4 0 000-8zm9.4 4l-.1 1.3 2 1.6-1.9 3.3-2.4-.8-1.1.8-.3 2.6h-3.8l-.4-2.6-1.1-.8-2.4.8-1.9-3.3 2-1.6L10 12l-.1-1.3-2-1.6 1.9-3.3 2.4.8 1.1-.8L13.7 3h3.8l.4 2.6 1.1.8 2.4-.8 1.9 3.3-2 1.6z"/></svg><span>Settings</span></div> <div class="it on"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 8a4 4 0 100 8 4 4 0 000-8zm9.4 4l-.1 1.3 2 1.6-1.9 3.3-2.4-.8-1.1.8-.3 2.6h-3.8l-.4-2.6-1.1-.8-2.4.8-1.9-3.3 2-1.6L10 12l-.1-1.3-2-1.6 1.9-3.3 2.4.8 1.1-.8L13.7 3h3.8l.4 2.6 1.1.8 2.4-.8 1.9 3.3-2 1.6z"/></svg><span>Settings</span></div>
</div> </div>
<div class="ap-home-ind"></div> <div class="ap-home-ind"></div>
</div></div> </div></div><button class="reel-btn js-pp phone-pp" type="button" aria-label="Play">▶</button>
</div> </div>
<div class="reel-bar">
<button class="reel-btn js-pp" aria-label="Pause">▮▮</button>
<div class="reel-track js-track"><div class="reel-fill"></div></div>
<span class="reel-time"><span class="js-el">0:00</span>/<span class="js-du">0:09</span></span>
<button class="reel-btn ghost js-rs" aria-label="Restart">↻</button> </div>
<p class="reel-cap"></p> <p class="reel-cap"></p>
</div> </div>
<div class="copy">
<span class="kicker">Module 09 · Consent &amp; settings</span>
<h3>Every module is opt-in, and says why</h3>
<p class="desc">Each protection module has its own toggle and its own justification – "phone-state access
on – checking for SIM swaps" – so consent is informed and revocable at module granularity. The recovery
email is the deliberate design choice worth noting: a stolen handset can't be warned on its own screen,
so location and SIM-change alerts go out-of-band to a verified address instead.</p>
<div class="sig-title">What the module exposes</div>
<ul class="sigs">
<li><b>Per-module consent</b> – independent toggles with rationale strings you can localise</li>
<li><b>Entitlement expiry</b> – subscription end date surfaced in-app</li>
<li><b>Verified recovery channel</b> – email with code verification for out-of-band alerts</li>
<li><b>Localisation</b> – all strings externalised, RTL supported</li>
</ul>
<div class="pillrow"><span class="pill">consent.set(module, on)</span><span class="pill">recovery.verify(email)</span><span class="pill">entitlement.expiry</span></div>
</div>
</div> </div>
+1 -2
View File
@@ -161,6 +161,7 @@ function showPage(id, navId) {
// Show target page // Show target page
var pg = document.getElementById("pg-" + id); var pg = document.getElementById("pg-" + id);
if (pg) pg.style.display = "block"; if (pg) pg.style.display = "block";
document.body.setAttribute("data-active-page", id);
// Update nav active states // Update nav active states
document.querySelectorAll("[data-nav]").forEach(function (btn) { document.querySelectorAll("[data-nav]").forEach(function (btn) {
@@ -217,10 +218,8 @@ function onScroll() {
var nav = document.getElementById("bd-nav"); var nav = document.getElementById("bd-nav");
if (!nav) return; if (!nav) return;
if (window.scrollY > 50) { if (window.scrollY > 50) {
nav.style.background = "rgba(1,59,73,.97)";
nav.style.borderBottomColor = "rgba(255,255,255,.07)"; nav.style.borderBottomColor = "rgba(255,255,255,.07)";
} else { } else {
nav.style.background = "rgba(1,59,73,.4)";
nav.style.borderBottomColor = "transparent"; nav.style.borderBottomColor = "transparent";
} }
} }
+23 -25
View File
@@ -1,5 +1,5 @@
<!-- NAV --> <!-- NAV -->
<nav id="bd-nav" class="bd-nav" style="background:rgba(1,59,73,.4);border-bottom-color:transparent"> <nav id="bd-nav" class="bd-nav" style="border-bottom-color:transparent">
<div style="display:flex;align-items:center;cursor:pointer;" data-action="go-home"> <div style="display:flex;align-items:center;cursor:pointer;" data-action="go-home">
<img data-cms-img="img001" src="/logo.svg" alt="BlackDice" style="display:block;height:28px;width:auto;" /> <img data-cms-img="img001" src="/logo.svg" alt="BlackDice" style="display:block;height:28px;width:auto;" />
</div> </div>
@@ -267,7 +267,7 @@
</div> </div>
</div> </div>
<section class="bd-sect t" style="background:rgba(255,255,255,.012);"> <section class="bd-sect t">
<div class="bd-si"> <div class="bd-si">
<div class="sect-hd"> <div class="sect-hd">
<span data-cms="c0036" class="ey">THREE DEPLOYMENT TIERS</span> <span data-cms="c0036" class="ey">THREE DEPLOYMENT TIERS</span>
@@ -427,7 +427,7 @@
</div> </div>
</section> </section>
<!-- CTA CARDS --> <!-- CTA CARDS -->
<section class="bd-sect t" style="background:rgba(1,47,59,.6);border-top:1px solid var(--bdr);"> <section class="bd-sect t">
<div class="bd-si"> <div class="bd-si">
<div class="cta-cards"> <div class="cta-cards">
<div class="cta-card"><span data-cms="c0123" class="ey ax">MOBILE SDK · FINANCIAL SERVICES</span> <div class="cta-card"><span data-cms="c0123" class="ey ax">MOBILE SDK · FINANCIAL SERVICES</span>
@@ -638,6 +638,7 @@
</svg></div> </svg></div>
<div class="bd-hero-gl"></div> <div class="bd-hero-gl"></div>
<div class="bd-hero-in"> <div class="bd-hero-in">
<div class="bd-hero-top">
<div><span data-cms="c0138" class="ey lt">BLACKDICE MOBILE SDK · FINANCIAL SERVICES</span> <div><span data-cms="c0138" class="ey lt">BLACKDICE MOBILE SDK · FINANCIAL SERVICES</span>
<h1 data-cms="c0139" class="h1">Real-time<br>fraud signals.<br>Embedded in your <em>application.</em></h1> <h1 data-cms="c0139" class="h1">Real-time<br>fraud signals.<br>Embedded in your <em>application.</em></h1>
<p data-cms="c0140" class="hero-sub">The BlackDice Mobile SDK brings behavioural intelligence directly into your app. Session <p data-cms="c0140" class="hero-sub">The BlackDice Mobile SDK brings behavioural intelligence directly into your app. Session
@@ -645,9 +646,7 @@
investment and no subscriber friction.</p> investment and no subscriber friction.</p>
<div class="btn-row"><button data-cms="c0141" class="btn-p" data-action="show-demo">Request a demonstration</button></div> <div class="btn-row"><button data-cms="c0141" class="btn-p" data-action="show-demo">Request a demonstration</button></div>
</div> </div>
<div>
<div class="bd-mobile-demo-mount" id="mobile-sdk-demo-mount"></div> <div class="bd-mobile-demo-mount" id="mobile-sdk-demo-mount"></div>
</div> </div>
</div> </div>
</section> </section>
@@ -696,7 +695,7 @@
</div> </div>
</div> </div>
</section> </section>
<section class="bd-sect t" style="background:rgba(255,255,255,.012);"> <section class="bd-sect t">
<div class="bd-si two-col"> <div class="bd-si two-col">
<div><span data-cms="c0159" class="ey">FOUR SIGNAL DIMENSIONS</span> <div><span data-cms="c0159" class="ey">FOUR SIGNAL DIMENSIONS</span>
<h2 data-cms="c0160" class="h2">What the SDK reads and <em>why correlation matters.</em></h2> <h2 data-cms="c0160" class="h2">What the SDK reads and <em>why correlation matters.</em></h2>
@@ -772,7 +771,7 @@
</div> </div>
</div> </div>
</section> </section>
<section class="bd-sect t" style="background:rgba(255,255,255,.012);"> <section class="bd-sect t">
<div class="bd-si two-col"> <div class="bd-si two-col">
<div><span data-cms="c0187" class="ey">DEPLOYMENT IN DAYS, NOT MONTHS</span> <div><span data-cms="c0187" class="ey">DEPLOYMENT IN DAYS, NOT MONTHS</span>
<h2 data-cms="c0188" class="h2">No infrastructure ownership <em>required.</em></h2> <h2 data-cms="c0188" class="h2">No infrastructure ownership <em>required.</em></h2>
@@ -1043,7 +1042,7 @@
</div> </div>
</div> </div>
</section> </section>
<section class="bd-sect t" style="background:rgba(255,255,255,.012);"> <section class="bd-sect t">
<div class="bd-si"> <div class="bd-si">
<div class="sect-hd"><span data-cms="c0220" class="ey">WHAT IT DOES</span> <div class="sect-hd"><span data-cms="c0220" class="ey">WHAT IT DOES</span>
<h2 data-cms="c0221" class="h2">Protection at the point where every connection <em>begins.</em></h2> <h2 data-cms="c0221" class="h2">Protection at the point where every connection <em>begins.</em></h2>
@@ -1101,7 +1100,7 @@
</div> </div>
</div> </div>
</section> </section>
<section class="bd-sect t" style="background:rgba(255,255,255,.012);"> <section class="bd-sect t">
<div class="bd-si"><span data-cms="c0239" class="ey" style="margin-bottom:20px;">TECHNICAL SPECIFICATIONS</span> <div class="bd-si"><span data-cms="c0239" class="ey" style="margin-bottom:20px;">TECHNICAL SPECIFICATIONS</span>
<div class="spec-tbl"> <div class="spec-tbl">
<div data-cms="c0240" class="spec-r"><label>Deployment layer</label><span>Network-level DNS resolution</span></div> <div data-cms="c0240" class="spec-r"><label>Deployment layer</label><span>Network-level DNS resolution</span></div>
@@ -1335,7 +1334,7 @@
</div> </div>
</div> </div>
</section> </section>
<section class="bd-sect t" style="background:rgba(255,255,255,.012);"> <section class="bd-sect t">
<div class="bd-si"> <div class="bd-si">
<div class="sect-hd"><span data-cms="c0271" class="ey">PLATFORM ARCHITECTURE</span> <div class="sect-hd"><span data-cms="c0271" class="ey">PLATFORM ARCHITECTURE</span>
<h2 data-cms="c0272" class="h2">How the platform <em>is built.</em></h2> <h2 data-cms="c0272" class="h2">How the platform <em>is built.</em></h2>
@@ -1462,7 +1461,7 @@
</div> </div>
</div> </div>
</section> </section>
<section class="bd-sect t" style="background:rgba(1,47,59,.6);border-top:1px solid var(--bdr);"> <section class="bd-sect t">
<div class="bd-si two-col"> <div class="bd-si two-col">
<div><span data-cms="c0317" class="ey">WHAT THIS MEANS VERSUS DNS-ONLY</span> <div><span data-cms="c0317" class="ey">WHAT THIS MEANS VERSUS DNS-ONLY</span>
<h2 data-cms="c0318" class="h2">DNS filtering is the entry point. <em>Not the destination.</em></h2> <h2 data-cms="c0318" class="h2">DNS filtering is the entry point. <em>Not the destination.</em></h2>
@@ -1755,7 +1754,7 @@
2026</cite> 2026</cite>
</div> </div>
</div> </div>
<section class="bd-sect t" style="background:rgba(255,255,255,.012);"> <section class="bd-sect t">
<div class="bd-si"> <div class="bd-si">
<div class="sect-hd"><span data-cms="c0358" class="ey">THREE OUTCOMES</span> <div class="sect-hd"><span data-cms="c0358" class="ey">THREE OUTCOMES</span>
<h2 data-cms="c0359" class="h2">The three things that determine whether your subscribers <em>trust you</em> or merely use you. <h2 data-cms="c0359" class="h2">The three things that determine whether your subscribers <em>trust you</em> or merely use you.
@@ -1876,7 +1875,7 @@
</div> </div>
</div> </div>
</section> </section>
<section class="bd-sect t" style="background:rgba(255,255,255,.012);"> <section class="bd-sect t">
<div class="bd-si"> <div class="bd-si">
<div class="sect-hd"><span data-cms="c0384" class="ey">THE PLATFORM BEHIND ALL THREE OUTCOMES</span> <div class="sect-hd"><span data-cms="c0384" class="ey">THE PLATFORM BEHIND ALL THREE OUTCOMES</span>
<h2 data-cms="c0385" class="h2">Three proprietary components, operating as <em>one unified system.</em></h2> <h2 data-cms="c0385" class="h2">Three proprietary components, operating as <em>one unified system.</em></h2>
@@ -1916,8 +1915,7 @@
</div> </div>
</div> </div>
</section> </section>
<section class="bd-sect t" <section class="bd-sect t">
style="background:rgba(1,47,59,.6);border-top:1px solid var(--bdr);border-bottom:1px solid var(--bdr);">
<div class="bd-si"> <div class="bd-si">
<div class="sect-hd"><span data-cms="c0398" class="ey lt">THE REGULATORY LANDSCAPE HAS CHANGED</span> <div class="sect-hd"><span data-cms="c0398" class="ey lt">THE REGULATORY LANDSCAPE HAS CHANGED</span>
<h2 data-cms="c0399" class="h2">Inaction is no longer <em>a neutral position.</em></h2> <h2 data-cms="c0399" class="h2">Inaction is no longer <em>a neutral position.</em></h2>
@@ -2276,7 +2274,7 @@
</div> </div>
</div> </div>
</section> </section>
<section class="bd-sect t" style="background:rgba(255,255,255,.012);"> <section class="bd-sect t">
<div class="bd-si"> <div class="bd-si">
<div class="sect-hd"><span data-cms="c0438" class="ey">THREE PROBLEMS THE SDK SOLVES TODAY</span> <div class="sect-hd"><span data-cms="c0438" class="ey">THREE PROBLEMS THE SDK SOLVES TODAY</span>
<h2 data-cms="c0439" class="h2">Fraud patterns have evolved beyond what authentication layers alone <em>can detect.</em></h2> <h2 data-cms="c0439" class="h2">Fraud patterns have evolved beyond what authentication layers alone <em>can detect.</em></h2>
@@ -2608,7 +2606,7 @@
</div> </div>
</div> </div>
</section> </section>
<section class="bd-sect t" style="background:rgba(1,47,59,.6);border-top:1px solid var(--bdr);"> <section class="bd-sect t">
<div class="bd-si"> <div class="bd-si">
<div class="sect-hd"><span data-cms="c0484" class="ey lt">WHO WE WORK WITH</span> <div class="sect-hd"><span data-cms="c0484" class="ey lt">WHO WE WORK WITH</span>
<h2 data-cms="c0485" class="h2">Built for the organisations that <em>connect the world.</em></h2> <h2 data-cms="c0485" class="h2">Built for the organisations that <em>connect the world.</em></h2>
@@ -2659,7 +2657,7 @@
<!-- ═══ P7: NEWS ═══ --> <!-- ═══ P7: NEWS ═══ -->
<div id="pg-p7" class="pg" style="display:none"> <div id="pg-p7" class="pg" style="display:none">
<section class="bd-hero-sh" style="padding:56px 0 32px;"> <section class="bd-hero-sh" style="padding:90px;">
<div class="bd-hex-motif"><svg width="100%" height="100%" viewBox="0 0 633 1373" <div class="bd-hex-motif"><svg width="100%" height="100%" viewBox="0 0 633 1373"
preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg" style="position:absolute;inset:0;"> preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg" style="position:absolute;inset:0;">
<g opacity="1"> <g opacity="1">
@@ -2846,7 +2844,7 @@
<!-- ═══ P8: INVESTORS ═══ --> <!-- ═══ P8: INVESTORS ═══ -->
<div id="pg-p8" class="pg" style="display:none"> <div id="pg-p8" class="pg" style="display:none">
<section class="bd-hero-sh" style="padding:56px 0 32px;"> <section class="bd-hero-sh" style="padding:90px;">
<div class="bd-hex-motif"><svg width="100%" height="100%" viewBox="0 0 633 1373" <div class="bd-hex-motif"><svg width="100%" height="100%" viewBox="0 0 633 1373"
preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg" style="position:absolute;inset:0;"> preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg" style="position:absolute;inset:0;">
<g opacity="1"> <g opacity="1">
@@ -3115,7 +3113,7 @@
</div> </div>
</div> </div>
</section> </section>
<section class="bd-sect t" style="background:rgba(1,47,59,.6);border-top:1px solid var(--bdr);"> <section class="bd-sect t">
<div class="bd-si two-col"> <div class="bd-si two-col">
<div> <div>
<span data-cms="c0723" class="ey">GROWTH MARKETS</span> <span data-cms="c0723" class="ey">GROWTH MARKETS</span>
@@ -3181,7 +3179,7 @@
<!-- ═══ P9: CONTACT ═══ --> <!-- ═══ P9: CONTACT ═══ -->
<div id="pg-p9" class="pg" style="display:none"> <div id="pg-p9" class="pg" style="display:none">
<section class="bd-hero-sh" style="padding:56px 0 40px;"> <section class="bd-hero-sh" style="padding:90px;">
<div class="bd-hex-motif"><svg width="100%" height="100%" viewBox="0 0 633 1373" <div class="bd-hex-motif"><svg width="100%" height="100%" viewBox="0 0 633 1373"
preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg" style="position:absolute;inset:0;"> preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg" style="position:absolute;inset:0;">
<g opacity="1"> <g opacity="1">
@@ -3426,7 +3424,7 @@
<!-- ═══ P11: COOKIE POLICY ═══ --> <!-- ═══ P11: COOKIE POLICY ═══ -->
<div id="pg-p11" class="pg" style="display:none"> <div id="pg-p11" class="pg" style="display:none">
<section class="bd-hero-sh" style="padding:56px 0 32px;"> <section class="bd-hero-sh" style="padding:90px;">
<div class="bd-hex-motif"><svg width="100%" height="100%" viewBox="0 0 633 1373" <div class="bd-hex-motif"><svg width="100%" height="100%" viewBox="0 0 633 1373"
preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg" style="position:absolute;inset:0;"> preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg" style="position:absolute;inset:0;">
<g opacity="1"> <g opacity="1">
@@ -3596,7 +3594,7 @@
<h1 data-cms="c0598" class="h1" style="font-size:clamp(36px,4vw,56px);">Cookie Policy</h1> <h1 data-cms="c0598" class="h1" style="font-size:clamp(36px,4vw,56px);">Cookie Policy</h1>
</div> </div>
</section> </section>
<section class="bd-sect t" style="background:rgba(255,255,255,.012);"> <section class="bd-sect t">
<div class="bd-si"> <div class="bd-si">
<div class="policy-body" style="max-width:760px;"> <div class="policy-body" style="max-width:760px;">
<h2 data-cms="c0599">Cookie Policy</h2> <h2 data-cms="c0599">Cookie Policy</h2>
@@ -3630,7 +3628,7 @@
<!-- ═══ P12: PRIVACY POLICY ═══ --> <!-- ═══ P12: PRIVACY POLICY ═══ -->
<div id="pg-p12" class="pg" style="display:none"> <div id="pg-p12" class="pg" style="display:none">
<section class="bd-hero-sh" style="padding:56px 0 32px;"> <section class="bd-hero-sh" style="padding:90px;">
<div class="bd-hex-motif"><svg width="100%" height="100%" viewBox="0 0 633 1373" <div class="bd-hex-motif"><svg width="100%" height="100%" viewBox="0 0 633 1373"
preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg" style="position:absolute;inset:0;"> preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg" style="position:absolute;inset:0;">
<g opacity="1"> <g opacity="1">
@@ -3800,7 +3798,7 @@
<h1 data-cms="c0614" class="h1" style="font-size:clamp(36px,4vw,56px);">Privacy Policy</h1> <h1 data-cms="c0614" class="h1" style="font-size:clamp(36px,4vw,56px);">Privacy Policy</h1>
</div> </div>
</section> </section>
<section class="bd-sect t" style="background:rgba(255,255,255,.012);"> <section class="bd-sect t">
<div class="bd-si"> <div class="bd-si">
<div class="policy-body" style="max-width:760px;"> <div class="policy-body" style="max-width:760px;">
<h2 data-cms="c0615">What Information We Collect and How We Use It</h2> <h2 data-cms="c0615">What Information We Collect and How We Use It</h2>
+113 -78
View File
@@ -16,9 +16,9 @@
--hex-dot: rgba(59, 181, 134, 0.9); --hex-dot: rgba(59, 181, 134, 0.9);
--bg-grad: radial-gradient( --bg-grad: radial-gradient(
140% 90% at 50% 0%, 140% 90% at 50% 0%,
#075466 0%, #ffffff 0%,
#013b49 55%, #f6f5f2 55%,
#01303b 100% #ece9e3 100%
); );
} }
*, *,
@@ -105,11 +105,8 @@ textarea {
align-items: center; align-items: center;
padding: 0 32px; padding: 0 32px;
justify-content: space-between; justify-content: space-between;
transition: transition: border-color 0.3s;
background 0.3s, background: rgba(1, 59, 73, 1);
border-color 0.3s;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
} }
.bd-nav-links { .bd-nav-links {
@@ -248,11 +245,11 @@ textarea {
/* HERO */ /* HERO */
.bd-hero { .bd-hero {
position: relative; position: relative;
min-height: 100vh;
display: flex; display: flex;
align-items: center; align-items: center;
background: var(--bg); background: var(--bg);
overflow: hidden; overflow: hidden;
padding:90px;
} }
.bd-hero-sh { .bd-hero-sh {
position: relative; position: relative;
@@ -304,13 +301,13 @@ textarea {
} }
.bd-hero-sh .bd-hero-in { .bd-hero-sh .bd-hero-in {
min-height: auto; min-height: auto;
height: 100vh;
} }
/* TYPE */ /* TYPE */
.ey { .ey {
font-family: var(--fm); font-family: var(--fm);
font-size: 11px; font-size: 14px;
letter-spacing: 0.18em; font-weight: bold;
letter-spacing: 0.15em;
color: var(--t3); color: var(--t3);
text-transform: uppercase; text-transform: uppercase;
display: block; display: block;
@@ -552,19 +549,38 @@ textarea {
background: #071318; background: #071318;
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
} }
/* The Guardian explorer widget is a wide, multi-tab section rather than a
phone-shaped hero visual — break it out of the 2-col hero grid to full
width instead of squeezing it into the narrow phone-sized slot above. */
#pg-p2 .bd-hero-sh .bd-hero-in { #pg-p2 .bd-hero-sh .bd-hero-in {
grid-template-columns: 1fr; display: block;
height: auto; height: auto;
padding-bottom: 40px; padding-top: 0px;
padding-bottom: 14px;
} }
/* Grid items default to min-width:auto, which lets the tabstrip's #pg-p2 .bd-hero-top {
unwrapped flex content (9 tabs) blow out the track instead of display: flex;
scrolling internally — force the mount's grid cell back down to the flex-direction: column;
column width so it scrolls internally instead of widening the page. */ align-items: stretch;
#pg-p2 .bd-hero-sh .bd-hero-in > div:last-child { gap: 20px;
}
#pg-p2 .bd-hero-top > div:first-child {
max-width: 720px;
}
#pg-p2 .bd-hero-top .h1 {
font-size: clamp(32px, 3.4vw, 44px);
}
#pg-p2 .bd-hero-top .hero-sub {
margin: 12px 0 18px;
}
/* The hero now fits one screen, so the global "scroll down" hint collides
with the demo's caption text instead of pointing at hidden content. */
body[data-active-page="p2"] .scroll-hint {
display: none !important;
}
/* Flex items default to min-width:auto, which lets the tabstrip's
unwrapped flex content (9 tabs) blow out the row instead of scrolling
internally — min-width:0 forces it back down to the mount's own width
so the tabstrip scrolls internally instead of widening the page. */
#pg-p2 .bd-hero-top > .bd-mobile-demo-mount {
flex: none;
min-width: 0; min-width: 0;
width: 100%; width: 100%;
} }
@@ -576,7 +592,6 @@ textarea {
box-shadow: none; box-shadow: none;
border-radius: 0; border-radius: 0;
overflow: visible; overflow: visible;
margin-top: 32px;
min-width: 0; min-width: 0;
} }
.bd-phone-cta { .bd-phone-cta {
@@ -675,7 +690,8 @@ textarea {
} }
.tier-tg { .tier-tg {
font-family: var(--fm); font-family: var(--fm);
font-size: 10px; font-size: 12px;
font-weight: bold;
letter-spacing: 0.1em; letter-spacing: 0.1em;
color: var(--t3); color: var(--t3);
margin-top: 4px; margin-top: 4px;
@@ -702,7 +718,8 @@ textarea {
} }
.tier-tagi { .tier-tagi {
font-family: var(--fm); font-family: var(--fm);
font-size: 10px; font-size: 12px;
font-weight: bold;
letter-spacing: 0.06em; letter-spacing: 0.06em;
padding: 3px 8px; padding: 3px 8px;
background: rgba(255, 255, 255, 0.04); background: rgba(255, 255, 255, 0.04);
@@ -993,9 +1010,13 @@ textarea {
} }
/* PILLAR MAP */ /* PILLAR MAP */
.pm-strip { .pm-strip {
border-bottom: 1px solid var(--bdr); border-top: 1px solid rgba(13, 27, 36, 0.1);
border-bottom: 1px solid rgba(13, 27, 36, 0.1);
padding: 20px 40px; padding: 20px 40px;
background: rgba(255, 255, 255, 0.02); background: #f6f5f2;
}
.pm-strip .ey {
color: rgba(13, 27, 36, 0.45);
} }
.pm-in { .pm-in {
max-width: 1200px; max-width: 1200px;
@@ -1023,12 +1044,12 @@ textarea {
display: block; display: block;
font-size: 14px; font-size: 14px;
font-weight: 600; font-weight: 600;
color: var(--txt); color: #0d1b24;
margin-bottom: 2px; margin-bottom: 2px;
} }
.pm-cell span { .pm-cell span {
font-size: 13px; font-size: 13px;
color: var(--t2); color: rgba(13, 27, 36, 0.6);
line-height: 1.55; line-height: 1.55;
} }
/* AUD STRIP */ /* AUD STRIP */
@@ -1506,7 +1527,7 @@ textarea {
} }
/* FOOTER */ /* FOOTER */
.bd-footer { .bd-footer {
background: rgba(1, 47, 59, 0.8); background: rgba(1, 47, 59, 1);
border-top: 1px solid var(--bdr); border-top: 1px solid var(--bdr);
padding: 20px 40px; padding: 20px 40px;
display: flex; display: flex;
@@ -1784,6 +1805,9 @@ textarea {
.bd-hero { .bd-hero {
min-height: auto; min-height: auto;
} }
#pg-p2 .bd-hero-top {
gap: 24px;
}
.hero-sub { .hero-sub {
max-width: 100%; max-width: 100%;
} }
@@ -1963,10 +1987,8 @@ textarea {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
} }
/* ── WHITE SECTIONS: 2nd & 4th per page ──────────────────────── */ /* ── 3-COLOR SECTION ROTATION: dark base / dark stripe / off-white, repeating per page ──── */
.pg > section:nth-of-type(2), .pg > section:nth-of-type(3n + 2) {
.pg > section:nth-of-type(4) {
background: #ffffff !important;
--txt: #013b49; --txt: #013b49;
--t2: rgba(1, 59, 73, 0.65); --t2: rgba(1, 59, 73, 0.65);
--t3: rgba(1, 59, 73, 0.42); --t3: rgba(1, 59, 73, 0.42);
@@ -1975,153 +1997,166 @@ textarea {
--axd: rgba(59, 181, 134, 0.1); --axd: rgba(59, 181, 134, 0.1);
--axb: rgba(59, 181, 134, 0.25); --axb: rgba(59, 181, 134, 0.25);
} }
/* Hardcoded-bg elements inside white sections */ .pg > section:nth-of-type(3n) {
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .bd-card { background: var(--s1);
}
.pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) {
background: #f6f5f2 !important;
--txt: #013b49;
--t2: rgba(1, 59, 73, 0.65);
--t3: rgba(1, 59, 73, 0.42);
--bdr: rgba(0, 0, 0, 0.09);
--bdr2: rgba(0, 0, 0, 0.14);
--axd: rgba(59, 181, 134, 0.1);
--axb: rgba(59, 181, 134, 0.25);
}
/* Hardcoded-bg elements inside the off-white sections */
.pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .bd-card {
background: #f5f7ff; background: #f5f7ff;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .bd-card:hover { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .bd-card:hover {
background: rgba(59, 181, 134, 0.07); background: rgba(59, 181, 134, 0.07);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .mc { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .mc {
background: #f5f7ff; background: #f5f7ff;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .mc-val { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .mc-val {
color: #013b49; color: #013b49;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .mc-val.ax { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .mc-val.ax {
color: var(--ax); color: var(--ax);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .stats-bar { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .stats-bar {
background: #f5f7ff; background: #f5f7ff;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .stat-lbl { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .stat-lbl {
color: #013b49; color: #013b49;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .stat-desc { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .stat-desc {
color: rgba(1, 59, 73, 0.45); color: rgba(1, 59, 73, 0.45);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .bd-feed { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .bd-feed {
background: #f5f7ff; background: #f5f7ff;
border-color: rgba(0, 0, 0, 0.1); border-color: rgba(0, 0, 0, 0.1);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .feed-hd { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .feed-hd {
border-color: rgba(0, 0, 0, 0.08); border-color: rgba(0, 0, 0, 0.08);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .feed-row { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .feed-row {
border-color: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.05);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .dash-frame { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .dash-frame {
background: #ecf0ff; background: #ecf0ff;
border-color: rgba(0, 0, 0, 0.1); border-color: rgba(0, 0, 0, 0.1);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .dash-bar { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .dash-bar {
background: rgba(0, 0, 0, 0.04); background: rgba(0, 0, 0, 0.04);
border-color: rgba(0, 0, 0, 0.08); border-color: rgba(0, 0, 0, 0.08);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .arch-cap { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .arch-cap {
background: rgba(0, 0, 0, 0.05); background: rgba(0, 0, 0, 0.05);
color: rgba(1, 59, 73, 0.45); color: rgba(1, 59, 73, 0.45);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .tier-tagi { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .tier-tagi {
background: rgba(0, 0, 0, 0.05); background: rgba(0, 0, 0, 0.05);
color: rgba(1, 59, 73, 0.45); color: rgba(1, 59, 73, 0.45);
border-color: rgba(0, 0, 0, 0.12); border-color: rgba(0, 0, 0, 0.12);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .c-tag.mu { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .c-tag.mu {
background: rgba(0, 0, 0, 0.05); background: rgba(0, 0, 0, 0.05);
color: rgba(1, 59, 73, 0.45); color: rgba(1, 59, 73, 0.45);
border-color: rgba(0, 0, 0, 0.12); border-color: rgba(0, 0, 0, 0.12);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .vs-box { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .vs-box {
background: #f5f7ff; background: #f5f7ff;
border-color: rgba(0, 0, 0, 0.1); border-color: rgba(0, 0, 0, 0.1);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .vs-mrk.dns { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .vs-mrk.dns {
background: rgba(0, 0, 0, 0.06); background: rgba(0, 0, 0, 0.06);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .diff-ck { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .diff-ck {
background: rgba(59, 181, 134, 0.1); background: rgba(59, 181, 134, 0.1);
border-color: rgba(59, 181, 134, 0.25); border-color: rgba(59, 181, 134, 0.25);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .inv-stat { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .inv-stat {
background: #f5f7ff; background: #f5f7ff;
border-color: rgba(0, 0, 0, 0.09); border-color: rgba(0, 0, 0, 0.09);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .inv-lbl { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .inv-lbl {
color: #013b49; color: #013b49;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .news-card { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .news-card {
background: #f5f7ff; background: #f5f7ff;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .contact-card { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .contact-card {
background: #f5f7ff; background: #f5f7ff;
border-color: rgba(0, 0, 0, 0.09); border-color: rgba(0, 0, 0, 0.09);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .form-inp { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .form-inp {
background: rgba(0, 0, 0, 0.05); background: rgba(0, 0, 0, 0.05);
color: #013b49; color: #013b49;
border-color: rgba(0, 0, 0, 0.14); border-color: rgba(0, 0, 0, 0.14);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .form-lbl { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .form-lbl {
color: rgba(1, 59, 73, 0.5); color: rgba(1, 59, 73, 0.5);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4)
.form-inp:focus { .form-inp:focus {
border-color: var(--ax); border-color: var(--ax);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .btn-g { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .btn-g {
border-color: rgba(0, 0, 0, 0.2); border-color: rgba(0, 0, 0, 0.2);
color: rgba(1, 59, 73, 0.65); color: rgba(1, 59, 73, 0.65);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .btn-g:hover { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .btn-g:hover {
border-color: rgba(0, 0, 0, 0.5); border-color: rgba(0, 0, 0, 0.5);
color: #013b49; color: #013b49;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .bd-bq { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .bd-bq {
background: rgba(59, 181, 134, 0.08); background: rgba(59, 181, 134, 0.08);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .ex-box { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .ex-box {
background: rgba(59, 181, 134, 0.08); background: rgba(59, 181, 134, 0.08);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .pillar-role { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .pillar-role {
color: rgba(1, 59, 73, 0.35); color: rgba(1, 59, 73, 0.35);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .ops-ov { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .ops-ov {
color: var(--ax); color: var(--ax);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .spec-r label { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .spec-r label {
color: rgba(1, 59, 73, 0.4); color: rgba(1, 59, 73, 0.4);
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .spec-r span { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .spec-r span {
color: #013b49; color: #013b49;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .tier-nm { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .tier-nm {
color: #013b49; color: #013b49;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .dep-step h4 { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .dep-step h4 {
color: #013b49; color: #013b49;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .sig-item h4 { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .sig-item h4 {
color: #013b49; color: #013b49;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .sb h4 { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .sb h4 {
color: #013b49; color: #013b49;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4)
.diff-it .diff-it
strong { strong {
color: #013b49; color: #013b49;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .arch-body h3 { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .arch-body h3 {
color: #013b49; color: #013b49;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .news-card h3 { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .news-card h3 {
color: #013b49; color: #013b49;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .ops-card h3 { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .ops-card h3 {
color: #013b49; color: #013b49;
} }
:is(.pg > section:nth-of-type(2), .pg > section:nth-of-type(4)) .cta-card h3 { .pg > section:nth-of-type(3n + 1):nth-of-type(n + 4) .cta-card h3 {
color: #013b49; color: #013b49;
} }