.scanpage { background: radial-gradient(900px 500px at 80% -10%, rgba(60,242,181,.08), transparent 70%), var(--night); min-height: 100svh; }
.scan-main { padding: 96px 0 60px; }

/* the ask */
.ask { max-width: 620px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 10px; }
.ask-bot { width: 200px; height: 260px; object-fit: cover; object-position: 50% 30%; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.ask h1 { font-size: clamp(40px, 7vw, 64px); margin: 4px 0 14px; }
.ask p { font-size: 18px; margin-bottom: 26px; }
.ask .storebox { width: 100%; text-align: left; }

/* the result */
.result { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 36px; align-items: start; }
.side { position: sticky; top: 84px; display: grid; gap: 18px; }
.who h1 { font-size: 30px; letter-spacing: -.03em; margin-top: 6px; word-break: break-word; }
.who .mono { font-size: 13px; }
.gauge { position: relative; width: 100%; aspect-ratio: 1.45; border-radius: var(--r2); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; padding: 0 22px; gap: 16px; overflow: hidden; }
.gauge svg { width: 150px; height: 150px; transform: rotate(-90deg); flex: none; }
.g-bg { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 9; }
.g-fg { fill: none; stroke: var(--mint); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.7,.2,1), stroke .4s; }
.gauge.run .g-fg { stroke-dashoffset: 250; animation: spin 1.1s linear infinite; transform-origin: 60px 60px; }
@keyframes spin { to { transform: rotate(360deg); } }
.g-in { position: absolute; left: 22px; width: 150px; height: 150px; display: grid; place-content: center; text-align: center; }
.g-in b { font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.g-in span { font-size: 12.5px; color: var(--soft); margin-top: 6px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.g-bot { position: absolute; right: -6px; bottom: -14px; width: 150px; height: 200px; object-fit: cover; object-position: 50% 25%; -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); }
.levels { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.levels:empty, .facts:empty { display: none; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 14px; overflow: hidden; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); }
.facts div { background: var(--panel); padding: 12px 14px; }
.facts b { display: block; font-size: 18px; color: var(--ink); font-weight: 600; }
.facts span { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }

.gate { border-radius: var(--r2); padding: 22px; background: radial-gradient(400px 200px at 0% 0%, rgba(60,242,181,.14), transparent 70%), var(--panel2); box-shadow: inset 0 0 0 1px rgba(60,242,181,.35); }
.gate h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 8px; line-height: 1.15; }
.gate > p { font-size: 15px; color: var(--soft); margin-bottom: 16px; }
.gate .signin h2 { display: none; }
.gate .signin { display: grid; gap: 10px; }
.gate .signin .btn.si-google { background: #fff; color: #111; box-shadow: none; }
.gate .signin .btn.si-google .g { width: 18px; height: 18px; }
.gate .signin form { display: grid; gap: 10px; }
.gate .or { display: flex; align-items: center; gap: 10px; color: var(--mute); font-size: 12px; }
.gate .or::before, .gate .or::after { content: ''; flex: 1; height: 1px; background: var(--line2); }
.gate .field span { font-size: 13px; }
.gate .link { justify-self: start; }

.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.list-head h2 { font-size: 28px; letter-spacing: -.025em; }
.checks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.checks:empty { display: none; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.checks li .st { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.checks li .sp { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(60,242,181,.25); border-top-color: var(--mint); animation: spin .8s linear infinite; flex: none; }
.checks li.done .sp { animation: none; border-color: var(--mint); background: var(--mint); box-shadow: 0 0 10px rgba(60,242,181,.6); }
.checks li.bad .sp { border-color: var(--red); background: var(--red); box-shadow: 0 0 10px rgba(255,77,77,.6); }

.findings { display: grid; gap: 10px; }
.f { border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; animation: fIn .4s ease both; }
@keyframes fIn { from { opacity: 0; transform: scale(.98); } }
.f.critical { box-shadow: inset 0 0 0 1px rgba(255,77,77,.35); background: linear-gradient(90deg, rgba(255,77,77,.07), var(--panel) 40%); }
.f summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; padding: 16px 44px 16px 16px; position: relative; }
.f summary::-webkit-details-marker { display: none; }
.f summary::after { content: '+'; position: absolute; right: 16px; top: 12px; color: var(--mute); font-size: 22px; font-weight: 300; transition: transform .2s; }
.f[open] summary::after { transform: rotate(45deg); }
.f summary .lv { margin-top: 2px; }
.f .t { font-weight: 600; font-size: 16.5px; line-height: 1.35; }
.f .c { display: block; font-family: var(--mono); font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.f .body { padding: 0 16px 18px 16px; display: grid; gap: 12px; font-size: 15px; color: #c7cfd3; }
.f .fix { padding: 12px 14px; border-radius: 12px; background: rgba(60,242,181,.06); box-shadow: inset 0 0 0 1px rgba(60,242,181,.18); color: #d9fff2; }
.f .fix b { color: var(--mint); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 4px; }
.f .ev { display: flex; flex-wrap: wrap; gap: 6px; }
.f .ev code { font-family: var(--mono); font-size: 12px; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--soft); word-break: break-all; }
.f.ok { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.f.ok .t { font-weight: 500; color: var(--soft); }
.f.locked { position: relative; }
.f.locked summary { cursor: default; }
.f.locked summary::after { content: ''; width: 14px; height: 14px; top: 18px; right: 18px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c777f' stroke-width='2'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.f.locked .t { filter: blur(0); color: var(--soft); }
.f.locked .t i { display: inline-block; height: 12px; width: 180px; max-width: 50vw; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); vertical-align: middle; margin-left: 8px; }
.fine { font-size: 12px; color: var(--mute); margin-top: 22px; }
.oks-head { font-family: var(--mono); font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 2px; }

.failbox { border-radius: 18px; padding: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px rgba(255,77,77,.3); }

@media (max-width: 920px) {
  .scan-main { padding-top: 84px; }
  .result { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .side { position: static; }
  .gauge { aspect-ratio: auto; height: 170px; }
  .gauge svg { width: 128px; height: 128px; }
  .g-in { width: 128px; height: 128px; }
  .g-in b { font-size: 38px; }
  .g-bot { width: 130px; height: 175px; }
  .list-head h2 { font-size: 23px; }
}
.facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
