/* Extracted non-critical custom styles from head.ejs (cached 1y immutable) */
/* ===== Base animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.animate-fade-in-up { animation: fadeInUp 0.7s var(--ease-out) forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-soft { animation: pulse-soft 2s ease-in-out infinite; }

/* Staggered delay utilities */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ===== Scroll-reveal engine =====
   Elements with [data-reveal] start hidden (JS-gated via html.js)
   and transition in when .in-view is added by the observer.
   Variants: (default) rise | left | right | zoom | fade
   Containers with [data-reveal-group] auto-stagger their children. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .8s var(--ease-out),
    transform .8s var(--ease-out);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal="left"]  { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal="zoom"]  { transform: scale(.95); }
.js [data-reveal="fade"]  { transform: none; }
.js [data-reveal].in-view {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ===== Hero entrance choreography =====
   Direct children of .hero-stage rise in, one after another. */
.js .hero-stage > * {
  animation: heroRise .7s var(--ease-out) both;
}
.js .hero-stage > :nth-child(1) { animation-delay: .06s; }
.js .hero-stage > :nth-child(2) { animation-delay: .17s; }
.js .hero-stage > :nth-child(3) { animation-delay: .28s; }
.js .hero-stage > :nth-child(4) { animation-delay: .39s; }
.js .hero-stage > :nth-child(5) { animation-delay: .50s; }
.js .hero-stage > :nth-child(6) { animation-delay: .61s; }
@keyframes heroRise {
  from { transform: translateY(14px); }
  to { transform: translateY(0); }
}

/* ===== Cinematic hero backdrop =====
   Deep navy stage with slow-drifting light. Cheap: pre-faded
   radial gradients animated with transforms only. */
.hero-cinematic::before,
.hero-cinematic::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 65vw;
  min-width: 480px;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}
.hero-cinematic::before {
  top: -32%;
  right: -18%;
  background: radial-gradient(circle at center, rgba(1, 112, 187, .34) 0%, rgba(1, 112, 187, .10) 42%, transparent 68%);
  animation: auroraDrift 22s var(--ease-io) infinite alternate;
}
.hero-cinematic::after {
  bottom: -45%;
  left: -20%;
  background: radial-gradient(circle at center, rgba(56, 189, 248, .18) 0%, rgba(56, 189, 248, .06) 45%, transparent 70%);
  animation: auroraDrift 28s var(--ease-io) infinite alternate-reverse;
}
@keyframes auroraDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6%, 5%, 0) scale(1.15); }
}
/* Faint blueprint grid over the stage */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 187, 233, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 187, 233, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 30%, transparent 75%);
}

/* ===== Eyebrow labels (replaces icon chips) ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #0170BB;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow-center::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow-light { color: rgba(186, 214, 245, .9); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  border-radius: .9rem;
  transition:
    transform .4s var(--ease-out),
    box-shadow .4s var(--ease-out),
    background-color .25s ease,
    border-color .25s ease,
    color .25s ease,
    opacity .25s ease;
}
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: #0170BB; color: #fff; }
.btn-primary:hover {
  background: #015a96;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(1, 112, 187, .55);
}
.btn-light { background: #fff; color: #0170BB; }
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -14px rgba(2, 12, 32, .55);
}
.btn-ghost { border: 1px solid rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .13); transform: translateY(-2px); }
.btn-outline { border: 1px solid #e2e8f0; color: #1a1a2e; background: #fff; }
.btn-outline:hover { border-color: rgba(1, 112, 187, .45); color: #0170BB; transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(7, 29, 66, .25); }

/* ===== Cards ===== */
.card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 1.25rem;
}
.hover-lift {
  transition:
    transform .5s var(--ease-out),
    box-shadow .5s var(--ease-out),
    border-color .3s ease;
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -24px rgba(7, 29, 66, .22);
  border-color: rgba(1, 112, 187, .28);
}
/* Legacy alias kept for JS-injected markup */
.card-hover {
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -22px rgba(7, 29, 66, .22);
  border-color: rgba(1, 112, 187, .28);
}

