/* LUPA — poster / comic / Kandinsky × Picasso.  One stylesheet, light + dark. */

@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/unbounded-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(fonts/unbounded-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/onest-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/onest-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  color-scheme: light;
  --hero: #FFF0B3;
  --paper: #FFFDF7;
  --paper-2: #FFF6D6;
  --card: #FFFFFF;
  --card-2: #FFFAEE;
  --text: #000000;
  --muted: #4B4B57;
  --line: #000000;
  --ink: #000000;
  --yellow: #FFC814;
  --red: #E8261B;
  --red-soft: #FF3B2F;
  --blue: #2453FF;
  --pink: #FF8AC4;
  --mint: #2BD9A0;
  --orange: #FF8A1F;
  --sky: #9AD8FF;
  --ok: #0E9F5A;
  --warn: #F2A100;
  --bad: #E5302A;
  --info: #7C88B8;
  --c-sec: #2453FF; --c-seo: #E8378F; --c-vis: #C48600; --c-mob: #00957F;
  --c-spd: #7A3CFF; --c-code: #E0560B; --c-tech: #1385C4; --c-dom: #5C8A00;
  --grid: rgba(0, 0, 0, .12);
  --shadow: 7px 7px 0 var(--line);
  --shadow-s: 4px 4px 0 var(--line);
  --r: 22px;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --hero: #121A45; --paper: #0F1640; --paper-2: #1A2459; --card: #1C2763; --card-2: #232F72;
    --text: #FFF6E2; --muted: #C9CCEA; --line: #02041A; --ink: #F3E9CF;
    --yellow: #FFD23F; --red: #F0382D; --red-soft: #FF5A4E; --blue: #4F6CFF; --pink: #FF9BCF; --mint: #3DDBA6; --sky: #8FCBFF;
    --ok: #2CC77A; --warn: #FFB627; --bad: #FF5A4E; --info: #9AA6D6;
    --c-sec: #5F7CFF; --c-seo: #F0559E; --c-vis: #C99000; --c-mob: #12AD87; --c-spd: #9670FF; --c-code: #EB6A2A; --c-tech: #2A98DA; --c-dom: #74A81C;
    --grid: rgba(255, 246, 226, .16);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --hero: #121A45; --paper: #0F1640; --paper-2: #1A2459; --card: #1C2763; --card-2: #232F72;
  --text: #FFF6E2; --muted: #C9CCEA; --line: #02041A; --ink: #F3E9CF;
  --yellow: #FFD23F; --red: #F0382D; --red-soft: #FF5A4E; --blue: #4F6CFF; --pink: #FF9BCF; --mint: #3DDBA6; --sky: #8FCBFF;
  --ok: #2CC77A; --warn: #FFB627; --bad: #FF5A4E; --info: #9AA6D6;
  --c-sec: #5F7CFF; --c-seo: #F0559E; --c-vis: #C99000; --c-mob: #12AD87; --c-spd: #9670FF; --c-code: #EB6A2A; --c-tech: #2A98DA; --c-dom: #74A81C;
  --grid: rgba(255, 246, 226, .16);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.55 var(--body); font-feature-settings: "ss01"; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: #000; padding: 10px 16px; border: 3px solid #000; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.noscript { position: fixed; bottom: 0; left: 0; right: 0; margin: 0; padding: 12px; background: var(--red); color: #fff; text-align: center; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn { --bg: var(--card); --fg: var(--text); display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.35em; border: 3px solid var(--line);
  border-radius: 999px; background: var(--bg); color: var(--fg); font: 700 1rem/1.1 var(--display); text-decoration: none; box-shadow: var(--shadow-s);
  transition: transform .12s ease, box-shadow .12s ease; white-space: nowrap; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--line); }
