@font-face { font-family: "Exo 2"; font-weight: 400; src: url(fonts/exo-2-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 600; src: url(fonts/exo-2-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 800; src: url(fonts/exo-2-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 800; font-style: italic; src: url(fonts/exo-2-latin-800-italic.woff2) format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 600; font-style: italic; src: url(fonts/exo-2-latin-600-italic.woff2) format("woff2"); }
:root { --ink: #eaf2ff; --navy: #050b1e; --deep: #0a1533; --panel: rgba(6, 14, 38, .86); --neon: #3d8bff; --cyan: #5fe1ff; --hot: #ff3b5c; --line: rgba(120, 170, 255, .22); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: radial-gradient(1200px 700px at 30% 0%, #0d1d48, #04081a 70%); color: var(--ink); font-family: "Exo 2", system-ui, sans-serif; -webkit-user-select: none; user-select: none; }
button { font: inherit; color: inherit; cursor: pointer; }
/* the access screen */
.gate { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.gate img { width: min(520px, 86vw); filter: drop-shadow(0 0 24px rgba(61,139,255,.35)); }
.gate h1 { margin: 4px 0 0; font: 800 italic 34px/1 "Exo 2"; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 0 18px rgba(61,139,255,.6); }
.gate p { margin: 0; color: #a9bde6; }
.gate form { display: flex; gap: 8px; margin-top: 10px; }
.gate input { width: 230px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #fff; font: 600 17px "Exo 2"; letter-spacing: .08em; text-transform: uppercase; outline: none; }
.gate input:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(61,139,255,.25); }
.gate button { padding: 12px 18px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #2f6bff, #19b3ff); font-weight: 800; letter-spacing: .04em; box-shadow: 0 6px 20px rgba(47,107,255,.45); }
.gate .err { color: #ff8aa0; min-height: 1.2em; }
.gate small { max-width: 560px; color: #6f83ad; margin-top: 18px; line-height: 1.4; }
/* the graphic: always 16:9, scaled to fit */
#app { position: fixed; inset: 0; display: flex; flex-direction: column; }
.stagewrap { flex: 1; display: grid; place-items: center; min-height: 0; padding: 14px 14px 0; }
.stage { position: relative; width: min(100%, calc((100vh - 150px) * 16 / 9)); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px var(--line); background: var(--navy); container-type: inline-size; }
#map, #overlay { position: absolute; inset: 0; }
#overlay { pointer-events: none; }
.banner { position: absolute; left: 3cqw; right: 3cqw; top: 2.6cqw; display: flex; align-items: center; gap: 1.6cqw; padding: .7cqw 1.4cqw; background: linear-gradient(100deg, rgba(5,11,30,.94), rgba(10,24,64,.9)); border: 1px solid var(--line); border-radius: .8cqw; box-shadow: 0 .6cqw 2cqw rgba(0,0,0,.45), inset 0 -.25cqw 0 var(--neon); }
.banner .logo { height: 5.6cqw; filter: drop-shadow(0 0 .6cqw rgba(61,139,255,.45)); }
.banner .title { flex: 1; min-width: 0; }
.kicker { font: 600 italic 1.15cqw/1 "Exo 2"; letter-spacing: .22em; color: var(--cyan); }
.headline { font: 800 italic 2.7cqw/1.05 "Exo 2"; letter-spacing: .03em; text-transform: uppercase; text-shadow: 0 0 1.2cqw rgba(61,139,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clock { text-align: right; line-height: 1.05; }
.clock b { display: block; font: 800 2.1cqw "Exo 2"; font-variant-numeric: tabular-nums; }
.clock span { font: 600 1cqw "Exo 2"; letter-spacing: .14em; color: #9fb7ea; text-transform: uppercase; }
.legend { position: absolute; left: 3cqw; bottom: 6.2cqw; display: flex; gap: .3cqw; background: var(--panel); padding: .5cqw; border-radius: .6cqw; border: 1px solid var(--line); }
.legend:empty { display: none; }
.legend span { min-width: 4.2cqw; padding: .35cqw .5cqw; border-radius: .3cqw; background: var(--c); color: #061024; font: 800 .95cqw/1 "Exo 2"; text-align: center; white-space: nowrap; }
.legend .t { background: none; color: #cfe0ff; min-width: 0; padding-right: .8cqw; }
.panel { position: absolute; right: 3cqw; top: 10.6cqw; bottom: 6.2cqw; width: 30cqw; background: var(--panel); border: 1px solid var(--line); border-radius: .8cqw; padding: 1.2cqw; overflow: hidden; display: flex; flex-direction: column; gap: .8cqw; }
.panel[hidden] { display: none; }
.panel h3 { margin: 0; font: 800 italic 1.5cqw "Exo 2"; letter-spacing: .06em; color: var(--cyan); }
.wcard { border-left: .45cqw solid var(--c); background: rgba(255,255,255,.04); padding: .7cqw .9cqw; border-radius: .3cqw; }
.wcard b { display: block; font: 800 1.35cqw/1.1 "Exo 2"; text-transform: uppercase; }
.wcard span { display: block; font: 600 1cqw/1.3 "Exo 2"; color: #b9cbf0; margin-top: .3cqw; }
.empty { font: 600 1.25cqw/1.4 "Exo 2"; color: #a9bde6; }
.ribbon { position: absolute; left: 0; right: 0; bottom: 0; height: 4.4cqw; display: flex; align-items: center; gap: 1.2cqw; padding: 0 3cqw; background: linear-gradient(90deg, #050b1e, #0b1d4f 55%, #050b1e); border-top: .2cqw solid var(--neon); font: 600 1.15cqw "Exo 2"; letter-spacing: .06em; }
.ribbon .demo { background: var(--hot); color: #fff; font: 800 italic 1.1cqw "Exo 2"; padding: .35cqw .8cqw; border-radius: .3cqw; letter-spacing: .14em; }
#ribbon { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #d6e4ff; }
.who { color: rgba(214,228,255,.55); font-size: .9cqw; letter-spacing: .12em; }
/* the demo watermark: visible, light, and in every screenshot */
.wm { position: absolute; inset: -20%; pointer-events: none; transform: rotate(-24deg); opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='760' height='220'><text x='0' y='60' font-family='Arial' font-weight='900' font-style='italic' font-size='34' fill='white'>225 RISK INTELLIGENCE · DEMO</text></svg>"); background-size: 46cqw auto; }
/* temperatures */
.tmp { position: absolute; transform: translate(-50%, -50%); text-align: center; }
.tmp b { display: inline-block; min-width: 4.2cqw; padding: .35cqw .6cqw; border-radius: .55cqw; background: var(--c); color: #fff; font: 800 2cqw/1 "Exo 2"; text-shadow: 0 .1cqw .3cqw rgba(0,0,0,.5); box-shadow: 0 .3cqw 1cqw rgba(0,0,0,.45); border: .15cqw solid rgba(255,255,255,.7); }
.tmp span { display: block; margin-top: .25cqw; font: 800 .95cqw "Exo 2"; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 0 .4cqw #000, 0 0 .2cqw #000; }
/* 7-day */
.week { position: absolute; left: 3cqw; right: 3cqw; top: 11cqw; bottom: 6.4cqw; display: grid; grid-template-columns: repeat(7, 1fr); gap: .9cqw; }
.day { background: linear-gradient(180deg, rgba(14,32,84,.92), rgba(5,11,30,.94)); border: 1px solid var(--line); border-radius: .8cqw; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 1.4cqw .6cqw; box-shadow: inset 0 .25cqw 0 var(--neon); }
.day .dn { font: 800 italic 1.7cqw "Exo 2"; letter-spacing: .08em; }
.day .ic { font-size: 4.4cqw; line-height: 1; filter: drop-shadow(0 .2cqw .5cqw rgba(0,0,0,.5)); }
.day .cond { font: 600 1cqw/1.2 "Exo 2"; color: #b9cbf0; text-align: center; min-height: 2.4cqw; }
.day .hi { font: 800 3.4cqw/1 "Exo 2"; }
.day .lo { font: 600 2cqw/1 "Exo 2"; color: #8fb4ff; }
.day .pop { font: 800 1.1cqw "Exo 2"; color: var(--cyan); }
/* the controls under the graphic */
.dock { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 12px 18px 14px; }
.grp { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.grp[hidden] { display: none; }
.grp label { font: 800 11px "Exo 2"; letter-spacing: .2em; color: #6f86b8; margin-right: 4px; }
.grp button { padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255,255,255,.05); font-weight: 600; font-size: 14px; }
.grp button.on { background: linear-gradient(135deg, #2f6bff, #19a4ff); border-color: transparent; box-shadow: 0 4px 14px rgba(47,107,255,.4); }
.grp .sep { width: 1px; height: 24px; background: var(--line); margin: 0 4px; }
.note { flex: 1 1 100%; font-size: 12.5px; color: #7d92bf; }
.note a { color: #7fb2ff; }
.maplibregl-ctrl-attrib { display: none; }
.maplibregl-ctrl-bottom-right, .maplibregl-ctrl-bottom-left { display: none; }
.gate[hidden], #app[hidden] { display: none !important; }
