/* SafeToBank.com - self-contained styles (no outside fonts or frameworks) */
:root {
  --blue-900: #0b2350;
  --blue-800: #12336f;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-100: #dbeafe;
  --blue-50: #eef4ff;
  --ink: #0f1b2d;
  --ink-2: #334155;
  --muted: #55657a;
  --line: #d7e0ec;
  --bg: #f4f7fb;
  --card: #ffffff;
  --green: #15803d;
  --green-dark: #166534;
  --green-bg: #e7f6ec;
  --amber: #b45309;
  --amber-dark: #92400e;
  --amber-bg: #fff4dc;
  --red: #c81e1e;
  --red-dark: #991b1b;
  --red-bg: #fde8e8;
  --gray: #64748b;
  --gray-bg: #eef2f7;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .07);
  --tap: 60px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (min-width: 900px) { html { font-size: 125%; } }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img, video, svg { max-width: 100%; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--blue-900); }
:focus-visible { outline: 4px solid #f59e0b; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; top: 1rem; }
.icon { width: 1.4em; height: 1.4em; flex: none; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { background: var(--blue-900); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; flex-wrap: wrap; padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.3rem; min-height: 48px; }
.brand:hover { color: #fff; }
.brand .icon { width: 2rem; height: 2rem; color: #93c5fd; }
.brand span b { color: #93c5fd; font-weight: 800; }
.nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.nav a { color: #e2ebff; text-decoration: none; font-weight: 600; padding: .6rem .9rem; border-radius: 12px; min-height: 48px; display: inline-flex; align-items: center; }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--tap); padding: .8rem 1.5rem; border-radius: 14px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .08s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-700); color: #fff; box-shadow: 0 6px 18px rgba(29, 78, 216, .32); }
.btn-primary:hover { background: var(--blue-800); color: #fff; }
.btn-secondary { background: #fff; color: var(--blue-800); border-color: #b8c9e6; }
.btn-secondary:hover { background: var(--blue-50); color: var(--blue-900); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-xl { min-height: 76px; font-size: 1.25rem; padding: 1rem 2rem; border-radius: 18px; }
.btn .icon { width: 1.5em; height: 1.5em; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #2a5bd7 0%, transparent 60%), linear-gradient(180deg, var(--blue-900), #143a80); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.25fr 1fr; } }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .accent { display: block; color: #a9cbff; font-size: .62em; margin-top: .35em; font-weight: 700; }
.hero .lead { font-size: 1.2rem; color: #dce7ff; max-width: 38em; }
.hero .fine { color: #c7d6f5; font-size: .95rem; margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.hero .fine span { display: inline-flex; align-items: center; gap: .4rem; }
.hero .fine .icon { color: #86efac; width: 1.2em; height: 1.2em; }

/* Mini report illustration in the hero */
.mini-report { background: #fff; color: var(--ink); border-radius: 22px; box-shadow: 0 25px 60px rgba(0,0,0,.35); overflow: hidden; max-width: 460px; justify-self: center; width: 100%; }
.mini-report .mr-banner { background: var(--green); color: #fff; padding: 1.2rem 1.4rem; display: flex; align-items: center; gap: .9rem; }
.mini-report .mr-banner .icon { width: 2.6rem; height: 2.6rem; background: rgba(255,255,255,.2); border-radius: 50%; padding: .35rem; }
.mini-report .mr-banner strong { display: block; font-size: 1.5rem; line-height: 1.1; }
.mini-report .mr-banner small { opacity: .9; font-size: .85rem; }
.mini-report ul { list-style: none; margin: 0; padding: .6rem 1.2rem 1rem; }
.mini-report li { display: flex; align-items: center; gap: .7rem; padding: .5rem 0; border-bottom: 1px solid #edf1f6; font-size: .95rem; }
.mini-report li:last-child { border-bottom: 0; }
.mini-report li .icon { color: var(--blue-700); }
.mini-report li .pill { margin-left: auto; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .85rem; border-radius: 999px; padding: .25rem .75rem; white-space: nowrap; }
.pill .icon { width: 1.1em; height: 1.1em; }
.pill-pass { background: var(--green-bg); color: var(--green-dark); }
.pill-warn { background: var(--amber-bg); color: var(--amber-dark); }
.pill-fail { background: var(--red-bg); color: var(--red-dark); }
.pill-info { background: var(--gray-bg); color: #3b4a5e; }

/* Sections */
section { padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 800; color: var(--blue-700); margin-bottom: .4rem; }
.section-intro { color: var(--ink-2); font-size: 1.1rem; max-width: 46em; }

/* Scam alert */
.scam-alert { display: flex; gap: 1.1rem; align-items: flex-start; background: #fff; border: 3px solid var(--red); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow); }
.scam-alert > .icon { width: 3rem; height: 3rem; color: #fff; background: var(--red); border-radius: 50%; padding: .55rem; }
.scam-alert h2, .scam-alert h3 { color: var(--red-dark); font-size: 1.35rem; margin-bottom: .3em; }
.scam-alert p { margin: 0; font-size: 1.05rem; }
.home-alert { margin-top: -2.2rem; position: relative; }

/* Steps */
.steps { display: grid; gap: 1.2rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); position: relative; }
.step .num { width: 3rem; height: 3rem; border-radius: 50%; background: var(--blue-700); color: #fff; font-weight: 800; font-size: 1.35rem; display: grid; place-items: center; margin-bottom: .8rem; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--ink-2); margin: 0; }
.step code, .howto code, .faq code { font-family: Consolas, "Cascadia Mono", Menlo, monospace; background: var(--blue-50); border: 1px solid var(--blue-100); padding: .05em .35em; border-radius: 6px; font-size: .92em; word-break: break-word; }

/* Download box */
.download-box { background: linear-gradient(135deg, #fff, var(--blue-50)); border: 2px solid var(--blue-100); border-radius: 24px; padding: clamp(1.4rem, 4vw, 2.5rem); box-shadow: var(--shadow); display: grid; gap: 2rem; }
@media (min-width: 900px) { .download-box { grid-template-columns: 1fr 1.15fr; align-items: start; } }
.download-box .meta { color: var(--muted); font-size: .9rem; margin-top: .8rem; word-break: break-all; }
.howto ol { margin: 0; padding-left: 1.4rem; }
.howto li { margin-bottom: .75rem; padding-left: .3rem; }
.howto li::marker { font-weight: 800; color: var(--blue-700); }
.tip { background: #fff; border-left: 6px solid var(--blue-600); border-radius: 12px; padding: .9rem 1.1rem; margin-top: 1rem; font-size: .98rem; color: var(--ink-2); }
.tip strong { color: var(--ink); }
.only-windows { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); font-size: .95rem; margin-top: 1rem; }

/* Video */
.video-frame { border-radius: 22px; overflow: hidden; background: #0b1730; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; display: block; background: #0b1730; }
.caption { color: var(--muted); font-size: .95rem; margin-top: .8rem; }

/* What it checks grid */
.check-grid { display: grid; gap: 1rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .check-grid { grid-template-columns: repeat(3, 1fr); } }
.check-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem; display: flex; gap: 1rem; align-items: flex-start; }
.check-tile .icon-badge { width: 3.1rem; height: 3.1rem; border-radius: 14px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; flex: none; }
.check-tile .icon-badge .icon { width: 1.8rem; height: 1.8rem; }
.check-tile h3 { font-size: 1.08rem; margin-bottom: .2em; }
.check-tile h3 small { color: var(--muted); font-weight: 700; margin-right: .3rem; }
.check-tile p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* Verdict legend */
.legend { display: grid; gap: 1rem; margin-top: 1.6rem; }
@media (min-width: 860px) { .legend { grid-template-columns: repeat(3, 1fr); } }
.legend-item { border-radius: var(--radius); padding: 1.2rem 1.3rem; color: #fff; display: flex; gap: .9rem; align-items: flex-start; }
.legend-item .icon { width: 2.2rem; height: 2.2rem; }
.legend-item strong { display: block; font-size: 1.2rem; line-height: 1.25; margin-bottom: .2rem; }
.legend-item span { font-size: .95rem; opacity: .95; }
.lg-safe { background: var(--green); }
.lg-caution { background: #a16207; }
.lg-danger { background: var(--red); }

/* Privacy */
.privacy-grid { display: grid; gap: 1rem; margin-top: 1.6rem; }
@media (min-width: 760px) { .privacy-grid { grid-template-columns: repeat(2, 1fr); } }
.privacy-item { display: flex; gap: .9rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.privacy-item .icon { color: var(--blue-700); width: 1.9rem; height: 1.9rem; }
.privacy-item p { margin: 0; color: var(--ink-2); }
.privacy-item strong { color: var(--ink); display: block; }

/* Sample cards */
.sample-grid { display: grid; gap: 1rem; margin-top: 1.6rem; }
@media (min-width: 760px) { .sample-grid { grid-template-columns: repeat(3, 1fr); } }
.sample-card { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: var(--ink); background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 1.3rem; min-height: var(--tap); box-shadow: var(--shadow); transition: border-color .15s ease, transform .1s ease; }
.sample-card:hover { border-color: var(--blue-600); color: var(--ink); transform: translateY(-2px); }
.sample-card .sc-top { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; }
.sample-card .sc-top .icon { width: 2rem; height: 2rem; border-radius: 50%; color: #fff; padding: .3rem; }
.sample-card .sc-safe .icon { background: var(--green); }
.sample-card .sc-caution .icon { background: #a16207; }
.sample-card .sc-danger .icon { background: var(--red); }
.sample-card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.sample-card .go { margin-top: auto; padding-top: .4rem; color: var(--blue-700); font-weight: 700; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: .8rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 1.2rem; min-height: var(--tap); display: flex; align-items: center; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; font-size: 1.4rem; color: var(--blue-700); width: 1.6rem; flex: none; font-weight: 800; }
.faq details[open] summary::before { content: "\2212"; }
.faq details > div { padding: 0 1.2rem 1rem 2.8rem; color: var(--ink-2); }
.faq details > div p:last-child { margin: 0; }

/* Footer */
.site-footer { background: var(--blue-900); color: #c9d7f2; padding: 2.2rem 0; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-footer a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: #bfdbfe; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: .2rem 1.6rem; }
.site-footer .small { color: #9fb3d9; font-size: .85rem; width: 100%; }

/* ---------------------------------------------------------------- */
/* Report page                                                       */
/* ---------------------------------------------------------------- */
.report-main { padding: clamp(1.5rem, 4vw, 2.8rem) 0 3rem; }
.privacy-note { display: flex; gap: .8rem; align-items: flex-start; background: #fff; border: 1px solid var(--blue-100); border-left: 6px solid var(--blue-600); border-radius: 14px; padding: 1rem 1.2rem; color: var(--ink-2); font-size: .98rem; margin: 1.4rem 0; }
.privacy-note .icon { color: var(--blue-700); width: 1.8rem; height: 1.8rem; }
.privacy-note strong { color: var(--ink); }

.dropzone { display: block; background: #fff; border: 4px dashed #9db6e0; border-radius: 26px; padding: clamp(1.6rem, 5vw, 3rem) 1.4rem; text-align: center; transition: background-color .15s ease, border-color .15s ease; }
.dropzone.is-over, body.is-dragging .dropzone { background: var(--blue-50); border-color: var(--blue-600); }
.dropzone .big-icon { width: 4.2rem; height: 4.2rem; color: var(--blue-700); margin-bottom: .6rem; }
.dropzone h1 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
.dropzone p { color: var(--ink-2); font-size: 1.08rem; max-width: 34em; margin-inline: auto; }
.dropzone .btn-row { justify-content: center; margin-top: 1.2rem; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.error-box { background: var(--red-bg); color: var(--red-dark); border: 2px solid #f3b4b4; border-radius: 14px; padding: 1rem 1.2rem; margin-top: 1.2rem; font-weight: 600; text-align: left; }
.samples-inline { margin-top: 1.6rem; color: var(--ink-2); text-align: center; }
.samples-inline .btn-row { justify-content: center; margin-top: .6rem; }
.where-file { text-align: left; max-width: 40em; margin: 1.6rem auto 0; }
.where-file summary { cursor: pointer; font-weight: 700; color: var(--blue-800); min-height: 48px; display: flex; align-items: center; justify-content: center; }
.where-file ul { margin: .4rem 0 0; color: var(--ink-2); }

.sample-ribbon { background: var(--blue-900); color: #fff; border-radius: 14px; padding: .8rem 1.1rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .7rem; font-weight: 600; flex-wrap: wrap; }
.sample-ribbon .icon { color: #93c5fd; }

.verdict { border-radius: 28px; color: #fff; padding: clamp(1.5rem, 4.5vw, 2.6rem); display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.verdict::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.verdict-safe { background: linear-gradient(135deg, #15803d, #166534); }
.verdict-caution { background: linear-gradient(135deg, #b45309, #92400e); }
.verdict-danger { background: linear-gradient(135deg, #c81e1e, #8f1414); }
.verdict .v-icon { width: clamp(4.5rem, 12vw, 7rem); height: clamp(4.5rem, 12vw, 7rem); flex: none; background: rgba(255,255,255,.18); border-radius: 50%; padding: clamp(.7rem, 2vw, 1.1rem); }
.verdict .v-label { text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: .85rem; opacity: .9; margin: 0 0 .2rem; }
.verdict h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin: 0 0 .2em; color: #fff; }
.verdict h1:focus { outline: none; }
.verdict .v-sub { font-size: clamp(1.1rem, 2.6vw, 1.35rem); margin: 0 0 .5rem; max-width: 34em; }
.verdict .v-quote { font-size: .92rem; opacity: .92; margin: 0; }
.verdict .v-quote b { font-family: Consolas, "Cascadia Mono", Menlo, monospace; letter-spacing: .02em; }
@media (max-width: 560px) { .verdict { flex-direction: column; align-items: flex-start; } }

.meta-row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--ink-2); font-size: .95rem; margin: 1rem .3rem 0; }
.meta-row span b { color: var(--ink); }
.stale { background: var(--amber-bg); color: var(--amber-dark); border-radius: 12px; padding: .8rem 1rem; font-weight: 600; margin-top: 1rem; }

.hangup { margin-top: 1.4rem; background: #fff; border: 4px solid var(--red); border-radius: 24px; padding: clamp(1.2rem, 3.5vw, 2rem); box-shadow: 0 10px 30px rgba(200, 30, 30, .18); }
.hangup .hu-top { display: flex; gap: 1rem; align-items: center; margin-bottom: .8rem; }
.hangup .hu-top .icon { width: 3.6rem; height: 3.6rem; background: var(--red); color: #fff; border-radius: 50%; padding: .7rem; }
.hangup h2 { color: var(--red-dark); font-size: clamp(1.5rem, 4.2vw, 2.3rem); margin: 0; }
.hangup h2 em { font-style: normal; background: var(--red); color: #fff; padding: 0 .35em; border-radius: 8px; white-space: nowrap; }
.hangup p { font-size: 1.1rem; }
.hangup ol { font-size: 1.08rem; margin: 0; padding-left: 1.4rem; }
.hangup li { margin-bottom: .45rem; }

.summary-grid { display: grid; gap: 1.2rem; margin-top: 1.4rem; }
@media (min-width: 860px) { .summary-grid { grid-template-columns: minmax(280px, 1fr) 1.6fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 1.4rem; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.3rem; }
.ring-panel { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ring { width: min(260px, 70vw); height: auto; display: block; }
.ring .ring-bg { stroke: #e8eef6; }
.ring .seg-PASS { stroke: var(--green); }
.ring .seg-INFO { stroke: #7c8ea6; }
.ring .seg-WARNING { stroke: #d97706; }
.ring .seg-FAIL { stroke: var(--red); }
.ring .ring-big { font-size: 40px; font-weight: 800; fill: var(--ink); }
.ring .ring-small { font-size: 13px; font-weight: 700; fill: var(--muted); letter-spacing: .04em; }
.ring-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem .9rem; font-size: .88rem; color: var(--ink-2); margin-top: .6rem; }
.dot { display: inline-block; width: .8em; height: .8em; border-radius: 50%; margin-right: .3em; vertical-align: -.05em; }
.dot-PASS { background: var(--green); } .dot-INFO { background: #7c8ea6; } .dot-WARNING { background: #d97706; } .dot-FAIL { background: var(--red); }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { border-radius: 18px; padding: 1rem .9rem; text-align: center; }
.tile .t-num { font-size: 2.4rem; font-weight: 800; line-height: 1.1; display: block; }
.tile .t-label { font-weight: 700; font-size: .95rem; }
.tile-pass { background: var(--green-bg); color: var(--green-dark); }
.tile-warn { background: var(--amber-bg); color: var(--amber-dark); }
.tile-fail { background: var(--red-bg); color: var(--red-dark); }
.tile-info { background: var(--gray-bg); color: #3b4a5e; }
.tiles-note { color: var(--muted); font-size: .88rem; margin: .7rem 0 0; }

.todo { margin-top: 1.2rem; }
.todo ol { margin: 0; padding: 0; list-style: none; counter-reset: todo; }
.todo li { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid #edf1f6; }
.todo li:last-child { border-bottom: 0; }
.todo li .icon { width: 1.7rem; height: 1.7rem; margin-top: .1rem; }
.todo li.t-FAIL .icon { color: var(--red); }
.todo li.t-WARNING .icon { color: #d97706; }
.todo li a { font-weight: 700; }
.todo .all-good { display: flex; gap: .7rem; align-items: center; color: var(--green-dark); font-weight: 700; font-size: 1.1rem; }
.todo .all-good .icon { width: 2rem; height: 2rem; }

.report-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 .4rem; }

.cards-head { margin-top: 2.4rem; }
.cards { display: grid; gap: 1.1rem; }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-left: 10px solid var(--gray); border-radius: 22px; padding: 1.3rem 1.4rem; box-shadow: var(--shadow); scroll-margin-top: 1rem; }
.card.s-PASS { border-left-color: var(--green); }
.card.s-INFO { border-left-color: #7c8ea6; }
.card.s-WARNING { border-left-color: #d97706; }
.card.s-FAIL { border-left-color: var(--red); background: linear-gradient(180deg, #fff7f7, #fff 120px); }
.card-head { display: flex; gap: .9rem; align-items: flex-start; }
.card-head .icon-badge { width: 3.3rem; height: 3.3rem; border-radius: 16px; display: grid; place-items: center; flex: none; }
.card-head .icon-badge .icon { width: 1.9rem; height: 1.9rem; }
.s-PASS .icon-badge { background: var(--green-bg); color: var(--green-dark); }
.s-INFO .icon-badge { background: var(--gray-bg); color: #3b4a5e; }
.s-WARNING .icon-badge { background: var(--amber-bg); color: var(--amber-dark); }
.s-FAIL .icon-badge { background: var(--red-bg); color: var(--red-dark); }
.card-title { flex: 1; min-width: 0; }
.card-title h3 { margin: 0; font-size: 1.25rem; }
.card-title .num { color: var(--muted); font-weight: 700; font-size: .85rem; display: block; }
.card-title .q { color: var(--ink-2); font-size: .95rem; margin: .2rem 0 0; }
.card .status-line { display: flex; align-items: center; gap: .6rem; margin: 1rem 0 .4rem; flex-wrap: wrap; }
.card .status-line .pill { font-size: .95rem; padding: .35rem .9rem; }
.card .headline { font-weight: 600; font-size: 1.05rem; margin: .2rem 0 .8rem; }
.card .why { color: var(--ink-2); font-size: .97rem; }
.card details.lines { margin: .4rem 0 .6rem; }
.card details.lines summary { cursor: pointer; color: var(--blue-800); font-weight: 700; min-height: 48px; display: flex; align-items: center; }
.result-list { list-style: none; margin: .3rem 0 0; padding: 0; }
.result-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .45rem 0; border-top: 1px dashed #e3e9f2; font-size: .95rem; overflow-wrap: anywhere; }
.result-list li.detail { padding-left: 1.4rem; font-size: .9rem; color: var(--ink-2); }
.result-list .tag { flex: none; font-weight: 800; font-size: .72rem; letter-spacing: .05em; border-radius: 6px; padding: .15rem .45rem; margin-top: .2rem; min-width: 4.4rem; text-align: center; }
.tag-PASS { background: var(--green-bg); color: var(--green-dark); }
.tag-WARNING { background: var(--amber-bg); color: var(--amber-dark); }
.tag-FAIL { background: var(--red-bg); color: var(--red-dark); }
.tag-INFO { background: var(--gray-bg); color: #3b4a5e; }
.fix { border-radius: 14px; padding: .9rem 1.1rem; margin-top: .6rem; }
.fix h4 { margin: 0 0 .4rem; font-size: 1.02rem; display: flex; align-items: center; gap: .45rem; }
.fix ol, .fix ul { margin: 0; padding-left: 1.3rem; }
.fix li { margin-bottom: .3rem; }
.fix-FAIL { background: var(--red-bg); color: #5f1010; }
.fix-WARNING { background: var(--amber-bg); color: #5a2f05; }
.fix-ok { background: var(--green-bg); color: var(--green-dark); font-weight: 600; display: flex; gap: .5rem; align-items: center; }
.fix-ok .icon { width: 1.5rem; height: 1.5rem; }
.fix-info { background: var(--gray-bg); color: #334155; }
.missing-card { border-left-color: #cbd5e1; opacity: .85; }

.report-footer-note { margin-top: 2rem; color: var(--ink-2); font-size: .95rem; }
.report-footer-note p { margin-bottom: .6rem; }
.print-only { display: none; }
[hidden] { display: none !important; }

@media print {
  @page { margin: 11mm; }
  html { font-size: 9.5pt; }
  body { background: #fff; }
  .site-header .nav, .site-footer, .no-print, .dropzone, .privacy-note, .report-actions, .skip { display: none !important; }
  .site-header { background: #fff; color: var(--ink); border-bottom: 2px solid var(--blue-700); }
  .site-header .wrap { min-height: 0; padding-block: 2pt; }
  .site-header .brand { color: var(--blue-900); min-height: 0; }
  .report-main { padding: 6pt 0 0; }
  .wrap { width: 100%; }
  .print-only { display: block; margin: 0 0 4pt; color: var(--muted); }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .card, .panel, .hangup, .verdict { box-shadow: none; break-inside: avoid; }
  .verdict { padding: 12pt 16pt; border-radius: 14pt; }
  .verdict .v-icon { width: 48pt; height: 48pt; padding: 8pt; }
  .verdict h1 { font-size: 24pt; }
  .verdict .v-sub { font-size: 11pt; }
  .verdict::after { display: none; }
  .meta-row { margin-top: 6pt; }
  .hangup { margin-top: 8pt; padding: 10pt 14pt; border-width: 3px; }
  .hangup h2 { font-size: 16pt; }
  .hangup .hu-top .icon { width: 30pt; height: 30pt; padding: 6pt; }
  .hangup p, .hangup ol { font-size: 10pt; }
  .summary-grid { grid-template-columns: 150pt 1fr; gap: 8pt; margin-top: 8pt; }
  .panel { padding: 10pt; border-radius: 12pt; }
  .ring { width: 120pt; }
  .tile { padding: 5pt; }
  .tile .t-num { font-size: 18pt; }
  .tiles { grid-template-columns: repeat(4, 1fr); gap: 5pt; }
  .cards-head { margin-top: 10pt; }
  .cards { grid-template-columns: 1fr 1fr; gap: 6pt; }
  .card { padding: 8pt 10pt; border-radius: 10pt; border-left-width: 6px; }
  .card-head .icon-badge { width: 24pt; height: 24pt; border-radius: 7pt; }
  .card-head .icon-badge .icon { width: 15pt; height: 15pt; }
  .card .status-line { margin: 4pt 0 2pt; }
  .card .headline { margin: 2pt 0 4pt; font-size: 10pt; }
  .card .why { font-size: 9pt; margin-bottom: 4pt; }
  .card details.lines:not([open]) { display: none; }
  .card details.lines summary { min-height: 0; }
  .fix { padding: 5pt 8pt; margin-top: 4pt; }
  .report-footer-note { margin-top: 8pt; font-size: 9pt; }
  a { color: inherit; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Small-screen header: keep brand and one link on one row */
@media (max-width: 520px) {
  .site-header .wrap { flex-wrap: nowrap; min-height: 68px; }
  .brand { font-size: 1.1rem; }
  .brand .icon { width: 1.7rem; height: 1.7rem; }
  .nav a { padding: .5rem .6rem; font-size: .9rem; }
}
.sample-ribbon a { color: #bfdbfe; }
.sample-ribbon a:hover { color: #fff; }
.hero .hero-link { color: #fff; font-weight: 700; }

/* ---------------------------------------------------------------- */
/* Instant browser check (home page, part 1 of 2)                     */
/* ---------------------------------------------------------------- */
.instant { padding-top: clamp(2rem, 5vw, 3.2rem); }
.verdict-browser { background: linear-gradient(135deg, #1d4ed8, #0b2350); }
.verdict .v-title { font-size: clamp(2.1rem, 6vw, 3.2rem); margin: 0 0 .2em; color: #fff; }
.verdict .v-title:focus { outline: none; }
.instant .verdict .v-quote { font-size: 1rem; font-weight: 600; max-width: 40em; }
.cant-see { background: #fff; border: 2px solid var(--line); border-left: 8px solid #7c8ea6; border-radius: 22px; padding: 1.3rem 1.5rem; margin-top: 1.4rem; box-shadow: var(--shadow); }
.cant-see h2 { font-size: 1.35rem; }
.cant-see ul { margin: 0 0 1rem; padding-left: 1.3rem; color: var(--ink-2); }
.cant-see li { margin-bottom: .3rem; }
.cant-see p:last-child { margin: 0; }
.full-check { margin-top: 1.4rem; background: linear-gradient(135deg, #fff, var(--blue-50)); border: 3px solid var(--blue-600); border-radius: 26px; padding: clamp(1.3rem, 4vw, 2.2rem); box-shadow: 0 10px 30px rgba(29, 78, 216, .15); }
.full-check h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.full-check .meta { color: var(--muted); font-size: .92rem; margin: .7rem 0 0; }
.btn-wide { width: 100%; max-width: 560px; }
.mini-steps { margin: 1.2rem 0 0; padding: 0; list-style: none; counter-reset: ms; display: grid; gap: .8rem; }
@media (min-width: 900px) { .mini-steps { grid-template-columns: repeat(3, 1fr); } }
.mini-steps li { counter-increment: ms; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem 1rem 3.6rem; position: relative; color: var(--ink-2); }
.mini-steps li::before { content: counter(ms); position: absolute; left: 1rem; top: 1rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blue-700); color: #fff; font-weight: 800; display: grid; place-items: center; }
.mini-steps strong { color: var(--ink); }
.mini-steps code, .prefer-zip code { font-family: Consolas, "Cascadia Mono", Menlo, monospace; background: var(--blue-50); border: 1px solid var(--blue-100); padding: .05em .35em; border-radius: 6px; font-size: .9em; overflow-wrap: anywhere; }
.small-links { margin: 1rem 0 0; font-size: .98rem; display: flex; flex-wrap: wrap; gap: 0 .6rem; align-items: center; }
.small-links a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }
.not-windows { display: flex; gap: .6rem; align-items: flex-start; background: var(--amber-bg); color: var(--amber-dark); border-radius: 12px; padding: .8rem 1rem; font-weight: 600; }
.card details.lines .how { color: var(--ink-2); font-size: .93rem; margin: .2rem 0 .4rem; }
.ic-footnote { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.prefer-zip { font-size: .95rem; color: var(--ink-2); margin-top: .9rem; }
.prefer-zip a { font-weight: 700; }
.hash { font-family: Consolas, "Cascadia Mono", Menlo, monospace; font-size: .85em; word-break: break-all; }
.hero .btn[aria-busy="true"] { opacity: .85; cursor: progress; }
@media (max-width: 520px) {
  .btn-wide { font-size: 1.12rem; padding: .9rem 1.1rem; gap: .5rem; }
  .full-check { padding: 1.2rem 1rem; }
  .mini-steps li { padding-left: 3.2rem; }
  .mini-steps li::before { left: .8rem; }
}