.btn-go { --bg: var(--red); --fg: #fff; font-size: 1.05rem; }
.btn-ink { --bg: #000; --fg: #FFF6E2; border-color: #000; }
.btn-sun { --bg: var(--yellow); --fg: #000; }
.btn-line { --bg: transparent; box-shadow: none; }
.btn-line:hover { box-shadow: var(--shadow-s); }
.btn-s { padding: .6em 1em; font-size: .85rem; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; padding: 12px 28px; background: var(--paper); border-bottom: 3px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-ico { width: 40px; height: 40px; transition: transform .3s ease; }
.logo:hover .logo-ico { transform: rotate(-18deg) scale(1.08); }
.logo-word { font: 900 1.55rem/1 var(--display); letter-spacing: .04em; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; }
.nav a:hover { background: var(--yellow); color: #000; border-color: var(--line); }
.nav a[aria-current="page"] { border-color: var(--line); }
.tools { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; border: 2.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.lang-btn { padding: 7px 11px; font: 700 .78rem/1 var(--display); text-decoration: none; }
.lang-btn[aria-current="true"] { background: var(--text); color: var(--paper); }
.lang-btn:not([aria-current]):hover { background: var(--yellow); color: #000; }
.theme-btn { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--line); background: var(--card); display: grid; place-items: center; padding: 0; }
.theme-btn svg { width: 24px; height: 24px; color: var(--text); }
.theme-btn .ico-sun { display: none; }
:root[data-theme="dark"] .theme-btn .ico-sun { display: block; }
:root[data-theme="dark"] .theme-btn .ico-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .ico-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .ico-moon { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; display: grid; place-items: center; min-height: min(calc(100svh - 70px), 940px); padding: 56px 20px 72px; background: var(--hero); border-bottom: 3px solid var(--line); overflow: hidden; isolation: isolate; }
.art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.a-st { stroke: var(--ink); }
.a-fill { fill: var(--ink); }
.a-line { stroke: var(--ink); }
.a-dot { fill: var(--ink); opacity: .26; }
.a-g { transform-box: fill-box; transform-origin: center; animation: pop .9s cubic-bezier(.2, 1.4, .4, 1) both; }
.a1 { animation-delay: .05s; } .a2 { animation-delay: .18s; } .a3 { animation-delay: .3s; } .a4 { animation-delay: .42s; } .a5 { animation-delay: .54s; animation-name: fade; }
@keyframes pop { from { opacity: 0; transform: scale(.55) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.eye circle { transition: transform .12s linear; }

.stk { position: absolute; z-index: 1; display: grid; place-items: center; font: 800 1rem/1 var(--display); color: #000; border: 3px solid #000; box-shadow: 4px 4px 0 #000;
  animation: pop .7s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: .7s; transition: transform .25s ease; }
.stk:hover { transform: rotate(0) scale(1.08) !important; }
.s1 { left: 13%; top: 17%; padding: 10px 16px; background: var(--yellow); border-radius: 10px; transform: rotate(-9deg); }
.s2 { right: 12%; top: 40%; width: 104px; height: 104px; background: #FF3B2F; color: #fff; border-radius: 50%; font-size: 1.2rem; transform: rotate(12deg);
  outline: 3px dashed #000; outline-offset: -12px; }
.s3 { left: 9%; bottom: 20%; width: 88px; height: 88px; border-radius: 50%; background: #2453FF; color: #fff; transform: rotate(-6deg); }
.s4 { right: 21%; top: 12%; padding: 12px 16px; background: #2BD9A0; border-radius: 16px; transform: rotate(7deg); font-size: 1.15rem; }
.s5 { right: 9%; bottom: 18%; width: 84px; height: 84px; background: #FF8AC4; border-radius: 50%; transform: rotate(-10deg); }
.s6 { left: 24%; bottom: 7%; padding: 8px 14px; background: #FFFDF6; border-radius: 999px; transform: rotate(5deg); font-size: .85rem; }
.stk-ico { width: 44px; height: 44px; }

.lens { position: relative; z-index: 2; width: min(690px, 88vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--card); border: 12px solid var(--line);
  box-shadow: inset 0 0 0 10px var(--yellow), inset 0 0 0 14px var(--line), 16px 16px 0 0 var(--line);
  animation: pop .8s cubic-bezier(.2, 1.3, .4, 1) both; }
.lens-in { width: 76%; }
.lens h1 { font-size: clamp(1.9rem, 4.1vw, 3.25rem); font-weight: 800; margin-bottom: .35em; }
.lens-sub { color: var(--muted); font-size: 1.05rem; max-width: 34ch; margin: 0 auto 1.4em; text-wrap: balance; }
.lens-handle { position: absolute; left: 83.5%; top: 83.5%; width: 30%; height: 13%; background: linear-gradient(90deg, var(--line) 0 18%, var(--yellow) 18% 31%, var(--line) 31%);
  border: 4px solid var(--line); border-radius: 12px 999px 999px 12px; transform: rotate(45deg); transform-origin: 0 50%; z-index: -1; box-shadow: 10px 0 0 rgba(0, 0, 0, .0); }
.scan { display: flex; gap: 6px; padding: 6px; background: var(--paper); border: 3px solid var(--line); border-radius: 999px; box-shadow: 6px 6px 0 var(--line); transition: box-shadow .15s; }
.scan:focus-within { box-shadow: 6px 6px 0 var(--blue); }
.scan input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .65em .9em; font: 600 1.15rem/1.2 var(--body); outline: none; }
.scan input::placeholder { color: var(--muted); opacity: .75; }
.scan .btn { box-shadow: none; }
.scan .btn:hover { box-shadow: 3px 3px 0 var(--line); }
.hint { margin: 1em auto 0; font-size: .9rem; color: var(--muted); max-width: 36ch; }
.err { margin: .9em auto 0; max-width: 40ch; padding: 10px 14px; background: var(--card-2); border: 2.5px solid var(--bad); border-radius: 14px; font-weight: 600; }

/* ---------- what we check ---------- */
.what { padding: 96px 0 80px; }
.tiles { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; padding: 22px 20px 24px;
  background: var(--card); border: 3px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-s); transition: transform .18s ease, box-shadow .18s ease; }
.tile:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 8px 8px 0 var(--line); }
.tile-art { position: relative; width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 6px; }
.tile-art::before { content: ""; position: absolute; inset: 0; border: 3px solid var(--line); z-index: 0; }
.tile-sec .tile-art::before { background: var(--yellow); border-radius: 50%; }
.tile-seo .tile-art::before { background: var(--pink); border-radius: 12px; transform: rotate(10deg); }
.tile-vis .tile-art::before { background: var(--sky); clip-path: polygon(50% 0, 100% 100%, 0 100%); border: 0; }
.tile-mob .tile-art::before { background: var(--yellow); border-radius: 50% 50% 0 0; }
.tile-spd .tile-art::before { background: var(--blue); border-radius: 50%; }
.tile-code .tile-art::before { background: var(--mint); border-radius: 0 50% 0 50%; }
.tile-tech .tile-art::before { background: var(--pink); border-radius: 50%; }
.tile-dom .tile-art::before { background: var(--orange); border-radius: 14px; transform: rotate(-8deg); }
.tile-ico { position: relative; z-index: 1; width: 52px; height: 52px; }
.tile-name { font: 800 1.08rem/1.15 var(--display); }
.tile-desc { color: var(--muted); font-size: .95rem; line-height: 1.4; }

/* ---------- how it works ---------- */
.how { padding: 40px 0 96px; }
.panels { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 3px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--line); gap: 3px; }
.panel-comic { position: relative; padding: 30px 28px 32px 28px; background: var(--card); min-height: 250px; }
.pc-1 { background: var(--card); }
.pc-2 { background: var(--paper-2); }
.pc-3 { background: var(--card); }
.pc-num { position: absolute; right: 18px; top: 16px; width: 56px; height: 56px; display: grid; place-items: center; font: 900 1.6rem/1 var(--display); color: #000; background: var(--yellow); border: 3px solid #000;
  clip-path: polygon(50% 0, 61% 30%, 95% 25%, 72% 50%, 95% 76%, 61% 70%, 50% 100%, 39% 70%, 5% 76%, 28% 50%, 5% 25%, 39% 30%); }
.pc-art { display: block; width: 68px; height: 68px; margin-bottom: 18px; }
.pc-ico { width: 68px; height: 68px; }
.panel-comic p { color: var(--muted); margin: 0; }

/* ---------- offers ---------- */
.offers { padding: 90px 0 100px; background: var(--paper-2); border-top: 3px solid var(--line); }
.posters { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 34px; }
.poster { position: relative; overflow: hidden; padding: 34px 32px 34px; border: 3px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; isolation: isolate; }
.poster h3 { font-size: 1.5rem; margin-top: .3em; }
.poster p { max-width: 38ch; }
.poster-note { font-weight: 700; font-size: .92rem; }
.poster .btn { margin-top: auto; }
.poster-price { font: 900 clamp(3.4rem, 7vw, 5.6rem)/0.95 var(--display); letter-spacing: -.03em; }
.poster-diy { background: var(--yellow); color: #000; }
.poster-diy p { color: #1f1f1f; }
.poster-pro { background: var(--blue); color: #fff; }
.poster-pro p { color: #EEF1FF; }
.poster-deco { position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; z-index: -1; border: 3px solid #000; }
.poster-diy .poster-deco { background: radial-gradient(circle, #FF3B2F 0 30%, #000 30% 33%, #2453FF 33% 55%, #000 55% 58%, #FF8AC4 58%); }
.poster-pro .poster-deco { background: radial-gradient(circle, #FFC814 0 28%, #000 28% 31%, #FF3B2F 31% 52%, #000 52% 55%, #2BD9A0 55%); }
.more-t { margin-top: 56px; font-size: 1.3rem; }
.svc { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc-card { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 18px; background: var(--card); border: 3px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-s); transition: transform .15s, box-shadow .15s; }
.svc-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--line); }
.svc-name { font: 800 .98rem/1.2 var(--display); }
.svc-desc { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.svc-card::before { content: ""; width: 26px; height: 26px; border: 3px solid var(--line); margin-bottom: 6px; }
.svc-hosting::before { background: var(--blue); border-radius: 50%; }
.svc-care::before { background: var(--mint); }
.svc-speed::before { background: var(--yellow); clip-path: polygon(50% 0, 100% 100%, 0 100%); border: 0; }
.svc-seo::before { background: var(--pink); border-radius: 50% 50% 0 0; }
.svc-redesign::before { background: var(--orange); border-radius: 6px; transform: rotate(45deg) scale(.85); }

/* ---------- footer ---------- */
.foot { background: #000; color: #FFF6E2; padding: 48px 0 40px; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center; }
.logo-foot .logo-word { color: #FFF6E2; }
.foot-note { margin: 0; color: #C9C2AE; max-width: 50ch; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.foot-links a, .foot-links button { color: #FFF6E2; }
.foot-copy { grid-column: 1 / -1; margin: 0; color: #8E8A7E; font-size: .85rem; }

/* ---------- learn page ---------- */
.learn-hero { position: relative; overflow: hidden; padding: 80px 0 70px; background: var(--hero); border-bottom: 3px solid var(--line); isolation: isolate; }
.learn-hero h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 900; max-width: 14ch; }
.learn-art { position: absolute; right: -40px; top: 10px; width: min(620px, 60vw); z-index: -1; opacity: .95; }
.learn { padding: 70px 0 100px; }
.learn-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.acc { display: grid; gap: 14px; }
.acc-item { background: var(--card); border: 3px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-s); }
.acc-item summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; font: 700 1.02rem/1.3 var(--display); }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: ""; flex: none; margin-left: auto; width: 14px; height: 14px; border-right: 3px solid var(--text); border-bottom: 3px solid var(--text); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.acc-item[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.acc-item p { margin: 0; padding: 0 20px 20px 72px; color: var(--muted); }
.acc-ico { flex: none; width: 40px; height: 40px; }
.acc-q { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--yellow); color: #000; border: 3px solid #000; border-radius: 50%; font: 900 1.1rem/1 var(--display); }
.learn-cta { margin-top: 34px; display: flex; align-items: center; gap: 18px; padding: 24px; border: 3px solid var(--line); border-radius: 22px; background: var(--pink); box-shadow: var(--shadow); }
.learn-cta-ico { width: 64px; height: 64px; }

/* ---------- lab (scan overlay) ---------- */
dialog { color: var(--text); }
.lab { width: min(980px, 94vw); max-width: none; padding: 0; border: 4px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: 14px 14px 0 var(--line); }
.lab::backdrop { background: rgba(10, 14, 40, .55); backdrop-filter: none; }
.lab-in { display: grid; grid-template-columns: 1fr 1.05fr; min-height: 470px; }
.lab-stage { position: relative; overflow: hidden; background: var(--hero); border-right: 4px solid var(--line);
  background-image: radial-gradient(circle, rgba(0, 0, 0, .16) 1.6px, transparent 2px); background-size: 14px 14px; }
.lab-page { position: absolute; inset: 44px 40px; background: var(--card); border: 3px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 12px; padding: 14px; box-shadow: var(--shadow-s); }
.lab-page i { display: block; background: var(--grid); border-radius: 6px; }
.lab-page .lp-bar { height: 14px; background: var(--line); opacity: .85; }
.lab-page .lp-hero { height: 90px; background: var(--sky); border: 2px solid var(--line); }
.lab-page .lp-row { height: 12px; }
.lab-page .lp-row.s { width: 60%; }
.lab-page .lp-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: none; height: 70px; }
.lab-page .lp-cols b { display: block; border: 2px solid var(--line); border-radius: 8px; background: var(--pink); }
.lab-page .lp-cols b:nth-child(2) { background: var(--yellow); }
.lab-page .lp-cols b:nth-child(3) { background: var(--mint); }
.lab-lens { position: absolute; left: 30%; top: 30%; width: 120px; height: 120px; animation: roam 5.2s ease-in-out infinite; filter: drop-shadow(5px 5px 0 rgba(0, 0, 0, .9)); }
.lab-lens-ico { width: 100%; height: 100%; }
.lab-scanline { position: absolute; left: 40px; right: 40px; height: 4px; top: 44px; background: var(--red-soft); box-shadow: 0 0 0 2px #000; animation: sweep 2.4s linear infinite; }
@keyframes roam { 0% { transform: translate(-60px, -40px) rotate(-8deg); } 25% { transform: translate(90px, -20px) rotate(10deg); } 50% { transform: translate(70px, 120px) rotate(-4deg); } 75% { transform: translate(-80px, 90px) rotate(8deg); } 100% { transform: translate(-60px, -40px) rotate(-8deg); } }
@keyframes sweep { from { top: 50px; } to { top: calc(100% - 50px); } }
.lab-side { padding: 34px 34px 28px; display: flex; flex-direction: column; }
.lab-title { font-size: 1.45rem; word-break: break-word; }
.lab-bubble { position: relative; padding: 12px 16px; background: var(--yellow); color: #000; border: 3px solid var(--line); border-radius: 18px 18px 18px 4px; font-weight: 700; min-height: 2.9em; }
.lab-steps { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 7px; }
.lab-steps li { display: flex; align-items: center; gap: 10px; font-size: .96rem; color: var(--muted); }
.lab-steps li::before { content: ""; flex: none; width: 20px; height: 20px; border: 2.5px solid var(--muted); border-radius: 50%; opacity: .6; }
.lab-steps li.on { color: var(--text); font-weight: 700; }
.lab-steps li.on::before { border-color: var(--blue); border-right-color: transparent; opacity: 1; animation: spin .8s linear infinite; }
.lab-steps li.ok { color: var(--text); }
.lab-steps li.ok::before { border: 0; opacity: 1; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; box-shadow: 0 0 0 1.5px #000; }
@keyframes spin { to { transform: rotate(360deg); } }
.lab-bar { height: 14px; border: 3px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); margin-bottom: 18px; }
.lab-bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(-45deg, var(--red-soft) 0 10px, var(--yellow) 10px 20px); transition: width .4s ease; }
.lab-cancel { align-self: flex-start; margin-top: auto; }

/* ---------- modal ---------- */
.modal { width: min(640px, 94vw); max-width: none; max-height: 90vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.modal::backdrop { background: rgba(10, 14, 40, .55); }
.modal-card { position: relative; max-height: 90vh; overflow: auto; background: var(--card); border: 4px solid var(--line); border-radius: 26px; box-shadow: 12px 12px 0 var(--line); padding: 34px 32px 30px; }
.modal-x { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 2.5px solid var(--line); border-radius: 50%; background: var(--yellow); color: #000; }
.modal-x svg { width: 18px; height: 18px; }
.modal h2 { font-size: 1.6rem; padding-right: 44px; }
.m-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.m-head svg { width: 64px; height: 64px; flex: none; }
.m-head h2 { margin: 0; }
.m-why { padding: 16px 18px; background: var(--paper-2); border: 2.5px solid var(--line); border-radius: 16px; }
.m-why strong { display: block; font-family: var(--display); margin-bottom: 4px; }
.m-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.m-text p { white-space: pre-line; }

/* form */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 2.5px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 1rem; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
.field .f-err { color: var(--bad); font-weight: 700; font-size: .88rem; }
.field.bad input, .field.bad select { border-color: var(--bad); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ok-box { text-align: center; padding: 10px 0; }
.ok-box svg { width: 84px; height: 84px; margin: 0 auto 10px; }
.ok-id { display: inline-block; padding: 6px 14px; background: var(--yellow); color: #000; border: 2.5px solid #000; border-radius: 10px; font: 800 1.1rem/1.2 var(--display); }

/* ---------- report ---------- */
.report { padding: 56px 0 90px; background: var(--paper); border-bottom: 3px solid var(--line); }
.rep { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; display: grid; gap: 30px; }
.pnl { position: relative; background: var(--card); border: 3px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 28px; min-width: 0; }
.pnl > h2, .pnl-h { font-size: 1.4rem; font-weight: 800; margin-bottom: .8em; }
.pnl-h { display: flex; align-items: center; gap: 12px; }
.pnl-h svg { width: 40px; height: 40px; flex: none; }
.row2 { display: grid; grid-template-columns: 5fr 7fr; gap: 30px; align-items: start; }
.row2.even { grid-template-columns: 1fr 1fr; }
.note { color: var(--muted); font-size: .9rem; margin: 12px 0 0; }
.banner { padding: 14px 18px; border: 3px solid var(--line); border-radius: 16px; background: var(--card-2); font-weight: 600; display: flex; gap: 12px; align-items: center; }
.banner svg { width: 24px; height: 24px; flex: none; }

/* score */
.p-score { display: grid; justify-items: center; text-align: center; background: var(--card); overflow: hidden; }
.p-score::before { content: ""; position: absolute; left: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--line); z-index: 0; }
.p-score::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 150px; height: 150px; background: var(--pink); border: 3px solid var(--line); transform: rotate(18deg); z-index: 0; }
.p-score > * { position: relative; z-index: 1; }
.target { width: min(320px, 100%); height: auto; overflow: visible; }
.target .t-num { font: 900 76px/1 var(--display); fill: var(--text); }
.target .t-lab { font: 700 15px/1 var(--body); fill: var(--muted); }
.grade { position: absolute; right: 6%; top: 18px; width: 92px; height: 92px; display: grid; place-items: center; font: 900 2.6rem/1 var(--display); color: #000; border: 3px solid #000; transform: rotate(10deg);
  clip-path: polygon(50% 0, 62% 26%, 92% 18%, 78% 46%, 100% 64%, 70% 70%, 66% 100%, 46% 80%, 20% 96%, 22% 66%, 0 52%, 26% 40%, 14% 12%, 40% 22%); }
.grade.g-A, .grade.g-B { background: var(--mint); }
.grade.g-C { background: var(--yellow); }
.grade.g-D, .grade.g-F { background: #FF5A4E; }
.power { font: 800 1.35rem/1.2 var(--display); margin: 14px 0 6px; max-width: 22ch; }
.verdict { color: var(--muted); margin: 0 0 16px; max-width: 34ch; }
.sev-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border: 2.5px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 700; font-size: .88rem; }
.chip svg { width: 18px; height: 18px; flex: none; }
.chip b { font-family: var(--display); }

/* site card */
.p-site { display: grid; gap: 18px; }
.mock { position: relative; padding-right: 15%; padding-bottom: 6%; }
.browser { border: 3px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card-2); box-shadow: var(--shadow-s); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--paper-2); border-bottom: 3px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--line); }
.browser-bar i:nth-child(1) { background: #FF5A4E; } .browser-bar i:nth-child(2) { background: #FFC814; } .browser-bar i:nth-child(3) { background: #2BD9A0; }
.addr { flex: 1; margin-left: 8px; padding: 3px 12px; border: 2px solid var(--line); border-radius: 999px; background: var(--card); font-size: .8rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; gap: 6px; align-items: center; }
.addr svg { width: 12px; height: 12px; flex: none; }
.shot { position: relative; aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; padding: 18px; text-align: center; font: 700 1rem/1.3 var(--display);
  background-image: radial-gradient(circle, var(--grid) 1.6px, transparent 2px); background-size: 14px 14px; }
.shot-ph img { width: 48px; height: 48px; object-fit: contain; }
.phone { position: absolute; right: 0; bottom: 0; width: 25%; min-width: 96px; aspect-ratio: 9 / 18.5; border: 4px solid var(--line); border-radius: 22px; background: #000; padding: 7px 5px; box-shadow: var(--shadow-s); }
.phone .shot { aspect-ratio: auto; height: 100%; border-radius: 14px; }
.site-h { display: flex; align-items: center; gap: 12px; }
.site-h img { width: 32px; height: 32px; border-radius: 6px; flex: none; }
.site-h h2 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.7rem); word-break: break-word; }
.facts-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fact { display: inline-flex; flex-direction: column; padding: 8px 12px; border: 2.5px solid var(--line); border-radius: 12px; background: var(--card-2); min-width: 0; }
.fact small { color: var(--muted); font-size: .74rem; font-weight: 600; }
.fact b { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* diagnosis bubble */
.p-diag { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; background: var(--yellow); color: #000; }
.p-diag .kando { width: 120px; height: 120px; }
.p-diag h2 { color: #000; }
.p-diag ol { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: d; display: grid; gap: 10px; }
.p-diag li { counter-increment: d; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 12px 14px; background: #FFFDF6; border: 2.5px solid #000; border-radius: 14px; }
.p-diag li::before { content: counter(d); display: grid; place-items: center; width: 34px; height: 34px; background: #000; color: #FFC814; border-radius: 50%; font: 900 1rem/1 var(--display); }
.p-diag li b { display: block; font-family: var(--display); font-size: .98rem; line-height: 1.25; }
.p-diag li span { color: #2a2a2a; font-size: .93rem; }
.p-diag .btn-line { --fg: #000; border-color: #000; }
.p-diag .actions .btn { border-color: #000; }

/* radar & categories */
.radar { width: 100%; max-width: 520px; margin: auto; overflow: visible; }
.radar .r-grid { fill: none; stroke: var(--grid); stroke-width: 1.5; }
.radar .r-axis { stroke: var(--grid); stroke-width: 1.5; }
.radar .r-area { fill: var(--blue); fill-opacity: .2; stroke: var(--blue); stroke-width: 3; stroke-linejoin: round; }
.radar .r-dots { fill: url(#rdots); }
.radar .r-pt { stroke: var(--card); stroke-width: 3; cursor: pointer; }
.radar .r-lab { font: 700 17px/1 var(--body); fill: var(--text); }
.radar .r-val { font: 800 12px/1 var(--display); fill: var(--muted); }
.cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cat-row { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1.1fr) minmax(0, 1.4fr) 48px; gap: 14px; align-items: center; padding: 10px 12px; background: none; border: 2.5px solid transparent; border-radius: 14px; text-align: left; }
.cat-row:hover, .cat-row[aria-pressed="true"] { border-color: var(--line); background: var(--card-2); }
.cat-row svg { width: 38px; height: 38px; }
.cat-name { font: 700 .98rem/1.2 var(--display); }
.cat-cnt { display: flex; gap: 10px; font-size: .8rem; color: var(--muted); margin-top: 3px; }
.cat-cnt span { display: inline-flex; align-items: center; gap: 3px; }
.cat-cnt svg { width: 13px; height: 13px; }
.bar { height: 16px; border: 2.5px solid var(--line); border-radius: 999px; background: var(--card-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 0 999px 999px 0; transition: width 1s cubic-bezier(.2, .9, .3, 1); }
.lvl-ok { background: var(--ok); } .lvl-warn { background: var(--warn); } .lvl-bad { background: var(--bad); } .lvl-na { background: var(--info); }
.cat-score { font: 900 1.15rem/1 var(--display); text-align: right; }

/* issues */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 2.5px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 700; font-size: .9rem; }
.tab svg { width: 16px; height: 16px; }
.tab[aria-pressed="true"] { background: var(--text); color: var(--paper); }
.tab .n { font-family: var(--display); font-size: .8rem; opacity: .8; }
.iss-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.iss { display: grid; grid-template-columns: 30px 1fr auto; gap: 14px; align-items: start; padding: 16px 18px; border: 2.5px solid var(--line); border-radius: 16px; background: var(--card); }
.iss.sev-crit { background: color-mix(in srgb, var(--bad) 9%, var(--card)); }
.iss.sev-major { background: color-mix(in srgb, var(--warn) 10%, var(--card)); }
.iss > svg { width: 28px; height: 28px; }
.iss h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.iss p { margin: 0; color: var(--muted); font-size: .96rem; overflow-wrap: anywhere; }
.iss-cat { width: 34px; height: 34px; opacity: .95; }
.iss-tools { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; align-items: center; }
.why-btn { padding: 0; border: 0; background: none; font-weight: 700; font-size: .88rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.why-txt { margin-top: 10px !important; padding: 12px 14px; background: var(--paper-2); border-left: 5px solid var(--blue); border-radius: 0 12px 12px 0; color: var(--text) !important; }
.lock { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 2px dashed var(--line); border-radius: 10px; font-size: .84rem; font-weight: 700; color: var(--text);
  background: repeating-linear-gradient(-45deg, var(--card-2) 0 8px, var(--paper-2) 8px 16px); }
.lock svg { width: 14px; height: 14px; }
.lock em { font-style: normal; font-weight: 600; color: var(--muted); }
.empty { padding: 26px; text-align: center; color: var(--muted); border: 2.5px dashed var(--line); border-radius: 16px; }
.donut { width: 190px; height: 190px; margin: 0 auto; }
.donut .d-num { font: 900 38px/1 var(--display); fill: var(--text); }
.donut .d-lab { font: 600 12px/1 var(--body); fill: var(--muted); }
.legend { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.legend li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.legend svg { width: 20px; height: 20px; flex: none; }
.legend b { margin-left: auto; font-family: var(--display); }
.iss-wrap { display: grid; grid-template-columns: 1fr 260px; gap: 28px; align-items: start; }
.iss-side { position: sticky; top: 100px; padding: 18px; border: 2.5px solid var(--line); border-radius: 18px; background: var(--card-2); }

/* speed */
.wf { display: flex; height: 46px; border: 3px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card-2); gap: 2px; }
.wf span { min-width: 4px; height: 100%; }
.wf-legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; }
.wf-legend li { display: inline-flex; align-items: center; gap: 7px; }
.wf-legend i { width: 14px; height: 14px; border: 2px solid var(--line); border-radius: 4px; }
.wf-legend b { font-family: var(--display); font-size: .82rem; }
.tiles4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.stat { padding: 14px; border: 2.5px solid var(--line); border-radius: 14px; background: var(--card-2); display: grid; gap: 2px; }
.stat b { font: 900 1.6rem/1.05 var(--display); }
.stat b small { font-size: .55em; font-weight: 700; margin-left: 2px; }
.stat span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.stat .st-line { display: flex; align-items: center; gap: 6px; }
.stat .st-line svg { width: 16px; height: 16px; }
.hbars { display: grid; gap: 10px; margin-top: 8px; }
.hbar { display: grid; grid-template-columns: 140px 1fr 44px; gap: 12px; align-items: center; font-size: .9rem; font-weight: 600; }
.hbar .track { height: 14px; }
.hbar .track i { display: block; height: 100%; background: var(--blue); border-radius: 0 4px 4px 0; border: 2px solid var(--line); border-left: 0; min-width: 3px; transition: width .9s ease; }
.hbar b { font-family: var(--display); text-align: right; }
.sub-h { font: 800 1.02rem/1.2 var(--display); margin: 26px 0 12px; }

/* psi */
.rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ring { text-align: center; font-weight: 700; font-size: .84rem; }
.ring svg { width: 100%; max-width: 96px; margin: 0 auto 6px; }
.ring .rn { font: 900 26px/1 var(--display); fill: var(--text); }
.metrics { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; }
.metrics li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 2px dashed var(--grid); }
.metrics svg { width: 18px; height: 18px; flex: none; }
.metrics b { margin-left: auto; font-family: var(--display); font-size: .95rem; }
.psi-load { display: grid; place-items: center; gap: 16px; text-align: center; padding: 26px 10px; color: var(--muted); }
.psi-load .spin { width: 64px; height: 64px; border-radius: 50%; border: 8px solid var(--yellow); border-top-color: var(--red-soft); border-right-color: var(--blue); animation: spin 1s linear infinite; box-shadow: 0 0 0 3px var(--line), inset 0 0 0 3px var(--line); }

/* look: serp, social, assistants */
.look { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; }
.look h3 { font-size: .98rem; margin-bottom: 10px; }
.serp { padding: 16px 18px; border: 2.5px solid var(--line); border-radius: 14px; background: var(--card-2); font-family: Arial, var(--body); }
.serp-site { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: .82rem; }
.serp-site img, .serp-site .fav { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--grid); background: var(--card); padding: 3px; object-fit: contain; }
.serp-site b { display: block; font-size: .86rem; color: var(--text); }
.serp-site span { color: var(--muted); word-break: break-all; }
.serp-t { display: block; font-size: 1.15rem; line-height: 1.3; color: #1A0DAB; margin-bottom: 4px; overflow-wrap: anywhere; }
:root[data-theme="dark"] .serp-t { color: #8AB4F8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .serp-t { color: #8AB4F8; } }
.serp-d { font-size: .9rem; color: var(--muted); line-height: 1.45; margin: 0; overflow-wrap: anywhere; }
.serp .missing { color: var(--bad); font-style: italic; }
.social { border: 2.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card-2); }
.social-img { aspect-ratio: 1.91 / 1; background: var(--paper-2); display: grid; place-items: center; color: var(--muted); font-weight: 700; font-size: .9rem; overflow: hidden;
  background-image: repeating-linear-gradient(45deg, var(--grid) 0 2px, transparent 2px 12px); }
.social-img img { width: 100%; height: 100%; object-fit: cover; }
.social-b { padding: 12px 14px; border-top: 2.5px solid var(--line); }
.social-b small { color: var(--muted); text-transform: lowercase; font-size: .78rem; }
.social-b b { display: block; line-height: 1.3; margin: 2px 0; overflow-wrap: anywhere; }
.social-b p { margin: 0; font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.alist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.alist li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 2.5px solid var(--line); border-radius: 12px; background: var(--card-2); font-weight: 600; font-size: .92rem; }
.alist svg { width: 22px; height: 22px; flex: none; }

/* security */
.cert { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; }
.gauge { width: 100%; }
.gauge .g-num { font: 900 34px/1 var(--display); fill: var(--text); }
.gauge .g-lab { font: 700 12px/1 var(--body); fill: var(--muted); }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .92rem; }
.dl dt { color: var(--muted); font-weight: 600; }
.dl dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.hgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 22px; border: 3px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); gap: 3px; }
.hcell { display: grid; gap: 6px; padding: 12px; background: var(--card-2); font-size: .82rem; font-weight: 700; min-height: 84px; align-content: start; }
.hcell svg { width: 22px; height: 22px; }
.hcell.st-pass { background: color-mix(in srgb, var(--ok) 16%, var(--card)); }
.hcell.st-fail { background: color-mix(in srgb, var(--bad) 14%, var(--card)); }
.hcell.st-warn { background: color-mix(in srgb, var(--warn) 18%, var(--card)); }

/* tech */
.tgroups { display: grid; gap: 14px; }
.tgroup h3 { font-size: .85rem; color: var(--muted); margin: 0 0 6px; font-family: var(--body); font-weight: 700; }
.tchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 2.5px solid var(--line); border-radius: 10px; background: var(--card-2); font-weight: 700; font-size: .9rem; }
.tchip small { font-family: var(--display); font-size: .74rem; padding: 2px 6px; border-radius: 6px; background: var(--paper-2); border: 1.5px solid var(--line); }
.tchip.old { background: color-mix(in srgb, var(--bad) 14%, var(--card)); }
.tchip.old small { background: var(--bad); color: #fff; }
.tchip svg { width: 16px; height: 16px; }

/* domain */
.timeline { width: 100%; height: auto; overflow: visible; margin: 6px 0 10px; }
.timeline .tl-line { stroke: var(--line); stroke-width: 6; stroke-linecap: round; }
.timeline .tl-done { stroke: var(--blue); stroke-width: 6; stroke-linecap: round; }
.timeline .tl-lab { font: 700 13px/1 var(--body); fill: var(--text); }
.timeline .tl-sub { font: 600 12px/1 var(--body); fill: var(--muted); }
.mail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }

/* passport */
.passport summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; font: 800 1.3rem/1.2 var(--display); }
.passport summary::-webkit-details-marker { display: none; }
.passport summary::after { content: "+"; margin-left: auto; width: 40px; height: 40px; display: grid; place-items: center; border: 2.5px solid var(--line); border-radius: 50%; font-size: 1.4rem; background: var(--yellow); color: #000; }
.passport[open] summary::after { content: "−"; }
.ptable { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .93rem; }
.ptable th, .ptable td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 2px dashed var(--grid); }
.ptable th { width: 30%; color: var(--muted); font-weight: 600; }
.ptable td { font-weight: 600; overflow-wrap: anywhere; }

/* cta */
.cta-band { display: grid; gap: 22px; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin: 0; }
.cta-band .posters { margin-top: 0; }

/* tooltip, toast */
.tip { position: fixed; z-index: 200; pointer-events: none; max-width: 260px; padding: 8px 12px; background: #000; color: #FFF6E2; border-radius: 10px; font-size: .85rem; font-weight: 600; box-shadow: 4px 4px 0 var(--yellow); }
.toast { position: fixed; z-index: 210; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 12px 20px; background: var(--yellow); color: #000; border: 3px solid #000; border-radius: 999px; font-weight: 800; box-shadow: 4px 4px 0 #000; }

/* ---------- chat ---------- */
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 60; }
.chat-launch { position: relative; display: flex; align-items: center; gap: 0; padding: 0; border: 0; background: none; }
.chat-face { width: 76px; height: 76px; border-radius: 50%; background: var(--card); border: 3px solid var(--line); box-shadow: var(--shadow-s); padding: 2px; transition: transform .2s; }
.chat-launch:hover .chat-face { transform: rotate(-10deg) scale(1.06); }
.chat-label { order: -1; margin-right: 10px; padding: 9px 14px; background: var(--card); border: 3px solid var(--line); border-radius: 16px 16px 4px 16px; font: 700 .88rem/1 var(--display); box-shadow: var(--shadow-s); white-space: nowrap; }
.chat-dot { position: absolute; right: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--red-soft); border: 3px solid var(--line); }
.chat.open .chat-launch { display: none; }
.chat-panel { width: min(390px, calc(100vw - 28px)); height: min(600px, calc(100svh - 110px)); display: flex; flex-direction: column; background: var(--card); border: 3px solid var(--line); border-radius: 24px; box-shadow: 10px 10px 0 var(--line); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--yellow); color: #000; border-bottom: 3px solid var(--line); }
.chat-ava { width: 52px; height: 52px; flex: none; }
.chat-head h2 { font-size: 1.15rem; margin: 0; color: #000; }
.chat-head p { margin: 0; font-size: .84rem; }
.chat-x { margin-left: auto; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 2.5px solid #000; border-radius: 50%; background: #FFFDF6; color: #000; }
.chat-x svg { width: 16px; height: 16px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background-image: radial-gradient(circle, var(--grid) 1px, transparent 1.4px); background-size: 16px 16px; }
.msg { max-width: 88%; padding: 10px 14px; border: 2.5px solid var(--line); font-size: .94rem; line-height: 1.45; overflow-wrap: anywhere; }
.msg p { margin: 0; }
.msg p + p, .msg ol { margin-top: 6px; }
.msg ol { padding-left: 20px; margin-bottom: 0; }
.msg.bot { align-self: flex-start; background: var(--card); border-radius: 18px 18px 18px 4px; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-radius: 18px 18px 4px 18px; }
.msg-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg-acts .btn { padding: .55em .9em; font-size: .78rem; box-shadow: 2px 2px 0 var(--line); }
.typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--text); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.chat-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 12px; border-top: 2px dashed var(--grid); }
.chat-chips button { padding: 6px 11px; border: 2px solid var(--line); border-radius: 999px; background: var(--paper-2); font-size: .82rem; font-weight: 700; }
.chat-chips button:hover { background: var(--yellow); color: #000; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 3px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; padding: 10px 14px; border: 2.5px solid var(--line); border-radius: 999px; background: var(--paper); }
.chat-form input:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
.chat-form button { width: 46px; height: 46px; flex: none; display: grid; place-items: center; padding: 0; border: 2.5px solid var(--line); border-radius: 50%; background: var(--red); color: #fff; }
.chat-form button svg { width: 20px; height: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: repeat(3, 1fr); }
  .look { grid-template-columns: 1fr 1fr; }
  .look > :last-child { grid-column: 1 / -1; }
  .iss-wrap { grid-template-columns: 1fr; }
  .iss-side { position: static; display: grid; grid-template-columns: 190px 1fr; gap: 20px; align-items: center; }
  .iss-side .legend { margin: 0; }
  .s4, .s6 { display: none; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .tools { margin-left: auto; }
  .row2, .row2.even, .learn-grid, .posters { grid-template-columns: 1fr; }
  .panels { grid-template-columns: 1fr; }
  .lab-in { grid-template-columns: 1fr; }
  .lab-stage { min-height: 200px; border-right: 0; border-bottom: 4px solid var(--line); }
  .lab-page { inset: 22px 30px; }
  .lab-lens { width: 84px; height: 84px; }
  .tiles4 { grid-template-columns: repeat(2, 1fr); }
  .rings { grid-template-columns: repeat(4, 1fr); }
  .cert { grid-template-columns: 160px 1fr; }
  .hgrid { grid-template-columns: repeat(2, 1fr); }
  .s1 { left: 4%; top: 6%; } .s2 { right: 3%; top: auto; bottom: 4%; width: 80px; height: 80px; font-size: 1rem; } .s3 { display: none; } .s5 { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .rep { padding: 0 16px; }
  .top { padding: 10px 14px; gap: 10px; }
  .logo-word { font-size: 1.25rem; }
  .logo-ico { width: 34px; height: 34px; }
  .lang-btn { padding: 7px 8px; }
  .theme-btn { width: 40px; height: 40px; }
  .hero { padding: 64px 12px 70px; min-height: auto; }
  .lens { width: 100%; aspect-ratio: auto; border-radius: 34px; padding: 40px 18px 34px; border-width: 8px; box-shadow: inset 0 0 0 7px var(--yellow), inset 0 0 0 10px var(--line), 10px 10px 0 0 var(--line); }
  .lens-in { width: 100%; }
  .lens-handle { display: none; }
  .scan { flex-direction: column; border-radius: 22px; }
  .scan .btn { width: 100%; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { padding: 16px 14px; }
  .tile-desc { display: none; }
  .tile-art { width: 60px; height: 60px; }
  .tile-ico { width: 40px; height: 40px; }
  .svc { grid-template-columns: 1fr 1fr; }
  .pnl { padding: 20px 16px; border-radius: 18px; box-shadow: 5px 5px 0 var(--line); }
  .p-diag { grid-template-columns: 1fr; }
  .p-diag .kando { width: 80px; height: 80px; }
  .cat-row { grid-template-columns: 34px 1fr 44px; }
  .cat-row .bar { grid-column: 2 / 4; grid-row: 2; }
  .iss { grid-template-columns: 26px 1fr; padding: 14px; }
  .iss-cat { display: none; }
  .iss-side { grid-template-columns: 1fr; }
  .tiles4 { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 1.3rem; }
  .look { grid-template-columns: 1fr; }
  .rings { grid-template-columns: repeat(2, 1fr); }
  .cert { grid-template-columns: 1fr; }
  .cert .gauge { max-width: 220px; margin: 0 auto; }
  .mail { grid-template-columns: 1fr; }
  .hbar { grid-template-columns: 100px 1fr 36px; }
  .two { grid-template-columns: 1fr; }
  .modal-card { padding: 26px 18px 22px; border-radius: 20px; }
  .foot-in { grid-template-columns: 1fr; }
  .chat { right: 12px; bottom: 12px; }
  .chat-label { display: none; }
  .chat-face { width: 64px; height: 64px; }
  .chat-panel { height: min(560px, calc(100svh - 24px)); }
  .grade { width: 74px; height: 74px; font-size: 2rem; right: 2%; }
  .acc-item p { padding: 0 16px 18px; }
  .learn-art { opacity: .35; }
  .poster { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .lab-lens, .lab-scanline { animation: none !important; }
}
@media (forced-colors: active) {
  .btn, .pnl, .tile, .chip, .tab { border: 2px solid CanvasText; }
}

/* ---------- print ---------- */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .top, .hero, .what, .how, .offers, .foot, .chat, .tip, .toast, .actions, .tabs, .lock, .why-btn, .cta-band, .p-diag .actions, .skip { display: none !important; }
  .report { padding: 0; border: 0; background: #fff; }
  .rep { gap: 14px; padding: 0; }
  .pnl { box-shadow: none; border: 2px solid #000; break-inside: avoid; padding: 14px; }
  .iss { break-inside: avoid; }
  .why-txt { display: block !important; }
  .passport > *:not(summary) { display: block !important; }
  .row2, .iss-wrap { grid-template-columns: 1fr 1fr; }
  .iss-side { position: static; }
}

/* ---------- chart color classes (follow the theme automatically) ---------- */
.f-sec { fill: var(--c-sec); } .f-seo { fill: var(--c-seo); } .f-vis { fill: var(--c-vis); } .f-mob { fill: var(--c-mob); }
.f-spd { fill: var(--c-spd); } .f-code { fill: var(--c-code); } .f-tech { fill: var(--c-tech); } .f-dom { fill: var(--c-dom); }
.b-sec { background: var(--c-sec); } .b-seo { background: var(--c-seo); } .b-vis { background: var(--c-vis); } .b-mob { background: var(--c-mob); } .b-spd { background: var(--c-spd); }
.f-ok { fill: var(--ok); } .f-warn { fill: var(--warn); } .f-bad { fill: var(--bad); } .f-na, .f-minor { fill: var(--info); }
.s-ok { stroke: var(--ok); } .s-warn { stroke: var(--warn); } .s-bad { stroke: var(--bad); } .s-na { stroke: var(--info); }
.t-bg { fill: var(--card); stroke: var(--line); stroke-width: 4; }
.t-track { stroke: var(--grid); }
.t-arc { transition: stroke-dashoffset 1.5s cubic-bezier(.2, .9, .3, 1); }
.t-rim { fill: none; stroke: var(--line); stroke-width: 3; }
.t-core { fill: var(--paper-2); stroke: var(--line); stroke-width: 3; }
.t-dot { stroke: var(--card); stroke-width: 3; cursor: pointer; }
.d-seg { stroke: var(--card); stroke-width: 3; }
.g-track { stroke: var(--grid); }
.g-rim { fill: none; stroke: var(--line); stroke-width: 2.5; }
.tl-dot { fill: var(--card); stroke: var(--line); stroke-width: 3; }
.tl-now { fill: var(--yellow); stroke: var(--line); stroke-width: 3; }
.note svg, .p-psi .note svg { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; }
.gauge-w { text-align: center; }
.g-cap { margin: 4px 0 0; font-weight: 700; font-size: .9rem; color: var(--muted); }

.row2:has(.p-radar) { align-items: stretch; }
.p-radar { display: flex; flex-direction: column; }
.more-li { display: flex; justify-content: center; padding-top: 6px; }
body.has-report .offers .posters, body.has-report #offer-title { display: none; }
body.has-report .offers .more-t { margin-top: 0; }
.check { flex-wrap: wrap; }
.check .f-err { flex-basis: 100%; padding-left: 32px; }

/* SPYDER additions keep the original poster / geometric visual language. */
.eyebrow { font-size: .79rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.trust-section { padding-top: 76px; padding-bottom: 12px; }
.trust-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 32px; }
.trust-grid article { position: relative; border: 3px solid var(--line); border-radius: 20px; background: var(--card); padding: 28px 24px; box-shadow: var(--shadow-s); }
.trust-grid article:nth-child(2) { background: var(--paper-2); }
.trust-grid h3 { font-size: 1.05rem; margin-top: 22px; }
.trust-grid p { color: var(--muted); margin: 0; }
.trust-number { display: inline-flex; background: var(--yellow); color: #000; border: 2px solid #000; padding: 6px 12px; border-radius: 50%; font: 800 1rem var(--display); }
.audit-limits { margin: 28px 0 0; padding: 18px 22px; border: 2px dashed var(--muted); border-radius: 14px; }
.audit-limits summary { cursor: pointer; font-weight: 700; }
.audit-limits p { max-width: 90ch; color: var(--muted); margin: 14px 0 0; }
.audit-caption { color: var(--muted); max-width: 85ch; }
.audit-columns { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 28px; margin-top: 24px; }
.audit-columns > * { min-width: 0; }
.audit-links { list-style: none; padding: 0; margin: 0; }
.audit-links li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--grid); }
.audit-badge { flex: none; min-width: 48px; border: 2px solid currentColor; border-radius: 8px; padding: 3px 6px; font-size: .85rem; font-weight: 800; text-align: center; }
.audit-ok { color: var(--text); background: var(--paper-2); }
.audit-broken { color: var(--bad); }
.audit-uncertain { color: var(--muted); }
.audit-link-text { flex: 1; min-width: 0; }
.audit-link-text a, .audit-link-text small { display: block; overflow-wrap: anywhere; }
.audit-link-text small { color: var(--muted); font-size: .75rem; margin-top: 3px; }
.audit-state { font-size: .75rem; color: var(--muted); max-width: 92px; }
.audit-form { background: var(--paper-2); border: 2px solid var(--line); padding: 16px; border-radius: 12px; margin: 16px 0; overflow-wrap: anywhere; }
.audit-form ul { padding-left: 20px; margin-bottom: 0; }
.audit-form p { margin: 10px 0 0; }
.legal-hero { padding: 72px 0 56px; background: var(--hero); border-bottom: 3px solid var(--line); }
.legal-hero h1 { font-size: clamp(1.7rem,4vw,3rem); max-width: 26ch; overflow-wrap: anywhere; }
.legal-wrap { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 52px; padding-top: 48px; padding-bottom: 80px; }
.legal-nav { display: flex; flex-direction: column; gap: 14px; align-self: start; position: sticky; top: 100px; }
.legal-nav a { font-weight: 650; text-decoration-color: var(--blue); }
.legal-prose { max-width: 76ch; }
.legal-prose h2 { font-size: 1.2rem; margin-top: 30px; line-height: 1.35; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { line-height: 1.8; }
.operator-card { padding: 26px; border: 3px solid var(--line); border-radius: 18px; background: var(--paper-2); margin-top: 36px; overflow-wrap: anywhere; }
.operator-card p { margin: 15px 0 0; }
.foot-operator { display: flex; flex-direction: column; gap: 8px; grid-column: 1 / -1; color: #D8D1BF; font-size: .83rem; max-width: 80ch; }
.cookie-notice { position: fixed; z-index: 25; left: 18px; bottom: 18px; width: min(460px,calc(100% - 112px)); padding: 18px 20px; background: var(--card); color: var(--text); border: 3px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-s); font-size: .86rem; }
.cookie-notice p { margin-bottom: 12px; }
.cookie-notice > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-notice .btn { font-size: .78rem; min-height: 40px; }
.order-intro { color: var(--muted); padding-right: 20px; }
.order-summary { padding: 16px 20px; border: 2px solid var(--line); border-radius: 12px; background: var(--yellow); color: #000; font: 750 .96rem/1.5 var(--display); }
.order-terms { font-size: .82rem; color: var(--muted); margin: 0; }
.field input, .field textarea, .field select { border-color: var(--muted); }
.check a { display: inline; }
.btn-go, .chat-form button { background: #C42D21; color: #fff; }
.logo-word { white-space: nowrap; }
.lens-sub { max-width: 38ch; }
.lens, .lens-in { min-width: 0; }
.btn { white-space: normal; }
.svc { grid-template-columns: repeat(5,minmax(0,1fr)); }
.svc-card { min-width: 0; overflow-wrap: anywhere; }
.poster-deco { opacity: .2; }
.poster-pro { background: #2453FF; }
.poster-pro p { color: #FFFFFF; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-delay: 0ms !important; transition-delay: 0ms !important; } }
.tiles { grid-template-columns: repeat(4,minmax(0,1fr)); }
.tile { min-width: 0; }
.row2:has(> :only-child) { grid-template-columns: minmax(0,1fr); }
.iss-wrap > *, .iss > div { min-width: 0; }
.iss h3 { overflow-wrap: anywhere; }
.lock { flex-wrap: wrap; max-width: 100%; }
.m-head h2 { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2,minmax(0,1fr)); } .svc { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article { padding: 24px; }
  .trust-grid h3 { margin-top: 12px; }
  .trust-section { padding-top: 48px; }
  .audit-columns { grid-template-columns: 1fr; }
  .legal-wrap { grid-template-columns: 1fr; gap: 32px; }
  .legal-nav { flex-direction: row; flex-wrap: wrap; position: static; gap: 12px 20px; }
}
@media (max-width: 480px) {
  .top { gap: 6px; padding: 10px 12px; }
  .logo { gap: 6px; }
  .logo-word { font-size: .84rem; }
  .logo-ico { width: 26px; height: 26px; }
  .lang-btn { padding: 7px 6px; font-size: .72rem; }
  .theme-btn { width: 36px; height: 36px; }
  .tools { gap: 7px; }
  .cookie-notice { width: calc(100% - 28px); left: 14px; bottom: 88px; max-height: 45svh; overflow: auto; }
  .audit-links li { flex-wrap: wrap; }
  .audit-state { margin-left: 60px; max-width: none; }
  .legal-hero { padding: 44px 0 36px; }
  .lens h1 { font-size: clamp(1.65rem,7.2vw,2.1rem); }
  .lens-sub { font-size: .98rem; }
  .poster-price { max-width: 100%; }
  .tile-name { font-size: .85rem; overflow-wrap: anywhere; }
  .svc { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .svc-name { font-size: .92rem; }
  .scan .btn { padding-left: .6em; padding-right: .6em; font-size: .92rem; }
  .iss-wrap { grid-template-columns: minmax(0,1fr); }
  .iss { grid-template-columns: 26px minmax(0,1fr); }
  .legend li { font-size: .85rem; gap: 7px; }
  .m-head { gap: 12px; padding-right: 28px; }
  .m-head svg { width: 44px; height: 44px; }
  .modal .m-head h2 { font-size: 1.25rem; padding-right: 0; line-height: 1.3; }
}
@media (max-width: 360px) { .svc { grid-template-columns: 1fr; } }
@media print {
  .cookie-notice,.trust-section { display: none !important; }
  .audit-columns { display: block; }
  .audit-links a { color: #000; }
}
