:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #172b23; background: #f7f7f2; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow-x: hidden; }
.topline { padding: 27px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 11px; }
.brand { font-weight: 850; letter-spacing: .12em; display: flex; align-items: center; gap: 9px; }
.brand i { width: 8px; height: 8px; border-radius: 50%; background: #008b43; }
.test-label { color: #808c83; font-size: 9px; letter-spacing: .13em; }
main { width: min(100%, 520px); margin: auto; text-align: center; padding: 0 32px 24px; }
.scene { position: relative; height: clamp(260px, 37svh, 350px); width: 100%; isolation: isolate; }
.halo { position: absolute; inset: -10% 0 -5%; background: radial-gradient(ellipse, #e5ecdf 0%, #f0f2e9 42%, transparent 68%); z-index: -1; }
.ground-shadow { position: absolute; width: 46%; height: 18px; bottom: 17px; left: 27%; background: #315d40; opacity: .13; border-radius: 50%; filter: blur(13px); animation: shadow-arrive 1.5s both; }
#disc-canvas { position: absolute; width: 100%; height: 100%; inset: 0; display: block; opacity: 0; transition: opacity .12s; }
.webgl-ready #disc-canvas { opacity: 1; }
.webgl-ready .fallback-disc { visibility: hidden; }
.fallback-disc { position: absolute; width: 61%; aspect-ratio: 1; left: 19.5%; top: 15%; border-radius: 50%; background: linear-gradient(130deg, #fff, #efefe7); box-shadow: 0 9px 0 #00954b, 0 16px 0 #006f38, 0 25px 32px #24573516, inset 0 0 0 2px white; display: grid; place-items: center; animation: disc-arrive 1.6s cubic-bezier(.18,.8,.28,1) both; }
.fallback-disc img { position: absolute; inset: 10.5%; width: 79%; height: 79%; object-fit: contain; opacity: 0; }
.fallback-disc img[data-brand="fisto"] { opacity: 1; }
.copy { animation: copy-arrive .65s .35s both; }
.eyebrow { color: #779081; font-size: 10px; letter-spacing: .2em; font-weight: 650; margin: 14px 0 16px; }
h1 { font-size: clamp(42px, 10.8vw, 59px); font-weight: 780; letter-spacing: -.055em; line-height: 1.02; margin: 0; }
h1 span { color: #008b43; }
.status { color: #79867b; font-size: 13px; line-height: 1.5; margin: 17px 0 20px; min-height: 39px; }
.continue { display: flex; align-items: center; justify-content: space-between; background: #008741; border-radius: 18px; padding: 19px 24px; text-decoration: none; color: white; font-weight: 650; font-size: 14px; width: min(100%, 320px); margin: auto; box-shadow: 0 8px 22px #00874112; transition: background .2s, transform .2s; }
.continue:hover { background: #006f35; transform: translateY(-2px); }
.continue span:last-child { font-size: 22px; font-weight: 400; line-height: 1; }
.detection { width: min(100%, 320px); margin: 0 auto 23px; }
.detection-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10px; color: #779081; margin-bottom: 10px; }
#detection-percent { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: #008741; }
.progress { height: 4px; background: #dce6db; overflow: hidden; border-radius: 4px; }
.progress span { display: block; height: 100%; width: 100%; background: #008741; transform: scaleX(0); transform-origin: left; }
.device-select { display: block; font-size: 11px; color: #79867b; margin-bottom: 6px; }
.device-select select { font: inherit; background: transparent; border: 0; border-bottom: 1px solid #cbd9ca; padding: 5px 2px; color: #315e43; }
footer { text-align: center; padding: 18px 20px 25px; }
footer button, footer a { font: inherit; font-size: 12px; color: #526b59; background: none; border: none; text-decoration: none; padding: 10px 12px; cursor: pointer; }
footer p { font-size: 10px; color: #97a095; margin: 9px 0 0; }
a:focus-visible, button:focus-visible { outline: 3px solid #67b287; outline-offset: 5px; }
.no-script { padding: 20px; text-align: center; }
[hidden] { display: none !important; }
@keyframes disc-arrive { 0% { opacity: 0; transform: perspective(600px) translateY(55px) scale(.6) rotateX(65deg) rotateY(-35deg); } 70% { opacity: 1; transform: perspective(600px) translateY(-8px) scale(1.02) rotateX(8deg) rotateY(7deg); } 100% { opacity: 1; transform: perspective(600px) rotateX(12deg) rotateY(-10deg); } }
@keyframes copy-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes shadow-arrive { from { opacity: 0; transform: scale(.5); } to { opacity: .13; transform: scale(1); } }
@media (max-width: 380px) { .topline { padding: 22px; } main { padding: 0 24px 15px; } .scene { height: 255px; } h1 { font-size: 43px; } }
@media (max-height: 700px) { .topline { padding-top: 18px; padding-bottom: 12px; } .scene { height: 180px; } .eyebrow { margin-top: 4px; margin-bottom: 12px; } h1 { font-size: 38px; } .status { margin: 13px 0 13px; } .detection { margin-bottom: 15px; } footer { padding-top: 3px; padding-bottom: 15px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
