/* Shared SeaRadar typography, navigation, and analysis polish. */
body * { font-family: Manrope, sans-serif !important; }

.brand, .brand * { font-family: Manrope, sans-serif; }
.brand { font-weight: 800; }

.landing-nav nav,
.topbar nav,
body > header nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(211, 230, 240, .95);
  border-radius: 14px;
  background: rgba(246, 250, 252, .82);
  box-shadow: 0 8px 28px rgba(45, 94, 122, .06);
  backdrop-filter: blur(14px);
}

.landing-nav nav a,
.topbar nav a,
body > header nav a {
  padding: 9px 14px;
  border-radius: 10px;
  color: #607786;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.015em;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.landing-nav nav a:hover,
.topbar nav a:hover,
body > header nav a:hover {
  color: #0f6dce;
  background: #fff;
  box-shadow: 0 4px 14px rgba(30, 100, 140, .09);
  transform: translateY(-1px);
}

.topbar nav a.active,
body > header nav a.active {
  color: #fff;
  background: linear-gradient(135deg, #1677e8, #13bfe1);
  box-shadow: 0 6px 16px rgba(22, 119, 232, .2);
}

h1,
.scanner-heading h1,
.intro h1,
.section-intro h2,
.evidence-heading h2,
.final-cta h2 {
  font-family: Manrope, sans-serif;
  font-weight: 700;
  letter-spacing: -.062em;
}

.address-field input,
.holder-address a,
.window-ca,
.contract,
.balance,
.map-inspector > strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}

.map-hud {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(211, 230, 240, .95);
  border-radius: 13px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 28px rgba(32, 86, 116, .1);
  backdrop-filter: blur(12px);
}

.map-hud > div { min-width: 102px; padding: 8px 10px; border-radius: 9px; }
.map-hud > div + div { border-left: 1px solid #e4eef3; }
.map-hud strong { display: block; color: #071d2d; font-size: 15px; line-height: 1; }
.map-hud span { display: block; margin-top: 5px; color: #79909e; font-size: 10px; font-weight: 650; }

.map-inspector {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  width: 244px;
  padding: 18px;
  border: 1px solid #d7e8f1;
  border-radius: 16px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 18px 44px rgba(29, 78, 105, .15);
  backdrop-filter: blur(16px);
}

.map-inspector button { position: absolute; top: 7px; right: 10px; border: 0; background: none; color: #78909d; font-size: 20px; cursor: pointer; }
.map-inspector > span { display: block; color: #1677e8; font-size: 10px; font-weight: 750; letter-spacing: .1em; }
.map-inspector > strong { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; }
.map-inspector > div { display: flex; align-items: baseline; gap: 7px; margin-top: 20px; }
.map-inspector b { font-size: 28px; letter-spacing: -.04em; }
.map-inspector small, .map-inspector p { color: #607c8d; font-size: 11px; }
.map-inspector p { line-height: 1.6; }
.map-inspector a { display: block; margin-top: 14px; color: #1677e8; font-size: 12px; font-weight: 750; text-decoration: none; }

.map-tooltip { z-index: 5; min-width: 215px; padding: 12px 14px; }
.map-tooltip strong, .map-tooltip span, .map-tooltip small { display: block; }
.map-tooltip strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; font-size: 11px; font-weight: 600; }
.map-tooltip span { margin-top: 7px; color: #1677e8; font-size: 13px; font-weight: 750; }
.map-tooltip small { margin-top: 3px; color: #607c8d; font-size: 10px; }
.map-caption { font-size: 13px; }

.signal { grid-template-columns: 28px 1fr auto; padding: 14px 10px; border-radius: 11px; transition: background .2s ease; }
.signal.bad { background: rgba(232, 82, 88, .055); }
.signal.good { background: rgba(36, 207, 169, .045); }
.signal-icon { width: 22px; height: 22px; display: grid; place-items: center; margin-top: 0; border-radius: 50%; font-size: 13px; font-style: normal; font-weight: 800; }
.signal.good .signal-icon { color: #087d61; background: #d9f8ee; border: 1px solid #9be6d3; }
.signal.bad .signal-icon { color: #bd2830; background: #ffe3e5; border: 1px solid #f5adb1; }
.signal.warn .signal-icon { color: #9b6506; background: #fff2d6; border: 1px solid #efd18f; }
.signal.bad strong, .signal.bad em { color: #bc2b33; }
.signal.good em { color: #087d61; }

.narrative-card > #analysisNarrative { padding: 18px 25px 28px; color: #4c6878; }
.conclusion-kicker { width: fit-content; display: block; padding: 7px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.conclusion-kicker.good { color: #087d61; background: #dff9f1; }
.conclusion-kicker.warn { color: #95620a; background: #fff3da; }
.conclusion-kicker.bad { color: #bd2830; background: #ffe4e6; }
#analysisNarrative > strong { display: block; margin-top: 17px; color: #071d2d; font-size: 16px; line-height: 1.55; }
#analysisNarrative > p { margin: 8px 0 19px; font-size: 13px; line-height: 1.65; }
.conclusion-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.conclusion-columns > div { padding: 14px; border: 1px solid #e1edf3; border-radius: 12px; background: #f9fcfe; }
.conclusion-columns b { display: block; margin-bottom: 10px; color: #607c8d; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.conclusion-columns span { display: grid; grid-template-columns: 18px 1fr; gap: 7px; align-items: start; margin-top: 8px; color: #355364; font-size: 11px; line-height: 1.45; }
.conclusion-columns i { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-style: normal; font-weight: 800; }
.bad-note i { color: #bd2830; background: #ffe3e5; }.good-note i { color: #087d61; background: #d9f8ee; }.neutral-note i { color: #718894; background: #e9f0f4; }

.hero-copy > * { animation: hero-enter .75s cubic-bezier(.2,.75,.25,1) both; }
.hero-copy > :nth-child(2) { animation-delay: 80ms; }.hero-copy > :nth-child(3) { animation-delay: 150ms; }.hero-copy > :nth-child(4) { animation-delay: 220ms; }
.hero-wave { animation: wave-reveal 1.15s cubic-bezier(.2,.75,.25,1) both; will-change: transform; }
.hero-stats > div { animation: hero-enter .7s cubic-bezier(.2,.75,.25,1) both; }.hero-stats > div:nth-child(1){animation-delay:280ms}.hero-stats > div:nth-child(2){animation-delay:350ms}.hero-stats > div:nth-child(3){animation-delay:420ms}
.product-window { transition: transform .45s cubic-bezier(.2,.75,.25,1), box-shadow .45s ease; }
.product-window:hover { transform: translateY(-5px); box-shadow: 0 48px 110px rgba(30,92,128,.16); }
.evidence-grid article { transition: transform .35s cubic-bezier(.2,.75,.25,1), box-shadow .35s ease; }
.evidence-grid article:hover { z-index: 2; transform: translateY(-5px); box-shadow: 0 20px 45px rgba(29,83,113,.11); }
.evidence-icon { animation: icon-float 5s ease-in-out infinite; }.evidence-grid article:nth-child(2n) .evidence-icon{animation-delay:-1.4s}.evidence-grid article:nth-child(3n) .evidence-icon{animation-delay:-2.8s}
@keyframes hero-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes wave-reveal { from { opacity: 0; clip-path: inset(0 0 0 55%); } to { opacity: .96; clip-path: inset(0 0 0 0); } }
@keyframes icon-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.reveal-ready {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .85s cubic-bezier(.2, .75, .25, 1) var(--reveal-delay, 0ms), transform .85s cubic-bezier(.2, .75, .25, 1) var(--reveal-delay, 0ms);
}
.reveal-ready.reveal-visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .landing-nav nav, .topbar nav, body > header nav { display: none; }
}

@media (max-width: 650px) {
  .map-hud { right: 12px; left: 12px; overflow-x: auto; }
  .map-hud > div { min-width: 92px; }
  .map-inspector { top: 76px; right: 12px; left: 12px; width: auto; }
  .conclusion-columns { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready { opacity: 1; transform: none; }
  .hero-copy > *, .hero-wave, .hero-stats > div, .evidence-icon { animation: none; }
}