/* Ghost step numbers (replaces step icon tiles).
   Purely decorative watermarks: aria-hidden in markup and exempt from
   WCAG 1.4.3 contrast under the "pure decoration" exception — the
   sequence they hint at is conveyed by document order and headings.
   Automated scanners may flag them; that is a documented false
   positive, not a conformance failure. */
.step-num {
  font-family: 'Sora', 'Poppins', sans-serif;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(1, 112, 187, .14);
  letter-spacing: -.02em;
}

/* Animated arrow links */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: #0170BB;
  transition: color .25s ease;
}
.link-arrow i, .link-arrow .arr {
  transition: transform .35s var(--ease-out);
}
.link-arrow:hover { color: #015a96; }
.link-arrow:hover i, .link-arrow:hover .arr { transform: translateX(4px); }

/* ===== FAQ accordion (smooth height) ===== */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear .5s;
}
.faq-item.open .faq-a > div {
  visibility: visible;
  transition-delay: 0s;
}
.faq-chev { transition: transform .45s var(--ease-out), color .25s ease; }
.faq-item.open .faq-chev { transform: rotate(180deg); }

/* ===== Modals ===== */
.cw-modal.flex { animation: fadeIn .25s ease-out both; }
.cw-modal.flex > * { animation: modalPop .4s var(--ease-out) both; }
@keyframes modalPop {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== Mobile quick actions =====
   A useful full-width call bar stays available until the footer arrives. */
.mobile-quick-actions { display: none; }

@media (max-width: 1023px) {
  .desktop-header-cta { display: none !important; }
  .mobile-header-actions { display: flex !important; }
  .mobile-quick-actions { display: block; }

  #main-content {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px) + var(--mobile-dock-bottom, 0px));
  }

  .mobile-quick-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(6, 11, 22, .34);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity .24s ease;
  }
  .mobile-quick-backdrop.is-open { opacity: 1; }

  .mobile-quick-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--mobile-dock-bottom, 0px);
    z-index: 90;
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 4.5rem;
    padding: .6rem 1rem;
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: calc(.6rem + env(safe-area-inset-bottom, 0px));
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    border-top: 1px solid rgba(226, 232, 240, .92);
    border-radius: 1.2rem 1.2rem 0 0;
    color: #1a1a2e;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow:
      0 -16px 36px -24px rgba(3, 12, 27, .46),
      0 -1px 0 rgba(255, 255, 255, .8);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: -.01em;
    transition:
      opacity .22s ease,
      transform .32s var(--ease-out),
      bottom .22s ease,
      box-shadow .25s ease;
  }
  .mobile-quick-actions.is-footer-hidden .mobile-quick-dock {
    opacity: 0;
    pointer-events: none;
    transform: translateY(110%);
  }
  .mobile-quick-actions.is-keyboard-open .mobile-quick-dock {
    opacity: 0;
    pointer-events: none;
    transform: translateY(110%);
  }
  .mobile-quick-direct-call {
    position: relative;
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: .58rem;
    min-height: 3.2rem;
    padding: 0 .9rem;
    border-radius: .95rem;
    color: #fff;
    background: linear-gradient(135deg, #0170BB 0%, #015a96 100%);
    box-shadow: 0 12px 24px -18px rgba(1, 90, 150, .88);
    font-size: .9rem;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .25s ease;
  }
  .mobile-quick-direct-call__label {
    font-size: 1.05rem;
    letter-spacing: -.01em;
  }
  .mobile-quick-direct-call:active { transform: scale(.985); }
  .mobile-quick-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    min-width: 3.2rem;
    height: 3.2rem;
    min-height: 3.2rem;
    border: 1px solid #dfe7f0;
    border-radius: .95rem;
    color: #52647b;
    background: #f8fafc;
    transition: color .2s ease, background-color .2s ease;
  }
  .mobile-quick-trigger:hover { color: #0170BB; background: #eef6fb; }
  .mobile-quick-trigger:focus-visible {
    outline: 3px solid rgba(56, 189, 248, .45);
    outline-offset: 3px;
  }
  .mobile-quick-trigger__icon {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: .7rem;
    color: #fff;
    background: rgba(255, 255, 255, .16);
  }
  .mobile-quick-trigger__chevron {
    color: rgba(255, 255, 255, .55);
    font-size: .65rem;
    transition: transform .3s var(--ease-out);
  }
  .mobile-quick-trigger .mobile-quick-trigger__chevron { color: inherit; }
  .mobile-quick-actions.is-open .mobile-quick-trigger__chevron {
    transform: rotate(180deg);
  }

  .mobile-quick-panel {
    position: fixed;
    left: 1rem;
    left: max(1rem, env(safe-area-inset-left, 0px));
    right: 1rem;
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: 5.35rem;
    bottom: calc(5.35rem + env(safe-area-inset-bottom, 0px) + var(--mobile-dock-bottom, 0px));
    z-index: 90;
    width: auto;
    max-width: 24rem;
    margin: 0 auto;
    padding: .75rem 1rem 1rem;
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 1.65rem;
    color: #1a1a2e;
    background: rgba(255, 255, 255, .98);
    box-shadow:
      0 30px 70px -22px rgba(3, 12, 27, .62),
      0 12px 28px -18px rgba(1, 112, 187, .24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px) scale(.97);
    transform-origin: bottom center;
    transition:
      opacity .22s ease,
      visibility 0s linear .32s,
      transform .38s var(--ease-out);
  }
  .mobile-quick-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
      opacity .22s ease,
      visibility 0s,
      transform .38s var(--ease-out);
  }
  .mobile-quick-panel__handle {
    width: 2.4rem;
    height: .25rem;
    margin: 0 auto .65rem;
    border-radius: 999px;
    background: #dce3ec;
  }
  .mobile-quick-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
    padding: 0 .15rem;
  }
  .mobile-quick-panel__eyebrow {
    display: block;
    margin-bottom: .12rem;
    color: #0170BB;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .mobile-quick-panel__header h2 {
    margin: 0;
    font-family: 'Sora', 'Poppins', sans-serif;
    font-size: 1.18rem;
    font-weight: 750;
    letter-spacing: -.025em;
  }
  .mobile-quick-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 50%;
    color: #64748b;
    background: #f1f5f9;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
  }
  .mobile-quick-close:active { transform: scale(.94); }

  .mobile-quick-primary-action,
  .mobile-quick-secondary-action {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 4.15rem;
    gap: .8rem;
    padding: .65rem .78rem;
    border-radius: 1.1rem;
    text-align: left;
    transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  }
  .mobile-quick-primary-action {
    margin-bottom: .58rem;
    color: #fff;
    background: linear-gradient(135deg, #0170BB 0%, #015a96 100%);
    box-shadow: 0 14px 28px -18px rgba(1, 90, 150, .85);
  }
  .mobile-quick-secondary-action {
    color: #1a1a2e;
    border: 1px solid #dfe7f0;
    background: #fff;
  }
  .mobile-quick-primary-action:active,
  .mobile-quick-secondary-action:active { transform: scale(.985); }
  .mobile-quick-secondary-action:focus-visible,
  .mobile-quick-primary-action:focus-visible,
  .mobile-quick-utility:focus-visible,
  .mobile-quick-close:focus-visible {
    outline: 3px solid rgba(1, 112, 187, .25);
    outline-offset: 2px;
  }
  .mobile-quick-action__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: .85rem;
    font-size: .92rem;
  }
  .mobile-quick-primary-action .mobile-quick-action__icon {
    color: #fff;
    background: rgba(255, 255, 255, .16);
  }
  .mobile-quick-secondary-action .mobile-quick-action__icon {
    color: #0170BB;
    background: rgba(1, 112, 187, .09);
  }
  .mobile-quick-action__copy {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
  }
  .mobile-quick-action__copy strong {
    font-size: .9rem;
    font-weight: 750;
  }
  .mobile-quick-action__copy small {
    margin-top: .08rem;
    color: inherit;
    font-size: .71rem;
    opacity: .7;
  }
  .mobile-quick-action__arrow {
    flex: 0 0 auto;
    margin-right: .2rem;
    font-size: .7rem;
    opacity: .6;
  }
  .mobile-quick-utilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin-top: .65rem;
  }
  .mobile-quick-utility {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 2.85rem;
    padding: .5rem;
    border: 1px solid #e5ebf2;
    border-radius: .9rem;
    color: #4a5a70;
    background: #f8fafc;
    font-size: .75rem;
    font-weight: 650;
  }
  .mobile-quick-utility i { color: #0170BB; }
  .mobile-quick-panel__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    margin: .75rem 0 0;
    color: #718096;
    font-size: .68rem;
    font-weight: 550;
  }
  .mobile-quick-panel__note > span {
    width: .42rem;
    height: .42rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .12);
  }
}

