/* Marketing site — local styles.
   All tokens come from ../../colors_and_type.css */
@import url("colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--fs-font-sans);
  color: var(--fs-fg-1);
  background: var(--fs-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.fs-shell { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; }
section.tight { padding: 64px 0; }

/* ---------- Nav ---------- */
.fs-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--fs-ease-standard);
}
.fs-nav.scrolled { border-bottom-color: var(--fs-border); }
.fs-nav .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.fs-nav .brand img { height: 32px; }
.fs-nav .links { display: flex; gap: 28px; }
.fs-nav .links a {
  font-family: var(--fs-font-display); font-weight: 600;
  font-size: 14px; color: var(--fs-navy-900);
  transition: color 120ms var(--fs-ease-standard);
}
.fs-nav .links a:hover { color: var(--fs-blue-600); }

/* ---------- Buttons ---------- */
.fs-btn {
  font-family: var(--fs-font-display); font-weight: 600;
  font-size: 14px; letter-spacing: -0.005em;
  padding: 12px 22px; border-radius: var(--fs-radius-md);
  border: 1px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 120ms var(--fs-ease-standard),
              border-color 120ms var(--fs-ease-standard),
              transform 120ms var(--fs-ease-standard),
              box-shadow 200ms var(--fs-ease-standard);
}
.fs-btn.primary {
  background: var(--fs-blue-600); color: #fff;
  box-shadow: var(--fs-shadow-blue);
}
.fs-btn.primary:hover { background: var(--fs-blue-500); }
.fs-btn.primary:active { background: var(--fs-blue-700); transform: scale(0.98); }
.fs-btn.secondary {
  background: transparent; color: var(--fs-navy-900);
  border-color: var(--fs-gray-300);
}
.fs-btn.secondary:hover { background: var(--fs-gray-50); border-color: var(--fs-gray-400); }
.fs-btn.on-navy.secondary {
  color: #fff; border-color: rgba(255,255,255,0.55);
}
.fs-btn.on-navy.secondary:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.85);
}
.fs-btn.ghost {
  background: transparent; color: var(--fs-blue-600);
  padding: 8px 0;
}
.fs-btn.ghost:hover { color: var(--fs-blue-700); }
.fs-btn.lg { padding: 14px 26px; font-size: 15px; }
.fs-btn:focus-visible {
  outline: none;
  box-shadow: var(--fs-shadow-blue), 0 0 0 3px rgba(0,99,205,0.32);
}

/* ---------- Hero ---------- */
.fs-hero {
  background: var(--fs-navy-900); color: #fff;
  position: relative; overflow: hidden;
  padding: 120px 0 140px;
}
.fs-hero .grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 80px; align-items: center;
}
.fs-hero h1 {
  font-family: var(--fs-font-display);
  font-weight: 800; font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  line-height: 1.04; letter-spacing: -0.025em;
  color: #fff; margin: 16px 0 24px;
  text-wrap: balance; max-width: 14ch;
}
.fs-hero h1 .acc { color: var(--fs-blue-500); }
.fs-hero .lede {
  font-family: var(--fs-font-sans);
  font-size: 19px; line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0 0 36px; max-width: 46ch;
  text-wrap: pretty;
}
.fs-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fs-hero .curve-wrap {
  position: relative; aspect-ratio: 1 / 1.05; width: 100%;
  display: flex; align-items: center; justify-content: center;
}

/* The brand flame as inline SVG. Color via the `color` property; pass
   sparkColor on the component for two-tone treatments. */
.fs-flame {
  display: inline-block;
  width: var(--fs-flame-size, 200px);
  height: auto;
  aspect-ratio: 304.64 / 468.37;
  flex-shrink: 0;
}

