/* Reference-led forensics chapter: HTML/vector flow with a generated panoramic attacker environment. */
.fstory {
  --fs-blue: #5798ff; --fs-muted: #b4c7f1; --fs-red: #ff4051;
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: 42px 0 32px; scroll-margin-top: 76px;
  background: radial-gradient(ellipse at 50% 5%, #102a68 0, transparent 56%), radial-gradient(ellipse at 85% 90%, #0c2458 0, transparent 52%), #071633;
}
.fstory-in { width: min(1560px, calc(100% - 80px)); margin-inline: auto; position: relative; }
.fstory-head { position: relative; z-index: 2; text-align: center; pointer-events: none; }
.fstory-kicker { font-size: 13px; line-height: 1.4; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--fs-red); }
.fstory-head h2 { margin: 14px 0 0; font-size: clamp(32px, 3.2vw, 52px); line-height: 1.12; font-weight: 900; letter-spacing: -.035em; color: #fff; }
.fstory-head h2::after { content: ""; display: block; width: 84px; height: 3px; background: var(--fs-red); margin: 17px auto 14px; }
.fstory-lead { color: var(--fs-muted); font-size: clamp(16px, 1.25vw, 20px); line-height: 1.45; }
.fstory-visual { position: relative; margin: -62px -20px 0; }
.fstory-scene { display: block; width: 100%; height: auto; overflow: visible; color: #498dff; font-family: "Gotham Pro", "Montserrat", sans-serif; }
.fstory-label { fill: #659eff; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.fstory-muted { fill: #5588d9; font-size: 13px; }
.fstory-small { fill: #a6c7ff; font-size: 11.5px; font-weight: 500; letter-spacing: .3px; }
.fstory-tiny { fill: #6292dc; font-size: 10px; letter-spacing: .2px; }
.fstory-alert { fill: #ff5260; font-size: 10px; font-weight: 700; letter-spacing: .5px; }
.fstory-connections { filter: drop-shadow(0 0 5px #1574ec); }
.fstory-packets path { stroke-dasharray: 3 120; animation: fstory-flow 5s linear infinite; animation-delay: var(--delay); animation-play-state: paused; }
.fstory-beacon { animation: fstory-pulse 3s ease-in-out infinite; animation-delay: var(--delay); animation-play-state: paused; }
.fstory.is-visible .fstory-packets path, .fstory.is-visible .fstory-beacon { animation-play-state: running; }
@keyframes fstory-flow { to { stroke-dashoffset: -246; } }
@keyframes fstory-pulse { 50% { opacity: .4; } }
.fstory-steps { margin: 36px 5% 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5.2%; }
.fstory-steps li { position: relative; text-align: center; min-height: 126px; padding: 35px 18px 17px; border: 1px solid #28467b99; border-radius: 17px; background: linear-gradient(145deg, #0c204c9c, #0c1d4599); }
.fstory-steps li:not(:last-child)::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -20px; width: calc(100% + 30%); height: 2px; background: linear-gradient(90deg, #214888, #3da4ff); box-shadow: 0 0 10px #1d67c87a; }
.fstory-steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(100% + 23%); top: -25px; width: 11px; height: 11px; transform: rotate(-45deg); border-right: 2px solid #62bdff; border-bottom: 2px solid #62bdff; }
.fstory-step-icon { position: absolute; left: 50%; top: -57px; translate: -50% 0; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; border: 3px solid #2550a2; background: radial-gradient(circle at 50% 30%, #123372, #0b1d48); box-shadow: 0 0 0 7px #0c204655, 0 0 24px #17459444; color: #78adff; }
.fstory-step-icon svg { width: 36px; height: 36px; }
.fstory-step-icon b { position: absolute; right: -21px; top: 7px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(130deg, #ff7480, #fc3042); box-shadow: 0 0 12px #e8243a44; color: #fff; font-size: 15px; }
.fstory-steps h3 { font-size: 21px; line-height: 1.3; font-weight: 900; margin: 0 0 4px; color: #fff; }
.fstory-steps p { font-size: 15px; line-height: 1.5; color: var(--fs-muted); }
.fstory-benefits { margin: 37px 5% 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.fstory-benefits li { display: flex; align-items: flex-start; gap: 20px; }
.fstory-benefits li + li { border-left: 1px solid #345186; padding-left: 32px; }
.fstory-benefit-icon { flex: none; width: 60px; height: 59px; display: grid; place-items: center; color: #78a8ff; border: 1px solid #244a9c; border-radius: 13px; background: linear-gradient(145deg, #122c65, #0c1e47); box-shadow: inset 0 0 12px #1644a033; }
.fstory-benefit-icon svg { width: 29px; height: 29px; }
.fstory-benefits h3 { font-size: 15px; font-weight: 800; line-height: 1.4; margin: 3px 0 4px; color: #fff; }
.fstory-benefits p { font-size: 15px; line-height: 1.5; color: var(--fs-muted); }
.fstory-actions { display: flex; flex-direction: column; align-items: center; gap: 23px; margin-top: 29px; }
.fstory-cta { display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 15px 34px; min-height: 51px; border-radius: 10px; color: #fff; background: linear-gradient(115deg, #ff344c, #f53e4e); box-shadow: 0 6px 22px #fa2f4520; font-size: 15px; font-weight: 800; transition: background .2s, transform .2s; }
.fstory-cta:hover { background: #e62c3e; transform: translateY(-2px); }
.fstory-cta svg { width: 20px; height: 20px; }
.fstory-standalone { display: inline-flex; align-items: center; gap: 14px; color: #8db8ff; font-size: 12px; font-weight: 500; }
.fstory-standalone span { text-decoration: underline; text-underline-offset: 3px; }
.fstory-standalone::before, .fstory-standalone::after { content: ""; width: 49px; height: 1px; background: #5474a6; margin-inline: 12px; }
.fstory-standalone svg { width: 18px; height: 18px; }
.fstory-standalone:hover { color: #fff; }
.fstory-foot { display: flex; justify-content: space-between; align-items: center; margin-top: -20px; padding: 0; background: transparent; border: 0; pointer-events: none; }
.fstory-foot img { width: 170px; height: auto; opacity: .8; }
.fstory-foot p { display: flex; gap: 15px; color: #7d9ed0; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.fstory-foot p span + span::before { content: ""; display: inline-block; height: 10px; width: 1px; background: #426392; margin-right: 15px; }
@media (min-width: 1101px) and (max-height: 950px) {
  .fstory { padding-block: 28px 24px; }
  .fstory-head h2 { font-size: 38px; }
  .fstory-head h2::after { margin-block: 12px 10px; }
  .fstory-visual { max-width: 1220px; margin-inline: auto; }
  .fstory-steps { margin-top: 25px; }
  .fstory-steps li { min-height: 108px; padding-top: 28px; }
  .fstory-steps p { font-size: 14px; }
  .fstory-steps p br { display: none; }
  .fstory-step-icon { width: 68px; height: 68px; top: -47px; }
  .fstory-step-icon svg { width: 30px; height: 30px; }
  .fstory-benefits { margin-top: 25px; }
  .fstory-benefits li { gap: 14px; }
  .fstory-benefits li + li { padding-left: 22px; }
  .fstory-benefit-icon { width: 48px; height: 48px; }
  .fstory-benefits h3, .fstory-benefits p { font-size: 14px; }
  .fstory-actions { margin-top: 22px; gap: 17px; }
}
@media (min-width: 1101px) and (max-height: 800px) {
  .fstory { padding-block: 20px 18px; }
  .fstory-kicker { font-size: 11px; }
  .fstory-head h2 { font-size: 34px; margin-top: 9px; }
  .fstory-head h2::after { margin-block: 10px; }
  .fstory-lead { font-size: 16px; }
  .fstory-visual { max-width: 1020px; margin-top: -45px; }
  .fstory-steps { margin-top: 20px; }
  .fstory-steps li { min-height: 96px; padding-block: 24px 12px; }
  .fstory-steps h3 { font-size: 19px; }
  .fstory-step-icon { width: 62px; height: 62px; top: -43px; }
  .fstory-benefits { margin-top: 20px; }
  .fstory-benefits h3, .fstory-benefits p { font-size: 13px; }
  .fstory-actions { margin-top: 18px; gap: 12px; }
  .fstory-cta { min-height: 45px; padding-block: 12px; font-size: 14px; }
  .fstory-foot img { width: 150px; }
}
@media (max-width: 1100px) {
  .fstory-in { width: calc(100% - 40px); }
  .fstory-visual { margin: -5px 0 0; }
  .fstory-steps { margin-inline: 0; gap: 24px; }
  .fstory-steps li { padding-inline: 12px; }
  .fstory-steps p br { display: none; }
  .fstory-step-icon { width: 64px; height: 64px; top: -43px; }
  .fstory-step-icon svg { width: 30px; height: 30px; }
  .fstory-benefits { margin-inline: 0; gap: 20px; }
  .fstory-benefits li { gap: 12px; }
  .fstory-benefits li + li { padding-left: 20px; }
  .fstory-benefit-icon { width: 42px; height: 44px; border-radius: 9px; }
  .fstory-benefit-icon svg { width: 24px; height: 24px; }
  .fstory-foot { margin-top: 25px; }
  .fstory-br { display: none; }
}
@media (max-width: 700px) {
  .fstory { padding-block: 36px 28px; }
  .fstory-kicker { font-size: 10px; letter-spacing: .18em; }
  .fstory-head h2 { font-size: 34px; max-width: 450px; margin-inline: auto; }
  .fstory-lead { font-size: 16px; }
  .fstory-visual { margin: 0 -10px; padding-top: 44px; overflow-x: auto; scrollbar-color: #3466ab #0b1c43; border-radius: 8px; }
  .fstory-scene { width: 1050px; min-width: 1050px; overflow: hidden; }
  .fstory-environment image { mask: url(#fstory-env-mobile); }
  .fstory-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 66px 20px; margin-top: 69px; }
  .fstory-steps li::before, .fstory-steps li::after { display: none; }
  .fstory-steps h3 { font-size: 19px; }
  .fstory-steps p { font-size: 14px; }
  .fstory-benefits { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
  .fstory-benefits li { gap: 16px; }
  .fstory-benefits li + li { border-left: 0; padding-left: 0; }
  .fstory-benefit-icon { width: 50px; height: 50px; }
  .fstory-cta { max-width: 100%; padding: 14px 18px; gap: 10px; font-size: 13px; text-align: center; }
  .fstory-cta svg { flex: none; }
  .fstory-standalone { gap: 9px; font-size: 11px; }
  .fstory-standalone::before, .fstory-standalone::after { display: none; }
  .fstory-foot { flex-direction: column; gap: 20px; margin-top: 28px; }
  .fstory-foot p { gap: 9px; font-size: 9px; }
  .fstory-foot p span + span::before { margin-right: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .fstory-packets path, .fstory-beacon { animation: none; }
  .fstory-cta { transition: none; }
}
html.poster .fstory-packets path, html.poster .fstory-beacon, html.reduced .fstory-packets path, html.reduced .fstory-beacon { animation: none; }
