.shell { width: min(1160px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .shell { width: calc(100% - 32px); } }

/* ---------- bar */
.bar { position: absolute; inset: 0 0 auto; z-index: 10; color: #fff; }
.bar__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.bar .logo__mark { color: var(--green); }
.bar__links { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.bar__links a:not(.btn) { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s; }
.bar__links a:not(.btn):hover { color: #fff; }
.btn--ghost-inv { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost-inv:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
@media (max-width: 640px) { .bar__links a:not(.btn) { display: none; } }

/* ---------- intro */
.intro { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 168px 0 120px; isolation: isolate; transition: padding .7s var(--ease); }
.intro.is-compact { padding: 128px 0 72px; }
.intro__glow { position: absolute; inset: 0; z-index: -1; filter: blur(60px); opacity: .9; }
.intro__glow i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s var(--ease) infinite alternate; }
.intro__glow i:nth-child(1) { width: 560px; height: 560px; left: -120px; top: -180px; background: radial-gradient(circle, rgba(18, 194, 107, .55), transparent 65%); }
.intro__glow i:nth-child(2) { width: 640px; height: 640px; right: -200px; top: -60px; background: radial-gradient(circle, rgba(62, 123, 250, .45), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.intro__glow i:nth-child(3) { width: 520px; height: 520px; left: 35%; bottom: -320px; background: radial-gradient(circle, rgba(0, 214, 201, .35), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.08); } 100% { transform: translate(-40px, 20px) scale(.95); } }
.intro__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); }
.intro__in { max-width: 860px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .85); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18, 194, 107, .6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18, 194, 107, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(18, 194, 107, 0); } }
.intro h1 { margin: 0; font: 400 clamp(38px, 6.4vw, 76px)/1 var(--font-display); letter-spacing: -.045em; text-wrap: balance; }
.intro__lead { max-width: 600px; margin: 24px auto 0; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.intro.is-compact h1 { font-size: clamp(32px, 4vw, 48px); }
.intro.is-compact .intro__lead, .intro.is-compact .intro__try, .intro.is-compact .eyebrow { display: none; }

.scan { position: relative; display: flex; align-items: center; gap: 8px; max-width: 620px; margin: 40px auto 0; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .96); box-shadow: 0 30px 80px -30px rgba(18, 194, 107, .55), 0 0 0 1px rgba(255, 255, 255, .2); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.scan:focus-within { box-shadow: 0 30px 80px -24px rgba(18, 194, 107, .75), 0 0 0 4px rgba(18, 194, 107, .35); transform: translateY(-2px); }
.scan__ico { display: grid; place-items: center; width: 40px; color: var(--muted); flex: none; }
.scan__ico svg { width: 20px; height: 20px; }
.scan input { flex: 1; min-width: 0; height: 52px; border: 0; background: none; color: var(--ink); font-size: 17px; outline: none; }
.scan input::placeholder { color: #9aa0a8; }
.scan.is-shake { animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.scan__err { margin: 14px 0 0; color: #ffb4b0; font-size: 14px; }
.intro__try { margin: 22px 0 0; font-size: 14px; color: rgba(255, 255, 255, .6); }
.intro__try a { color: #fff; text-underline-offset: 3px; text-decoration-color: var(--green); }
@media (max-width: 640px) {
  .intro { padding: 120px 0 72px; }
  .scan { flex-wrap: wrap; border-radius: 22px; }
  .scan input { flex-basis: calc(100% - 56px); }
  .scan .btn { width: 100%; }
}

/* ---------- progress */
.progress { margin-top: -40px; position: relative; z-index: 2; }
.progress__card { max-width: 620px; margin: 0 auto; background: var(--panel); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-lg); animation: rise .6s var(--ease) both; }
.progress__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.progress__host { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.progress h2 { margin: 0; font: 400 28px/1.1 var(--font-display); letter-spacing: -.02em; }
.radar { position: relative; width: 56px; height: 56px; flex: none; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--green); opacity: 0; animation: radar 2.4s var(--ease) infinite; }
.radar i:nth-child(2) { animation-delay: .8s; }
.radar i:nth-child(3) { animation-delay: 1.6s; }
.radar b { position: absolute; inset: 22px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px var(--green); }
@keyframes radar { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.steps li { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 0; color: #a3a9b0; transition: color .35s; }
.steps li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; transition: all .35s var(--spring); background-position: center; background-repeat: no-repeat; background-size: 12px; }
.steps li.is-on { color: var(--ink); }
.steps li.is-on::before { border-color: var(--green); border-right-color: transparent; animation: spin .8s linear infinite; }
.steps li.is-done { color: var(--ink-2); }
.steps li.is-done::before { animation: none; border-color: var(--green); background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.4 2.6 2.6 5.4-5.8' fill='none' stroke='%2307130c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transform: scale(1.05); }
.progress__bar { height: 4px; border-radius: 4px; background: var(--panel-2); margin-top: 20px; overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--green), #00d6c9); transition: width .6s var(--ease); }

/* ---------- report */
.report { margin-top: -40px; position: relative; z-index: 2; padding-bottom: 96px; }
.demo-note { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0 auto 16px; width: fit-content; padding: 8px 16px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); font-size: 14px; font-weight: 500; }
.card { background: var(--panel); border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.report__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.score { display: flex; align-items: center; gap: 28px; padding: 28px; box-shadow: var(--shadow-lg); }
.ring { --ring-a: var(--green); --ring-b: #00d6c9; position: relative; width: 148px; height: 148px; flex: none; }
.ring.is-mid { --ring-a: #f5a524; --ring-b: #ffcf5c; }
.ring.is-low { --ring-a: #e5484d; --ring-b: #ff8a65; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring__track { stroke: var(--panel-2); }
.ring__val { stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; transition: stroke-dashoffset 1.4s var(--ease); }
.ring__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__num b { font: 400 46px/1 var(--font-display); letter-spacing: -.04em; }
.ring__num span { font-size: 12px; color: var(--muted); }
.grade { display: inline-grid; place-items: center; min-width: 36px; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--ink); color: #fff; font: 500 14px/1 var(--font-mono); }
.score__meta h2 { margin: 12px 0 2px; font: 400 26px/1.15 var(--font-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.score__meta p { margin: 0; font-size: 13px; }
.score__plat { margin-top: 8px !important; color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-content: start; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.tile b { display: block; font: 400 44px/1 var(--font-display); letter-spacing: -.04em; color: var(--c-ink, var(--ink)); }
.tile span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.tile--critical { --c: var(--red); --c-ink: var(--red-ink); }
.tile--high { --c: var(--amber); --c-ink: var(--amber-ink); }
.tile--medium { --c: var(--blue); --c-ink: var(--blue-ink); }
.tile--passed { --c: var(--green); --c-ink: var(--green-ink); }
.tiles__when { grid-column: 1 / -1; margin: 0; font-size: 13px; }
@media (max-width: 900px) {
  .report__top { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .score { flex-direction: column; align-items: flex-start; } }

.report__body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px; margin-top: 40px; align-items: start; }
@media (max-width: 900px) { .report__body { grid-template-columns: 1fr; } }
.checks__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.checks h3, .side h3 { margin: 0; font: 500 20px/1.25 var(--font-display); letter-spacing: -.01em; }
.check-list { display: grid; gap: 10px; }

.chk { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .3s var(--ease); }
.chk:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.chk.is-open { box-shadow: var(--shadow); border-color: var(--line-2); }
.chk__btn { all: unset; box-sizing: border-box; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; cursor: pointer; }
.chk__btn:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; border-radius: var(--r); }
.chk__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; }
.chk__ico svg { width: 16px; height: 16px; }
.chk--fail .chk__ico { background: var(--red-soft); color: var(--red-ink); }
.chk--warn .chk__ico { background: var(--amber-soft); color: var(--amber-ink); }
.chk--pass .chk__ico { background: var(--green-soft); color: var(--green-ink); }
.chk__title { font-weight: 500; }
.chk__grp { display: block; font-size: 12px; color: var(--muted); text-transform: capitalize; margin-top: 2px; }
.chk__chev { width: 16px; height: 16px; color: var(--muted); transition: transform .35s var(--ease); }
.chk.is-open .chk__chev { transform: rotate(180deg); }
.chk__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.chk.is-open .chk__body { grid-template-rows: 1fr; }
.chk__body > div { overflow: hidden; }
.chk__inner { padding: 0 18px 18px 62px; display: grid; gap: 12px; }
.chk__detail { margin: 0; color: var(--ink-2); }
.chk__fix { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--panel-2); font-size: 14px; }
.chk__fix b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--green-ink); margin-bottom: 4px; }
.chk__link { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .chk__btn { grid-template-columns: auto minmax(0, 1fr) auto; }
  .chk__btn .pill { display: none; }
  .chk__inner { padding-left: 18px; }
}
.empty-ok { padding: 28px; text-align: center; background: var(--green-soft); color: var(--green-ink); border-radius: var(--r); font-weight: 500; }

.passed { margin-top: 20px; }
.passed summary { display: flex; align-items: center; gap: 10px; padding: 14px 4px; cursor: pointer; list-style: none; font-weight: 500; }
.passed summary::-webkit-details-marker { display: none; }
.passed summary svg { width: 16px; height: 16px; margin-left: auto; transition: transform .35s var(--ease); }
.passed[open] summary svg { transform: rotate(180deg); }
.check-list--passed .chk { background: transparent; }

.side { display: grid; gap: 16px; position: sticky; top: 24px; }
.products { padding: 22px; }
.prod-list { list-style: none; margin: 14px 0 0; padding: 0; }
.prod-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.prod-list li:first-child { border-top: 0; }
.prod-list a { font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.prod-list a:hover { text-decoration: underline; }
.prod-list .mono { color: var(--ink-2); font-size: 13px; }
.prod-list small { grid-column: 1 / -1; color: var(--red-ink); font-size: 12.5px; }
.prod-list small.ok { color: var(--green-ink); }
.upsell { padding: 24px; background: var(--navy); color: #fff; border-color: var(--navy); position: relative; overflow: hidden; isolation: isolate; }
.upsell::before { content: ""; position: absolute; width: 320px; height: 320px; right: -140px; top: -160px; z-index: -1; background: radial-gradient(circle, rgba(18, 194, 107, .45), transparent 65%); }
.upsell__k { margin: 0 0 8px; font: 500 12px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--green); }
.upsell h3 { font-size: 22px; line-height: 1.2; }
.upsell p { color: rgba(255, 255, 255, .72); font-size: 14px; margin: 10px 0 18px; }
.upsell .btn { width: 100%; }
.upsell__alt { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, .7); }

.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 32px 0 48px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.foot a { color: inherit; }