/* Static flame — crisp, no animation */
.fs-hero .curve-wrap .flame {
  position: absolute;
}
.fs-hero .curve-wrap .flame svg path {
  stroke: currentColor;
  stroke-width: 0.5px;
}
.fs-hero .curve-wrap .flame.f1 {
  color: var(--fs-blue-500);
  --fs-flame-size: clamp(220px, 30vw, 380px);
  right: 6%; top: 4%;
  rotate: -4deg;
  filter: drop-shadow(0 24px 60px rgba(0, 99, 205, 0.45)) drop-shadow(0 0 40px rgba(0, 99, 205, 0.3));
}
.fs-hero .curve-wrap .flame.f2 {
  color: rgba(127, 177, 232, 0.35);
  --fs-flame-size: clamp(150px, 22vw, 280px);
  left: 8%; bottom: 6%;
  rotate: 12deg;
  filter: drop-shadow(0 16px 40px rgba(0, 99, 205, 0.25));
}

/* Ember particles behind the flame */
.fs-hero .curve-wrap::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 60% 30%, rgba(0,99,205,0.18) 0%, transparent 50%),
    radial-gradient(circle at 40% 70%, rgba(36,121,217,0.12) 0%, transparent 45%);
  animation: fs-ember-pulse 5s ease-in-out infinite alternate;
  pointer-events: none;
  border-radius: 50%;
}

/* Ember particles behind the flame */
@keyframes fs-ember-pulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.08); }
}

.fs-hero + section { position: relative; }
.fs-hero + section::before {
  content: ''; position: absolute; top: -64px; left: 0; right: 0; height: 64px;
  background: linear-gradient(to bottom, var(--fs-navy-900), var(--fs-bg-alt));
  pointer-events: none;
}

/* eyebrow shared */
.fs-eyebrow {
  font-family: var(--fs-font-display);
  font-weight: 700; font-size: 12px;
  color: var(--fs-blue-600);
  text-transform: uppercase; letter-spacing: 0.14em;
}
.on-navy .fs-eyebrow { color: var(--fs-blue-300); }

/* ---------- Trust strip ---------- */
.fs-trust {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: var(--fs-navy-900);
  padding: 28px 0;
}
.fs-trust .row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.fs-trust .label {
  font-family: var(--fs-font-display);
  font-weight: 600; font-size: 12px;
  color: rgba(255,255,255,0.52); text-transform: uppercase;
  letter-spacing: 0.14em;
}
.fs-trust .logos { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.fs-trust .wm {
  font-weight: 700; font-size: 18px;
  color: rgba(255,255,255,0.68);
  letter-spacing: -0.01em;
}

/* ---------- Section header ---------- */
.fs-shead {
  max-width: 720px; margin: 0 auto 56px; text-align: center;
}
.fs-shead .fs-eyebrow { display: inline-block; margin-bottom: 12px; }
.fs-shead h2 {
  font-family: var(--fs-font-display);
  font-weight: 700; font-size: clamp(2rem, 3vw + 1rem, 2.75rem);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--fs-navy-900); margin: 0 0 16px;
  text-wrap: balance;
}
.fs-shead h2 .acc { color: var(--fs-blue-600); }
.fs-shead p {
  font-family: var(--fs-font-sans);
  font-size: 18px; line-height: 1.6;
  color: var(--fs-fg-2); margin: 0;
  text-wrap: pretty;
}

