/* AI Malware Scanner — promo website. Self-contained: system fonts, no external resources, no trackers. */

:root {
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ink: #0f1a2b;
  --text: #2a3443;
  --muted: #5b6573;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --accent: #2456c9;
  --accent-2: #6d9bff;
  --accent-soft: #e8effd;
  --navy: #0a1222;
  --navy-2: #101d36;

  --ok: #1f7a3f;
  --ok-soft: #e7f6ec;
  --warn: #8a5a00;
  --warn-soft: #fff4d6;
  --danger: #b42318;
  --danger-soft: #fdecea;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 43, 0.06), 0 2px 6px rgba(15, 26, 43, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(10, 18, 34, 0.35), 0 12px 24px -12px rgba(10, 18, 34, 0.2);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

code,
kbd {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.08em 0.4em;
}

:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: min(var(--max), 100% - 48px);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(180deg, #3a6ee0, var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(36, 86, 201, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  box-shadow: 0 12px 28px -8px rgba(36, 86, 201, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-outline {
  color: var(--accent);
  border-color: #c9d6f3;
  background: #fff;
}
.btn-outline:hover {
  border-color: var(--accent);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.92rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 18, 34, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: #fff;
}
.nav .btn {
  color: #fff;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    padding: 8px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .nav .btn {
    margin-top: 14px;
    justify-content: center;
    border-bottom: 0;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #c9d3e3;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(109, 155, 255, 0.35), transparent 60%),
    radial-gradient(800px 480px at 0% 30%, rgba(36, 86, 201, 0.35), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  overflow: hidden;
  padding: 88px 0 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
}
.hero-copy {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #dbe6ff;
  background: rgba(109, 155, 255, 0.14);
  border: 1px solid rgba(109, 155, 255, 0.3);
  margin-bottom: 26px;
}
.eyebrow .pill {
  background: var(--accent-2);
  color: var(--navy);
  border-radius: 999px;
  padding: 1px 9px;
  font-size: 0.76rem;
  font-weight: 750;
}
.hero h1 {
  color: #fff;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #8fb2ff, #c4d6ff 50%, #8fb2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  color: #b8c4d8;
  max-width: 720px;
  margin: 0 auto 34px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 18px;
  font-size: 0.88rem;
  color: #8e9bb2;
}
.hero-visual {
  position: relative;
  margin: 64px auto 0;
  max-width: 1080px;
}
.hero-visual .window {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 -10px 80px -10px rgba(109, 155, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 26, 43, 0.06);
  animation: bob 6s ease-in-out infinite;
}
.float-card small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8rem;
}
.float-card .ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.float-card .ico svg {
  width: 20px;
  height: 20px;
}
.float-a {
  left: -72px;
  top: 62%;
}
.float-b {
  right: -40px;
  top: -26px;
  animation-delay: -3s;
}
.float-c {
  right: -40px;
  bottom: 7%;
  animation-delay: -1.5s;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@media (max-width: 1100px) {
  .float-card {
    display: none;
  }
}

/* ---------- App window frame for screenshots ---------- */

figure.shot {
  margin: 0;
}

.window {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 26, 43, 0.08);
}
.window-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: linear-gradient(180deg, #eef0f4, #e4e7ec);
  border-bottom: 1px solid #d5d9e0;
  position: relative;
}
.window-bar i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.15);
}
.window-bar i:nth-child(2) {
  background: #febc2e;
}
.window-bar i:nth-child(3) {
  background: #28c840;
}
.window-bar b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7380;
  pointer-events: none;
}
.window.dark {
  background: #12161c;
}
.window.dark .window-bar {
  background: linear-gradient(180deg, #2b313b, #232831);
  border-bottom-color: #14181e;
}
.window.dark .window-bar b {
  color: #a3acb9;
}
.window img {
  width: 100%;
  aspect-ratio: 1320 / 832;
}
button.zoom {
  all: unset;
  display: block;
  cursor: zoom-in;
  width: 100%;
}
button.zoom:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: -3px;
}