@media (min-width: 1024px) {
  .desktop-header-cta { display: inline-flex !important; }
  .mobile-header-actions { display: none !important; }
}

/* ===== Mobile menu (smooth slide) ===== */
.mobile-menu {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition:
    max-height .55s var(--ease-out),
    opacity .4s ease,
    visibility 0s linear .55s;
}
.mobile-menu.open {
  max-height: 520px;
  opacity: 1;
  visibility: visible;
  transition:
    max-height .55s var(--ease-out),
    opacity .4s ease,
    visibility 0s;
}

/* ===== Header behavior ===== */
#site-header {
  background: linear-gradient(135deg, rgba(2, 26, 54, .88), rgba(2, 57, 98, .82));
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
  border-bottom-color: rgba(125, 211, 252, .12);
  padding-top: env(safe-area-inset-top, 0px);
  transition:
    transform .5s var(--ease-out),
    background .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}
/* With viewport-fit=cover the fixed header and the hero sections must
   account for the iOS notch/status-bar safe area so content stays below it. */
@supports (padding-top: env(safe-area-inset-top, 0px)) {
  #main-content > .hero-cinematic:first-child {
    padding-top: calc(52px + env(safe-area-inset-top, 0px));
  }
  @media (min-width: 1024px) {
    #main-content > .hero-cinematic:first-child {
      padding-top: calc(84px + env(safe-area-inset-top, 0px));
    }
  }
}
#site-header.header-hidden { transform: translateY(-100%); }
#site-header.header-scrolled {
  background: linear-gradient(135deg, rgba(2, 28, 58, .94), rgba(2, 61, 104, .90));
  border-bottom-color: rgba(125, 211, 252, .18);
  box-shadow: 0 12px 36px -16px rgba(1, 46, 88, .72);
}
#mobile-menu {
  background: linear-gradient(155deg, rgba(3, 32, 65, .97), rgba(2, 58, 99, .95));
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
  border-top-color: rgba(125, 211, 252, .12);
}

