/* ==========================================================================
   Infrasync — homepage styles
   ========================================================================== */

:root {
  --harbor: #0D1530;      /* base navy */
  --deep: #080D20;        /* deepest navy */
  --harbor-2: #121A38;    /* raised navy surface */
  --paper: #F5F7FA;
  --white: #FFFFFF;
  --slate: #5A6A7F;       /* body text on light */
  --mist: #9AA8C7;        /* body text on dark */
  --signal: #4F7CFF;      /* the one accent */
  --signal-ink: #3A5FD9;  /* accent tuned for text on light */
  --line-light: #DCE2EA;
  --line-dark: rgba(154,168,199, 0.16);
  --danger: #E5484D;

  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* type scale (≈1.25 minor third, fluid at the top) */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --t-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --t-3xl: clamp(2.6rem, 1.6rem + 4.6vw, 5.6rem);

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section-y: clamp(5rem, 3rem + 8vw, 10rem);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--harbor);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; background: var(--signal); color: var(--harbor);
  border-radius: var(--radius-sm); font-weight: 600;
  transform: translateY(-150%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: 0 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: var(--t-sm); letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-primary { background: var(--signal); color: var(--harbor); }
.btn-primary:hover { background: #6B92FF; box-shadow: 0 8px 28px -10px rgba(79,124,255, .7); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.05); }
.btn-sm { min-height: 42px; padding: 0 1.1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--white);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(8,13,32, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-color: var(--line-dark);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-led { fill: var(--signal); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: "Exo 2", var(--font); font-weight: 800; font-size: 1.4rem; letter-spacing: 0.01em; }
.brand-sub { font-family: "Exo 2", var(--font); margin-top: .3rem; font-size: .5rem; font-weight: 600; letter-spacing: .26em; opacity: .7; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; gap: 1.75rem; font-size: var(--t-sm); font-weight: 500; }
.nav-list a { color: rgba(255,255,255,.78); transition: color .2s; }
.nav-list a:hover { color: var(--white); }
.nav-phone { display: none; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav { gap: .75rem; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; background: none; border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%; cursor: pointer;
  }
  .nav-toggle-bar { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-list {
    position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0;
    padding: .5rem var(--gutter) 1.5rem; background: var(--deep);
    border-bottom: 1px solid var(--line-dark);
    font-size: var(--t-lg);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-list.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav-list li { border-bottom: 1px solid var(--line-dark); }
  .nav-list a { display: block; padding: 1rem 0; }
  .nav-phone { display: block; }
}
@media (max-width: 480px) { .nav .btn-sm { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 0; color: var(--white);
  background: radial-gradient(120% 90% at 75% 40%, #17245A 0%, var(--harbor) 45%, var(--deep) 100%);
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,13,32,.88) 0%, rgba(8,13,32,.45) 45%, rgba(8,13,32,0) 70%),
    linear-gradient(0deg, var(--deep) 0%, rgba(8,13,32,0) 28%);
}
.hero-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: 4rem; }
.status-line {
  display: inline-flex; align-items: center; gap: .6rem; align-self: flex-start;
  font-size: var(--t-sm); color: var(--mist); margin-bottom: 1.75rem;
}
.status-dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: none;
}
.status-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--signal); opacity: 0; animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

.hero-title {
  max-width: 11.5ch;
  font-size: var(--t-3xl); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-lede {
  max-width: 34rem; margin-top: 1.75rem;
  font-size: var(--t-lg); line-height: 1.55; color: var(--mist);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }

.hero-foot { position: relative; padding-bottom: 2rem; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.hero-facts div { padding: 1.25rem 1.5rem 0 0; }
.hero-facts dt { font-size: var(--t-xs); color: var(--mist); }
.hero-facts dd { font-weight: 600; font-size: var(--t-base); margin-top: .15rem; }
@media (max-width: 640px) {
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts div:last-child { display: none; }
}

/* ---------- Platform strip ---------- */
.platforms { background: var(--deep); color: var(--mist); padding: 2.25rem 0 2.5rem; overflow: hidden; border-top: 1px solid var(--line-dark); }
.platforms-inner { display: flex; align-items: center; gap: 2.5rem; }
.platforms-label { flex: none; font-size: var(--t-sm); max-width: 12rem; line-height: 1.35; }
.marquee { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 3.5rem; animation: marquee 40s linear infinite; }
.marquee-track li { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; color: rgba(255,255,255,.55); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 720px) { .platforms-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; } .marquee { width: 100%; } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-light { background: var(--white); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--harbor); color: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.section-title {
  font-size: var(--t-2xl); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em;
  text-wrap: balance; max-width: 18ch;
}
.section-title-sm { max-width: none; margin-bottom: 3rem; }
.section-lede { font-size: var(--t-lg); line-height: 1.55; color: var(--slate); max-width: 34rem; }
.section-dark .section-lede, .contact .section-lede, .problem .section-lede { color: var(--mist); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* split-text lines */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word { display: inline-block; will-change: transform; }

/* ---------- Problem (reactive vs managed) ---------- */
.problem { background: var(--deep); color: var(--white); padding: var(--section-y) 0; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.compare-col { border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--line-dark); }
.compare-col h3 { font-size: var(--t-xl); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: .5rem; }
.compare-col > p { color: var(--mist); margin-bottom: 1.75rem; }
.compare-col li { display: flex; gap: .85rem; padding: .9rem 0; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.86); }
.compare-col li svg { width: 20px; height: 20px; flex: none; margin-top: .2rem; }
.compare-old li svg { stroke: #6E7E94; }
.compare-new { background: linear-gradient(180deg, rgba(79,124,255,.08), rgba(79,124,255,0) 70%); border-color: rgba(79,124,255,.35); }
.compare-new li svg { stroke: var(--signal); }
.compare-old { color: var(--mist); }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Services: patch panel ---------- */
.panel {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-light); border-radius: var(--radius);
  background: var(--line-light); gap: 1px; overflow: hidden;
}
.port {
  position: relative; background: var(--white);
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
  min-height: 300px; display: flex; flex-direction: column;
  transition: background-color .35s var(--ease);
}
.port:hover { background: #FAFCFD; }
.port-led {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-light); box-shadow: inset 0 0 0 1px #C7D0DC;
  transition: background-color .3s, box-shadow .3s;
}
.port.is-lit .port-led, .port:hover .port-led { background: var(--signal); box-shadow: 0 0 0 4px rgba(79,124,255,.18), 0 0 12px rgba(79,124,255,.7); }
.port-icon { width: 44px; height: 44px; fill: none; stroke: var(--harbor); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.port h3 { margin-top: 2.75rem; font-size: var(--t-lg); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.port p { margin-top: .6rem; color: var(--slate); font-size: var(--t-sm); line-height: 1.6; max-width: 34ch; }
@media (max-width: 960px) { .panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .panel { grid-template-columns: 1fr; } .port { min-height: 0; } .port h3 { margin-top: 1.75rem; } }

/* ---------- Process timeline ---------- */
.process { background: var(--paper); padding: var(--section-y) 0; overflow: hidden; }
.process-inner { display: flex; flex-direction: column; gap: clamp(3rem, 2rem + 4vw, 6rem); }
.process-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem 4rem; align-items: end; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.timeline-track {
  position: absolute; left: 0; right: 0; top: 7px; height: 2px;
  background: var(--line-light); border-radius: 2px;
}
.timeline-fill {
  position: absolute; inset: 0; background: var(--signal); border-radius: 2px;
  transform-origin: left center; transform: scaleX(1);
}
.step { position: relative; padding-top: 3rem; }
.step-node {
  position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--signal);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.step.is-active .step-node { background: var(--signal); box-shadow: 0 0 0 6px rgba(79,124,255,.18); }
.step-num { display: block; font-size: var(--t-sm); font-weight: 600; color: var(--signal-ink); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: .5rem; font-size: var(--t-xl); font-weight: 800; letter-spacing: -0.03em; }
.step p { margin-top: .75rem; color: var(--slate); font-size: var(--t-sm); max-width: 30ch; }
.js .step { opacity: .35; transition: opacity .5s var(--ease); }
.js .step.is-active { opacity: 1; }
@media (max-width: 860px) {
  .process-head { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 2.75rem; padding-left: 2.5rem; }
  .timeline-track { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline-fill { transform-origin: center top; }
  .step { padding-top: 0; }
  .step-node { left: -2.5rem; top: .2rem; }
  .step p { max-width: 40ch; }
}

/* ---------- Why: stats + console ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.stat { padding: 2rem 1.5rem 2rem 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .75rem; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line-dark); }
.stat dd { font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4.25rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.stat-unit { font-size: .42em; letter-spacing: -0.02em; margin-left: .15em; color: var(--signal); }
.stat dt { color: var(--mist); font-size: var(--t-sm); line-height: 1.45; max-width: 22ch; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

.why-body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); margin-top: clamp(3.5rem, 2rem + 4vw, 6rem); align-items: start; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 2.5rem; }
.why-item h3 { font-size: var(--t-lg); font-weight: 700; letter-spacing: -0.02em; }
.why-item p { margin-top: .5rem; color: var(--mist); font-size: var(--t-sm); }
@media (max-width: 960px) { .why-body { grid-template-columns: 1fr; } .console { position: static; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; gap: 2rem; } }

.console {
  position: sticky; top: 110px;
  border-radius: var(--radius); background: var(--deep);
  border: 1px solid var(--line-dark);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
  overflow: hidden; font-size: var(--t-sm);
}
.console-bar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-dark); }
.console-title { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.console-meta { color: var(--mist); font-size: var(--t-xs); }
.console-health { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-dark); }
.console-health div { padding: 1rem 1.25rem; }
.console-health div + div { border-left: 1px solid var(--line-dark); }
.console-health span { display: block; font-size: var(--t-xs); color: var(--mist); }
.console-health strong { font-size: 1.375rem; letter-spacing: -0.03em; }
.console-log { height: 288px; overflow: hidden; position: relative; }
.console-log::after { content: ""; position: absolute; inset: auto 0 0; height: 60px; background: linear-gradient(0deg, var(--deep), transparent); pointer-events: none; }
.console-log li {
  display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center;
  padding: .8rem 1.25rem; border-bottom: 1px solid var(--line-dark);
}
.console-log .ev-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.console-log .ev-dot.is-muted { background: #46557E; }
.console-log .ev-text { color: rgba(255,255,255,.88); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-log .ev-text small { color: var(--mist); font-size: inherit; }
.console-log time { color: var(--mist); font-size: var(--t-xs); white-space: nowrap; }
.console-log li.is-new { animation: ev-in .7s var(--ease); }
@keyframes ev-in { from { opacity: 0; transform: translateY(-12px); background: rgba(79,124,255,.08); } to { opacity: 1; transform: none; background: transparent; } }
.console-caption { padding: .9rem 1.25rem; color: var(--mist); font-size: var(--t-xs); border-top: 1px solid var(--line-dark); }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); }
.industries-head { align-self: start; position: sticky; top: 120px; }
.industries-head .section-lede { margin-top: 1.5rem; }
.industry { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem 2rem; padding: 1.75rem 0; border-top: 1px solid var(--line-light); }
.industry:last-child { border-bottom: 1px solid var(--line-light); }
.industry h3 { font-size: var(--t-xl); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.industry p { color: var(--slate); font-size: var(--t-sm); }
@media (max-width: 860px) {
  .industries { grid-template-columns: 1fr; }
  .industries-head { position: static; }
  .industry { grid-template-columns: 1fr; gap: .4rem; }
}


/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 1.25rem; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius); background: var(--paper); }
.quote blockquote p { font-size: var(--t-lg); line-height: 1.5; letter-spacing: -0.01em; }
.quote-feature { grid-row: span 2; background: var(--harbor); color: var(--white); }
.quote-feature blockquote p { font-size: var(--t-xl); line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; }
.quote-feature blockquote::before {
  content: ""; display: block; width: 40px; height: 32px; margin-bottom: 1.75rem;
  background: var(--signal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 32'%3E%3Cpath d='M0 32V19C0 8 6 1.5 16 0l1.6 4.5C12 6 9 9.6 9 14.5h7V32zm22 0V19c0-11 6-17.5 16-19l1.6 4.5C34 6 31 9.6 31 14.5h7V32z'/%3E%3C/svg%3E") no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 32'%3E%3Cpath d='M0 32V19C0 8 6 1.5 16 0l1.6 4.5C12 6 9 9.6 9 14.5h7V32zm22 0V19c0-11 6-17.5 16-19l1.6 4.5C34 6 31 9.6 31 14.5h7V32z'/%3E%3C/svg%3E") no-repeat;
}
.quote figcaption { display: flex; flex-direction: column; font-size: var(--t-sm); }
.quote-name { font-weight: 700; }
.quote-org { color: var(--slate); }
.quote-feature .quote-org { color: var(--mist); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } .quote-feature { grid-row: auto; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); }
.faq-head .section-lede { margin-top: 1.5rem; }
.faq-head a { color: var(--harbor); font-weight: 600; text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.faq-list details { border-top: 1px solid var(--line-light); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-light); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; cursor: pointer; list-style: none;
  font-size: var(--t-lg); font-weight: 600; letter-spacing: -0.015em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-light); transition: background-color .3s, border-color .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: var(--harbor); transition: transform .35s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
details[open] .faq-icon { background: var(--signal); border-color: var(--signal); }
details[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { overflow: hidden; }
.faq-answer p { padding: 0 3rem 1.75rem 0; color: var(--slate); max-width: 44rem; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact {
  position: relative; background: var(--harbor); color: var(--white);
  padding: var(--section-y) 0; overflow: hidden; isolation: isolate;
}
.contact::before {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -300px;
  background: radial-gradient(closest-side, rgba(79,124,255,.14), transparent);
}
.contact-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 1rem + 6vw, 7rem); align-items: start; }
.contact-title { font-size: var(--t-2xl); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; max-width: 12ch; text-wrap: balance; }
.contact-copy .section-lede { margin-top: 1.5rem; }
.contact-methods { margin-top: 3rem; }
.contact-methods li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line-dark); }
.contact-label { color: var(--mist); font-size: var(--t-sm); padding-top: .1rem; }
.contact-methods a { font-weight: 600; font-size: var(--t-lg); letter-spacing: -0.01em; transition: color .2s; }
.contact-methods a:hover { color: var(--signal); }
@media (max-width: 960px) { .contact-inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-methods li { grid-template-columns: 1fr; gap: .15rem; } }

.form {
  position: relative; background: var(--white); color: var(--harbor);
  border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  box-shadow: 0 50px 100px -50px rgba(0,0,0,.65);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: var(--t-sm); font-weight: 600; margin-bottom: .4rem; }
.optional { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  border: 1px solid #CFD7E2; border-radius: var(--radius-sm); background: var(--white);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230D1530' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #8A97A8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal-ink); box-shadow: 0 0 0 3px rgba(79,124,255,.25); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin-top: .4rem; font-size: var(--t-xs); color: #C2262C; font-weight: 500; }
.form .btn { margin-top: .5rem; }
.form-note { margin-top: .9rem; text-align: center; color: var(--slate); font-size: var(--t-xs); }
.form-success {
  display: flex; gap: .9rem; margin-top: 1.25rem; padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm); background: #EBF0FF; border: 1px solid #B9CBFF;
  font-size: var(--t-sm);
}
.form-success[hidden] { display: none; }
.form-success .status-dot { margin-top: .45rem; background: var(--signal-ink); }
.form-success-title { font-weight: 700; }
.form.is-sent .form-row, .form.is-sent > .field, .form.is-sent > .btn, .form.is-sent .form-note { display: none; }
.form.is-sent .form-success { margin-top: 0; }

/* ---------- Footer ---------- */

/* ---------- Motion setup (only when JS + motion allowed) ---------- */
.motion [data-hero-item], .motion [data-reveal] { opacity: 0; }
.motion .hero-title:not(.is-split) { opacity: 0; }
.motion [data-clip] { clip-path: inset(100% 0 0 0 round var(--radius)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track li[aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   v2 — "AI operations" layer: dark canvas, glow, beams and live visuals
   ========================================================================== */

:root {
  --void: #060A1A;
  --void-2: #0A1024;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);
  --glass-line: rgba(255, 255, 255, 0.08);
  --blue: #38BDF8;
  --violet: #7C6CFF;
  --grad: linear-gradient(110deg, #38BDF8 0%, #4F7CFF 50%, #7C6CFF 100%);
  --line-dark: rgba(154,168,199, 0.13);
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

body { background: var(--void); color: var(--white); }
::selection { background: rgba(79,124,255, .35); color: #fff; }

/* Every section now lives on the dark canvas */
.section, .problem, .process, .layers, .ai, .contact { position: relative; overflow: hidden; isolation: isolate; }
.section-light, .section-paper, .section-dark, .section-deep, .process, .problem { background: transparent; color: var(--white); }
.section-paper, .process { background: linear-gradient(180deg, var(--void) 0%, var(--void-2) 100%); }
.section-dark { background: var(--void-2); }
.section-lede { color: var(--mist); }
.hero { background: radial-gradient(120% 90% at 75% 35%, #141F4A 0%, #0A1130 42%, var(--void) 100%); }
.platforms { background: var(--void); }
.problem { background: var(--void); }
.contact { background: var(--void-2); }

.section-title, .contact-title { color: #fff; text-shadow: 0 0 40px rgba(79,124,255,.12); }

/* ---------- Ambient glows ---------- */
.ambient { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.ambient-a { width: 560px; height: 560px; left: -180px; top: 10%; background: radial-gradient(closest-side, rgba(79,124,255,.35), transparent); }
.ambient-b { width: 640px; height: 640px; right: -220px; top: 20%; background: radial-gradient(closest-side, rgba(56,189,248,.32), transparent); animation-duration: 22s; }
.ambient-c { width: 600px; height: 600px; left: 30%; bottom: -240px; background: radial-gradient(closest-side, rgba(124,108,255,.28), transparent); }
.ambient-ai { width: 820px; height: 820px; left: 50%; top: 0; margin-left: -410px; background: radial-gradient(closest-side, rgba(56,189,248,.30), rgba(124,108,255,.12) 55%, transparent); }
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(60px,-40px,0) scale(1.15); } }

/* ---------- Hero additions ---------- */
.hero-grid {
  position: absolute; z-index: -2; left: -50%; right: -50%; bottom: -8%; height: 52%;
  background-image: linear-gradient(rgba(79,124,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(79,124,255,.22) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(520px) rotateX(64deg); transform-origin: top center;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 55%, transparent 100%);
  animation: grid-run 2.6s linear infinite; pointer-events: none;
}
@keyframes grid-run { to { background-position: 0 64px; } }
.hero-horizon { position: absolute; z-index: -2; left: 0; right: 0; bottom: 44%; height: 1px; background: linear-gradient(90deg, transparent, #4F7CFF 30%, #7C6CFF 70%, transparent); box-shadow: 0 0 60px 10px rgba(79,124,255,.25); opacity: .55; pointer-events: none; }
.grid-soft { inset: 0; left: 0; right: 0; height: auto; bottom: 0; transform: none; opacity: .28; animation: none; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }

.status-line { padding: .45rem .9rem .45rem .7rem; border: 1px solid var(--glass-line); border-radius: 999px; background: rgba(255,255,255,.04); backdrop-filter: blur(8px); color: #D4DEEA; }
.hero-title.is-lit {
  background: linear-gradient(100deg, #fff 0%, #fff 38%, #A9C1FF 46%, #A5B4FC 52%, #fff 60%, #fff 100%);
  background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0% { background-position: 100% 0; } 55%, 100% { background-position: -60% 0; } }

/* Glass status card */
.status-card {
  position: absolute; z-index: 2; width: 360px;
  right: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
  top: 50%; transform: translateY(-42%);
  padding: 1.25rem; border-radius: 20px;
  background: linear-gradient(180deg, rgba(18,26,56,.72), rgba(8,13,32,.6));
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
  font-size: var(--t-sm);
}
.status-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9rem; }
.status-card-title { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; }
.status-card-meta { font-size: var(--t-xs); color: var(--mist); padding: .15rem .55rem; border: 1px solid var(--glass-line); border-radius: 999px; }
.status-rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line-dark); color: #D4DEEA; }
.status-rows .ok { color: var(--signal); font-weight: 500; }
.uptime { margin-top: 1rem; }
.uptime-bars { display: flex; gap: 2px; height: 34px; align-items: flex-end; }
.uptime-bars i { flex: 1; height: 100%; border-radius: 2px; background: linear-gradient(180deg, #4F7CFF, rgba(79,124,255,.45)); transform-origin: bottom; }
.uptime-bars i.is-dip { background: linear-gradient(180deg, #F5B13D, rgba(245,177,61,.4)); height: 70%; }
.uptime-legend { display: flex; justify-content: space-between; margin-top: .5rem; font-size: .72rem; color: var(--mist); }
.uptime-legend span:nth-child(2) { color: #fff; font-weight: 600; }
@media (max-width: 1180px) { .status-card { display: none; } }

/* Scroll progress */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(79,124,255,.7); }

/* ---------- Buttons: glow + magnetic ---------- */
.btn-primary { position: relative; background: linear-gradient(110deg, #4F7CFF, #6B92FF 40%, #38BDF8); background-size: 180% 100%; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 10px 30px -10px rgba(79,124,255,.65); transition: background-position .5s var(--ease), box-shadow .3s var(--ease), transform .2s var(--ease); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 14px 40px -8px rgba(56,189,248,.75); }
.btn-ghost { backdrop-filter: blur(6px); background: rgba(255,255,255,.03); }
[data-magnetic] { will-change: transform; }

/* ---------- Chips + animated beam borders ---------- */

.beam, .beam-soft { position: relative; isolation: isolate; }
.beam::before, .beam-soft::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 62%, rgba(79,124,255,.95) 74%, rgba(124,108,255,.95) 84%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: beam 5s linear infinite;
}
.beam-soft::before { opacity: 0; transition: opacity .4s var(--ease); animation-duration: 3.5s; }
.beam-soft:hover::before, .beam-soft:focus-within::before { opacity: 1; }
@keyframes beam { to { --angle: 360deg; } }

/* Cursor spotlight shared by glass surfaces */
.spot { --mx: 50%; --my: 50%; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(79,124,255,.12), transparent 45%); }
.spot:hover::after { opacity: 1; }

/* ---------- Services: animated bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 1.5rem; overflow: hidden;
  padding: clamp(1.4rem, 1rem + 1vw, 2rem); border-radius: 22px; min-height: 300px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.tile:hover { border-color: rgba(79,124,255,.35); }
.tile > * { position: relative; z-index: 1; }
.tile-copy h3 { font-size: var(--t-lg); font-weight: 700; letter-spacing: -0.02em; }
.tile-copy p { margin-top: .5rem; color: var(--mist); font-size: var(--t-sm); max-width: 44ch; }
.viz { margin-top: auto; }
.tile-managed { grid-column: span 4; }
.tile-security { grid-column: span 2; grid-row: span 2; }
.tile-network, .tile-helpdesk { grid-column: span 2; }
.tile-cloud, .tile-backup { grid-column: span 3; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-managed, .tile-security, .tile-network, .tile-helpdesk, .tile-cloud, .tile-backup { grid-column: span 1; grid-row: auto; }
  .tile-managed { grid-column: span 2; }
}
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile-managed { grid-column: auto; } .tile { min-height: 0; } }

/* fleet */
.viz-fleet { display: grid; gap: .45rem; font-size: var(--t-xs); }
.fleet-row { display: grid; grid-template-columns: 9.5rem 1fr 6rem; align-items: center; gap: 1rem; padding: .55rem .8rem; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.04); color: #CFD9E6; }
.fleet-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.fleet-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--grad); border-radius: inherit; }
.fleet-state { text-align: right; color: var(--signal); }
.fleet-row.is-working { border-color: rgba(79,124,255,.3); background: rgba(79,124,255,.06); }
.fleet-row.is-working .fleet-state { color: #fff; }
@media (max-width: 520px) { .fleet-row { grid-template-columns: 1fr 5.5rem; } .fleet-bar { grid-column: 1 / -1; grid-row: 2; } }

/* radar */
.viz-radar { display: flex; flex-direction: column; gap: 1.25rem; align-items: center; }
.radar { position: relative; width: min(250px, 100%); margin-block: auto; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(79,124,255,.3);
  background: repeating-radial-gradient(circle, transparent 0 26px, rgba(79,124,255,.14) 27px 28px), radial-gradient(circle, rgba(79,124,255,.08), transparent 70%); overflow: hidden; }
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(79,124,255,.14); }
.radar::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(79,124,255,.55), rgba(79,124,255,0) 22%, transparent); animation: spin 4s linear infinite; }
.radar-blip { position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #FF6B7A; box-shadow: 0 0 12px #FF6B7A; opacity: 0; animation: blip 4s var(--d) infinite; }
.radar-core { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 6px rgba(79,124,255,.15), 0 0 20px var(--signal); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; transform: scale(1.2); } 30% { opacity: 1; transform: scale(1); background: #FF6B7A; } 45% { background: var(--signal); box-shadow: 0 0 12px var(--signal); } 70%, 100% { opacity: 0; transform: scale(.6); background: var(--signal); } }
.threat-log { width: 100%; display: grid; gap: .4rem; font-size: var(--t-xs); }
.threat-log li { display: flex; justify-content: space-between; padding: .55rem .8rem; border-radius: 10px; background: rgba(255,255,255,.03); color: #CFD9E6; }
.threat-log li.is-new { animation: ev-in .6s var(--ease); }
.threat-log b { color: var(--signal); font-weight: 600; }

/* topology */
.viz-topology { width: 100%; height: auto; overflow: visible; }
.topo-links path { fill: none; stroke: rgba(154,168,199,.25); stroke-width: 1.5; }
.topo-flow path { fill: none; stroke: url(#flow-grad); stroke: var(--signal); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 26; animation: flow 1.6s linear infinite; filter: drop-shadow(0 0 4px rgba(79,124,255,.8)); }
.topo-flow path:nth-child(2) { animation-delay: -.5s; } .topo-flow path:nth-child(3) { animation-delay: -1s; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.topo-nodes rect, .topo-nodes circle { fill: #0F1736; stroke: rgba(79,124,255,.6); stroke-width: 1.5; }
.topo-nodes circle { animation: node-pulse 2.4s ease-in-out infinite; }
.topo-nodes circle:nth-of-type(2) { animation-delay: .4s; } .topo-nodes circle:nth-of-type(3) { animation-delay: .8s; }
@keyframes node-pulse { 50% { stroke: #fff; fill: #1A2A66; } }
.topo-labels text { fill: #D6E2FF; font-size: 9px; font-weight: 700; text-anchor: middle; letter-spacing: .05em; }

/* chat */
.viz-chat { display: flex; flex-direction: column; gap: .5rem; font-size: var(--t-sm); }
.bubble { max-width: 85%; padding: .6rem .9rem; border-radius: 14px; animation: bubble 8s var(--ease) infinite both; }
.bubble-in { align-self: flex-start; background: rgba(255,255,255,.07); border-bottom-left-radius: 4px; }
.bubble-out { align-self: flex-end; background: linear-gradient(110deg, rgba(79,124,255,.25), rgba(56,189,248,.25)); border: 1px solid rgba(79,124,255,.3); border-bottom-right-radius: 4px; animation-delay: .9s; }
.bubble-status { display: flex; align-items: center; gap: .5rem; font-size: var(--t-xs); color: var(--signal); animation: bubble 8s var(--ease) 1.9s infinite both; }
@keyframes bubble { 0% { opacity: 0; transform: translateY(10px) scale(.96); } 6%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-4px); } }

/* cloud orbit */
.viz-cloud { display: grid; place-items: center; min-height: 190px; }
.orbit { position: relative; width: 190px; height: 190px; --r: 88px; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(79,124,255,.3); animation: spin 30s linear infinite; }
.orbit-ring-2 { inset: 34px; border-style: solid; border-color: rgba(124,108,255,.25); animation-direction: reverse; animation-duration: 18s; }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(79,124,255,.3), rgba(56,189,248,.3)); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 0 40px rgba(79,124,255,.35); }
.orbit-core svg { width: 34px; fill: none; stroke: #fff; stroke-width: 2; }
.orbit-chip { position: absolute; left: 50%; top: 50%; padding: .25rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; background: #101A3E; border: 1px solid rgba(79,124,255,.35);
  transform: translate(-50%, -50%) rotate(calc(var(--a) + var(--spin))) translateX(var(--r)) rotate(calc(-1 * (var(--a) + var(--spin))));
  animation: orbit 20s linear infinite; }
@keyframes orbit { to { --spin: 360deg; } }

/* backup jobs */
.viz-backup { display: grid; gap: .5rem; font-size: var(--t-xs); }
.job { display: grid; grid-template-columns: 8.5rem 1fr 4.5rem; gap: 1rem; align-items: center; color: #CFD9E6; }
.job-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.job-bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; animation: job 6s var(--ease) infinite; }
.job:nth-child(2) .job-bar i { animation-delay: .5s; } .job:nth-child(3) .job-bar i { animation-delay: 1s; } .job:nth-child(4) .job-bar i { animation-delay: 1.5s; }
.job b { text-align: right; color: var(--signal); font-weight: 600; }
@keyframes job { 0% { transform: scaleX(0); } 35%, 92% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: .4; } }

/* ---------- Security layers ---------- */
.layers { padding: var(--section-y) 0; background: linear-gradient(180deg, var(--void-2), var(--void)); }
.layers-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.layers-copy .section-lede { margin-top: 1.25rem; }
.layer-list { margin-top: 2rem; display: grid; gap: .25rem; }
.layer-item { display: grid; grid-template-columns: 2.25rem 1fr; gap: .75rem; padding: .85rem 1rem; border-radius: 14px; border: 1px solid transparent; transition: background-color .4s var(--ease), border-color .4s var(--ease), opacity .4s; }
.js .layer-item { opacity: .38; }
.layer-item.is-active { opacity: 1; background: rgba(79,124,255,.06); border-color: rgba(79,124,255,.22); }
.layer-num { font-size: var(--t-sm); font-weight: 700; color: var(--signal); padding-top: .1rem; }
.layer-item h3 { font-size: var(--t-base); font-weight: 700; }
.layer-item p { font-size: var(--t-xs); color: var(--mist); margin-top: .2rem; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.layer-item.is-current p { max-height: 4rem; }
.layers-visual { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1; }
.rings { width: 100%; height: 100%; overflow: visible; }
.ring-track { fill: none; stroke: rgba(154,168,199,.12); stroke-width: 1; stroke-dasharray: 2 6; }
.ring { fill: none; stroke: url(#ring-grad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 200px 200px; filter: drop-shadow(0 0 6px rgba(79,124,255,.6)); }
.core-glow { animation: core 3s ease-in-out infinite; transform-origin: 200px 200px; }
@keyframes core { 50% { transform: scale(1.15); opacity: .7; } }
.threats circle { fill: #FF6B7A; filter: drop-shadow(0 0 6px #FF6B7A); }
.core-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; display: flex; flex-direction: column; gap: .15rem; }
.core-label strong { font-size: var(--t-lg); }
.core-label span { font-size: .72rem; color: var(--mist); white-space: nowrap; }
@media (max-width: 900px) { .layers-inner { grid-template-columns: 1fr; } .layers-visual { max-width: 380px; } }

/* ---------- Process, industries, about, quotes, FAQ on dark ---------- */
.timeline-track { background: var(--line-dark); }
.timeline-fill { background: var(--grad); box-shadow: 0 0 14px rgba(79,124,255,.6); }
.step-node { background: var(--void); }
.step.is-active .step-node { box-shadow: 0 0 0 6px rgba(79,124,255,.15), 0 0 24px rgba(79,124,255,.8); }
.step-num { color: var(--signal); }
.step p { color: var(--mist); }

.industry { border-color: var(--line-dark) !important; position: relative; transition: padding-left .45s var(--ease); }
.industry::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px var(--signal); transform: scale(0); transition: transform .4s var(--ease); }
.industry:hover { padding-left: 1.25rem; }
.industry:hover::before { transform: scale(1); }
.industry p { color: var(--mist); }


.quote { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--glass-line); position: relative; }
.quote-feature { background: linear-gradient(150deg, rgba(79,124,255,.16), rgba(56,189,248,.12) 45%, rgba(124,108,255,.12)); border-color: rgba(79,124,255,.25); }
.quote-org { color: var(--mist); }

.faq-head a { color: #fff; }
.faq-list details { border-color: var(--line-dark) !important; }
.faq-icon { border-color: var(--line-dark); }
.faq-icon::before, .faq-icon::after { background: #fff; }
details[open] .faq-icon::before, details[open] .faq-icon::after { background: var(--harbor); }
.faq-answer p { color: var(--mist); }
.faq-list summary:hover { color: #D6E2FF; }

/* ---------- Health check ---------- */
.health { padding: var(--section-y) 0; }
.health-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 1.5rem; align-items: start; }
.quiz { display: grid; gap: .75rem; }
.q { margin: 0; padding: 1.1rem 1.25rem; border-radius: 16px; border: 1px solid var(--glass-line); background: rgba(255,255,255,.03); display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; transition: border-color .3s, background-color .3s; }
.q.is-answered { border-color: rgba(79,124,255,.25); background: rgba(79,124,255,.04); }
.q legend { float: left; padding: 0; font-size: var(--t-sm); font-weight: 500; line-height: 1.45; }
.q-opts { display: flex; gap: .35rem; flex: none; }
.q-opts label { position: relative; cursor: pointer; }
.q-opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.q-opts span { display: block; padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--glass-line); font-size: var(--t-xs); font-weight: 600; color: var(--mist); transition: all .25s var(--ease); white-space: nowrap; }
.q-opts label:hover span { color: #fff; border-color: rgba(255,255,255,.25); }
.q-opts input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.q-opts input[value="2"]:checked + span { background: rgba(79,124,255,.18); border-color: var(--signal); color: #fff; box-shadow: 0 0 16px rgba(79,124,255,.35); }
.q-opts input[value="1"]:checked + span { background: rgba(245,177,61,.15); border-color: #F5B13D; color: #fff; }
.q-opts input[value="0"]:checked + span { background: rgba(255,107,122,.15); border-color: #FF6B7A; color: #fff; }
@media (max-width: 700px) { .q { grid-template-columns: 1fr; } }
.score { position: sticky; top: 110px; padding: 1.75rem; border-radius: 22px; background: linear-gradient(180deg, rgba(18,26,56,.75), rgba(8,13,32,.75)); border: 1px solid var(--glass-line); text-align: center; }
.gauge { position: relative; width: 190px; margin: 0 auto 1.25rem; }
.gauge svg { width: 100%; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 12; }
.gauge-fill { fill: none; stroke: url(#gauge-grad); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1s var(--ease); filter: drop-shadow(0 0 8px rgba(79,124,255,.55)); }
.gauge-value { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-value strong { font-size: 3rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.gauge-value span { font-size: .72rem; color: var(--mist); margin-top: .35rem; }
.score-verdict { font-weight: 600; margin-bottom: 1rem; }
.score-gaps { text-align: left; display: grid; gap: .4rem; margin-bottom: 1.25rem; font-size: var(--t-xs); color: #D4DEEA; }
.score-gaps li { display: flex; gap: .5rem; align-items: baseline; animation: ev-in .4s var(--ease); }
.score-gaps li::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: #FF6B7A; transform: translateY(-1px); }
@media (max-width: 960px) { .health-grid { grid-template-columns: 1fr; } .score { position: static; } }

/* ---------- Contact form on dark glass ---------- */
.form { background: linear-gradient(180deg, rgba(18,26,56,.8), rgba(8,13,32,.85)); color: #fff; border: 1px solid var(--glass-line); backdrop-filter: blur(14px); }
.field input, .field select, .field textarea { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: #fff; }
.field select option { color: #0D1530; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239AA8C7' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field input:focus, .field textarea:focus { border-color: var(--signal); background-color: rgba(79,124,255,.05); }
.field select:focus { border-color: var(--signal); }
.optional, .form-note { color: var(--mist); }
.field-error { color: #FF8A96; }
.form-success { background: rgba(79,124,255,.1); border-color: rgba(79,124,255,.35); }
.form-success .status-dot { background: var(--signal); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--void); }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.preloader svg { width: 72px; height: 72px; color: #fff; }
.preloader svg { overflow: visible; filter: drop-shadow(0 0 18px rgba(79,124,255,.5)); }
.preloader .hx-cell, .preloader .hx-core { transform-box: fill-box; transform-origin: center; }
.preloader-text { font-size: var(--t-xs); color: var(--mist); letter-spacing: .02em; min-height: 1.2em; }

/* ---------- Cursor glow ---------- */
.cursor-glow { position: fixed; left: 0; top: 0; z-index: 60; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(79,124,255,.09), rgba(56,189,248,.05) 50%, transparent); mix-blend-mode: screen; opacity: 0; transition: opacity .4s; }
.cursor-glow.is-on { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Motion off: freeze decoration, keep content ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-grid, .ambient, .radar-sweep, .orbit-chip, .orbit-ring, .beam::before { animation: none !important; }
  .js .layer-item { opacity: 1; }
  .layer-item p { max-height: 4rem; }
  .ring { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Services page
   ========================================================================== */
.section-link { margin-top: 1.5rem; }

.page-hero { min-height: 88svh; }
.page-hero .hero-grid { opacity: .5; }
.page-title { max-width: 13ch; }

/* Sticky in-page service nav */
.svc-nav { position: sticky; top: 76px; z-index: 40; background: rgba(6,10,26,.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-block: 1px solid var(--line-dark); transition: top .45s var(--ease); }
.site-header.is-hidden ~ main .svc-nav { top: 0; }
.svc-nav-list { display: flex; gap: .4rem; overflow-x: auto; padding: .7rem 0; scrollbar-width: none; }
.svc-nav-list::-webkit-scrollbar { display: none; }
.svc-nav-list a { display: block; padding: .45rem .95rem; border-radius: 999px; font-size: var(--t-sm); font-weight: 500; color: var(--mist); white-space: nowrap; border: 1px solid transparent; transition: color .25s, background-color .25s, border-color .25s; }
.svc-nav-list a:hover { color: #fff; }
.svc-nav-list a[aria-current="true"] { color: #fff; background: rgba(79,124,255,.14); border-color: rgba(79,124,255,.4); box-shadow: 0 0 18px rgba(79,124,255,.2); }

/* Service rows */
.svc { padding: clamp(4rem, 2.5rem + 6vw, 8rem) 0; position: relative; }
.svc + .svc { border-top: 1px solid var(--line-dark); }
.svc-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.svc-flip .media { order: 2; }
@media (max-width: 900px) { .svc-inner { grid-template-columns: 1fr; } .svc-flip .media { order: 0; } }

.media { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4; background: radial-gradient(90% 80% at 50% 38%, #141F4A 0%, #0A1130 55%, var(--void-2) 100%); box-shadow: 0 0 0 1px var(--glass-line), 0 50px 100px -40px rgba(56,189,248,.4); }
.media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.media::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(127,162,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(127,162,255,.06) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent); }
.media::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.media-badge { position: absolute; z-index: 2; left: 1.25rem; bottom: 1.25rem; display: inline-flex; align-items: center; gap: .6rem; max-width: calc(100% - 2.5rem); padding: .6rem 1rem; border-radius: 999px; font-size: var(--t-sm); font-weight: 600; background: rgba(6,10,26,.6); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

.svc-num { display: inline-block; font-size: var(--t-sm); font-weight: 700; color: var(--signal); padding: .2rem .65rem; border-radius: 999px; border: 1px solid rgba(79,124,255,.35); margin-bottom: 1.25rem; font-variant-numeric: tabular-nums; }
.svc-title { font-size: var(--t-2xl); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.svc-lede { margin-top: 1.25rem; font-size: var(--t-lg); line-height: 1.55; color: var(--mist); max-width: 36rem; }
.svc-includes { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem; }
.svc-includes li { position: relative; padding-left: 1.75rem; font-size: var(--t-sm); line-height: 1.45; color: #D4DEEA; }
.svc-includes li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: rgba(79,124,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234F7CFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 70% no-repeat; box-shadow: 0 0 0 1px rgba(79,124,255,.35); }
@media (max-width: 560px) { .svc-includes { grid-template-columns: 1fr; } }
.svc-cta { display: inline-flex; align-items: center; gap: .6rem; margin-top: 2.25rem; font-weight: 600; color: #fff; padding-bottom: .25rem; background: linear-gradient(var(--signal), var(--signal)) 0 100% / 30% 2px no-repeat; transition: background-size .45s var(--ease), color .25s; }
.svc-cta:hover { background-size: 100% 2px; color: #D6E2FF; }

/* Included in every plan */
.perk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.perk { padding: 1.6rem; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--glass-line); position: relative; }
.perk > * { position: relative; z-index: 1; }
.perk svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; fill: none; stroke: var(--signal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: rgba(79,124,255,.1); box-shadow: 0 0 0 1px rgba(79,124,255,.3), 0 0 24px rgba(79,124,255,.15); }
.perk h3 { margin-top: 1.25rem; font-size: var(--t-base); font-weight: 700; }
.perk p { margin-top: .35rem; font-size: var(--t-sm); color: var(--mist); }
@media (max-width: 900px) { .perk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .perk-grid { grid-template-columns: 1fr; } }

/* On-site service area */
.onsite-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.onsite-copy .section-lede { margin-top: 1.25rem; }
.area-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.area-list li { padding: .4rem .85rem; border-radius: 999px; font-size: var(--t-sm); border: 1px solid var(--glass-line); background: rgba(255,255,255,.03); color: #D4DEEA; }
.area-list li:first-child { border-color: rgba(79,124,255,.45); color: #fff; background: rgba(79,124,255,.1); }
.map { margin: 0; border-radius: 24px; overflow: hidden; background: radial-gradient(80% 80% at 30% 40%, #121D45, var(--void-2) 70%); box-shadow: 0 0 0 1px var(--glass-line), 0 50px 100px -40px rgba(79,124,255,.35); }
.map img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) { .onsite-inner { grid-template-columns: 1fr; } }

/* CTA */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: var(--section-y) 0; text-align: center; border-top: 1px solid var(--line-dark); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner .section-title { max-width: none; }
.cta-inner .section-lede { margin-top: 1.25rem; }
.cta-inner .hero-actions { justify-content: center; }

.nav-list a[aria-current="page"] { color: #fff; }
.motion [data-media] { clip-path: inset(100% 0 0 0 round 24px); }
.page-hero { min-height: 88svh; }

/* ---------- Technology logo slider ---------- */
.brands { position: relative; padding: 2.5rem 0 3rem; background: var(--void); border-block: 1px solid var(--line-dark); overflow: hidden; }
.brands-head { margin-bottom: 1.5rem; }
.brands-title { display: inline-flex; align-items: center; gap: .6rem; font-size: var(--t-sm); color: var(--mist); }
.logo-marquee {
  overflow: hidden; padding-block: .5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.logo-chip {
  position: relative; flex: none; display: grid; place-items: center; margin-right: 1rem;
  width: 210px; height: 92px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--glass-line);
  transition: background-color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.logo-chip img { height: calc(34px * var(--h, 1)); width: auto; max-width: 156px; filter: brightness(0) invert(1); opacity: .62; transition: filter .45s var(--ease), opacity .45s var(--ease); }
.logo-chip::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(127,162,255,.22) 50%, transparent 65%) 200% 0 / 250% 100% no-repeat; animation: chip-sheen 6s linear infinite; }
.logo-chip:nth-child(3n+2)::after { animation-delay: -2s; } .logo-chip:nth-child(3n)::after { animation-delay: -4s; }
@keyframes chip-sheen { 0% { background-position: 200% 0; } 40%, 100% { background-position: -100% 0; } }
.logo-chip:hover { background: #fff; border-color: #fff; transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(79,124,255,.55); }
.logo-chip:hover img { filter: none; opacity: 1; }
.logo-chip:hover::after { opacity: 0; }
@media (max-width: 640px) { .logo-chip { width: 160px; height: 76px; } .logo-chip img { height: calc(24px * var(--h, 1)); max-width: 120px; } .logo-track { animation-duration: 30s; } }
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--gutter); }
  .logo-chip[aria-hidden="true"] { display: none; }
  .logo-chip::after { animation: none; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ==========================================================================
   Header v3: status bar + floating glass capsule
   ========================================================================== */
.site-header { --cap-h: 66px; color: #fff; background: none !important; border: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* Status bar */
.topbar { overflow: hidden; max-height: 40px; transition: max-height .45s var(--ease), opacity .35s var(--ease); background: linear-gradient(90deg, rgba(79,124,255,.10), rgba(56,189,248,.08) 50%, rgba(124,108,255,.10)); border-bottom: 1px solid rgba(127,162,255,.14); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 36px; font-size: var(--t-xs); color: #CFE0EE; }
.topbar-status { display: inline-flex; align-items: center; gap: .55rem; }
.topbar-status .status-dot { width: 7px; height: 7px; background: #3EE69A; }
.topbar-status .status-dot::after { border-color: #3EE69A; }
.topbar-meta { display: inline-flex; align-items: center; gap: 1.25rem; }
.topbar-meta a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: #fff; transition: color .2s; }
.topbar-meta a:hover { color: var(--signal); }
.topbar-meta svg { width: 13px; height: 13px; fill: var(--signal); }
.topbar-label { color: #CFE0EE; font-weight: 500; }
.topbar-place { padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,.15); color: var(--mist); }
.site-header.is-solid .topbar { max-height: 0; opacity: 0; border-color: transparent; }
@media (max-width: 720px) { .topbar-status, .topbar-place, .topbar-label { display: none; } .topbar-inner { justify-content: center; } }

/* Floating capsule */
.header-shell { padding-top: 12px; transition: padding .45s var(--ease); }
.header-inner {
  position: relative; height: var(--cap-h); padding: 0 .65rem 0 1.25rem; border-radius: 20px;
  background: linear-gradient(180deg, rgba(18,26,56,.62), rgba(8,13,32,.55));
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.1), 0 20px 50px -20px rgba(0,0,0,.7), 0 0 40px -12px rgba(79,124,255,.35);
  transition: height .45s var(--ease), background-color .45s var(--ease), box-shadow .45s var(--ease);
}
.header-beam { position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 55%, rgba(79,124,255,.9) 70%, rgba(124,108,255,.9) 82%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: beam 7s linear infinite; opacity: .85; }
.site-header.is-solid .header-shell { padding-top: 8px; }
.site-header.is-solid .header-inner { --cap-h: 58px; background: linear-gradient(180deg, rgba(14,22,56,.88), rgba(7,11,30,.86)); box-shadow: 0 0 0 1px rgba(127,162,255,.18), inset 0 1px 0 rgba(255,255,255,.08), 0 24px 60px -20px rgba(0,0,0,.85), 0 0 60px -10px rgba(79,124,255,.45); }
.site-header.is-hidden { transform: translateY(-120%); }

/* Progress line rides the capsule's bottom edge */
.header-inner .scroll-progress { left: 20px; right: 20px; bottom: 0; border-radius: 2px; }

/* Brand: glowing status LED */
.brand-mark { width: 38px; height: 38px; }
.brand-led { filter: drop-shadow(0 0 4px var(--signal)); animation: led 3s ease-in-out infinite; }
@keyframes led { 50% { opacity: .45; filter: drop-shadow(0 0 1px var(--signal)); } }
.brand:hover .brand-led { animation-duration: .6s; }

/* Nav links + sliding pill */
.nav { position: relative; gap: 1rem; }
.nav-list { gap: .25rem; }
.nav-list a { position: relative; z-index: 1; display: block; padding: .55rem .9rem; border-radius: 12px; color: rgba(255,255,255,.8); }
.nav-list a[aria-current="page"] { color: #fff; }
.nav-list a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.nav-indicator { position: absolute; z-index: 0; left: 0; top: 0; height: 38px; width: 0; border-radius: 12px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 20px rgba(79,124,255,.2);
  transition: transform .35s var(--ease), width .35s var(--ease), opacity .25s; }
.nav-indicator.is-on { opacity: 1; }
.header-inner .btn-sm { min-height: 44px; padding: 0 1.25rem; border-radius: 14px; }

/* Offsets for content under the taller header */
.hero { padding-top: 170px; }
.svc-nav { top: 74px; }
html { scroll-padding-top: 120px; }

@media (max-width: 900px) {
  .header-inner { padding: 0 .5rem 0 1rem; }
  .nav { position: static; }
  .nav-indicator { display: none; }
  .nav-toggle { border-radius: 12px; }
  .nav-list { position: absolute; inset: calc(100% + 8px) 0 auto; padding: .5rem 1.25rem 1rem; border-radius: 18px; background: #080D20; border: 1px solid rgba(127,162,255,.18); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
  .nav-list a { padding: 1rem .25rem; border-radius: 0; }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-list a[aria-current="page"]::after { display: none; }
  .nav-list a[aria-current="page"] { color: var(--signal); }
}
@media (max-width: 480px) { .brand-sub { display: none; } }
@media (prefers-reduced-motion: reduce) { .header-beam, .brand-led { animation: none; } }

/* ==========================================================================
   Motion pack: kinetic type, particles, tilt, section sweeps and more
   ========================================================================== */

/* Ambient particle layer (canvas created by JS) */
.particles { position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: .7; mix-blend-mode: screen; }

/* Light sweep across the top edge of each section */
.sweep { position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 2; pointer-events: none; overflow: hidden; }
.sweep::before { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(127,162,255,.9), rgba(124,108,255,.9), transparent); box-shadow: 0 0 16px rgba(127,162,255,.8); animation: sweep 7s linear var(--d, 0s) infinite; }
@keyframes sweep { to { left: 110%; } }

/* Kinetic type band */
.kinetic { position: relative; z-index: 1; padding: clamp(2.5rem, 2rem + 3vw, 5rem) 0; overflow: hidden; border-block: 1px solid var(--line-dark); background: radial-gradient(60% 100% at 50% 50%, rgba(56,189,248,.10), transparent); }
.kinetic-row { display: flex; align-items: center; width: max-content; white-space: nowrap; will-change: transform; }
.kinetic-row + .kinetic-row { margin-top: .25rem; }
.kinetic-row span { font-size: clamp(3rem, 1.5rem + 7vw, 8.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1.02; padding-inline: .35em; }
.k-solid { background: linear-gradient(100deg, #fff 20%, #A9C1FF 50%, #A5B4FC 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.k-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(154,168,199,.45); }
.k-dot { flex: none; width: .5em; height: .5em; font-size: clamp(1rem, .6rem + 2vw, 2.4rem); border-radius: 50%; background: var(--grad); box-shadow: 0 0 24px rgba(79,124,255,.7); }
.kinetic-row[data-kinetic="-1"] .k-dot { background: none; border: 2px solid rgba(154,168,199,.45); box-shadow: none; }

/* 3D tilt */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* Compare: scrubbed strike + check draw */
.compare-old li { position: relative; transition: color .4s var(--ease), opacity .4s; }
.compare-old li { text-decoration: line-through; text-decoration-color: transparent; text-decoration-thickness: 1.5px; transition: color .5s var(--ease), text-decoration-color .5s var(--ease); }
.compare-old li.is-struck { color: #6E7E94; text-decoration-color: rgba(255,107,122,.85); }
.compare-old li svg { transition: stroke .4s, transform .5s var(--ease); }
.compare-old li.is-struck svg { stroke: #FF6B7A; transform: rotate(90deg); }
.compare-new li svg path { stroke-dasharray: 20; stroke-dashoffset: var(--draw, 20); }
.compare-new li.is-on { color: #fff; }
.compare-new li.is-on svg { filter: drop-shadow(0 0 6px var(--signal)); }

/* Why icons */
.why-icon { width: 46px; height: 46px; padding: 10px; margin-bottom: 1rem; border-radius: 14px; fill: none; stroke: var(--signal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; background: rgba(79,124,255,.08); box-shadow: inset 0 0 0 1px rgba(79,124,255,.3), 0 0 24px rgba(79,124,255,.12); }
.why-icon path, .why-icon circle { stroke-dasharray: 80; stroke-dashoffset: 0; }
.motion .why-icon path, .motion .why-icon circle { stroke-dashoffset: 80; }
.why-item.is-drawn .why-icon path, .why-item.is-drawn .why-icon circle { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.why-item.is-drawn .why-icon { animation: icon-breathe 4s ease-in-out infinite; }
@keyframes icon-breathe { 50% { box-shadow: inset 0 0 0 1px rgba(79,124,255,.55), 0 0 34px rgba(79,124,255,.3); } }

/* Stats: glowing underline that fills as they count */
.stat { position: relative; }
.stat::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: calc(100% - 1.5rem); background: var(--grad); transform: scaleX(var(--fill, 0)); transform-origin: left; box-shadow: 0 0 12px rgba(79,124,255,.7); }
.stat + .stat::after { left: 1.5rem; width: calc(100% - 3rem); }

/* Industries: icons + scroll-driven active row */
.industry h3 { display: flex; align-items: center; gap: .75rem; }
.ind-icon { width: 34px; height: 34px; padding: 7px; flex: none; border-radius: 10px; fill: none; stroke: var(--mist); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; border: 1px solid var(--line-dark); transition: all .45s var(--ease); }
.industry { transition: padding-left .45s var(--ease), background-color .45s var(--ease); }
.industry.is-current { padding-left: 1.25rem; background: linear-gradient(90deg, rgba(79,124,255,.08), transparent 70%); }
.industry.is-current::before { transform: scale(1); }
.industry.is-current .ind-icon { stroke: var(--signal); border-color: rgba(79,124,255,.5); box-shadow: 0 0 20px rgba(79,124,255,.35); transform: rotate(-8deg) scale(1.08); }


/* FAQ smooth open */
.faq-answer { overflow: hidden; }

/* Contact form: beam border + sending state */
.form.beam::before { z-index: 0; }
.form > * { position: relative; z-index: 1; }
.btn .btn-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(13,21,48,.25); border-top-color: var(--harbor); animation: spin .7s linear infinite; display: none; }
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; }


@media (prefers-reduced-motion: reduce) {
  .sweep, .particles { display: none; }
  .kinetic-row { transform: none !important; }
  .industry.is-current { padding-left: 0; }
}

/* After a headline has revealed, let its lines reflow naturally on resize */
.is-revealed .split-line { display: inline; overflow: visible; padding-bottom: 0; margin-bottom: 0; }

/* ==========================================================================
   Cobalt palette: contrast-tuned overrides
   ========================================================================== */
:root { --signal-text: #8FB0FF; }
.btn-primary { color: #fff; background: linear-gradient(110deg, #2F54E0, #3D66F2 50%, #4570FA); background-size: 180% 100%; box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 10px 30px -10px rgba(79,124,255,.7); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 0 0 1px rgba(255,255,255,.22) inset, 0 14px 40px -8px rgba(56,189,248,.6); }
.skip-link { color: #fff; background: #2F54E0; }
details[open] .faq-icon::before, details[open] .faq-icon::after { background: #fff; }
.btn .btn-spinner { border-color: rgba(255,255,255,.3); border-top-color: #fff; }
/* small accent text reads lighter on navy */
.status-rows .ok, .fleet-state, .job b, .threat-log b, .step-num, .layer-num, .svc-num, .stat-unit, .uptime-legend span:nth-child(2) { color: var(--signal-text); }

/* ---------- Service area: region switcher ---------- */
.region-tabs { display: inline-flex; gap: 4px; margin-top: 2rem; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--glass-line); }
.region-tabs button { border: 0; background: none; color: var(--mist); font-weight: 600; font-size: var(--t-sm); padding: .55rem 1.1rem; border-radius: 10px; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.region-tabs button:hover { color: #fff; }
.region-tabs button[aria-selected="true"] { color: #fff; background: rgba(79,124,255,.2); box-shadow: inset 0 0 0 1px rgba(79,124,255,.5), 0 0 18px rgba(79,124,255,.25); }
.region-panel { margin-top: 1.25rem; }
.region-name { font-size: var(--t-sm); color: var(--signal-text); font-weight: 600; margin-bottom: .75rem; }
.region-panel .area-list { margin-top: 0; }
.js .region-panel[hidden] { display: none; }
.map { position: relative; display: grid; }
.map img { grid-area: 1 / 1; transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease); }
.js .map img:not(.is-active) { opacity: 0; transform: scale(1.04); filter: blur(6px); pointer-events: none; }
.map-caption { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: .35rem .8rem; border-radius: 999px; font-size: var(--t-xs); font-weight: 600; background: rgba(8,13,32,.75); border: 1px solid rgba(127,162,255,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Industries: keep long names ("Manufacturing") inside their column at every width */
.industry { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); }
.industry h3 { min-width: 0; font-size: clamp(1.15rem, .85rem + .9vw, 1.6rem); overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 860px) { .industry { grid-template-columns: 1fr; } }


/* ==========================================================================
   Animated 3D hex-cluster brand mark (generated by tools/logo.py)
   ========================================================================== */
.brand-mark { width: 42px; height: 42px; overflow: visible; transform-origin: 50% 50%; animation: mark-tilt 7s ease-in-out infinite;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.5)) drop-shadow(0 0 12px rgba(79,124,255,.4)); }
@keyframes mark-tilt { 0%, 100% { transform: perspective(160px) rotateY(-14deg) rotateX(10deg); } 50% { transform: perspective(160px) rotateY(14deg) rotateX(-4deg); } }
.brand:hover .brand-mark { animation-duration: 2.6s; }
.brand:hover .hx-glow { animation-duration: 1.6s; }
.hx-glow{fill:#DCE6FF;opacity:0;animation:hx-glow 4.2s ease-in-out infinite;animation-delay:calc(var(--i) * .7s)}
.hx-ring{transform-box:fill-box;transform-origin:center;animation:hx-ring 2.4s ease-out infinite}
.hx-core{animation:hx-core 2.4s ease-in-out infinite}
@keyframes hx-glow{0%,30%,100%{opacity:0}12%{opacity:.85}}
@keyframes hx-ring{0%{transform:scale(.6);opacity:.9}100%{transform:scale(2.6);opacity:0}}
@keyframes hx-core{0%,100%{opacity:1}50%{opacity:.82}}
@media (prefers-reduced-motion: reduce) { .brand-mark, .hx-glow, .hx-ring, .hx-core { animation: none !important; } }


/* ==========================================================================
   Footer: brand + contact buttons, Explore / Contact / Follow, bottom bar
   ========================================================================== */
.footer { position: relative; padding: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 0 0; color: var(--mist); font-size: var(--t-sm); background: linear-gradient(180deg, var(--void) 0%, #070C22 100%); border-top: 1px solid var(--line-dark); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand { max-width: 30rem; }
.footer .brand { color: #fff; margin: 0; }
.footer-tagline { margin-top: 1rem; color: var(--mist); font-size: var(--t-sm); line-height: 1.6; }
.footer-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem; padding: 2.75rem 0; }
.footer-head { font-size: var(--t-xs); font-weight: 600; letter-spacing: .02em; color: var(--signal-text); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a, .footer-col span { color: #C9D3E8; font-size: var(--t-sm); transition: color .2s; }
.footer-col a { position: relative; }
.footer-col a:hover { color: #fff; }
.footer-col:not(:last-child) a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.footer-col a:hover::after { transform: scaleX(1); }
.footer-contact li > * { display: inline-flex; align-items: center; gap: .6rem; }
.footer-contact svg { width: 16px; height: 16px; flex: none; fill: var(--signal-text); }
.footer-contact svg.social-stroke { fill: none; stroke: var(--signal-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social { display: flex !important; gap: .6rem !important; }
.social-link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--glass-line); transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.social-link svg { width: 19px; height: 19px; }
.social-link .social-fill { fill: #C9D3E8; }
.social-link .social-stroke { fill: none; stroke: #C9D3E8; stroke-width: 1.8; }
.social-link .social-stroke .dot { fill: #C9D3E8; stroke: none; }
.social-link:hover { transform: translateY(-3px); background: rgba(79,124,255,.18); border-color: rgba(79,124,255,.55); box-shadow: 0 10px 24px -10px rgba(79,124,255,.7); }
.social-link:hover .social-fill { fill: #fff; } .social-link:hover .social-stroke { stroke: #fff; } .social-link:hover .dot { fill: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--line-dark); }
.footer-clock { display: inline-flex; align-items: center; gap: .5rem; margin-right: auto; }
.footer-clock time { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.footer-top-link { font-size: var(--t-sm); color: var(--mist); display: inline-flex; align-items: center; gap: .4rem; transition: color .2s; }
.footer-top-link::after { content: ""; width: 7px; height: 7px; border-left: 1.6px solid currentColor; border-top: 1.6px solid currentColor; transform: translateY(2px) rotate(45deg); }
.footer-top-link:hover { color: #fff; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } .footer-cta .btn { flex: 1; } }
/* Wordmark: INFRASYNC IT */
.brand-it { background: linear-gradient(110deg, #7DD3FC, #7FA2FF 50%, #A5B4FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Single-line wordmark (no subtitle) */
.brand-name { font-size: 1.55rem; line-height: 1; }
.form-fail { margin-top: .9rem; padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: var(--t-sm); color: #FFB3BB; background: rgba(255,107,122,.1); border: 1px solid rgba(255,107,122,.35); }
.form-fail[hidden] { display: none; }