/* ---------- Sections ---------- */

section {
  padding: 110px 0;
}
.section-soft {
  background: var(--bg-soft);
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.section-head p {
  font-size: 1.12rem;
  color: var(--muted);
}
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Trust strip */
.trust {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.93rem;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

/* Steps (overview) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: #eef2fa;
}
.step .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.step .ico svg {
  width: 24px;
  height: 24px;
}
.step p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
}
@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Feature rows */
.feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.feature + .feature {
  margin-top: 120px;
}
.feature.flip {
  grid-template-columns: 7fr 5fr;
}
.feature.flip .feature-copy {
  order: 2;
}
.feature-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ok-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
@media (max-width: 960px) {
  .feature,
  .feature.flip {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature.flip .feature-copy {
    order: 0;
  }
  .feature + .feature {
    margin-top: 90px;
  }
}

/* Small inline badges that mirror the app */
.badge {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.6;
  vertical-align: 0.08em;
  white-space: nowrap;
}
.sev-critical {
  background: #b42318;
  color: #fff;
}
.sev-high {
  background: #ffe0cc;
  color: #9a3412;
}
.sev-medium {
  background: #fff1cc;
  color: #7a4d00;
}
.sev-low {
  background: #e1efff;
  color: #164c99;
}
.sev-info {
  background: #e9edf2;
  color: #3d4a5c;
}
.risk-R {
  background: var(--ok-soft);
  color: var(--ok);
}
.risk-C {
  background: var(--warn-soft);
  color: var(--warn);
}
.risk-D {
  background: var(--danger-soft);
  color: var(--danger);
}
.src {
  background: #eef1f5;
  color: #3d4a5c;
}
.src-pack {
  background: var(--ok-soft);
  color: var(--ok);
}
.src-ai {
  background: var(--accent-soft);
  color: var(--accent);
}
.src-web {
  background: var(--warn-soft);
  color: var(--warn);
}

/* Capability grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.cap h3 {
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cap h3 svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex: none;
}
.cap ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}
.cap li + li {
  margin-top: 4px;
}
@media (max-width: 1000px) {
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .cap-grid {
    grid-template-columns: 1fr;
  }
}

/* Safety section (dark) */
.section-dark {
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(36, 86, 201, 0.35), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #b8c4d8;
}
.section-dark h2,
.section-dark h3 {
  color: #fff;
}
.section-dark .section-head p {
  color: #9fb0c9;
}
.section-dark .kicker {
  color: var(--accent-2);
}
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.safety {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 26px;
}
.safety .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(109, 155, 255, 0.15);
  color: var(--accent-2);
  margin-bottom: 16px;
}
.safety .ico svg {
  width: 22px;
  height: 22px;
}
.safety p {
  margin: 0;
  font-size: 0.97rem;
}
@media (max-width: 960px) {
  .safety-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .safety-grid {
    grid-template-columns: 1fr;
  }
}

/* Light / dark showcase */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.duo figure {
  margin: 0;
}
.duo figcaption,
.shot figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 14px;
}
@media (max-width: 760px) {
  .duo {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  font-weight: 650;
  font-size: 1.08rem;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq details p {
  color: var(--muted);
  padding-right: 40px;
}

/* Download CTA */
.cta {
  text-align: center;
}
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 72px 32px;
  color: #c9d3e3;
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(109, 155, 255, 0.45), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(36, 86, 201, 0.5), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow-lg);
}
.cta-box h2 {
  color: #fff;
}
.cta-box p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: #b8c4d8;
  font-size: 1.1rem;
}
.cta-box .fine {
  font-size: 0.88rem;
  color: #8e9bb2;
  margin: 18px auto 0;
}
.platforms {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 26px;
  color: #9fb0c9;
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.platforms span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.platforms svg {
  width: 18px;
  height: 18px;
}

/* Footer */
.site-footer {
  padding: 40px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.site-footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--ink);
}
.demo-note {
  font-size: 0.85rem;
}