/* Nav links: sliding underline */
.nav-link {
  position: relative;
  transition: color .25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .28rem;
  height: 1.5px;
  background: rgba(255, 255, 255, .85);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); }

/* ===== Service detail panel entrance ===== */
#service-detail { animation: fadeInUp .45s var(--ease-out); }

/* ===== Detection timeline stage =====
   The chart card is the statement piece of the threat dashboard:
   it scales up into place, flares with a glow, and a light beam
   sweeps across it the moment the chart starts drawing. */
.js [data-reveal="stage"] {
  transform: scale(.9) translateY(44px);
  transition-duration: 1.1s;
}
.chart-stage {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 199, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 1.2s var(--ease-out), border-color 1.2s ease;
}
.chart-stage.chart-live {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow:
    0 30px 90px -30px rgba(56, 189, 248, 0.35),
    0 0 70px -30px rgba(56, 189, 248, 0.3);
  animation: chartFlash 1.8s var(--ease-out);
}
@keyframes chartFlash {
  0% { box-shadow: 0 0 0 rgba(56, 189, 248, 0); }
  30% {
    box-shadow:
      0 30px 110px -20px rgba(56, 189, 248, 0.6),
      0 0 110px -10px rgba(56, 189, 248, 0.45);
  }
  100% {
    box-shadow:
      0 30px 90px -30px rgba(56, 189, 248, 0.35),
      0 0 70px -30px rgba(56, 189, 248, 0.3);
  }
}
.chart-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.10) 44%,
    rgba(56, 189, 248, 0.22) 50%,
    rgba(255, 255, 255, 0.10) 56%,
    transparent 70%);
  transform: translateX(-130%);
}
.chart-stage.chart-live::after {
  animation: chartSweep 1.5s var(--ease-io) 0.15s forwards;
}
@keyframes chartSweep {
  to { transform: translateX(130%); }
}
.chart-live-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, .9);
  animation: pulse-soft 2s ease-in-out infinite;
}

