/* UI-01A | Homepage-only Data Intelligence Minimalism.
   Loaded after existing brand and homepage styles. App, billing, reports,
   Marketplace and the public scanner runtime are deliberately untouched. */
@import url('https://fonts.bunny.net/css?family=inter:400,500,600,700&family=jetbrains-mono:400,500&display=swap');

body.public-home {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.public-home code,
body.public-home .st-evidence-row code,
body.public-home .st-home-domain-technologies small,
body.public-home .st-home-domain-details {
  font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  overflow-wrap: anywhere;
}

/* The default is light; a saved dark preference continues to work. */
html[data-public-theme="light"] {
  color-scheme: light;
  --st-bg: #f8fafc;
  --st-bg-soft: #f1f5f9;
  --st-surface: #fff;
  --st-surface-2: #f8fafc;
  --st-surface-3: #eff6ff;
  --st-ink: #101828;
  --st-ink-soft: #344054;
  --st-muted: #475467;
  --st-muted-2: #667085;
  --st-line: #e2e8f0;
  --st-line-strong: #cbd5e1;
  --st-blue: #2563eb;
  --st-blue-strong: #1d4ed8;
  --st-max: 1200px;
  --st-radius: 10px;
  --st-radius-sm: 8px;
  --st-shadow: none;
  --st-shadow-soft: none;
}

/* No decorative illustration competes with the actual domain scan. */
body.public-home .st-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 960px;
  gap: 0;
}
body.public-home .st-hero {
  padding: 92px 0 74px;
}
body.public-home .st-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 5.2vw, 56px);
  line-height: 1.11;
  letter-spacing: -.049em;
  font-weight: 700;
}
body.public-home .st-hero-lead {
  max-width: 730px;
  margin-top: 22px;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.68;
}
body.public-home .st-hero::before,
body.public-home .st-hero::after,
body.public-home .st-final-box::after {
  content: none;
  display: none;
}

html[data-public-theme="light"] body.public-home .st-hero {
  background: #f8fafc !important;
  border-bottom-color: #e2e8f0;
}
html[data-public-theme="light"] body.public-home .st-hero h1 span {
  color: #2563eb !important;
}
html[data-public-theme="light"] body.public-home .st-eyebrow {
  color: #1d4ed8 !important;
  letter-spacing: .08em;
}
html[data-public-theme="light"] body.public-home .st-hero-lead,
html[data-public-theme="light"] body.public-home .st-home-domain-scope,
html[data-public-theme="light"] body.public-home .st-hero-note {
  color: #475467 !important;
}

html[data-public-theme="light"] body.public-home .site-header {
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
}
html[data-public-theme="light"] body.public-home .st-theme-toggle {
  background: #fff;
  color: #344054;
  border-color: #cbd5e1;
}
html[data-public-theme="light"] body.public-home .st-mobile-panel {
  background: #fff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .10) !important;
}

body.public-home .st-home-domain-form {
  max-width: 740px;
  margin-top: 30px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: none;
}
html[data-public-theme="light"] body.public-home .st-home-domain-form {
  background: #fff !important;
  border: 1px solid #cbd5e1 !important;
}
html[data-public-theme="light"] body.public-home .st-home-domain-controls input {
  min-height: 48px;
  background: #fff !important;
  color: #101828 !important;
  border: 1px solid #94a3b8 !important;
  border-radius: 8px;
}
html[data-public-theme="light"] body.public-home .st-home-domain-controls input::placeholder {
  color: #667085;
}
html[data-public-theme="light"] body.public-home .button-primary,
html[data-public-theme="light"] body.public-home .simple-cta {
  background: #2563eb !important;
  border: 1px solid #2563eb !important;
  border-radius: 8px;
  box-shadow: none !important;
  transform: none;
}
html[data-public-theme="light"] body.public-home .button-primary:hover,
html[data-public-theme="light"] body.public-home .simple-cta:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  box-shadow: none !important;
  transform: none;
}
html[data-public-theme="light"] body.public-home .button-secondary {
  background: #fff !important;
  color: #344054 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px;
  box-shadow: none !important;
}
html[data-public-theme="light"] body.public-home .button-secondary:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
}
html[data-public-theme="light"] body.public-home .st-hero-note span::before {
  content: none;
  display: none;
}

/* Give real technical content the visual priority, not repeated decorative cards. */
html[data-public-theme="light"] body.public-home .st-card,
html[data-public-theme="light"] body.public-home .st-step,
html[data-public-theme="light"] body.public-home .st-detection,
html[data-public-theme="light"] body.public-home .st-story,
html[data-public-theme="light"] body.public-home .st-evidence-panel,
html[data-public-theme="light"] body.public-home .st-module {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px;
  box-shadow: none !important;
}
html[data-public-theme="light"] body.public-home .st-section-soft {
  background: #f1f5f9 !important;
}
html[data-public-theme="light"] body.public-home .st-pricing-teaser,
html[data-public-theme="light"] body.public-home .st-final-box {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px;
  box-shadow: none !important;
}
html[data-public-theme="light"] body.public-home .simple-public-footer {
  background: #fff !important;
  border-color: #e2e8f0 !important;
}
html[data-public-theme="light"] body.public-home .simple-public-footer .st-footer-group a {
  color: #475467;
}
html[data-public-theme="light"] body.public-home .st-home-domain-result {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}
html[data-public-theme="light"] body.public-home .st-home-domain-result a {
  color: #1d4ed8 !important;
}

body.public-home :is(a, button, input, summary):focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

@media (max-width: 620px) {
  body.public-home .st-hero { padding: 58px 0 60px; }
  body.public-home .st-hero h1 { font-size: clamp(38px, 10vw, 48px); }
  body.public-home .st-home-domain-form { padding: 14px; }
  body.public-home .st-hero-actions { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  body.public-home .button-primary,
  body.public-home .button-secondary { transition: none !important; }
}