/* ---------- Service cards ---------- */
.fs-services .cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.fs-svccard {
  background: #fff;
  border: 1px solid var(--fs-border);
  border-radius: var(--fs-radius-lg);
  padding: 28px;
  box-shadow: var(--fs-shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 200ms var(--fs-ease-standard),
              box-shadow 200ms var(--fs-ease-standard),
              border-color 200ms var(--fs-ease-standard);
}
.fs-svccard:hover {
  transform: translateY(-2px);
  box-shadow: var(--fs-shadow-md);
  border-color: var(--fs-gray-300);
}
.fs-svccard .icon {
  width: 44px; height: 44px;
  background: var(--fs-blue-100);
  color: var(--fs-blue-600);
  border-radius: var(--fs-radius-md);
  display: flex; align-items: center; justify-content: center;
}
.fs-svccard h3 {
  font-family: var(--fs-font-display);
  font-weight: 700; font-size: 20px;
  color: var(--fs-navy-900); margin: 0;
}
.fs-svccard p {
  font-family: var(--fs-font-sans);
  font-size: 14.5px; line-height: 1.6;
  color: var(--fs-fg-2); margin: 0 0 4px;
  flex: 1;
}
.fs-svccard .link {
  font-family: var(--fs-font-display);
  font-weight: 600; font-size: 13.5px;
  color: var(--fs-blue-600);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 200ms var(--fs-ease-standard);
}
.fs-svccard:hover .link { gap: 10px; }

/* Wide card — spans full width when it is the lone card in a 3-col row */
.fs-svccard.wide { grid-column: 1 / -1; }

@media (max-width: 980px) {
  .fs-svccard.wide { grid-column: auto; }
}

/* Stat card variant — big numbers, heavy presence */
.fs-svccard.stat {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background: var(--fs-navy-900);
  border-top: 4px solid var(--fs-blue-500);
  box-shadow: 0 8px 24px rgba(0,31,63,0.25);
}
.fs-svccard.stat .stat-num {
  font-family: var(--fs-font-display);
  font-weight: 900;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 8px;
}
.fs-svccard.stat h3 {
  font-size: 18px;
  color: #fff;
}
.fs-svccard.stat p {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
}

/* ---------- Process ---------- */
.fs-process { background: var(--fs-navy-900); color: #fff; }
.fs-process .fs-shead h2 { color: #fff; }
.fs-process .fs-shead p { color: rgba(255,255,255,0.72); }
.fs-process .steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.fs-step {
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.fs-step .num {
  font-family: var(--fs-font-display);
  font-weight: 700; font-size: 13px;
  color: var(--fs-blue-300);
  letter-spacing: 0.14em;
}
.fs-step h4 {
  font-family: var(--fs-font-display);
  font-weight: 700; font-size: 19px; color: #fff;
  margin: 0;
}
.fs-step p {
  font-family: var(--fs-font-sans);
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,0.68); margin: 0;
}

/* ---------- Testimonial ---------- */
.fs-testimonial { background: var(--fs-mist); }
.fs-testimonial .inner {
  max-width: 880px; margin: 0 auto; text-align: left;
}
.fs-testimonial .quote {
  font-family: var(--fs-font-display);
  font-weight: 600; font-size: clamp(1.6rem, 2.4vw + 0.8rem, 2.25rem);
  line-height: 1.25; letter-spacing: -0.015em;
  color: var(--fs-navy-900); margin: 24px 0 28px;
  text-wrap: balance;
}
.fs-testimonial .quote .acc { color: var(--fs-blue-600); }
.fs-testimonial .attrib {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--fs-font-sans);
}
.fs-testimonial .attrib .av {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fs-navy-800), var(--fs-navy-900));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--fs-font-display); font-weight: 700; font-size: 14px;
}
.fs-testimonial .attrib .who { display: flex; flex-direction: column; }
.fs-testimonial .attrib .who .n {
  font-family: var(--fs-font-display); font-weight: 700;
  font-size: 14.5px; color: var(--fs-navy-900);
}
.fs-testimonial .attrib .who .r {
  font-family: var(--fs-font-sans);
  font-size: 13px; color: var(--fs-fg-3);
}

