/* ===========================================================================
   VantageBP 2026 design system — refresh stylesheet
   Brand guide v1.0 (locked 2026-05-28): Inter only; navy #002342 + orange
   #F4420A core; navy dominant field, orange the ONLY conversion accent.
   Used by the refreshed homepage + service pages. Legacy per-page CSS untouched.
   =========================================================================== */

:root {
  /* Primary */
  --navy: #002342;
  --orange: #f4420a;
  --white: #ffffff;
  /* Secondary / supporting */
  --navy-deep: #031b31;
  --navy-alt: #122d59;
  --slate-blue: #3b5871;
  --light-blue: #ebf8ff;
  --gray-blue: #768ea1;
  /* Neutrals */
  --near-black: #080808;
  --dark-gray: #444343;
  --mid-gray: #5f6360;
  --pale-gray: #eff1f2;
  --slate-dark: #20303c;
  /* Tokens */
  --maxw: 1160px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 35, 66, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 35, 66, 0.16);
  --ring: 0 0 0 3px rgba(244, 66, 10, 0.35);
  --section-y: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* in-page CTAs (#get-report, #services, #pricing, #faq) must clear the
   74px sticky header, or the section heading lands hidden behind it. */
section[id] { scroll-margin-top: 90px; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--near-black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* sticky footer: short pages (e.g. sent.html) keep the footer at the
     viewport bottom instead of floating up with whitespace below it */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-footer { margin-top: auto; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; color: var(--navy); margin: 0 0 0.4em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin: 0 0 14px; }
.lead { font-size: 1.15rem; color: var(--mid-gray); line-height: 1.7; }
.center { text-align: center; }
.measure { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1rem; line-height: 1; padding: 16px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s var(--ease), background 0.2s, box-shadow 0.2s; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #d63807; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(244, 66, 10, 0.3); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }
.btn-ghost-navy { background: transparent; color: var(--navy); border-color: rgba(0, 35, 66, 0.25); }
.btn-ghost-navy:hover { background: var(--navy); color: var(--white); }

/* ---- Header / nav ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links > li > a { color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; font-weight: 500; transition: color 0.15s; }
.nav__links > li > a:hover { color: var(--white); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__login { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; font-weight: 500; }
.nav__login:hover { color: var(--white); }
.nav .btn { padding: 11px 20px; font-size: 0.9rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--white); display: block; }
/* dropdown */
.nav__drop { position: relative; }
.nav__drop-menu { position: absolute; top: calc(100% + 12px); left: 0; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 10px; min-width: 280px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.18s var(--ease); }
.nav__drop:hover .nav__drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__drop-menu a { display: block; color: var(--navy); font-weight: 500; font-size: 0.92rem; padding: 11px 14px; border-radius: 8px; }
.nav__drop-menu a:hover { background: var(--light-blue); }

/* ---- Hero ---- */
.hero { background: radial-gradient(120% 130% at 80% 0%, var(--navy-alt) 0%, var(--navy) 55%, var(--navy-deep) 100%); color: var(--white); padding: clamp(64px, 9vw, 110px) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .lead { color: rgba(255, 255, 255, 0.82); max-width: 56ch; font-size: 1.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__note { margin-top: 18px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
/* page hero (service pages — text only) */
.hero--page { padding: clamp(48px, 7vw, 84px) 0; }
.hero--page h1 { max-width: 20ch; }
.hero--page .lead { max-width: 62ch; }
.crumb { font-size: 0.82rem; color: var(--gray-blue); margin: 0 0 16px; }
.crumb a { color: var(--gray-blue); }
.crumb a:hover { color: #fff; }

/* ---- Proof bar ---- */
.proofbar { background: var(--navy-deep); color: var(--white); }
.proofbar__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 0; }
.proof { text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.proof:last-child { border-right: 0; }
.proof b { display: block; font-size: 1.9rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.proof span { font-size: 0.85rem; color: var(--gray-blue); }

/* ---- Sections ---- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--light-blue); }
.section--gray { background: var(--pale-gray); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section__head p { color: var(--mid-gray); font-size: 1.1rem; }
.section--navy .section__head p { color: rgba(255, 255, 255, 0.78); }

/* ---- Cards / service grid ---- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--pale-gray); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--light-blue); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--mid-gray); font-size: 0.97rem; margin-bottom: 14px; }
.card__link { font-weight: 700; font-size: 0.92rem; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; }
.card__link:hover { gap: 10px; }

/* threat chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--white); padding: 12px 18px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; }
.chip svg { width: 18px; height: 18px; color: var(--orange); }

/* ---- How it works (steps) ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step__n { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--white); font-weight: 700; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--mid-gray); font-size: 0.95rem; }
.section--navy .step p { color: rgba(255, 255, 255, 0.75); }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--pale-gray); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 4px; font-weight: 700; color: var(--navy); font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.5rem; font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 4px 20px; color: var(--mid-gray); margin: 0; }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-alt) 100%); color: var(--white); border-radius: 22px; padding: clamp(44px, 6vw, 72px); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 52ch; margin: 0 auto 26px; }

/* ---- Lead form ---- */
.lead-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 30px; color: var(--near-black); }
.lead-form h3 { margin-bottom: 6px; }
.lead-form .helper { color: var(--mid-gray); font-size: 0.9rem; margin-bottom: 18px; }
.lead-form input, .lead-form select { width: 100%; padding: 13px 14px; margin-bottom: 12px; border: 1px solid #d6dde3; border-radius: 9px; font-family: inherit; font-size: 0.98rem; color: var(--near-black); background: var(--white); }
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: var(--orange); box-shadow: var(--ring); }
.lead-form .btn { width: 100%; justify-content: center; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-deep); color: var(--gray-blue); padding: 64px 0 32px; font-size: 0.92rem; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__logo img { height: 32px; margin-bottom: 16px; }
.site-footer a { color: var(--gray-blue); display: block; padding: 5px 0; }
.site-footer a:hover { color: var(--white); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; }

/* sticky mobile CTA */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--navy); padding: 12px 16px; box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25); }
.mobile-cta .btn { width: 100%; justify-content: center; }

/* ---- Blog ---- */
.post-meta { color: var(--gray-blue); font-size: 0.92rem; margin-top: 10px; }
.hero--page .post-meta { color: rgba(255, 255, 255, 0.6); }
.post-body { font-size: 1.08rem; color: var(--dark-gray); line-height: 1.8; }
.post-body > :first-child { margin-top: 0; }
.post-body h2 { margin: 1.6em 0 0.5em; font-size: 1.6rem; }
.post-body h3 { margin: 1.4em 0 0.4em; font-size: 1.25rem; }
.post-body p { margin: 0 0 1.1rem; }
.post-body ul, .post-body ol { margin: 0 0 1.1rem; padding-left: 1.3rem; }
.post-body li { margin: 0 0 0.5rem; }
.post-body a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.post-body img { border-radius: var(--radius-sm); margin: 1.4rem 0; }
.post-body blockquote { margin: 1.4rem 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--orange); color: var(--mid-gray); font-style: italic; }
.post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.tag { display: inline-block; background: var(--light-blue); color: var(--navy-alt); font-size: 0.82rem; font-weight: 600; padding: 6px 13px; border-radius: 999px; }
/* blog index listing */
.posts { list-style: none; padding: 0; margin: 0; }
.posts li { border-bottom: 1px solid var(--pale-gray); }
.posts li a { display: block; padding: 22px 4px; color: var(--navy); font-weight: 600; font-size: 1.15rem; transition: color 0.15s; }
.posts li a:hover { color: var(--orange); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr 1fr; }
  .proofbar__row { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .proof:nth-child(2) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  /* mobile nav: logo + hamburger only on the top row; links + actions
     wrap full-width below when opened. Nothing crowds the logo. */
  .nav { flex-wrap: wrap; height: auto; min-height: 74px; }
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav[data-open="true"] .nav__links,
  .nav[data-open="true"] .nav__actions {
    display: flex; width: 100%; order: 3;
    flex-direction: column; align-items: stretch; gap: 6px;
  }
  .nav[data-open="true"] .nav__links {
    padding-top: 14px; margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav[data-open="true"] .nav__links > li > a { padding: 10px 0; display: block; }
  /* dropdown renders inline (no hover on touch) */
  .nav[data-open="true"] .nav__drop-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; box-shadow: none; padding: 0 0 6px 14px; min-width: 0;
  }
  .nav[data-open="true"] .nav__drop-menu a { color: rgba(255, 255, 255, 0.75); padding: 8px 0; }
  .nav[data-open="true"] .nav__drop-menu a:hover { background: transparent; color: #fff; }
  .nav[data-open="true"] .nav__actions { padding: 10px 0 16px; gap: 12px; }
  .nav[data-open="true"] .nav__login { padding: 4px 0; }
  .nav[data-open="true"] .nav__actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  :root { --section-y: 60px; }
  .grid-3, .grid-2, .steps, .proofbar__row { grid-template-columns: 1fr; }
  .proof { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 18px; }
  .proof:last-child { border-bottom: 0; }
  .mobile-cta { display: block; }
  body { padding-bottom: 64px; }
}

/* ---- Animated hero visual (live marketplace scan) ---- */
.hero__visual { position: relative; }
.scanpanel { position: relative; background: linear-gradient(180deg, rgba(18,45,89,0.92), rgba(3,27,49,0.96)); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.scanpanel__top { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.scanpanel__top .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.22); }
.scanpanel__top em { margin-left: 8px; font-style: normal; font-size: 0.8rem; color: var(--gray-blue); font-weight: 500; letter-spacing: 0.02em; }
.scanpanel__body { position: relative; padding: 18px; display: flex; flex-direction: column; gap: 11px; }
.scanline { position: absolute; left: 0; right: 0; height: 64px; top: -64px; background: linear-gradient(180deg, rgba(244,66,10,0) 0%, rgba(244,66,10,0.16) 70%, rgba(244,66,10,0.55) 100%); animation: scan 3.8s var(--ease) infinite; pointer-events: none; z-index: 2; }
@keyframes scan { 0% { top: -64px; } 100% { top: 100%; } }
.listing { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 12px 14px; opacity: 0; transform: translateY(10px); animation: rise 0.55s var(--ease) forwards; }
.listing:nth-child(2){animation-delay:.15s}.listing:nth-child(3){animation-delay:.3s}.listing:nth-child(4){animation-delay:.45s}.listing:nth-child(5){animation-delay:.6s}.listing:nth-child(6){animation-delay:.75s}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.listing .mk { font-size: 0.76rem; font-weight: 700; color: #fff; background: rgba(255,255,255,0.1); padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.listing .ls { flex: 1; font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.listing .st { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.listing.ok .st { background: rgba(57,217,138,0.18); color: #39d98a; }
.listing.warn .st { background: rgba(244,66,10,0.2); color: var(--orange); }
.listing.bad .st { background: rgba(255,90,77,0.2); color: #ff5a4d; }
.scanpanel__foot { padding: 14px 18px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.82rem; color: var(--gray-blue); }
.scanpanel__foot b { color: #fff; }
.floatchip { position: absolute; font-size: 0.82rem; font-weight: 700; padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow-lg); animation: float 4s ease-in-out infinite; z-index: 3; }
.floatchip--a { top: -16px; right: -8px; background: var(--orange); color: #fff; }
.floatchip--b { bottom: -16px; left: -12px; background: #fff; color: var(--navy); animation-delay: 1.3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---- Report section + misc ---- */
.reportgrid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.ticklist { list-style: none; padding: 0; margin: 22px 0 0; }
.ticklist li { position: relative; padding: 8px 0 8px 32px; color: var(--dark-gray); font-weight: 500; }
.ticklist li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: rgba(244,66,10,0.12); color: var(--orange); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; }
.card--cta { background: var(--navy); border: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.card--cta h3 { color: #fff; }
.card--cta p { color: rgba(255,255,255,0.8); }

@media (max-width: 900px) {
  .reportgrid { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { max-width: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .listing { opacity: 1; transform: none; }
}
