:root {
  --bg: #071623;
  --bg-soft: #0e2538;
  --card: #14334c;
  --card-2: #0f2a40;
  --line: #4f8fb5;
  --line-soft: rgba(125, 211, 252, 0.22);
  --text: #f3fcff;
  --muted: #badcea;
  --primary: #7dd3fc;
  --primary-2: #67c8f3;
  --accent: #9ae6ff;
  --accent-2: #59cce8;
  --shadow: 0 18px 44px rgba(0, 14, 30, 0.42);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Manrope, "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1180px 600px at 14% -10%, rgba(103, 200, 243, 0.34) 0%, transparent 65%),
    radial-gradient(920px 560px at 100% 10%, rgba(154, 230, 255, 0.18) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #05111b 100%);
  line-height: 1.55;
}

a {
  color: var(--text);
  opacity: 0.92;
  text-decoration: none;
}

a:hover { opacity: 1; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 22, 35, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.nav a {
  color: var(--muted);
  font-size: 1rem;
}

.nav a.section-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav a.audit-link {
  padding-bottom: 2px;
}

.nav a.active {
  color: var(--text);
  font-weight: 800;
}

.shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 22px 36px;
}

.hero {
  display: block;
  padding-top: 20px;
}

.eyebrow,
.guide-kicker {
  margin-bottom: 12px;
  color: #bfefff;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 16px;
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h2,
.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.lede,
.article-shell p.lede {
  max-width: 46rem;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.muted,
.mini-note,
.article-shell p,
.bullet-list,
.checklist {
  color: var(--muted);
}

.panel,
.stat,
.card-link {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 45%),
    linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.panel {
  padding: 20px;
  margin-bottom: 18px;
}

.card-link {
  display: block;
  padding: 18px;
  color: inherit;
}

.card-link:hover {
  text-decoration: none;
  border-color: #7dd3fc;
}

.card-link h3 {
  color: var(--text);
}

.value-card {
  padding: 18px;
  border-top: 2px solid var(--primary);
  border-radius: 0 0 12px 12px;
  background: rgba(12, 37, 58, 0.58);
}

.value-card > span,
.report-tag {
  color: #bfefff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-card h3 {
  margin-top: 9px;
}

.report-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.report-compare article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.18), rgba(255, 255, 255, 0.02));
}

.report-compare article:last-child {
  background: linear-gradient(135deg, rgba(105, 212, 200, 0.16), rgba(255, 255, 255, 0.02));
}

.report-preview-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-preview-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 4px;
  border-radius: 12px;
  border: 1px solid rgba(73, 185, 255, 0.2);
  box-shadow: 0 16px 34px rgba(0, 12, 28, 0.38);
}

.report-tag.full {
  color: #53e0c1;
  font-size: 1.25rem;
}

.report-tag {
  font-size: 1.25rem;
}

.report-compare h3 { margin-top: 8px; }
.report-compare p { margin-bottom: 0; }

.method-checks {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 30, 52, 0.58);
}

.scan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 18px;
}

.btn-link,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #031525;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
}

.btn-link.secondary,
button.secondary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #03231c;
  border-color: rgba(83, 224, 193, 0.38);
}

.btn-link:hover,
button:hover {
  text-decoration: none;
  filter: brightness(1.03);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  filter: saturate(0.35);
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 14px;
  min-height: 56px;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #07182a;
  color: var(--text);
  outline: none;
  font-size: 1.02rem;
}

input::placeholder {
  color: rgba(184, 210, 231, 0.66);
}

input:focus {
  border-color: rgba(73, 185, 255, 0.82);
  box-shadow: 0 0 0 3px rgba(73, 185, 255, 0.16);
}

pre {
  margin: 0;
  padding: 14px 16px;
  white-space: pre-wrap;
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.55;
  color: #e8f7ff;
  background: rgba(5, 25, 44, 0.76);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}

.scan-output {
  width: 100%;
  height: 310px;
  min-height: 310px;
  max-height: 310px;
  overflow: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #07182a;
  color: #e8f7ff;
  font: 0.92rem/1.6 "Courier New", monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.error {
  color: #ff8792;
}

.hidden {
  display: none;
}

.grid2,
.grid3,
.stat-grid {
  display: grid;
  gap: 16px;
}

.grid2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid3,
.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  padding: 16px;
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: #8ed8ff;
  font-size: 2rem;
  line-height: 1;
}

.bullet-list,
.checklist {
  margin: 0;
  padding-left: 22px;
  line-height: 1.7;
}

.bullet-list li + li,
.checklist li + li {
  margin-top: 8px;
}

.mini-note {
  margin-top: 12px;
  font-size: 0.95rem;
}

.scan-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.scan-badges span {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(73, 185, 255, 0.09);
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.article-shell h1 {
  max-width: 18ch;
  font-size: clamp(2.05rem, 3vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.article-shell h2 {
  font-size: 1.45rem;
}

.callout {
  border-left: 3px solid var(--accent);
}

.faq-item + .faq-item {
  margin-top: 14px;
}

.site-foot {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.site-foot a {
  color: #8ed8ff;
}

@media (max-width: 980px) {
  .scan-layout,
  .grid2,
  .grid3,
  .stat-grid,
  .report-compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  h1,
  .article-shell h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .actions,
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn-link,
  button {
    width: 100%;
  }

  .report-preview-image {
    display: none;
  }
}


.report-preview-image {
  cursor: zoom-in;
}

.report-preview-image:focus-visible {
  outline: 3px solid var(--accent, #53e0c1);
  outline-offset: 4px;
}

.report-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(2, 10, 20, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.report-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.report-lightbox img {
  display: block;
  max-width: min(94vw, 1500px);
  max-height: 92vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  cursor: zoom-out;
}

.report-lightbox-open {
  overflow: hidden;
}
