/* Sötét, piros hangsúlyú megjelenés. Az eredménynézet (.r-*) méretei a mintaoldal lemért értékei. */
@font-face { font-family: Roboto; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/roboto-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Roboto; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/roboto-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; }

:root {
  color-scheme: dark;
  --bg: #090e1b;
  --panel: #0c1221;
  --well: #070b15;
  --ink: #f3f4f7;
  --muted: #a1a1aa;
  --line: rgb(255 255 255 / .1);
  --accent: #e11d26;
  --accent-deep: #c5161e;
  --accent-soft: #d8383d;
  --glow: rgb(225 29 38 / .35);
  --critical: #ff2b3a;
  --high: #ff5a3a;
  --medium: #f5a524;
  --low: #f5a524;
  --info: #a1a1aa;
  --ok: #22c55e;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: #fff; font: 300 16px/1.5 Roboto, sans-serif; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.center { text-align: center; }
button { font-family: inherit; cursor: pointer; }
input:focus-visible, button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid #ff5a63; outline-offset: 2px; }

.ico { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-12 { width: 12px; height: 12px; }
.ico-14 { width: 14px; height: 14px; }
.ico-16 { width: 16px; height: 16px; }
.ico-20 { width: 20px; height: 20px; }
.red { color: var(--accent); }

/* Oldalváz */
.page { position: relative; min-height: 100vh; width: 100%; }
.page-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: linear-gradient(rgb(225 29 38 / .6) 1px, transparent 1px), linear-gradient(90deg, rgb(225 29 38 / .6) 1px, transparent 1px);
  background-size: 48px 48px;
}
main { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; max-width: 80rem; margin: 0 auto; padding: 24px; }
@media (min-width: 1024px) { main { padding-left: 40px; padding-right: 40px; } }
.top { display: flex; align-items: center; justify-content: space-between; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
  border: 1px solid rgb(225 29 38 / .7); border-radius: 9999px; background: rgb(26 5 9 / .6);
  font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase;
}
.pill-free { color: #ff5a63; }
.brand { display: none; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; color: #a1a1aa; }
@media (min-width: 768px) { .brand { display: flex; } }
.content { flex: 1; padding: 24px 0; }
.foot { margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; line-height: 16px; color: #71717a; }
.narrow { max-width: 756px; margin: 0 auto; }

/* Kezdőképernyő és vizsgálat */
.hero { margin: 0 0 20px; font-size: clamp(36px, 7.4vw, 56px); line-height: 1.02; letter-spacing: -.025em; font-weight: 300; text-wrap: balance; }
.hero em { display: block; margin-top: .18em; font-style: normal; color: var(--accent-soft); }
.lead { margin: 0 0 14px; font-size: 18px; color: var(--ink); }
.safe { margin: 0 0 32px; font-size: 14px; color: var(--ok); }
.panel { background: linear-gradient(135deg, #0d1426, #0a0f1c); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-top: 14px; }
.preview { box-shadow: 0 0 60px rgb(225 29 38 / .15); }
.panel-label { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tiles li { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: rgb(0 0 0 / .3); }
.tiles span { display: block; font-size: 12px; color: #71717a; }
.tiles b { display: block; margin-top: 4px; font-size: 24px; font-weight: 900; line-height: 32px; color: var(--sev); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--ink); }
.facts li { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: rgb(0 0 0 / .3); }
.facts b { font-weight: 600; }
.facts li:nth-child(2) b { color: #ff5a63; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
form { margin: 20px 0 0; }
form input[type="text"], form input[type="email"] {
  width: 100%; padding: 18px 20px; font: 300 17px Roboto, sans-serif; color: #fff;
  background: var(--well); border: 1px solid rgb(225 29 38 / .65); border-radius: 12px; box-shadow: 0 0 28px -10px var(--glow);
}
form input::placeholder { color: #6c7486; }
.cta {
  width: 100%; margin-top: 12px; padding: 16px 32px; font-size: 16px; font-weight: 900; line-height: 24px; letter-spacing: .025em; text-transform: uppercase;
  color: #fff; background: linear-gradient(90deg, #e11d26, #c5161e); border: 1px solid rgb(255 90 99 / .4); border-radius: 12px;
  box-shadow: 0 10px 40px -10px rgb(225 29 38 / .8);
}
.cta:hover { background: linear-gradient(90deg, #f01e29, #d11820); }
.cta:disabled { opacity: .55; cursor: progress; }
.form-error { margin: 12px 0 0; color: #ff5a63; font-weight: 400; font-size: 14px; }
.fine { margin: 14px 0 0; font-size: 13px; color: #71717a; }
.scan-title em { display: inline; margin: 0; overflow-wrap: anywhere; }
.steps { margin: 0 0 28px; padding: 0; list-style: none; font-size: 15px; }
.steps li { position: relative; padding: 5px 0 5px 32px; color: var(--muted); opacity: .4; }
.steps li::before { content: ""; position: absolute; left: 0; top: 8px; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .15); }
.steps li.done { opacity: 1; }
.steps li.done::before { content: "✓"; border-color: var(--ok); color: var(--ok); font-size: 11px; line-height: 15px; text-align: center; font-weight: 700; }
.steps li.active { opacity: 1; color: #fff; }
.steps li.active::before { border-color: var(--accent); border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bar-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.bar { height: 8px; border-radius: 999px; background: rgb(0 0 0 / .4); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #e11d26, #ff5a63); border-radius: 999px; transition: width .4s ease; }
@media (prefers-reduced-motion: reduce) { .steps li.active::before { animation: none; } .bar i, .r-chev, .r-row { transition: none !important; } }
.sev-critical { --sev: var(--critical); }
.sev-high { --sev: var(--high); }
.sev-medium { --sev: var(--medium); }
.sev-low { --sev: var(--low); }
.sev-info { --sev: var(--info); }
.sev-ok { --sev: var(--ok); }

/* ===== Eredménynézet ===== */
.r p, .r h1, .r h3, .r h4 { margin: 0; }
.r-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .r-grid { grid-template-columns: 1fr 320px; } }
.r-main { min-width: 0; }

.r-head { margin-bottom: 24px; text-align: center; }
.r-kicker { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #a1a1aa; }
.r-title { margin-top: 8px !important; font-size: 30px; line-height: 36px; font-weight: 900; letter-spacing: -.025em; color: #fff; overflow-wrap: anywhere; }
@media (min-width: 640px) { .r-title { font-size: 36px; line-height: 40px; } }
.r-sub { margin-top: 4px !important; font-size: 12px; line-height: 16px; color: #71717a; }

.r-score { margin-bottom: 20px; padding: 32px; text-align: center; border: 1px solid rgb(255 255 255 / .1); border-radius: 16px; background: linear-gradient(to bottom right, #0d1426, #0a0f1c); box-shadow: 0 0 60px rgb(225 29 38 / .15); }
.r-score-label { margin-bottom: 8px !important; font-size: 14px; line-height: 20px; color: #a1a1aa; }
.r-score-num { font-family: var(--mono); font-size: 72px; line-height: 1; font-weight: 900; color: var(--risk); }
.r-score-num span { font-size: 24px; line-height: 32px; color: #71717a; }
.r-risk { margin-top: 8px !important; font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--risk); }
.risk-high { --risk: #ff2b3a; }
.risk-medium { --risk: #f5a524; }
.risk-low { --risk: #22c55e; }
.r-tiles { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-size: 12px; line-height: 16px; }
.r-tile { padding: 12px; border: 1px solid rgb(255 255 255 / .1); border-radius: 8px; background: rgb(0 0 0 / .3); }
.r-tile-label { color: #71717a; }
.r-tile-value { margin-top: 4px; font-size: 24px; line-height: 32px; font-weight: 900; color: var(--sev); }

.r-tip { margin-bottom: 20px; padding: 16px; display: flex; align-items: flex-start; gap: 12px; border: 1px solid rgb(255 255 255 / .1); border-radius: 12px; background: rgb(255 255 255 / .02); }
.r-tip .ico { margin-top: 2px; color: #a1a1aa; }
.r-tip p { font-size: 14px; line-height: 1.625; color: #d4d4d8; }
.r-tip p span { font-weight: 600; color: #fff; }

.r-list { border: 1px solid rgb(255 255 255 / .1); border-radius: 12px; background: rgb(10 15 28 / .8); backdrop-filter: blur(4px); overflow: hidden; }
.r-list-head { padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgb(255 255 255 / .1); }
.r-list-head h3 { font-size: 16px; line-height: 24px; font-weight: 600; color: #fff; }
.r-list-head span { font-size: 12px; line-height: 16px; color: #71717a; }
.r-row { padding: 14px 24px; }
.r-row + .r-row { border-top: 1px solid rgb(255 255 255 / .05); }
.r-row.is-clickable { cursor: pointer; transition: background-color .15s cubic-bezier(.4, 0, .2, 1); }
.r-row.is-clickable:hover { background: rgb(255 255 255 / .02); }
.r-row-top { display: flex; align-items: flex-start; gap: 12px; }
.r-row .r-ico { margin-top: 2px; color: var(--sev); }
.r-row-title { flex: 1; font-size: 14px; line-height: 20px; color: #e4e4e7; overflow-wrap: anywhere; min-width: 0; }
.r-row-hint { display: block; margin-top: 4px; font-size: 12px; line-height: 16px; font-weight: 600; color: #22c55e; }
.r-names { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.r-names-label { font-size: 12px; line-height: 16px; color: #a1a1aa; }
.r-name { padding: 2px 8px; border: 1px solid rgb(255 43 58 / .5); border-radius: 6px; background: rgb(255 43 58 / .12); font-family: var(--mono); font-size: 13px; line-height: 18px; font-weight: 700; color: #ff5a63; overflow-wrap: anywhere; }
.r-badge { flex: none; margin-left: auto; font-family: var(--mono); font-size: 12px; line-height: 16px; text-transform: uppercase; color: var(--sev); }
.r-chev { color: #71717a; transition: transform .2s cubic-bezier(.4, 0, .2, 1); }
.r-row[aria-expanded="true"] .r-chev { transform: rotate(180deg); }
.r-why { margin-top: 12px; margin-left: 28px; padding: 12px; border: 1px solid rgb(255 255 255 / .1); border-radius: 8px; background: rgb(0 0 0 / .4); }
.r-why-inner { display: flex; align-items: flex-start; gap: 8px; }
.r-why-inner > .ico { margin-top: 2px; color: #e11d26; }
.r-why-inner > div { min-width: 0; }
.r-why-h { margin-bottom: 4px !important; font-size: 12px; line-height: 16px; font-weight: 600; color: #ff5a63; }
.r-why-p { font-size: 14px; line-height: 1.625; color: #a1a1aa; }
.r-why-p + .r-why-h { margin-top: 10px !important; }
.r-why-code { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: #d4d4d8; overflow-wrap: anywhere; }

.r-actions { margin-top: 32px; text-align: center; }
.r-actions > * + * { margin-top: 12px !important; }
.r-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 32px;
  font-size: 16px; line-height: 24px; font-weight: 900; letter-spacing: .025em; text-transform: uppercase; color: #fff;
  border: 1px solid rgb(255 90 99 / .4); border-radius: 12px; background: linear-gradient(to right, #e11d26, #c5161e);
  box-shadow: 0 10px 40px -10px rgb(225 29 38 / .8);
}
.r-cta:hover { background: linear-gradient(to right, #f01e29, #d11820); }
.r-cta-arrow { transition: transform .15s cubic-bezier(.4, 0, .2, 1); }
.r-cta:hover .r-cta-arrow { transform: translateX(4px); }
.r-again { padding: 0; border: 0; background: none; font-size: 12px; line-height: 16px; font-weight: 300; color: #71717a; text-decoration: underline; text-underline-offset: 4px; }
.r-again:hover { color: #d4d4d8; }
.report-status { font-size: 14px; font-weight: 400; color: #22c55e; }

@media (min-width: 1024px) { .r-aside { position: sticky; top: 24px; align-self: start; } }
.r-aside-title { margin-bottom: 8px !important; text-align: center; font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #71717a; }
.r-packages { display: contents; }
.r-package { position: relative; display: block; margin-top: 12px; padding: 20px; border-radius: 12px; color: #0a0f1c; text-decoration: none; background: var(--tone); box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1); transition: filter .15s cubic-bezier(.4, 0, .2, 1), box-shadow .15s cubic-bezier(.4, 0, .2, 1); }
a.r-package:hover { filter: brightness(1.1); box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1); }
.r-package:nth-child(1) { --tone: rgb(61 214 140); }
.r-package:nth-child(2) { --tone: rgb(56 189 248); }
.r-package:nth-child(3) { --tone: rgb(249 115 22); }
.r-package-head { margin-bottom: 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.r-package h4 { font-size: 16px; line-height: 24px; font-weight: 900; }
.r-package-price { font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 700; text-align: right; }
.r-package p { margin-bottom: 12px !important; font-size: 14px; line-height: 1.625; color: rgb(10 15 28 / .9); }
.r-package-more { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; font-weight: 700; }
.r-package-tag { position: absolute; top: -8px; right: 12px; padding: 2px 10px; border-radius: 9999px; background: #0a0f1c; color: #fff; font-size: 10px; line-height: 1.5; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 0 0 1px rgb(255 255 255 / .2), 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1); }

/* Jelentéskérő ablak */
dialog { width: min(440px, calc(100vw - 32px)); padding: 0; border: 1px solid rgb(255 255 255 / .1); border-radius: 16px; background: #0d1426; color: #fff; box-shadow: 0 0 80px -20px var(--glow); }
dialog::backdrop { background: rgb(0 0 0 / .5); }
dialog form { margin: 0; padding: 26px; position: relative; }
dialog h2 { margin: 0 28px 6px 0; font-size: 22px; font-weight: 700; }
dialog p { margin: 0 0 14px; font-size: 14px; }
dialog form input[type="text"], dialog form input[type="email"] { margin-top: 10px; padding: 14px 16px; font-size: 16px; }
dialog .close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 22px; line-height: 1; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); }
.check a { color: #fff; }
dialog .cta { margin-top: 18px; }

@media print {
  .page-grid, .r-aside, .r-actions, .r-tip, .top, dialog { display: none !important; }
  html, body { background: #fff; }
  .r-score, .r-list, .r-why, .r-tile { background: #fff; box-shadow: none; border-color: #bbb; }
  .r-title, .r-list-head h3, .r-row-title { color: #000; }
  .r-why-p, .r-kicker, .r-sub, .r-score-label { color: #444; }
  .r-why-wrap[hidden] { display: block !important; }
  .r-row { break-inside: avoid; }
}
