/* ==========================================================================
   Sentrix Digital — motion layer
   Logo intro, animated brand mark, cursor, reveals, cyber section.
   ========================================================================== */
:root { --ok: #33e0a1; }

/* ---------------------------------------------------------- Brand mark */
.sx-mark { display: block; overflow: visible; }
.sx-mark .m-fill { fill: #0a0b0e; }
.sx-mark .m-shield, .sx-mark .m-half { fill: none; stroke: #fff; stroke-width: 90; }
.sx-mark .m-s { fill: none; stroke: var(--acc); stroke-width: 94; stroke-dasharray: 1; }
.sx-mark .m-node { fill: var(--acc); transform-box: fill-box; transform-origin: center; }
.sx-mark .m-diamond { fill: #fff; transform-box: fill-box; transform-origin: center; }

.brand--sx { --bh: 40px; position: relative; display: inline-flex; align-items: flex-start; gap: calc(var(--bh) * .357); height: var(--bh); }
.site-footer .brand--sx { --bh: 54px; }
.brand--sx .sx-mark { height: var(--bh); width: calc(var(--bh) * .862); transition: filter .4s; }
.brand-word { position: relative; display: block; margin-top: calc(var(--bh) * .129); height: calc(var(--bh) * .768); }
.brand-word img { display: block; height: 100%; width: auto; }
.brand-glint {
	position: absolute; inset: 0; pointer-events: none;
	-webkit-mask: url(../img/brand/wordmark-on-dark.png) 0 0 / 100% 100% no-repeat; mask: url(../img/brand/wordmark-on-dark.png) 0 0 / 100% 100% no-repeat;
	background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .95) 50%, transparent 58%) 160% 0 / 260% 100% no-repeat;
	animation: glint 7s 3.8s infinite;
}
@keyframes glint { 0% { background-position: 160% 0; } 20%, 100% { background-position: -70% 0; } }
.brand--sx .m-node { animation: led 3.4s ease-in-out infinite; }
.brand--sx .m-node-b { animation-delay: 1.7s; }
@keyframes led { 0%, 70%, 100% { fill: var(--acc); } 80% { fill: #ff8b98; } }
.brand--sx:hover .sx-mark { filter: drop-shadow(0 0 10px rgba(227, 23, 45, .65)); }
.brand--sx:hover .m-s { animation: sdraw .9s cubic-bezier(.65, 0, .35, 1); }
.brand--sx:hover .m-diamond { animation: dspin .9s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes sdraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dspin { from { transform: rotate(-180deg) scale(.2); } }

/* ---------------------------------------------------------- Logo intro */
#intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; --s: 1; animation: intro-safe .4s calc(8s * var(--s)) forwards; }
.intro-quick #intro { --s: .32; }
html:has(#intro:not(.out)) { overflow: hidden; }
@keyframes intro-safe { to { opacity: 0; visibility: hidden; } }
.intro-shutter { position: absolute; left: 0; right: 0; height: 50.5%; z-index: 1; background: var(--bg); transition: transform 1.1s cubic-bezier(.86, 0, .07, 1) .28s; }
.intro-shutter.top { top: 0; }
.intro-shutter.bottom { bottom: 0; }
.intro-shutter.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acc); box-shadow: 0 0 22px 3px var(--acc); transform: scaleX(0); transition: transform .35s cubic-bezier(.7, 0, .2, 1); }
#intro.out .intro-shutter.top { transform: translateY(-100%); }
#intro.out .intro-shutter.bottom { transform: translateY(100%); }
#intro.out .intro-shutter.top::after { transform: scaleX(1); }
.intro-fx {
	position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; animation: ifade calc(.9s * var(--s)) forwards;
	background:
		radial-gradient(ellipse at center, rgba(227, 23, 45, .18), transparent 55%),
		linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 46px 46px,
		linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 46px 46px;
	-webkit-mask: radial-gradient(ellipse at center, #000 15%, transparent 70%); mask: radial-gradient(ellipse at center, #000 15%, transparent 70%);
}
@keyframes ifade { to { opacity: 1; } }
#intro.out .intro-fx, #intro.out .intro-logo, #intro.out .intro-meta { opacity: 0; transition: opacity .3s; }
#intro.out .intro-logo { transform: scale(.92); transition: opacity .3s, transform .5s; }
.intro-stage { position: relative; z-index: 3; width: min(640px, 80vw); }
.intro-logo { position: relative; width: 100%; aspect-ratio: 1814 / 496; animation: ishift calc(.95s * var(--s)) cubic-bezier(.7, 0, .2, 1) calc(1.75s * var(--s)) both; }
@keyframes ishift { from { transform: translateX(38.4%) scale(1.25); } to { transform: none; } }
.intro-mark { position: absolute; left: .3%; top: 1%; width: 23%; height: auto; animation: iglow calc(1.4s * var(--s)) ease-out calc(1.9s * var(--s)); }
@keyframes iglow { 25% { filter: drop-shadow(0 0 26px rgba(227, 23, 45, .95)); } }
.intro-mark .m-half { stroke: var(--acc); stroke-dasharray: 1; stroke-dashoffset: 1; animation: idraw calc(1s * var(--s)) cubic-bezier(.65, 0, .35, 1) calc(.15s * var(--s)) forwards, iwhite calc(.45s * var(--s)) calc(1.1s * var(--s)) forwards; }
.intro-mark .m-shield { opacity: 0; animation: ion .01s calc(1.55s * var(--s)) forwards; }
.intro-mark .m-fill { opacity: 0; animation: ion calc(.6s * var(--s)) calc(.75s * var(--s)) forwards; }
.intro-mark .m-s { stroke-dashoffset: 1; animation: idraw calc(.75s * var(--s)) cubic-bezier(.65, 0, .35, 1) calc(.85s * var(--s)) forwards; }
.intro-mark .m-node { transform: scale(0); animation: ipop calc(.45s * var(--s)) cubic-bezier(.3, 1.7, .5, 1) calc(.8s * var(--s)) forwards; }
.intro-mark .m-node-b { animation-delay: calc(1.52s * var(--s)); }
.intro-mark .m-diamond { transform: scale(0) rotate(-135deg); animation: ipop calc(.6s * var(--s)) cubic-bezier(.3, 1.5, .5, 1) calc(1.58s * var(--s)) forwards; }
@keyframes idraw { to { stroke-dashoffset: 0; } }
@keyframes iwhite { to { stroke: #fff; } }
@keyframes ion { to { opacity: 1; } }
@keyframes ipop { to { transform: none; } }
.intro-scan { position: absolute; left: -3%; width: 29%; top: 0; height: 2px; opacity: 0; background: linear-gradient(90deg, transparent, var(--acc), #fff, var(--acc), transparent); box-shadow: 0 0 16px 2px rgba(227, 23, 45, .85); animation: iscan calc(.75s * var(--s)) ease-in-out calc(1.95s * var(--s)) forwards; }
@keyframes iscan { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.iw-sentrix { position: absolute; left: 33.02%; top: 12.9%; width: 66.21%; clip-path: inset(0 100% 0 0); animation: iwipe calc(.8s * var(--s)) cubic-bezier(.7, 0, .2, 1) calc(2.05s * var(--s)) forwards; }
@keyframes iwipe { to { clip-path: inset(0 0 0 0); } }
.iw-etch { position: absolute; left: 33%; top: 8%; width: 3px; height: 55%; opacity: 0; background: #fff; box-shadow: 0 0 16px 4px var(--acc); animation: ietch calc(.8s * var(--s)) cubic-bezier(.7, 0, .2, 1) calc(2.05s * var(--s)) forwards; }
@keyframes ietch { 0% { left: 33%; opacity: 1; } 90% { opacity: 1; } 100% { left: 99.5%; opacity: 0; } }
.iw-digital { position: absolute; left: 33.24%; top: 75%; width: 36.33%; opacity: 0; transform: translateY(45%); filter: blur(6px); animation: idig calc(.6s * var(--s)) ease-out calc(2.5s * var(--s)) forwards; }
@keyframes idig { to { opacity: 1; transform: none; filter: none; } }
.iw-line { position: absolute; left: 72.55%; top: 80.85%; width: 27.07%; height: 4.44%; background: var(--acc); transform: scaleX(0); transform-origin: left; animation: iline calc(.6s * var(--s)) cubic-bezier(.7, 0, .2, 1) calc(2.7s * var(--s)) forwards; }
@keyframes iline { to { transform: scaleX(1); } }
@property --ip { syntax: '<integer>'; inherits: false; initial-value: 0; }
.intro-meta { position: absolute; z-index: 3; left: 50%; bottom: 13vh; width: min(320px, 72vw); margin-left: max(-160px, -36vw); font: 600 11px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.intro-meta div { display: flex; justify-content: space-between; }
.intro-pct { color: #fff; counter-reset: ip var(--ip); animation: ipct calc(3s * var(--s)) cubic-bezier(.4, 0, .2, 1) forwards; }
.intro-pct::after { content: counter(ip) '%'; }
@keyframes ipct { to { --ip: 100; } }
.intro-bar { margin-top: 10px; height: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.intro-bar i { display: block; height: 100%; background: var(--acc); box-shadow: 0 0 12px var(--acc); transform: scaleX(0); transform-origin: left; animation: ibar calc(3s * var(--s)) cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes ibar { to { transform: scaleX(1); } }
.hero h1 .line > span { animation: h1-safe .01s 7s forwards; }
@keyframes h1-safe { to { transform: none; } }

/* ---------------------------------------------------------- Cursor + grain */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text !important; }
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; transition: opacity .3s; }
.cur-out .cur-dot, .cur-out .cur-ring { opacity: 0; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
.cur-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
.cur-ring::before, .cur-ring::after { content: ''; position: absolute; inset: 0; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), opacity .3s, border-color .3s, border-radius .3s, background .3s; }
.cur-ring::before { border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; }
.cur-ring::after { opacity: 0; background: linear-gradient(var(--acc), var(--acc)) center / 1px 140% no-repeat, linear-gradient(90deg, var(--acc), var(--acc)) center / 140% 1px no-repeat; transform: scale(.4); }
.cur-ring[data-state="link"]::before { transform: scale(1.55); border-color: var(--acc); background: rgba(227, 23, 45, .1); }
.cur-ring[data-state="aim"]::before { border-radius: 4px; border-color: var(--acc); transform: scale(1.15) rotate(45deg); }
.cur-ring[data-state="aim"]::after { opacity: 1; transform: scale(.7); }
.cur-ring[data-state="text"]::before { transform: scale(.4); opacity: 0; }
.cur-ring.down::before { transform: scale(.75); }
.cur-ring span { position: absolute; left: 50%; top: 100%; margin-top: 10px; transform: translateX(-50%); font: 600 9px var(--mono); letter-spacing: .22em; color: var(--acc); white-space: nowrap; }
.has-cursor .cur-ring[data-state="text"] ~ .cur-dot, .cur-ring[data-state="text"] { opacity: .3; }

body::after {
	content: ''; position: fixed; inset: -50%; z-index: 250; pointer-events: none; opacity: .055;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grain .9s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(-2%, 6%); } }

/* ---------------------------------------------------------- Text reveals */
.wsplit .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wsplit .wi { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1s cubic-bezier(.2, .8, .2, 1) calc(var(--wi) * 55ms + .1s); }
.reveal.in .wsplit .wi { transform: none; }
.eyebrow { font-variant-ligatures: none; }

/* ---------------------------------------------------------- Image curtains */
.curtain { position: relative; overflow: hidden; }
.curtain::after { content: ''; position: absolute; inset: 0; z-index: 4; background: var(--acc); transform: translateX(-101%); pointer-events: none; }
.curtain img { opacity: 0; transform: translate3d(0, var(--py, 0px), 0) scale(1.22); transition: opacity .01s .55s, transform 1.6s cubic-bezier(.2, .8, .2, 1) .55s; }
.curtain.cin::after { animation: curtain 1.1s cubic-bezier(.77, 0, .18, 1) forwards; }
.curtain.cin img { opacity: 1; transform: translate3d(0, var(--py, 0px), 0) scale(1.08); }
.curtain.done img { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.photo.curtain.done img { transition: none; }
.sector.curtain.done:hover img, .post-card:hover .curtain.done img { transform: scale(1.16); }
@keyframes curtain { 0% { transform: translateX(-101%); } 48%, 52% { transform: translateX(0); } 100% { transform: translateX(101%); } }

/* ---------------------------------------------------------- Hero extras */
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { will-change: transform, opacity; }
.hero-spot {
	position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
	background:
		radial-gradient(260px circle at var(--mx, 50%) var(--my, 40%), rgba(227, 23, 45, .12), transparent 70%),
		linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 56px 56px;
	-webkit-mask: radial-gradient(280px circle at var(--mx, 50%) var(--my, 40%), #000, transparent 72%); mask: radial-gradient(280px circle at var(--mx, 50%) var(--my, 40%), #000, transparent 72%);
}
.hero:hover .hero-spot { opacity: 1; }
.hero h1 em { position: relative; display: inline-block; }
.hero h1 em::before, .hero h1 em::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.hero h1 em::before { color: #fff; animation: glitch-a 5.5s 4.5s infinite; }
.hero h1 em::after { color: #7a0a17; animation: glitch-b 5.5s 4.6s infinite; }
@keyframes glitch-a { 0%, 90%, 100% { opacity: 0; transform: none; } 91% { opacity: .95; transform: translate(-5px, 1px); clip-path: inset(12% 0 58% 0); } 93% { opacity: .9; transform: translate(4px, -1px); clip-path: inset(62% 0 8% 0); } 95% { opacity: .7; transform: translate(-2px, 0); clip-path: inset(36% 0 38% 0); } 96% { opacity: 0; } }
@keyframes glitch-b { 0%, 90%, 100% { opacity: 0; transform: none; } 91.5% { opacity: .9; transform: translate(6px, 0); clip-path: inset(48% 0 22% 0); } 94% { opacity: .9; transform: translate(-4px, 1px); clip-path: inset(4% 0 70% 0); } 95.5% { opacity: 0; } }

/* ---------------------------------------------------------- Buttons, cards, bands */
.btn { overflow: hidden; isolation: isolate; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary:hover { background: var(--acc); color: #0a0b0e; }
.btn-wa::before { background: var(--wa); }
.btn-wa:hover { background: transparent; color: #03170b; }
.btn-ghost:hover { color: #0a0b0e; }

@property --beam { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.post-card, .tool, .switch { position: relative; }
.card::after, .post-card::after, .tool::after {
	content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
	background: conic-gradient(from var(--beam), transparent 0 62%, rgba(227, 23, 45, .9) 80%, #fff 86%, transparent 92%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
	opacity: 0; transition: opacity .45s; animation: beam 3.4s linear infinite;
}
.card:hover::after, .post-card:hover::after, .tool:hover::after { opacity: 1; }
@keyframes beam { to { --beam: 360deg; } }

.pattern-band { background-position: 0 center, 0 0; animation: band 16s linear infinite; }
@keyframes band { to { background-position: 400px center, 0 0; } }
.marquee span { transform: skewX(var(--skew, 0deg)); display: inline-flex; }

.steps::before { height: 2px; opacity: 1; background: linear-gradient(90deg, var(--acc), #fff); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 14px rgba(227, 23, 45, .6); }
.step::before { transition: background .5s, color .5s, box-shadow .5s, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.step.lit::before { background: var(--acc); color: #fff; box-shadow: 0 0 36px -2px var(--acc); transform: scale(1.08); }

[role="tablist"] { position: relative; }
[role="tablist"] .chip { position: relative; z-index: 1; transition: color .3s, border-color .3s; }
[role="tablist"] .chip[aria-selected="true"] { background: transparent; border-color: transparent; color: #fff; }
.tab-ink { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--acc); box-shadow: 0 10px 30px -8px var(--acc); pointer-events: none; transition: transform .6s cubic-bezier(.7, 0, .2, 1), width .6s cubic-bezier(.7, 0, .2, 1); }

/* ---------------------------------------------------------- Section indicator */
.sec-hud { position: fixed; right: 22px; top: 50%; z-index: 90; transform: translateY(-50%); writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; font: 600 10.5px var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--mute); opacity: 0; transition: opacity .5s; pointer-events: none; }
.sec-hud.on { opacity: 1; }
.sec-hud b { color: var(--acc); font-weight: 600; }
.sec-hud i { position: relative; width: 1px; height: 70px; background: rgba(255, 255, 255, .15); }
.sec-hud i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--acc); transform-origin: top; transform: scaleY(var(--sp, 0)); }
@media (max-width: 1340px) { .sec-hud { display: none; } }

/* ---------------------------------------------------------- Footer wordmark */
.footer-giant { position: relative; width: min(1200px, 100% - 40px); margin: 10px auto 40px; aspect-ratio: 1201 / 228; background: rgba(255, 255, 255, .06); -webkit-mask: url(../img/brand/wm-sentrix.png) center / 100% 100% no-repeat; mask: url(../img/brand/wm-sentrix.png) center / 100% 100% no-repeat; }
.footer-giant::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff calc(var(--fill, 0) * 104% - 4%), var(--acc) calc(var(--fill, 0) * 104% - 4%), var(--acc) calc(var(--fill, 0) * 104%), transparent calc(var(--fill, 0) * 104%)); }
.footer-giant::after { content: ''; position: absolute; inset: 0; background: radial-gradient(220px circle at var(--gx, -300px) var(--gy, 50%), rgba(227, 23, 45, .95), transparent 70%); mix-blend-mode: multiply; }

/* ---------------------------------------------------------- Camera wall */
.toolbar .chip[data-mode] { min-width: 0; }
.thumb.alarm { animation: alarm .5s 3; }
@keyframes alarm { 50% { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(227, 23, 45, .55), 0 0 26px rgba(227, 23, 45, .7); } }
.log li { animation: log-in .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes log-in { from { opacity: 0; transform: translateX(-12px); background: rgba(227, 23, 45, .25); } }

/* ---------------------------------------------------------- Cyber section */
.cyber { background: radial-gradient(70% 55% at 50% 0%, rgba(227, 23, 45, .11), transparent 65%), var(--bg-2); border-block: 1px solid var(--line); }
.cyber .section-head h2 em { color: var(--acc); font-style: normal; }
.cyber-grid { display: grid; grid-template-columns: 1fr 330px; gap: 20px; }
.cg-screen { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #07080b; aspect-ratio: 16 / 10; }
.cg-screen canvas { display: block; width: 100%; height: 100%; touch-action: manipulation; }
.cg-hud { position: absolute; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.cg-stat { padding: 8px 12px; border-radius: 10px; background: rgba(10, 11, 14, .75); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.cg-stat small { display: block; font: 600 9px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.cg-stat b { font: 800 19px/1.25 var(--font-h); font-stretch: 110%; }
.cg-stat.bad { border-color: var(--acc); } .cg-stat.bad b { color: var(--acc); }
.cg-hint { position: absolute; right: 14px; top: 16px; font: 600 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); pointer-events: none; }
.cg-banner { position: absolute; left: 50%; bottom: 16px; width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 10px 16px; border-radius: 10px; background: rgba(10, 11, 14, .88); border: 1px solid rgba(255, 255, 255, .25); font-size: 13.5px; text-align: center; opacity: 0; transform: translate(-50%, 16px); transition: opacity .35s, transform .35s; pointer-events: none; }
.cg-banner.bad { border-color: var(--acc); box-shadow: 0 0 30px -6px var(--acc); }
.cg-banner.on { opacity: 1; transform: translate(-50%, 0); }
.cg-side { display: flex; flex-direction: column; gap: 14px; }
.cg-layers { display: grid; gap: 8px; }
.switch { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); text-align: left; cursor: pointer; transition: border-color .25s, background .25s; }
.switch b { font: 700 14px/1.3 var(--font-h); font-stretch: 105%; }
.switch small { grid-column: 1; color: var(--mute); font-size: 12px; line-height: 1.35; }
.switch i { grid-row: 1 / span 2; grid-column: 2; position: relative; width: 40px; height: 22px; border-radius: 999px; background: #2a2d35; transition: background .25s, box-shadow .25s; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .35s cubic-bezier(.4, 1.6, .5, 1); }
.switch[aria-pressed="true"] i { background: var(--acc); box-shadow: 0 0 14px -2px var(--acc); }
.switch[aria-pressed="true"] i::after { transform: translateX(18px); }
.switch[aria-pressed="false"] { border-color: rgba(227, 23, 45, .45); background: rgba(227, 23, 45, .06); }
.switch:hover { border-color: rgba(255, 255, 255, .3); }
.cg-log { min-height: 180px; }
.log li em { font-style: normal; font-weight: 600; letter-spacing: .06em; }
.log li em.ok { color: #fff; }
.log li em.bad { color: var(--acc); }

.cyber-tools { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 20px; }
.tool { padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.tool h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 2px 0 8px; }
.tool > p { color: var(--mute); font-size: 15px; }
.tool .eyebrow { margin-bottom: 12px; }

.pw-field { position: relative; margin: 22px 0 14px; }
.pw-field input { width: 100%; padding: 16px 70px 16px 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font: 500 17px var(--mono); letter-spacing: .04em; outline: none; transition: border-color .2s, box-shadow .2s; }
.pw-field input:focus { border-color: var(--c, var(--acc)); box-shadow: 0 0 0 4px rgba(227, 23, 45, .14); }
.pw-lock { position: absolute; left: 15px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--c, var(--mute)); transition: color .3s; }
.pw-lock .shackle { transform: translateY(-3.5px); transition: transform .5s cubic-bezier(.4, 1.8, .5, 1); }
.pw-lab.strong .shackle { transform: none; }
.pw-eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); padding: 7px 10px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--mute); font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.pw-meter { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pw-meter i { position: relative; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.pw-meter i::after { content: ''; position: absolute; inset: 0; background: var(--c, var(--acc)); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2, .8, .2, 1) calc(var(--n) * 60ms), background .3s; }
.pw-meter i.on::after { transform: scaleX(1); }
.pw-out { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 18px 0 16px; }
.pw-time { font: 800 clamp(24px, 2.8vw, 34px)/1.1 var(--font-h); font-stretch: 110%; }
.pw-label { font: 600 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c, var(--mute)); }
.pw-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13.5px; color: var(--mute); }
.pw-checks li::before { content: '✕'; display: inline-block; width: 20px; color: var(--acc); font-weight: 700; }
.pw-checks li.ok { color: var(--text); }
.pw-checks li.ok::before { content: '✓'; color: var(--ok); }
.pw-hash { margin-top: 18px; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--line); background: var(--bg); font: 500 11px/1.55 var(--mono); color: var(--mute); word-break: break-all; }
.pw-hash b { color: var(--text); font-weight: 500; }
.pw-note { margin-top: 10px; font-size: 12px; color: var(--mute); }

.score-top { display: flex; align-items: center; gap: 22px; margin: 20px 0; }
.dial { position: relative; flex: none; width: 124px; height: 124px; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial circle { fill: none; stroke-width: 9; }
.dial .trk { stroke: rgba(255, 255, 255, .08); }
.dial .val { stroke: var(--c, var(--acc)); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1s cubic-bezier(.2, .8, .2, 1), stroke .4s; filter: drop-shadow(0 0 6px var(--c, var(--acc))); }
.dial b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 34px var(--font-h); font-stretch: 110%; }
.score-msg { color: var(--text); font-size: 15px; }
.qs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.q { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--mute); font-size: 14px; line-height: 1.4; text-align: left; cursor: pointer; transition: color .25s, border-color .25s, background .25s; }
.q i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .3); transition: background .25s, border-color .25s, transform .35s cubic-bezier(.4, 1.8, .5, 1); }
.q[aria-pressed="true"] { color: var(--text); border-color: rgba(51, 224, 161, .45); background: rgba(51, 224, 161, .05); }
.q[aria-pressed="true"] i { background: var(--ok); border-color: var(--ok); transform: scale(1.12); }
.q[aria-pressed="true"] i::after { content: '✓'; color: #04140d; font-size: 13px; font-weight: 800; font-style: normal; }

@media (max-width: 980px) {
	.cyber-grid, .cyber-tools { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
	.cg-screen { aspect-ratio: 4 / 5; }
	.cg-hint { display: none; }
	.cg-stat { padding: 6px 9px; } .cg-stat b { font-size: 16px; }
	.pw-checks { grid-template-columns: 1fr; }
	.score-top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	#intro, body::after, .hero-spot { display: none !important; }
	.wsplit .wi, .curtain img { transform: none !important; opacity: 1 !important; }
	.curtain::after { display: none; }
}