/* ---------- Assessment teaser ---------- */
.fs-teaser .grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  align-items: stretch;
}
.fs-teaser .copy {
  padding: 20px 0;
  display: flex; flex-direction: column; justify-content: center;
  gap: 18px;
}
.fs-teaser .copy h2 {
  font-family: var(--fs-font-display);
  font-weight: 700; font-size: clamp(1.75rem, 2.4vw + 0.9rem, 2.5rem);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--fs-navy-900); margin: 0; text-wrap: balance;
}
.fs-teaser .copy p {
  font-family: var(--fs-font-sans);
  font-size: 17px; line-height: 1.6; color: var(--fs-fg-2);
  margin: 0; text-wrap: pretty;
}
.fs-teaser .ck {
  display: flex; flex-direction: column; gap: 10px;
  margin: 4px 0;
}
.fs-teaser .ck li {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--fs-font-sans);
  font-size: 15px; color: var(--fs-fg-2);
  list-style: none;
}
.fs-teaser .ck li svg {
  flex-shrink: 0; width: 20px; height: 20px;
  color: var(--fs-blue-600); margin-top: 1px;
}
.fs-teaser ul { padding: 0; margin: 0; }
.fs-teaser .tile {
  background: var(--fs-blue-600);
  border-radius: var(--fs-radius-xl);
  padding: 48px 44px;
  color: #fff; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 32px; min-height: 360px;
}
.fs-teaser .tile .pat {
  position: absolute; right: -40px; top: -20px;
  pointer-events: none;
}
.fs-teaser .tile .pat .fs-flame {
  --fs-flame-size: 340px;
  color: rgba(255, 255, 255, 0.18);
  display: block; rotate: -8deg;
}
.fs-teaser .tile .top {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 14px;
}
.fs-teaser .tile .top img {
  width: 56px; height: 56px;
  filter: brightness(0) invert(1);
}
.fs-teaser .tile .top .h {
  font-family: var(--fs-font-display); font-weight: 700;
  font-size: 22px; line-height: 1.2;
}
.fs-teaser .tile .bot { position: relative; z-index: 2; }
.fs-teaser .tile .bot .big {
  font-family: var(--fs-font-display); font-weight: 800;
  font-size: clamp(2.25rem, 4vw + 0.6rem, 3.25rem);
  letter-spacing: -0.025em; line-height: 1.02;
  margin-bottom: 12px; text-wrap: balance;
}
.fs-teaser .tile .bot .sub {
  font-family: var(--fs-font-sans);
  font-size: 15px; color: rgba(255,255,255,0.82);
}

/* ---------- CTA banner ---------- */
.fs-cta {
  background: var(--fs-navy-900); color: #fff;
  text-align: center;
}
.fs-cta h2 {
  font-family: var(--fs-font-display);
  font-weight: 800; font-size: clamp(2rem, 3vw + 1rem, 3rem);
  line-height: 1.05; letter-spacing: -0.025em;
  color: #fff; margin: 0 0 14px;
  text-wrap: balance; max-width: 18ch; margin-inline: auto;
}
.fs-cta h2 .acc { color: var(--fs-blue-500); }
.fs-cta p {
  font-family: var(--fs-font-sans);
  font-size: 17px; color: rgba(255,255,255,0.74);
  margin: 0 0 28px; max-width: 56ch; margin-inline: auto;
}
.fs-cta .actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.fs-footer {
  background: var(--fs-navy-950); color: #fff;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.fs-footer .top {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px; margin-bottom: 48px;
}
.fs-footer .brand img { height: 30px; filter: brightness(0) invert(1); }
.fs-footer .brand p {
  font-family: var(--fs-font-sans);
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,0.6); margin: 16px 0 0;
  max-width: 32ch;
}
.fs-footer h5 {
  font-family: var(--fs-font-display);
  font-weight: 700; font-size: 12px;
  color: #fff; text-transform: uppercase;
  letter-spacing: 0.14em; margin: 0 0 16px;
}
.fs-footer ul { list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px; }
.fs-footer ul a {
  font-family: var(--fs-font-sans);
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  transition: color 120ms var(--fs-ease-standard);
}
.fs-footer ul a:hover { color: #fff; }
.fs-footer .legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-family: var(--fs-font-sans);
  font-size: 12.5px; color: rgba(255,255,255,0.52);
}

