/* mumialabs.com · Network: a pointer-aware constellation (canvas), the logo drawing itself, decoding headlines, a scroll meter.
   One look on every page (no light mode); the policy pages and the 404 use the doc and nf blocks at the end. */
@font-face { font-family: "Inter"; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format("woff2"); }
@font-face { font-family: "Mono"; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin.woff2) format("woff2"); }

:root { --bg: #08090b; --ink: #f4f1ea; --mute: #9b978f; --gold: #ffb000; --orange: #ff7a00; --edge: rgba(255, 255, 255, .1); --card: rgba(16, 17, 20, .72); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--gold); color: #000; padding: 8px 12px; }

.field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cursor-glow { position: fixed; z-index: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 140, 0, .12), transparent 60%); pointer-events: none; transform: translate(-999px, -999px); }
.meter { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; }
.meter i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--orange), var(--gold)); box-shadow: 0 0 12px var(--orange); }

.top { position: sticky; top: 0; z-index: 30; background: rgba(8, 9, 11, .55); border-bottom: 1px solid var(--edge); backdrop-filter: blur(14px); }
.top-in { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand small { font: 500 12px/1 "Mono", monospace; color: var(--mute); }
.top nav { display: flex; gap: 26px; font: 500 14px/1 "Mono", monospace; color: var(--mute); }
.top nav a { text-decoration: none; min-width: 6ch; }
.top nav a:hover { color: var(--gold); }

.hero { min-height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; padding: 60px 0; }
.mark { width: 92px; height: 92px; margin-bottom: 30px; filter: drop-shadow(0 0 18px rgba(255, 140, 0, .45)); }
.draw { stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: draw 2.6s cubic-bezier(.6, 0, .2, 1) .2s forwards; }
.d2 { stroke-dasharray: 720; stroke-dashoffset: 720; animation-delay: 1.4s; animation-duration: 1.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.eyebrow { margin: 0 0 16px; font: 500 13px/1.4 "Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
h1 { margin: 0; max-width: 15ch; font-size: clamp(46px, 7.6vw, 108px); line-height: .98; letter-spacing: -0.05em; font-weight: 900; }
.lead { max-width: 58ch; margin: 28px 0 0; font-size: 20px; color: #c9c4ba; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { position: relative; display: inline-flex; align-items: center; height: 54px; padding: 0 26px; border-radius: 12px; background: linear-gradient(120deg, var(--orange), var(--gold)); color: #120a00; font-weight: 800; text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255, 122, 0, .35); }
.btn:hover::after { transform: translateX(120%); }
.btn.ghost { background: rgba(255, 255, 255, .04); color: var(--ink); border: 1px solid var(--edge); }

.sec { padding: 110px 0; }
.sec.center { text-align: center; }
h2 { margin: 0 0 14px; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 900; }
.sub { max-width: 62ch; margin: 0 0 48px; color: var(--mute); font-size: 19px; }
.center .sub { margin-left: auto; margin-right: auto; }
.nodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.node { position: relative; padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--edge); backdrop-filter: blur(8px); transition: border-color .3s, transform .3s; }
.node:hover { border-color: rgba(255, 176, 0, .5); transform: translateY(-4px); }
.ring { display: block; width: 40px; height: 40px; margin-bottom: 22px; border-radius: 50%; border: 2px solid var(--gold); position: relative; }
.ring::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold); animation: ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
.node:nth-child(2) .ring::after { animation-delay: .8s; } .node:nth-child(3) .ring::after { animation-delay: 1.6s; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.02em; }
.node p { margin: 0; color: var(--mute); }

.product { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 44px; border-radius: 30px; background: var(--card); border: 1px solid var(--edge); backdrop-filter: blur(10px); }
.pinfo p { color: var(--mute); }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 30px; }
.counters div { padding: 16px; border-radius: 16px; border: 1px solid var(--edge); background: rgba(0, 0, 0, .25); }
.counters b { display: block; font: 800 40px/1 "Mono", monospace; color: var(--gold); }
.counters span { font-size: 13px; color: var(--mute); }
.screens { position: relative; min-height: 380px; }
.screens img { position: absolute; border-radius: 18px; border: 1px solid var(--edge); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.s-pc { width: 100%; top: 0; right: 0; }
.s-phone { width: 32%; left: -5%; bottom: 0; border-radius: 24px !important; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.facts div { padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--edge); }
.facts dt { font: 500 12px/1 "Mono", monospace; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.facts dd { margin: 0; font-weight: 600; }
.facts a { color: var(--gold); }
.mails { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.mail { display: grid; gap: 8px; padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--edge); text-decoration: none; transition: border-color .3s, transform .3s; }
.mail:hover { border-color: var(--gold); transform: translateY(-4px); }
.mail small { font: 500 12px/1 "Mono", monospace; text-transform: uppercase; color: var(--gold); }
.mail b { font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.02em; word-break: break-word; }
.mail span { color: var(--mute); font-size: 15px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 30px 0 48px; border-top: 1px solid var(--edge); font-size: 14px; color: var(--mute); }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }

.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .rv.seen { opacity: 1; transform: none; }
.nodes .rv:nth-child(2), .mails .rv:nth-child(2) { transition-delay: .12s; } .nodes .rv:nth-child(3) { transition-delay: .24s; }

@media (max-width: 900px) {
  .top nav { display: none; }
  .nodes, .product, .facts, .mails, .counters { grid-template-columns: 1fr; }
  .product { padding: 26px; }
  .screens { min-height: 260px; }
  .cursor-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .draw { animation: none; stroke-dashoffset: 0; }
  .ring::after, .s-phone { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .btn::after { display: none; }
}

/* Policy pages: the same field and header, the text on a quiet panel. */
.doc { padding: 56px 0 96px; }
.doc .wrap { max-width: 820px; }
.doc .panel { padding: clamp(24px, 5vw, 52px); border-radius: 26px; background: rgba(12, 13, 16, .86); border: 1px solid var(--edge); backdrop-filter: blur(10px); }
.doc h1 { max-width: none; font-size: clamp(34px, 5vw, 54px); line-height: 1.05; margin-bottom: 10px; }
.doc .updated { margin: 0 0 36px; color: var(--mute); font: 500 13px/1.4 "Mono", monospace; letter-spacing: .04em; }
.doc .note { padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255, 176, 0, .35); background: rgba(255, 176, 0, .06); color: #e6dfd3; }
.doc h2 { font-size: clamp(21px, 2.4vw, 25px); letter-spacing: -0.02em; margin: 40px 0 10px; }
.doc p, .doc li { color: #d8d2c8; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--gold); text-underline-offset: 3px; }
.doc strong { color: var(--ink); }
.doc address { font-style: normal; }

/* 404 */
.nf { min-height: calc(100vh - 64px - 120px); display: flex; flex-direction: column; justify-content: center; padding: 60px 0; }
.nf .code { font: 800 clamp(72px, 14vw, 160px)/1 "Mono", monospace; color: var(--gold); letter-spacing: -0.04em; text-shadow: 0 0 40px rgba(255, 140, 0, .35); }
.nf h1 { max-width: 18ch; font-size: clamp(30px, 4.4vw, 52px); margin: 10px 0 0; }
.nf p { color: var(--mute); max-width: 52ch; }
/* A second product (Rusik VPN, 2026-11-15): text only, one column. */
.product + .product { margin-top: 24px; }
.product.solo { grid-template-columns: 1fr; }
.product.solo .pinfo { max-width: 720px; }
.mails.three { grid-template-columns: repeat(3, 1fr); }
.mails.three .mail { padding: 26px; }
.mails.three .mail b { font-size: clamp(17px, 1.6vw, 21px); word-break: normal; overflow-wrap: anywhere; }
@media (max-width: 860px) { .mails.three { grid-template-columns: 1fr; } }