/* ---------- How-to page ---------- */

.page-hero {
  padding: 84px 0 70px;
  text-align: center;
}
.page-hero .lead {
  margin-bottom: 30px;
}
.toc-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 900px;
  margin: 34px auto 0;
  padding: 0;
  list-style: none;
}
.toc-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dbe6ff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 550;
}
.toc-chips a:hover {
  background: rgba(255, 255, 255, 0.14);
}
.toc-chips b {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-2);
  color: var(--navy);
  font-size: 0.75rem;
}

.guide {
  padding: 90px 0 40px;
}
.guide-step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 0 28px;
  position: relative;
  padding-bottom: 96px;
}
.guide-step::before {
  content: '';
  position: absolute;
  left: 37px;
  top: 64px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, #d3ddf3, rgba(211, 221, 243, 0));
}
.guide-step:last-child::before {
  display: none;
}
.step-num {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(160deg, #4a7ef0, var(--accent));
  box-shadow: 0 12px 28px -10px rgba(36, 86, 201, 0.7);
  position: sticky;
  top: 100px;
}
.step-body {
  min-width: 0;
}
.step-body > h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-top: 10px;
}
.step-body > p,
.step-body > ul {
  max-width: 760px;
  color: var(--text);
}
.step-body .lead-in {
  font-size: 1.12rem;
  color: var(--muted);
}
.step-body .shot {
  margin: 34px 0 0;
}
.step-body .shot + .shot {
  margin-top: 28px;
}
.annot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.annot div {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.95rem;
}
.annot strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}
.annot div p {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 860px) {
  .annot {
    grid-template-columns: 1fr;
  }
}
.tip {
  display: flex;
  gap: 14px;
  max-width: 860px;
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: #1d3c86;
  font-size: 0.97rem;
}
.tip svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
}
.tip p {
  margin: 0;
}
.tip p + p {
  margin-top: 6px;
}
.tip.warn {
  background: var(--warn-soft);
  color: #6b4500;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--muted);
}
.legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.install-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
  max-width: 980px;
}
.install-grid > div {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.install-grid h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.install-grid h3 svg {
  width: 22px;
  height: 22px;
}
.install-grid ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}
.install-grid li + li {
  margin-top: 6px;
}
@media (max-width: 860px) {
  .install-grid {
    grid-template-columns: 1fr;
  }
}
.dialog-mock {
  max-width: 440px;
  margin: 26px 0 0;
  border-radius: 14px;
  background: #f6f6f7;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.08);
  padding: 22px 24px 18px;
  font-size: 0.92rem;
  color: #222;
}
.dialog-mock strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}
.dialog-mock p {
  margin: 0 0 6px;
  color: #444;
}
.dialog-mock .dm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}
.dialog-mock .dm-actions span {
  padding: 5px 14px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #d2d2d7;
  font-weight: 550;
}
.dialog-mock .dm-actions span.primary {
  background: #0a64d8;
  border-color: #0a64d8;
  color: #fff;
}
.dialog-caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}
.shortcuts {
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 0.97rem;
}
.shortcuts td {
  padding: 8px 18px 8px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
@media (max-width: 640px) {
  .guide-step {
    grid-template-columns: 1fr;
  }
  .guide-step::before {
    display: none;
  }
  .step-num {
    position: static;
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
    border-radius: 16px;
  }
}

/* ---------- Lightbox ---------- */

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 1800px);
  max-height: 94vh;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(6, 10, 20, 0.86);
  backdrop-filter: blur(4px);
}
.lightbox img {
  max-width: min(96vw, 1800px);
  max-height: 86vh;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox p {
  color: #dbe3f0;
  text-align: center;
  margin: 14px 0 0;
  font-size: 0.95rem;
}
.lightbox .close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  line-height: 40px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .float-card {
    animation: none;
  }
  .btn {
    transition: none;
  }
}

.feature-title {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  letter-spacing: -0.025em;
}
.small {
  font-size: 0.92rem;
}