/* ---------- Modal ---------- */
.fs-modal-bg {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,19,42,0.62);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 200ms var(--fs-ease-standard);
}
.fs-modal-bg.open { opacity: 1; pointer-events: auto; }
.fs-modal {
  background: #fff; border-radius: var(--fs-radius-xl);
  padding: 36px; max-width: 460px; width: 100%;
  box-shadow: var(--fs-shadow-lg);
  transform: translateY(8px);
  transition: transform 200ms var(--fs-ease-standard);
}
.fs-modal-bg.open .fs-modal { transform: translateY(0); }
.fs-modal h3 {
  font-family: var(--fs-font-display);
  font-weight: 700; font-size: 24px;
  color: var(--fs-navy-900); margin: 0 0 8px;
}
.fs-modal p {
  font-family: var(--fs-font-sans);
  font-size: 15px; line-height: 1.55;
  color: var(--fs-fg-2); margin: 0 0 20px;
}
.fs-modal .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fs-modal label {
  font-family: var(--fs-font-display); font-weight: 600;
  font-size: 12px; color: var(--fs-navy-900); letter-spacing: 0.02em;
}
.fs-modal input {
  font-family: var(--fs-font-sans); font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--fs-gray-300);
  border-radius: var(--fs-radius-md);
  outline: none;
  transition: border-color 120ms, box-shadow 120ms;
}
.fs-modal input:focus {
  border-color: var(--fs-blue-600);
  box-shadow: var(--fs-focus-ring);
}
.fs-modal .row { display: flex; gap: 10px; justify-content: flex-end; }
.fs-modal .ok {
  background: var(--fs-success-bg);
  border: 1px solid #BFE0CD;
  border-radius: var(--fs-radius-md);
  padding: 14px 16px;
  display: flex; align-items: flex-start; gap: 10px;
}
.fs-modal .ok svg { color: var(--fs-success); flex-shrink: 0; margin-top: 1px; }
.fs-modal .ok .t {
  font-family: var(--fs-font-display);
  font-weight: 700; font-size: 14px;
  color: #0E5E37; margin: 0 0 2px;
}
.fs-modal .ok .d {
  font-family: var(--fs-font-sans);
  font-size: 13px; color: #0E5E37; margin: 0;
}

/* ---------- Responsive nudges ---------- */
@media (max-width: 980px) {
  .fs-hero .grid { grid-template-columns: 1fr; gap: 40px; }
  .fs-hero .curve-wrap { display: none; }
  .fs-services .cards { grid-template-columns: 1fr; }
  .fs-process .steps { grid-template-columns: 1fr 1fr; }
  .fs-teaser .grid { grid-template-columns: 1fr; }
  .fs-footer .top { grid-template-columns: 1fr 1fr; }
}

/* ---------- Security tools marquee ---------- */
/* Products to include in the HTML track (duplicate for seamless loop):
   CrowdStrike, Splunk, SentinelOne, Palo Alto, Fortinet, Okta,
   Cloudflare, Microsoft Defender, AWS, Azure, Google Cloud,
   Zscaler, Rapid7, Tenable, Proofpoint, ServiceNow, PagerDuty, Infisical */

.fs-marquee {
  background: var(--fs-navy-950);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}

.fs-marquee .inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
}

.fs-marquee .label {
  font-family: var(--fs-font-display);
  font-weight: 700;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.fs-marquee .scroll {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.fs-marquee .mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    to right,
    var(--fs-navy-950) 0%,
    transparent 60px,
    transparent calc(100% - 60px),
    var(--fs-navy-950) 100%
  );
}

.fs-marquee .track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: fs-marquee-scroll 30s linear infinite;
}

.fs-marquee:hover .track {
  animation-play-state: paused;
}

.fs-marquee .item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.fs-marquee .item img {
  height: 22px;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

@keyframes fs-marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