/* ===== Telemetry cards =====
   Shared glow language for the threat dashboard so the stat cards,
   banner, and info tiles feel connected to the chart stage.
   Variants set --tele (an r,g,b triplet) to color-key each card to
   its matching chart line. */
.tele-card {
  --tele: 148, 199, 255;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 199, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform .5s var(--ease-out),
    box-shadow .5s var(--ease-out),
    border-color .4s ease;
}
.tele-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--tele), 0.4);
  box-shadow: 0 20px 55px -22px rgba(var(--tele), 0.45);
}
.tele-sky { --tele: 56, 189, 248; }
.tele-amber { --tele: 251, 191, 36; }
.tele-rose { --tele: 251, 113, 133; }
.tele-emerald { --tele: 52, 211, 153; }
/* Top accent line in the card's key color */
.tele-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--tele), 0.85), transparent);
}
.tele-num {
  color: #fff;
  text-shadow: 0 0 26px rgba(var(--tele), 0.5);
}
.tele-dot {
  display: inline-block;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: rgb(var(--tele));
  box-shadow: 0 0 10px rgba(var(--tele), 0.9);
}
/* Hero number in the yearly banner */
.tele-hero-num {
  background: linear-gradient(92deg, #7dd3fc, #38bdf8 55%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.45));
}

/* ===== Glass morphism ===== */
.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.glass-white {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ===== Gradient backgrounds ===== */
.gradient-primary {
  background: linear-gradient(135deg, #0170BB 0%, #015a96 50%, #013d66 100%);
}
.gradient-hero {
  background: linear-gradient(168deg, #060b16 0%, #0a1830 52%, #0d2a4d 100%);
}
.gradient-subtle {
  background: linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
}

/* ===== Reduced motion: calm everything down ===== */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js .hero-stage > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .hero-cinematic::before,
  .hero-cinematic::after,
  .animate-float,
  .animate-pulse-soft,
  .chart-stage.chart-live,
  .chart-stage.chart-live::after,
  .chart-live-dot { animation: none !important; }
  .mobile-quick-trigger,
  .mobile-quick-dock,
  .mobile-quick-panel,
  .mobile-quick-backdrop { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Star rating styles ===== */
.stars-outer {
  position: relative;
  display: inline-block;
  font-size: 1.25rem;
  letter-spacing: 2px;
}
.stars-outer::before {
  content: "\2605\2605\2605\2605\2605";
  color: #e0e0e0;
}
.stars-inner {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
}
.stars-inner::before {
  content: "\2605\2605\2605\2605\2605";
  color: #fbbc04;
}

/* ===== Selection ===== */
::selection {
  background: #0170BB;
  color: white;
}

/* ===== Smooth scroll ===== */
html {
  scroll-behavior: smooth;
}

/* ===== Custom scrollbar ===== */
/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #0170BB #e8f4fc;
}
/* Chrome, Edge, Safari */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #e8f4fc; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #0170BB, #015a96); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #015a96, #013d66); }
/* Hide scrollbar on mobile */
@media (max-width: 639px) {
  html { scrollbar-width: none; }
  ::-webkit-scrollbar { display: none; }
  /* Touch-friendly tap targets (min 44px per WCAG/Apple HIG) */
  button, a, [onclick], select, input, textarea, [role="button"] {
    min-height: 44px;
    min-width: 44px;
  }
  /* Inline links and inline buttons in prose should not be forced to 44px */
  p a, p button, li a, span a, .prose-blog a {
    min-height: auto;
    min-width: auto;
    padding-top: 4px;
    padding-bottom: 4px;
  }
}

/* ===== Restore text selection on readable copy ===== */
p, li, td, th, dd, dt, blockquote, article p, .card p {
  cursor: auto;
  -webkit-user-select: text;
  user-select: text;
}

/* ===== Hide scrollbar ===== */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ===== Section divider ===== */
.section-divider { position: relative; }
.section-divider::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: #0170BB;
  opacity: .8;
  margin: 1.1rem auto 0;
  border-radius: 2px;
}

/* ===== Line clamp ===== */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Prose styles for blog ===== */
.prose-blog h2 { font-family: 'Sora', 'Poppins', sans-serif; letter-spacing: -.01em; font-size: 1.5rem; font-weight: 700; color: #1a1a2e; margin-top: 2rem; margin-bottom: 1rem; }
.prose-blog h3 { font-family: 'Sora', 'Poppins', sans-serif; letter-spacing: -.01em; font-size: 1.25rem; font-weight: 700; color: #1a1a2e; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.prose-blog p { color: #64748b; line-height: 1.75; margin-bottom: 1rem; }
.prose-blog a { color: #0170BB; }
.prose-blog strong { color: #1a1a2e; }
.prose-blog ul, .prose-blog ol { color: #64748b; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-blog li { margin-bottom: 0.25rem; }
.prose-blog ul { list-style-type: disc; }
.prose-blog ol { list-style-type: decimal; }
.prose-blog blockquote { border-left: 3px solid #0170BB; padding-left: 1rem; color: #64748b; font-style: italic; }
.prose-blog code { background: #f1f5f9; padding: 0.15rem 0.4rem; border-radius: 0.25rem; font-size: 0.875rem; }
.prose-blog pre { background: #1a1a2e; color: #e2e8f0; padding: 1rem; border-radius: 0.5rem; overflow-x: auto; margin-bottom: 1rem; }
.prose-blog pre code { background: transparent; padding: 0; }
.prose-blog img, .prose-blog video { max-width: 100%; height: auto; border-radius: 0.75rem; margin: 1.25rem 0; display: block; }
.prose-blog figure { margin: 1.5rem 0; }
.prose-blog figcaption { font-size: 0.875rem; color: #64748b; text-align: center; margin-top: 0.5rem; }
.prose-blog table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; overflow-x: auto; display: block; }
.prose-blog th, .prose-blog td { border: 1px solid #e2e8f0; padding: 0.5rem 0.75rem; text-align: left; }
.prose-blog th { background: #f8fafc; font-weight: 600; color: #1a1a2e; }

/* ===== Cookie consent banner ===== */
.cookie-consent {
  position: fixed;
  z-index: 95; /* above the mobile dock (90), below the deal popup (9998) */
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.15rem max(1.25rem, env(safe-area-inset-right, 0px))
           calc(1.15rem + env(safe-area-inset-bottom, 0px))
           max(1.25rem, env(safe-area-inset-left, 0px));
  border-top: 3px solid #0170BB;
  color: #1a1a2e;
  background: #fff;
  box-shadow: 0 -18px 40px -18px rgba(3, 12, 27, .45);
  font-size: .9rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .25s ease, transform .4s var(--ease-out, ease);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent.is-visible { opacity: 1; transform: none; }
.cookie-consent__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}
.cookie-consent__copy { flex: 1 1 auto; min-width: 0; }
.cookie-consent__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .25rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.cookie-consent__title i { color: #0170BB; }
.cookie-consent__text { margin: 0; color: #4a5568; }
.cookie-consent__text a { color: #0170BB; font-weight: 600; text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: .6rem; flex: none; }
.cookie-consent__btn {
  min-width: 9.5rem;
  min-height: 2.9rem;
  padding: .6rem 1.25rem;
  border-radius: .7rem;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.cookie-consent__btn:focus-visible { outline: 3px solid rgba(1, 112, 187, .45); outline-offset: 2px; }
.cookie-consent__btn--accept { color: #fff; background: #0170BB; border: 1px solid #0170BB; }
.cookie-consent__btn--accept:hover { background: #015a96; border-color: #015a96; }
.cookie-consent__btn--essential { color: #1a1a2e; background: #fff; border: 1px solid #cbd5e1; }
.cookie-consent__btn--essential:hover { background: #f1f5f9; }

@media (max-width: 1023px) {
  .cookie-consent {
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px) + var(--mobile-dock-bottom, 0px));
    padding: 1rem 1rem 1.1rem;
    font-size: .85rem;
  }
  .cookie-consent__inner { flex-direction: column; align-items: stretch; gap: .8rem; }
  .cookie-consent__btn { flex: 1 1 0; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-consent { transition: none; }
}
@media print {
  .cookie-consent { display: none !important; }
}
