/* NetCheck — site styles */
@font-face {
  font-family: Manrope;
  src: url('/fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --navy: #0B1F3A; --navy-2: #12305A; --navy-3: #1B3B6B;
  --teal: #14B8A6; --teal-2: #2DD4BF; --teal-d: #0F766E; --teal-dd: #115E59; --teal-l: #E6FAF7;
  --green: #15803D; --green-l: #ECFDF3; --red: #C81E1E; --red-l: #FEF1F1; --amber: #B45309; --amber-l: #FFF7E6;
  --ink: #0F172A; --text: #1E293B; --muted: #526077; --line: #E2E8F0; --line-2: #CBD5E1;
  --bg: #F5F8FB; --card: #FFFFFF;
  --r: 18px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
  --wrap: 1120px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg);
  font-feature-settings: 'tnum' 0; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); text-underline-offset: 3px; }
a:hover { color: var(--teal-dd); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.8vw, 1.95rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 780px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.fine { font-size: .82rem; color: var(--muted); margin-top: 1.2rem; }
.mt { margin-top: 1.2rem; }
.ok-text { color: var(--green); }
.bad-text { color: var(--red); }
.break { overflow-wrap: anywhere; }
.hide-sm { }
.num, .v { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; }
.brand b { color: var(--teal-d); font-weight: 800; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 9px 13px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 650; font-size: .96rem; }
.site-nav a:hover { background: var(--teal-l); color: var(--teal-dd); }
.site-nav a[aria-current='page'] { background: var(--navy); color: #fff; }
.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .site-nav { position: absolute; left: 0; right: 0; top: 66px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(15, 23, 42, .08); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 10px 16px 16px; }
  .site-nav a { padding: 13px 14px; font-size: 1.05rem; }
}

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px; font: inherit; font-weight: 750; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal-d); color: #fff; }
.btn--primary:hover { background: var(--teal-dd); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--teal-l); color: var(--navy); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--teal-d); color: var(--teal-dd); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.is-done { background: var(--green); color: #fff; border-color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 1rem; }
.link-btn { background: none; border: 0; padding: 6px 0; font: inherit; font-size: .9rem; color: var(--teal-d); text-decoration: underline; cursor: pointer; }
input[type='text'], input[type='url'], input[type='number'], input[type='search'], select {
  font: inherit; font-size: 1.05rem; color: var(--ink); width: 100%; min-height: 52px; padding: 12px 16px;
  border: 2px solid var(--line-2); border-radius: 12px; background: #fff;
}
input:focus, select:focus { border-color: var(--teal-d); outline: none; box-shadow: 0 0 0 4px rgba(20, 184, 166, .18); }
label { font-weight: 650; }
.field { display: grid; gap: 6px; }
.field small { color: var(--muted); font-weight: 500; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; cursor: pointer; user-select: none; }
.switch input { appearance: none; width: 46px; height: 26px; border-radius: 99px; background: var(--line-2); position: relative; cursor: pointer; transition: background .2s; flex: none; margin: 0; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.switch input:checked { background: var(--teal-d); }
.switch input:checked::after { transform: translateX(20px); }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #E2E8F0; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .95; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(11, 31, 58, .92) 40%, rgba(11, 31, 58, .25) 75%, rgba(11, 31, 58, 0) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: clamp(48px, 8vw, 96px) 0 clamp(52px, 8vw, 92px); }
.hero h1 { color: #fff; max-width: 13ch; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 34rem; color: #CBD5E1; }
.hero-actions { display: grid; gap: 14px; max-width: 520px; margin-top: 26px; }
.quick-check { display: flex; gap: 8px; background: rgba(255, 255, 255, .08); padding: 8px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14); }
.quick-check input { border-color: transparent; }
.quick-check .btn { flex: none; }
.home-ip { margin-top: 18px; font-size: .95rem; color: #CBD5E1; min-height: 1.6em; }
.home-ip a, .hero a.text-link { color: var(--teal-2); }
.home-ip strong { color: #fff; }
@media (max-width: 760px) {
  .hero-bg { object-position: 78% center; opacity: .45; }
  .hero::after { background: linear-gradient(180deg, rgba(11, 31, 58, .7), var(--navy) 85%); }
  .quick-check { flex-direction: column; }
}

/* page header (tool pages) */
.page-head { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: 22px 0 8px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .3em; }
.page-head .lead { font-size: 1.08rem; color: var(--muted); max-width: 46rem; margin-bottom: .6rem; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 10px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); }

/* ---------- sections & cards ---------- */
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section--white { background: #fff; }
.section-head { max-width: 44rem; margin-bottom: 28px; }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--teal-d); margin-bottom: .5rem; }
.hero .eyebrow { color: var(--teal-2); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); }
.card-lite { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.tool-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.tool-card:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 14px 30px rgba(15, 23, 42, .1); color: inherit; }
.tool-card img { aspect-ratio: 3 / 2; object-fit: contain; background: #fff; padding: 10px 14px 0; width: 100%; }
.tool-card .body { padding: 14px 20px 22px; }
.tool-card h3 { margin-bottom: .3em; }
.tool-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.tool-card .go { margin-top: 12px; display: inline-block; font-weight: 750; color: var(--teal-d); }

.steps3 { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps3 > div { counter-increment: s; background: #fff; border-radius: var(--r); padding: 24px; border: 1px solid var(--line); }
.steps3 > div::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 12px; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; } }

/* ---------- tool layout ---------- */
.tool-wrap { padding: 8px 0 40px; }
.tool { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: clamp(18px, 3.4vw, 36px); }
.tool-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font-size: .92rem; color: var(--muted); margin-top: 14px; }
.tool-meta b { color: var(--ink); }

/* speed test */
.st-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
@media (max-width: 860px) { .st-top { grid-template-columns: 1fr; } }
.gauge-box { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin: 0 auto; background: radial-gradient(circle at 50% 45%, var(--navy-3), var(--navy) 70%); border-radius: 50%; box-shadow: inset 0 0 0 10px #0E2747, 0 16px 40px rgba(11, 31, 58, .25); }
#gauge { position: absolute; inset: 0; }
.gauge-svg { width: 100%; height: 100%; }
.g-track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 18; stroke-linecap: round; }
.g-fill { fill: none; stroke-width: 18; stroke-linecap: round; transition: stroke .3s; }
[data-mode='upload'] .g-fill { stroke: #8B5CF6; }
.g-labels text { fill: #94A3B8; font: 700 11px Manrope, sans-serif; }
.gauge-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.go-btn { width: 46%; aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer; font: 800 clamp(1.5rem, 5vw, 2.1rem) Manrope, sans-serif; color: var(--navy); background: radial-gradient(circle at 35% 30%, #5EEAD4, var(--teal) 60%, var(--teal-d)); box-shadow: 0 0 0 8px rgba(45, 212, 191, .18), 0 0 0 18px rgba(45, 212, 191, .07), 0 10px 30px rgba(0, 0, 0, .35); animation: pulse 2.4s infinite; letter-spacing: .02em; }
.go-btn.small-txt { font-size: clamp(1.05rem, 3.4vw, 1.3rem); }
.go-btn:hover { filter: brightness(1.07); }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(45, 212, 191, .14), 0 0 0 28px rgba(45, 212, 191, .04), 0 10px 30px rgba(0, 0, 0, .35); } }
@media (prefers-reduced-motion: reduce) { .go-btn { animation: none; } }
.readout { color: #fff; }
.readout .num { display: block; font-size: clamp(2.6rem, 9vw, 3.7rem); font-weight: 800; line-height: 1; }
.readout .unit { display: block; color: #94A3B8; font-weight: 700; margin-top: 6px; }
.readout .phase { display: inline-block; margin-top: 10px; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-2); }
.metric-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; }
.metric .l { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.metric .v { font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1.1; margin-top: 4px; }
.metric .u { font-size: .85rem; color: var(--muted); font-weight: 600; }
.metric .l i { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); display: inline-block; }
.metric--up .l i { background: #8B5CF6; }
.findings + .result-grid, .metric-row + .findings { margin-top: 18px; }
#dg-results .metric-row { grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }
@media (max-width: 640px) { #dg-results .metric-row { grid-template-columns: repeat(2, 1fr); } }
.st-side .opts { margin-top: 16px; display: grid; gap: 12px; }
.st-side .opts .note { font-size: .86rem; color: var(--muted); margin: -4px 0 0; }
.pkg-field { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pkg-field input { width: 120px; min-height: 44px; padding: 8px 12px; }
.status-line { min-height: 1.5em; margin-top: 12px; color: var(--muted); font-size: .93rem; text-align: center; }

.results { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.verdict { display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: 16px; background: var(--teal-l); margin-bottom: 18px; }
.verdict p { margin: 0; }
.verdict-title { font-size: 1.35rem; margin-bottom: .2em; }
.verdict-badge { flex: none; display: grid; place-items: center; min-width: 108px; height: 108px; border-radius: 50%; font-weight: 800; font-size: 1.15rem; color: #fff; background: var(--teal-d); }
.verdict--great .verdict-badge { background: var(--green); }
.verdict--ok { background: var(--amber-l); } .verdict--ok .verdict-badge { background: var(--amber); }
.verdict--bad { background: var(--red-l); } .verdict--bad .verdict-badge { background: var(--red); }
@media (max-width: 560px) { .verdict { flex-direction: column; text-align: center; } }
.pkg { margin: 0 0 18px; }
.pkg p { margin: 8px 0 0; }
.pkg-bar { height: 12px; background: var(--line); border-radius: 99px; overflow: hidden; }
.pkg-bar span { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.pkg--ok .pkg-bar span { background: var(--amber); } .pkg--bad .pkg-bar span { background: var(--red); }
.activity-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 700px) { .activity-list { grid-template-columns: 1fr; } }
.act { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.act strong { display: block; color: var(--ink); }
.act span:not(.act-icon) { font-size: .9rem; color: var(--muted); }
.act-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #fff; background: var(--green); }
.act--ok .act-icon { background: var(--amber); } .act--bad .act-icon { background: var(--red); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .result-grid { grid-template-columns: 1fr; } }
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.kv li:last-child { border-bottom: 0; }
.kv b { text-align: right; color: var(--ink); }
.kv b.ok-text { color: var(--green); } .kv b.bad-text { color: var(--red); }
.q { text-transform: capitalize; }
.q--great, .q--good { color: var(--green) !important; } .q--average { color: var(--amber) !important; } .q--poor, .q--bad { color: var(--red) !important; }

/* tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--bg); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table tr:last-child td, .table tr:last-child th { border-bottom: 0; }
.table--kv th { width: 38%; color: var(--muted); font-weight: 650; }
@media (max-width: 560px) { .hide-sm { display: none; } .table th, .table td { padding: 10px; } }

/* callouts */
.callout { padding: 14px 16px; border-radius: 12px; border-left: 4px solid var(--teal); background: var(--teal-l); margin: 14px 0; font-size: .97rem; }
.callout--ok { border-color: var(--green); background: var(--green-l); }
.callout--warn { border-color: var(--amber); background: var(--amber-l); }
.callout--bad { border-color: var(--red); background: var(--red-l); }
.callout--info { border-color: var(--navy-3); background: #EEF3FA; }
.callout p:last-child { margin: 0; }

/* down checker */
.dc-form { display: flex; gap: 10px; }
.dc-form .btn { flex: none; min-width: 150px; }
@media (max-width: 600px) { .dc-form { flex-direction: column; } }
.dc-examples { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.dc-examples button { background: var(--bg); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; font: inherit; font-size: .86rem; color: var(--teal-dd); cursor: pointer; margin: 2px; }
.dc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
@media (max-width: 920px) { .dc-layout { grid-template-columns: 1fr; } }
.dc-result { margin-top: 22px; }
.dc-head { display: flex; gap: 18px; align-items: center; margin-bottom: 12px; }
.dc-head img { flex: none; width: 108px; height: 108px; border-radius: 14px; }
.dc-head h2 { font-size: clamp(1.35rem, 3.2vw, 1.8rem); margin-bottom: .3em; }
.dc-head p { margin: 0; }
.dc-label { font-size: .8rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.dc-result--up .dc-label { color: var(--green); } .dc-result--down .dc-label { color: var(--red); }
@media (max-width: 520px) { .dc-head { flex-direction: column; align-items: flex-start; } .dc-head img { width: 84px; height: 84px; } }
.recent { list-style: none; margin: 0; padding: 0; }
.recent li a { display: grid; grid-template-columns: 12px 1fr; column-gap: 10px; padding: 10px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); border-radius: 8px; }
.recent li a:hover { background: var(--bg); }
.recent .dot { grid-row: span 2; align-self: center; }
.r-domain { font-weight: 750; overflow-wrap: anywhere; }
.r-meta { font-size: .82rem; color: var(--muted); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.dot--up { background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
.dot--down { background: #EF4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .18); }
.ticks { padding-left: 0; list-style: none; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--teal-d); font-weight: 800; }

/* IP */
.ip-hero { text-align: center; padding: 10px 0 6px; }
.ip-label { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ip-value { font-size: clamp(1.8rem, 7vw, 3.4rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; overflow-wrap: anywhere; line-height: 1.15; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.pill { display: inline-block; padding: 3px 12px; border-radius: 99px; background: var(--teal-l); color: var(--teal-dd); font-weight: 750; font-size: .85rem; }

/* diagnosis */
.q-group { border: 0; padding: 0; margin: 0 0 22px; }
.q-group legend { font-weight: 800; color: var(--ink); font-size: 1.08rem; margin-bottom: 10px; padding: 0; }
.q-group legend span { color: var(--muted); font-weight: 600; font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 15px; border: 2px solid var(--line-2); border-radius: 12px; background: #fff; font-weight: 650; font-size: .96rem; cursor: pointer; }
.chip input:checked + span { border-color: var(--teal-d); background: var(--teal-l); color: var(--teal-dd); }
.chip input:focus-visible + span { outline: 3px solid var(--teal-2); outline-offset: 2px; }
.progress-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.step::before { content: ''; grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line-2); align-self: center; }
.step--run::before { border-color: var(--teal); border-right-color: transparent; animation: spin .8s linear infinite; }
.step--done::before { content: '✓'; background: var(--green); border-color: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.step--warn::before { content: '!'; background: var(--amber); border-color: var(--amber); color: #fff; display: grid; place-items: center; font-weight: 800; }
.step--fail::before { content: '✕'; background: var(--red); border-color: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.step-title { font-weight: 750; color: var(--ink); }
.step-note { font-size: .9rem; color: var(--muted); }
.findings { display: grid; gap: 12px; }
.finding { display: flex; gap: 16px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; border-left: 6px solid var(--teal); }
.finding h3 { margin-bottom: .3em; }
.finding p { margin: 0; color: var(--text); }
.finding-sev { font-size: .76rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted) !important; margin-bottom: 2px !important; }
.finding--bad { border-left-color: var(--red); } .finding--warn { border-left-color: var(--amber); } .finding--ok { border-left-color: var(--green); } .finding--info { border-left-color: var(--navy-3); }
.finding-icon img { width: 64px; height: 64px; border-radius: 12px; }
@media (max-width: 520px) { .finding { flex-direction: column; } }
.fix-list { padding-left: 1.3em; margin: 0; }
.fix-list li { margin-bottom: 9px; }
.report { margin-top: 16px; }
.report pre { white-space: pre-wrap; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: .85rem; max-height: 240px; overflow: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- article / prose ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .content-layout { grid-template-columns: minmax(0, 1fr); } }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose .table-wrap { margin: 1.2em 0 1.6em; }
.prose img { border-radius: var(--r-sm); }
.prose .lead { font-size: 1.15rem; color: var(--muted); }
.article-meta { font-size: .88rem; color: var(--muted); margin-bottom: 1.4rem; }
.aside { position: sticky; top: 88px; display: grid; gap: 16px; }
.aside .card-lite h3 { font-size: 1rem; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links li { border-bottom: 1px solid var(--line); }
.aside-links a { display: block; padding: 9px 0; text-decoration: none; font-weight: 650; font-size: .95rem; }
.toc { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 20px; margin: 0 0 1.6rem; }
.toc p { font-weight: 800; margin-bottom: .4em; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.2em; }
.calc { background: var(--teal-l); border: 1px solid #B7EDE5; border-radius: var(--r); padding: 22px; margin: 1.4em 0 1.8em; }
.calc h3 { margin-top: 0 !important; }
.calc .grid-calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.calc .field label { font-size: .9rem; }
.calc input, .calc select { min-height: 46px; font-size: 1rem; padding: 8px 12px; }
.calc-out { background: #fff; border-radius: 12px; padding: 14px 16px; font-size: 1.02rem; }
.calc .checks { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.calc .checks label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.calc .checks input { width: 20px; height: 20px; accent-color: var(--teal-d); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 750; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal-d); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 18px 16px; }
.faq details > div p:last-child { margin: 0; }

/* guides grid */
.guide-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.guide-card:hover { border-color: var(--teal); transform: translateY(-2px); color: inherit; }
.guide-card h3 { margin-bottom: .35em; }
.guide-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.guide-card .tag { display: inline-block; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-d); margin-bottom: 8px; }

/* ads */
.ad-slot { margin: 28px auto; text-align: center; min-height: 100px; }
.ad-slot::before { content: 'Advertisement'; display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #94A3B8; margin-bottom: 4px; }
body.is-testing .ad-slot { visibility: hidden; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #CBD5E1; padding: 52px 0 26px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #E2E8F0; text-decoration: none; }
.site-footer a:hover { color: var(--teal-2); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal-2); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.3rem; color: #fff !important; margin-bottom: 10px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 34px; padding-top: 18px; font-size: .84rem; color: #94A3B8; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* 404 */
.notfound { text-align: center; padding: 60px 0 80px; }
.notfound img { margin: 0 auto 18px; width: min(100%, 420px); }

.cta-band { background: var(--navy); color: #CBD5E1; border-radius: 22px; padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; font-size: 1.5rem; }
.cta-band p { margin: 0; }

@media (max-width: 640px) {
  .tool-card { flex-direction: row; align-items: center; }
  .tool-card img { width: 120px; flex: none; padding: 8px; aspect-ratio: 1; }
  .tool-card .body { padding: 14px 14px 14px 4px; }
  .tool-card .go { margin-top: 6px; }
}

.prose .table-wrap .table { min-width: 540px; }
.prose .table-wrap .table--kv { min-width: 0; }
