/* ==========================================================================
   Pulsar IT — design system
   ========================================================================== */

/* Inter (variable, weights 400–800), self-hosted — no third-party font requests.
   SIL Open Font License 1.1: see ../fonts/OFL.txt */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Colour */
  --navy-950: #020817;
  --navy-900: #050f24;
  --navy-800: #0a1a3a;
  --navy-700: #12254d;
  --blue-600: #1663ff;
  --blue-500: #2b78ff;
  --blue-400: #4f9bff;
  --blue-100: #dbe7ff;
  --blue-50:  #eef4ff;
  --ink:      #0b1630;
  --ink-soft: #2a3550;
  --muted:    #556079;
  --line:     #e2e7f0;
  --line-strong: #cdd5e1;
  --surface:  #ffffff;
  --surface-alt: #f5f7fb;
  --on-dark:       #ffffff;
  --on-dark-muted: #aab5cc;
  --on-dark-line:  rgba(255, 255, 255, 0.10);
  --danger:   #b42318;
  --warn-bg:  #fff6e5;
  --warn-line:#f1d7a1;
  --warn-ink: #6b4400;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-h1: clamp(40px, 4.2vw, 60px);
  --fs-page-h1: clamp(36px, 3.6vw, 52px);
  --fs-h2: clamp(30px, 2.8vw, 40px);
  --fs-h3: 19px;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 8vw, 112px);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --nav-h: 84px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* keep anchored headings clear of the sticky header */
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.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: absolute; left: 16px; top: -56px; z-index: 100;
  background: var(--blue-600); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: 600 16px/1 var(--font);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: var(--blue-500); }

.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

.btn--outline { border-color: var(--blue-600); color: var(--blue-600); background: #fff; }
.btn--outline:hover { background: var(--blue-50); }

.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--blue-600);
}
.text-link svg { width: 18px; height: 18px; transition: transform .15s ease; }
a.text-link:hover svg,
a:hover > .text-link svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-950);
  border-bottom: 1px solid var(--on-dark-line);
}

.nav {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex-shrink: 0;
}
.brand img { width: 46px; height: auto; }
.brand span {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .14em;
}

.nav__menu { margin-left: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, .86);
  padding: 6px 0;
  position: relative;
}
.nav__links a:hover { color: #fff; }
.nav__links a[aria-current="page"] { color: var(--blue-400); }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--blue-400); border-radius: 2px;
}

.nav__mobile-cta { display: none; }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--on-dark-line); border-radius: var(--radius-sm);
  color: #fff; cursor: pointer;
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* --------------------------------------------------------------------------
   Dark heroes (homepage + inner pages)
   -------------------------------------------------------------------------- */

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 55% at 76% 42%, rgba(22, 99, 255, .18), transparent 70%),
    var(--navy-950);
  color: var(--on-dark);
  isolation: isolate;
}

/* faint starfield */
.hero::before,
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image:
    radial-gradient(1px 1px at 8% 18%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 22% 62%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 37% 12%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1px 1px at 46% 48%, rgba(255,255,255,.30), transparent 60%),
    radial-gradient(1px 1px at 55% 8%,  rgba(255,255,255,.40), transparent 60%),
    radial-gradient(1px 1px at 63% 28%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 81% 14%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 92% 36%, rgba(255,255,255,.40), transparent 60%),
    radial-gradient(1px 1px at 88% 58%, rgba(255,255,255,.30), transparent 60%),
    radial-gradient(1.5px 1.5px at 14% 40%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 74% 6%,  rgba(255,255,255,.50), transparent 60%),
    radial-gradient(1px 1px at 31% 82%, rgba(255,255,255,.25), transparent 60%);
}

/* planet horizon */
.hero__horizon {
  position: absolute;
  z-index: -1;
  left: -25%;
  width: 150%;
  height: 1600px;
  bottom: calc(-1600px + 236px);
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 20% at 66% 0%, #0c2a66 0%, #061637 45%, var(--navy-950) 100%);
  box-shadow:
    0 -1px 0 0 rgba(150, 205, 255, .75),
    0 -8px 24px rgba(64, 150, 255, .45),
    0 -30px 90px rgba(22, 99, 255, .38),
    0 -80px 180px rgba(22, 99, 255, .18);
}
.hero__horizon::after {
  /* soft rim highlight beneath the logo */
  content: "";
  position: absolute;
  left: 50%; top: -40px;
  width: 40%; height: 110px;
  transform: translateX(-4%);
  background: radial-gradient(ellipse at 50% 50%, rgba(120, 190, 255, .45), rgba(40, 120, 255, .15) 45%, transparent 70%);
  filter: blur(6px);
}
/* inner pages: horizon sits lower, as a subtle edge */
.hero__horizon--low { bottom: calc(-1600px + 64px); }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  min-height: clamp(520px, 44vw, 620px);
  padding-top: clamp(56px, 6vw, 88px);
  padding-bottom: clamp(56px, 6vw, 88px);
}

.hero__title {
  font-size: var(--fs-h1);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin-top: 24px;
  max-width: 500px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .84);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero__visual {
  display: flex;
  justify-content: center;
}
.hero__visual img {
  width: min(100%, 400px);
  height: auto;
  filter:
    drop-shadow(0 0 24px rgba(40, 130, 255, .45))
    drop-shadow(0 0 70px rgba(22, 99, 255, .28));
}

/* Inner-page dark hero */
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding-top: clamp(56px, 6vw, 88px);
  padding-bottom: clamp(80px, 8vw, 120px);
}
.page-hero__title {
  font-size: var(--fs-page-h1);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.page-hero__tagline {
  margin-top: 18px;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 600;
  color: #fff;
}
.page-hero .hero__lead { max-width: 580px; }
.page-hero .hero__visual img { width: min(100%, 330px); }
.page-hero--strip .page-hero__inner { padding-bottom: clamp(48px, 5vw, 72px); }

.page-hero__icon {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 184px; height: 184px;
  border-radius: 32px;
  color: var(--blue-400);
  background: linear-gradient(160deg, rgba(43, 120, 255, .30), rgba(22, 99, 255, .06));
  border: 1px solid rgba(79, 155, 255, .35);
  box-shadow: 0 0 70px rgba(22, 99, 255, .28);
}
.page-hero__icon svg { width: 84px; height: 84px; stroke-width: 1.3; }

/* Breadcrumbs */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--on-dark-muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: #fff; }
.page-header .breadcrumb ol { color: var(--muted); }
.page-header .breadcrumb a:hover,
.page-header .breadcrumb [aria-current="page"] { color: var(--ink); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-400);
  background: rgba(79, 155, 255, .12);
  border: 1px solid rgba(79, 155, 255, .25);
}
.eyebrow--light {
  color: var(--blue-600);
  background: var(--blue-50);
  border-color: var(--blue-100);
}

/* Feature strip (dark) */
.feature-strip { position: relative; }
.feature-strip__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 40px 0 48px;
  list-style: none;
}
.feature-strip__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 32px;
}
.feature-strip__item:first-child { padding-left: 0; }
.feature-strip__item + .feature-strip__item { border-left: 1px solid var(--on-dark-line); }
.feature-strip__item svg {
  width: 32px; height: 32px;
  color: var(--blue-400);
  margin-bottom: 14px;
}
.feature-strip__item h2,
.feature-strip__item h3 { font-size: 18px; font-weight: 600; color: #fff; line-height: 1.35; }
.feature-strip__item p  { font-size: 16px; color: var(--on-dark-muted); line-height: 1.5; }

/* --------------------------------------------------------------------------
   Light page header (inner pages)
   -------------------------------------------------------------------------- */

.page-header {
  padding: clamp(48px, 5vw, 80px) 0 0;
}
.page-header__title {
  font-size: var(--fs-page-h1);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.page-header .section__lead { max-width: 640px; }
.page-header--center { text-align: center; }
.page-header--center .section__lead { margin-left: auto; margin-right: auto; }
.page-header--center .breadcrumb ol { justify-content: center; }

/* --------------------------------------------------------------------------
   Sections (light)
   -------------------------------------------------------------------------- */

.section { padding: var(--section-y) 0; }
.section--alt { background: var(--surface-alt); }
.section--flush-top { padding-top: 0; }
.section--tight-top { padding-top: clamp(40px, 4vw, 56px); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section__title {
  font-size: var(--fs-h2);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section__lead {
  margin-top: 18px;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}
.section__text {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
}

/* Icon tile */
.benefit__icon,
.icon-tile {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
}
.benefit__icon svg,
.icon-tile svg { width: 24px; height: 24px; }

/* Service cards (light) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 36px 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card-grid--3 .service-card { min-height: 250px; }
.service-card:hover {
  border-color: #c4d4f3;
  box-shadow: 0 12px 32px rgba(11, 22, 48, .07);
}
.service-card__icon,
.service-card > svg:first-child {
  width: 38px; height: 38px;
  color: var(--blue-600);
  margin-bottom: 28px;
}
.service-card h2,
.service-card h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.service-card p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}
.service-card__arrow,
.service-card > svg:last-child:not(:first-child) {
  margin-top: auto;
  padding-top: 24px;
  box-sizing: content-box;
  align-self: flex-end;
  width: 22px; height: 22px;
  color: var(--blue-600);
}

/* Service tiles (dark, services overview) */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.service-tile {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 36px 32px 30px;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(ellipse 80% 70% at 88% 0%, rgba(22, 99, 255, .34), transparent 70%),
    var(--navy-900);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.service-tile:hover {
  border-color: rgba(79, 155, 255, .55);
  box-shadow: 0 16px 40px rgba(2, 8, 23, .25);
}
.service-tile > svg {
  width: 46px; height: 46px;
  color: var(--blue-400);
  margin-bottom: 36px;
  stroke-width: 1.4;
}
.service-tile h2 { font-size: 21px; font-weight: 700; line-height: 1.3; }
.service-tile p  { margin-top: 10px; font-size: 16px; color: var(--on-dark-muted); }
.service-tile .text-link { margin-top: auto; padding-top: 28px; color: var(--blue-400); }

/* Feature grid (what's included) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.feature {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature .icon-tile { margin-bottom: 22px; }
.feature h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.35; }
.feature p  { margin-top: 8px; font-size: 16px; color: var(--muted); line-height: 1.6; }

.inline-note {
  margin-top: 32px;
  font-size: 17px;
  color: var(--ink-soft);
}
.inline-note a { color: var(--blue-600); font-weight: 600; }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split--top { align-items: start; }
.split .text-link { margin-top: 32px; }

/* Benefit list */
.benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.benefit {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 32px;
}
.benefit + .benefit { border-top: 1px solid var(--line); }
.benefit h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.35; }
.benefit p  { margin-top: 6px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Check list */
.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  gap: 12px;
  font-size: 17px;
  color: var(--ink-soft);
}
.check-list svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 3px;
  color: var(--blue-600);
  stroke-width: 2.2;
}
.check-panel {
  padding: clamp(28px, 3.5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.check-panel__title { font-size: 20px; font-weight: 700; margin-bottom: 22px; }

/* Dark visual panel */
.visual-panel {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 60% at 50% 45%, rgba(22, 99, 255, .30), transparent 70%),
    var(--navy-950);
  overflow: hidden;
}
.visual-panel img {
  width: 46%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(40, 130, 255, .45));
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.step {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}
.step h3 { font-size: var(--fs-h3); font-weight: 700; }
.step p  { margin-top: 8px; font-size: 16px; color: var(--muted); }

/* CTA panel (dark) */
.cta-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(40px, 5vw, 64px) clamp(28px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 45% 120% at 88% 50%, rgba(22, 99, 255, .30), transparent 70%),
    var(--navy-950);
  color: #fff;
}
.cta-panel__body { flex: 1 1 420px; }
.cta-panel__title {
  font-size: var(--fs-h2);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cta-panel__text {
  margin-top: 12px;
  max-width: 560px;
  font-size: 18px;
  color: var(--on-dark-muted);
}
.cta-panel__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-panel__mark { width: 92px; height: auto; flex-shrink: 0; filter: drop-shadow(0 0 24px rgba(40, 130, 255, .45)); }

/* Notices */
.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  color: var(--warn-ink);
  font-size: 16px;
  line-height: 1.55;
}
.notice svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; }
.notice strong { color: #4d3100; }

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--blue-50);
  color: var(--blue-600);
}
.tag--draft { background: #fff1d6; color: #7a4a00; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
/* Recommended (flagship) plan: blue border, subtle blue wash, premium shadow */
.plan--featured {
  border: 2px solid var(--blue-600);
  background:
    linear-gradient(180deg, rgba(22, 99, 255, .06), rgba(22, 99, 255, 0) 42%),
    var(--surface);
  box-shadow: 0 18px 44px rgba(22, 99, 255, .16);
}
.plan__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--blue-600);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(22, 99, 255, .3);
}
.plan h2 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
/* Taglines reserve two lines, so prices and lists line up across the three cards */
.plan__desc { margin-top: 6px; min-height: calc(2 * 1.5em); font-size: 15px; line-height: 1.5; color: var(--muted); }
.plan__price {
  margin-top: 20px;
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.plan__unit { margin-top: 6px; font-size: 14px; color: var(--muted); }
.plan .check-list { gap: 10px; margin: 22px 0 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan .check-list li { font-size: 15px; line-height: 1.5; }
.plan .check-list svg { width: 20px; height: 20px; margin-top: 2px; }
.plan__note { margin: -8px 0 20px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--blue-50); font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.plan__note a { color: var(--blue-600); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.plan .btn { margin-top: auto; width: 100%; }

.addon-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.addon {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.addon .icon-tile { margin-bottom: 18px; }
.addon h3 { font-size: 17px; font-weight: 700; line-height: 1.35; }
.addon__price { margin-top: auto; padding-top: 18px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.addon__unit { margin-top: 4px; font-size: 14px; color: var(--muted); }
.small-print { margin-top: 32px; font-size: 15px; color: var(--muted); }

/* --------------------------------------------------------------------------
   News
   -------------------------------------------------------------------------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
a.news-card { transition: border-color .15s ease, box-shadow .15s ease; }
a.news-card:hover {
  border-color: #c4d4f3;
  box-shadow: 0 12px 32px rgba(11, 22, 48, .07);
}
.news-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse 70% 90% at 70% 30%, rgba(22, 99, 255, .35), transparent 70%),
    var(--navy-900);
  color: rgba(255, 255, 255, .55);
}
.news-card__media svg { width: 48px; height: 48px; stroke-width: 1.4; }
.news-card__media-label {
  position: absolute;
  left: 16px; bottom: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}
.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 30px;
}
.news-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.news-card h2,
.news-card h3 {
  margin-top: 18px;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.4;
}
.news-card p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--muted);
}
.news-card .text-link { margin-top: auto; padding-top: 22px; }
.news-card__status {
  margin-top: auto;
  padding-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: #7a4a00;
}

.news-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
.news-card--featured .news-card__media { aspect-ratio: auto; min-height: 320px; }
.news-card--featured .news-card__body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.news-card--featured h2 { font-size: clamp(22px, 2vw, 28px); line-height: 1.3; }
.news-card--featured .news-card__status { margin-top: 24px; padding-top: 0; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.chip {
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font: 500 15px/1 var(--font);
  color: var(--ink-soft);
  cursor: pointer;
}
.chip:hover { border-color: var(--blue-600); color: var(--blue-600); }
.chip[aria-pressed="true"] { background: var(--navy-950); border-color: var(--navy-950); color: #fff; }
.filter-empty { margin-top: 32px; font-size: 17px; color: var(--muted); }

/* Article */
.article { max-width: 780px; margin: 0 auto; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 24px;
  font-size: 15px;
  color: var(--muted);
}
.article-header .breadcrumb ol { margin-top: 32px; }
.article-header .page-header__title { margin-top: 18px; }
.article .cta-panel { margin-top: 56px; }
.article__back { margin-top: 40px; }
.article-figure {
  margin: 0 0 48px;
}
.article-figure .news-card__media { border-radius: var(--radius-lg); }
.article-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); background: var(--navy-900); }
.article-figure figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

.prose {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 1.9em;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.prose h3 { margin-top: 1.6em; font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin-left: 0; margin-right: 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--blue-600);
  color: var(--ink);
  font-weight: 500;
}
.prose .key-points {
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--surface-alt);
  border: 1px solid var(--line);
}
.prose .key-points h2 { margin-top: 0; font-size: 20px; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-card {
  padding: clamp(28px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(11, 22, 48, .06);
}
.form-card__title { font-size: 24px; font-weight: 700; line-height: 1.3; }
.form-card__intro { margin-top: 6px; font-size: 16px; color: var(--muted); }
.form-card form { margin-top: 24px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label,
.field legend {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 10px; }
.req { color: var(--danger); }
.optional { font-weight: 400; color: var(--muted); }

.input {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font: 400 16px/1.4 var(--font);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.input { height: auto; min-height: 150px; padding: 12px 14px; resize: vertical; }
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23556079' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.input:hover { border-color: #b3bfd1; }
.input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(22, 99, 255, .18); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .15); }

.field__hint { font-size: 14px; color: var(--muted); }
.field__error { font-size: 14px; font-weight: 500; color: var(--danger); }

.check-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  font-weight: 400 !important;
  color: var(--ink-soft) !important;
  cursor: pointer;
}
.check input {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue-600);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 28px;
}
.form-note { font-size: 14px; color: var(--muted); max-width: 360px; }
.form-status {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  line-height: 1.55;
}
.form-status--info    { background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--ink); }
.form-status--success { background: #e9f7ef; border: 1px solid #b9e2c8; color: #14532d; }
.form-status--error   { background: #fdecec; border: 1px solid #f5c2c0; color: #7a1d16; }
.form-status a { font-weight: 600; text-decoration: underline; }

/* Contact details */
.contact-list {
  display: grid;
  gap: 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.contact-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.contact-item__label { display: block; font-size: 14px; color: var(--muted); }
.contact-item__value { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
a.contact-item__value:hover { color: var(--blue-600); }

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

.site-footer {
  background: var(--navy-950);
  color: var(--on-dark-muted);
  font-size: 16px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 80px 0 56px;
}
.footer__about p { margin-top: 20px; max-width: 320px; line-height: 1.65; }
.footer__heading {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__list a:hover { color: #fff; }
.footer__bottom {
  padding: 24px 0 32px;
  border-top: 1px solid var(--on-dark-line);
  font-size: 15px;
}
.footer__legal { margin-top: 10px; font-size: 13px; line-height: 1.6; max-width: 900px; }
.footer__bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .nav__links { gap: 26px; }
  .nav { gap: 32px; }
  .addon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  :root { --nav-h: 72px; }

  /* Navigation collapses to a menu button */
  .nav__toggle { display: inline-flex; }
  .nav__links,
  .nav__cta { display: none; }

  .site-header.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: var(--navy-950);
    border-bottom: 1px solid var(--on-dark-line);
  }
  .site-header.is-open .nav__links a {
    display: block;
    padding: 16px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--on-dark-line);
  }
  .site-header.is-open .nav__links a[aria-current="page"]::after { display: none; }
  .site-header.is-open .nav__links .nav__mobile-cta { display: block; padding-top: 20px; }
  .site-header.is-open .nav__links .nav__mobile-cta a { border: 0; text-align: center; color: #fff; }

  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 240px; }
  .tile-grid,
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .feature-strip__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero__inner,
  .page-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 40px;
  }
  .hero__visual img { width: min(64%, 280px); }
  .hero__horizon { bottom: calc(-1600px + 300px); }
  .hero__horizon--low { bottom: calc(-1600px + 48px); }
  .page-hero .hero__visual,
  .page-hero__icon { display: none; }

  .news-grid { grid-template-columns: 1fr; max-width: 560px; }
  .news-card--featured { grid-template-columns: 1fr; }
  .news-card--featured .news-card__media { min-height: 0; aspect-ratio: 16 / 9; }
  .addon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  :root { --fs-body: 16px; }
  .card-grid,
  .card-grid--3,
  .tile-grid,
  .feature-grid,
  .addon-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 28px 24px 24px; }
  .service-tile { min-height: 0; padding: 30px 24px 26px; }
  .feature { padding: 26px 24px; }
  .feature-strip__list { grid-template-columns: 1fr; }
  .feature-strip__item,
  .feature-strip__item:first-child { padding: 0; border-left: 0 !important; }
  .hero__actions .btn,
  .cta-panel .btn { flex: 1 1 100%; }
  .cta-panel__actions { width: 100%; }
  .cta-panel__mark { display: none; }
  .benefit { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .section__lead { font-size: 17px; }
  .form-grid,
  .check-options { grid-template-columns: 1fr; }
  .form-footer .btn { width: 100%; }
  .prose { font-size: 17px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; }
}

/* Spacing helpers */
.stack-md { margin-top: 32px; }
.stack-lg { margin-top: 56px; }

.form-note a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   R6 — Services mega-menu, service pages, landing-page tables, diagrams
   ========================================================================== */

:root { --cyan-400: #2fd3f0; }

/* ---- Services mega-menu ------------------------------------------------
   Visibility is controlled by the HTML "hidden" attribute (toggled by main.js),
   not by this stylesheet, so a missing or stale stylesheet can never expose the
   menu as an unstyled list. Desktop: a contained multi-column panel below the
   header that never exceeds the viewport (it scrolls internally). Mobile: part of
   the menu drawer, with an expandable section per group. */
.nav__item--mega { display: flex; align-items: center; gap: 2px; }
.nav__expand {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; padding: 0;
  background: none; border: 0; border-radius: 6px;
  color: rgba(255, 255, 255, .86); cursor: pointer;
}
.nav__expand:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__expand svg { width: 16px; height: 16px; transition: transform .15s ease; }
.nav__item--mega.is-open .nav__expand { color: #fff; background: rgba(79, 155, 255, .16); }
.nav__item--mega.is-open .nav__expand svg { transform: rotate(180deg); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  z-index: 60;
  max-height: calc(100vh - var(--nav-h));
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(ellipse 40% 80% at 100% 0%, rgba(22, 99, 255, .14), transparent 70%),
    var(--navy-900);
  border-top: 1px solid var(--on-dark-line);
  border-bottom: 1px solid rgba(79, 155, 255, .25);
  box-shadow: 0 28px 56px rgba(2, 8, 23, .55);
}
.mega__inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  column-gap: 44px;
  padding-top: 20px;
}
.mega__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; margin-bottom: 14px;
  border-bottom: 1px solid var(--on-dark-line);
}
.nav__links .mega__title {
  display: flex; align-items: baseline; gap: 10px;
  padding: 0;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-400);
}
.nav__links .mega__title:hover { color: #fff; }
.mega__count { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--on-dark-muted); }
.mega__toggle { display: none; }
/* R6.2: compact desktop layout - 13px links, 1.35 line-height, blue sub-headings */
.mega__cols { column-gap: 28px; }
.mega__group--msp .mega__cols { columns: 2; }
.mega__group--cyber .mega__cols { columns: 3; }
.mega__sub { break-inside: avoid; padding-bottom: 14px; }
.mega__subtitle {
  margin: 0 0 4px;
  font-size: 11px; font-weight: 700; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-400);
}
.mega__list { list-style: none; margin: 0; padding: 0; }
.nav__links .mega__list a {
  display: block;
  margin: 0 -8px; padding: 3px 8px;
  border-radius: 6px;
  font-size: 13px; font-weight: 500; line-height: 1.35;
  color: rgba(255, 255, 255, .84);
}
.nav__links .mega__list a:hover,
.nav__links .mega__list a:focus-visible { color: #fff; background: rgba(79, 155, 255, .14); }
.mega__badge {
  display: inline-block;
  margin-left: 6px; padding: 1px 6px;
  border-radius: 999px;
  background: rgba(47, 211, 240, .16);
  color: var(--cyan-400);
  font-size: 10.5px; font-weight: 700; line-height: 1.5; letter-spacing: .04em;
  vertical-align: 1px;
}
.mega__footer {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 24px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--on-dark-line);
}
.mega__footer-text { font-size: 13.5px; line-height: 1.5; color: var(--on-dark-muted); }
.mega__footer-text strong { color: #fff; font-weight: 600; }
.mega__footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.nav__links .mega__footer .btn { padding: 0 18px; color: #fff; }
.nav__links .mega__footer-link { padding: 0; font-size: 14px; font-weight: 600; color: var(--blue-400); }
.nav__links .mega__footer-link:hover { color: #fff; }

/* Narrower desktops: four equal columns */
@media (min-width: 1101px) and (max-width: 1279px) {
  .mega__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
  .mega__group--cyber .mega__cols { columns: 2; }
  .mega__cols { column-gap: 22px; }
}

/* Short desktop viewports (e.g. 1366x768): tighten vertical rhythm further */
@media (min-width: 1101px) and (max-height: 820px) {
  .mega__inner { padding-top: 16px; }
  .mega__sub { padding-bottom: 10px; }
  .nav__links .mega__list a { padding-top: 2px; padding-bottom: 2px; }
}

/* Mobile and tablet: inside the menu drawer, one expandable section per group */
@media (max-width: 1100px) {
  .site-header.is-open .nav__links { max-height: calc(100dvh - var(--nav-h)); overscroll-behavior: contain; }
  .site-header.is-open .nav__item--mega { flex-wrap: wrap; border-bottom: 1px solid var(--on-dark-line); }
  .site-header.is-open .nav__links .nav__mega-link { flex: 1; border-bottom: 0; }
  .nav__expand { width: 44px; height: 44px; }
  .mega {
    position: static;
    flex-basis: 100%;
    z-index: auto;
    max-height: none;
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .mega__inner { display: block; padding: 0 0 12px; }
  .mega__group { border-top: 1px solid var(--on-dark-line); }
  .mega__head { margin: 0; padding: 0; border-bottom: 0; }
  .site-header.is-open .nav__links .mega__title {
    display: flex; flex: 1;
    padding: 14px 0 14px 12px;
    border-bottom: 0;
    font-size: 14px;
  }
  .mega__toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px;
    background: none; border: 0; border-radius: 6px;
    color: #fff; cursor: pointer;
  }
  .mega__toggle::after {
    content: "";
    width: 9px; height: 9px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .15s ease;
  }
  .mega__group.is-open .mega__toggle::after { transform: translateY(2px) rotate(-135deg); }
  .mega__group:not(.is-open) .mega__cols { display: none; }
  .mega__group--msp .mega__cols,
  .mega__group--cyber .mega__cols { columns: 1; }
  .mega__sub { padding: 0 0 10px 12px; }
  .mega__subtitle { margin: 8px 0 2px; padding-left: 12px; font-size: 11.5px; }
  .site-header.is-open .nav__links .mega__list a {
    display: flex; align-items: center;
    min-height: 44px;
    margin: 0; padding: 8px 12px;
    border-bottom: 0;
    font-size: 15.5px; line-height: 1.35;
  }
  .mega__footer { display: block; padding: 16px 0 4px; }
  .mega__footer-actions { flex-direction: column; align-items: stretch; gap: 4px; margin-top: 12px; }
  .site-header.is-open .nav__links .mega__footer a { border-bottom: 0; }
  .site-header.is-open .nav__links .mega__footer .btn { display: flex; padding: 0 16px; }
  .site-header.is-open .nav__links .mega__footer-link { padding: 10px 0; }
}

/* ---- Service pages -------------------------------------------------- */
.section__lead--wide { max-width: 820px; }
.page-hero__strap {
  margin-top: 14px;
  font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cyan-400);
}
.svc-prose { margin-top: 20px; max-width: 640px; font-size: 17px; color: var(--ink-soft); }
.svc-prose--wide { max-width: 820px; }
.svc-prose p + p { margin-top: 14px; }
.svc-prose a,
.faq__a a,
.section__lead a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-subtitle { margin-top: 56px; font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.svc-tech {
  margin-top: 40px;
  padding: clamp(28px, 3.5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.svc-tech .svc-subtitle { margin: 0 0 20px; }
.svc-tech .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.feature-grid--compact { margin-top: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature-grid--compact .feature { padding: 24px; }
.feature h4 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.svc-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  margin-top: 40px;
}
.container.svc-columns { margin-top: 0; }
.check-panel--optional { border-style: dashed; border-color: var(--line-strong); }
.check-panel__intro { margin: -12px 0 18px; font-size: 15px; color: var(--muted); }
.x-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.x-list li { position: relative; padding-left: 32px; font-size: 17px; color: var(--ink-soft); }
.x-list li::before {
  content: "";
  position: absolute; left: 2px; top: 6px;
  width: 16px; height: 16px;
  background:
    linear-gradient(45deg, transparent 43%, var(--muted) 43% 57%, transparent 57%),
    linear-gradient(-45deg, transparent 43%, var(--muted) 43% 57%, transparent 57%);
}
.svc-notices { display: grid; gap: 12px; margin-top: 28px; }
.svc-notice { background: var(--blue-50); border-color: var(--blue-100); color: var(--ink-soft); }
.svc-notice svg { color: var(--blue-600); }
.section .svc-notice { margin-top: 0; }
.section > .container > .svc-notice { margin-top: 28px; }
.svc-suitable { margin-top: 28px; }

/* Price panel (dark) */
.price-panel {
  padding: clamp(28px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(22, 99, 255, .38), transparent 70%),
    var(--navy-950);
  color: #fff;
}
.price-panel__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-400); }
.price-panel__value { margin-top: 8px; font-size: clamp(30px, 3vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.price-panel__unit { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--on-dark-muted); }
.price-panel__note { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--on-dark-muted); }
.price-panel__subtitle { margin: 24px 0 12px; font-size: 16px; font-weight: 700; }
.price-panel .check-list { gap: 10px; }
.price-panel .check-list li { font-size: 16px; color: rgba(255, 255, 255, .88); }
.price-panel .check-list svg { color: var(--cyan-400); }
.price-panel__vat { margin: 24px 0 16px; font-size: 14px; color: var(--on-dark-muted); }

/* FAQs (details/summary: keyboard accessible without JavaScript) */
.faq { margin-top: 40px; max-width: 880px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after,
.svc-row__icon {
  content: "";
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--blue-600), var(--blue-600)) center / 12px 2px no-repeat,
    linear-gradient(var(--blue-600), var(--blue-600)) center / 2px 12px no-repeat,
    var(--blue-50);
}
.faq__item[open] > summary::after,
.svc-row__details[open] .svc-row__icon {
  background:
    linear-gradient(var(--blue-600), var(--blue-600)) center / 12px 2px no-repeat,
    var(--blue-50);
}
.faq__q { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.faq__item > summary:hover .faq__q { color: var(--blue-600); }
.faq__a { padding: 0 54px 24px 0; font-size: 17px; color: var(--ink-soft); }

/* ---- Diagrams (HTML/CSS only; text is the accessible description) ------ */
.svc-diagrams { display: grid; gap: 28px; margin-top: 48px; }
.diagram {
  margin: 0;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 50% 70% at 85% 0%, rgba(22, 99, 255, .28), transparent 70%),
    var(--navy-950);
  color: #fff;
}
.diagram strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.35; }
.diagram__sub,
.diagram__seg > span,
.diagram__rule > span:last-child { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); }
.diagram__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(79, 155, 255, .14);
  color: var(--blue-400);
}
.diagram__icon svg { width: 22px; height: 22px; }
.diagram__caption { margin-top: 26px; font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); }
.diagram__caption strong { display: inline; font-size: inherit; color: #fff; }

.diagram__flow {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 40px;
  margin: 0; padding: 0;
  list-style: none;
}
.diagram__node {
  position: relative;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(79, 155, 255, .3);
}
.diagram__node + .diagram__node::before {
  content: "";
  position: absolute; left: -34px; top: 50%;
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
}
.diagram__node + .diagram__node::after {
  content: "";
  position: absolute; left: -10px; top: calc(50% - 5px);
  border-style: solid; border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent var(--cyan-400);
}

.diagram--segments .diagram__hub {
  position: relative;
  max-width: 380px; margin: 0 auto;
  padding: 20px;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(22, 99, 255, .18);
  border: 1px solid rgba(79, 155, 255, .55);
}
.diagram__hub .diagram__icon { margin: 0 auto 12px; }
.diagram--segments .diagram__hub::after {
  content: "";
  position: absolute; left: 50%; bottom: -27px;
  width: 2px; height: 26px;
  background: var(--blue-600);
}
.diagram__segments {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 52px 0 0; padding: 0;
  list-style: none;
}
.diagram__segments::before {
  content: "";
  position: absolute; top: -26px; left: 9%; right: 9%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-600) 50%, var(--cyan-400));
}
.diagram__seg {
  position: relative;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .13);
}
.diagram__seg::before {
  content: "";
  position: absolute; left: 50%; top: -25px;
  width: 2px; height: 24px;
  background: var(--blue-600);
}

.diagram--policy {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  column-gap: 56px;
  align-items: center;
}
.diagram--policy .diagram__caption { grid-column: 1 / -1; }
.diagram__source {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(22, 99, 255, .18);
  border: 1px solid rgba(79, 155, 255, .55);
}
.diagram__rules { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.diagram__rule {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .13);
}
.diagram__rule > strong { grid-column: 2; }
.diagram__rule > span:last-child { grid-column: 2; }
.diagram__verdict {
  grid-row: 1 / span 2;
  align-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.diagram__rule.is-allow { border-color: rgba(52, 211, 153, .45); }
.diagram__rule.is-allow .diagram__verdict { background: rgba(52, 211, 153, .16); color: #6ee7b7; }
.diagram__rule.is-block { border-color: rgba(248, 113, 113, .45); }
.diagram__rule.is-block .diagram__verdict { background: rgba(248, 113, 113, .16); color: #fca5a5; }
.diagram__rule::before {
  content: "";
  position: absolute; left: -42px; top: 50%;
  width: 40px; height: 2px;
}
.diagram__rule.is-allow::before { background: linear-gradient(90deg, var(--blue-600), #34d399); }
.diagram__rule.is-block::before { background: repeating-linear-gradient(90deg, #f87171 0 6px, transparent 6px 10px); }

/* ---- Landing pages: expandable services table ------------------------- */
.svc-table {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.svc-table__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px 30px 110px;
  column-gap: 24px;
  padding: 14px 24px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
}
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  column-gap: 24px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.svc-row:last-child { border-bottom: 0; }
.svc-row:hover { background: #fafbfe; }
.svc-row__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px 30px;
  column-gap: 24px;
  align-items: center;
  padding: 20px 0 20px 24px;
  list-style: none;
  cursor: pointer;
}
.svc-row__summary::-webkit-details-marker { display: none; }
.svc-row__summary:focus-visible { outline-offset: -3px; border-radius: var(--radius-sm); }
.svc-row__name { display: block; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.svc-row__summary:hover .svc-row__name { color: var(--blue-600); }
.svc-row__desc { display: block; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.svc-row__price { font-size: 16px; font-weight: 700; color: var(--ink); }
.svc-row__price small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.svc-row__link {
  align-self: start;
  justify-self: end;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 26px; padding-right: 24px;
  font-size: 15px; font-weight: 600;
  color: var(--blue-600);
}
.svc-row__link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.svc-row__link:hover svg { transform: translateX(3px); }
.svc-row__panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 4px 0 28px 24px;
}
.svc-row__panel h3 {
  margin: 18px 0 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue-600);
}
.svc-row__panel > div > h3:first-child { margin-top: 0; }
.svc-row__panel p,
.svc-row__panel li { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.svc-row__panel ul { margin: 0; padding-left: 1.1em; }
.svc-row__panel li + li { margin-top: 4px; }
.svc-row__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }

.tile-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-grid--2 .service-tile { min-height: 260px; }

/* Coverage chips (landing and Manchester pages) */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.chip-list li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 15px; font-weight: 500;
  color: var(--ink-soft);
}

/* ---- R6 responsive ------------------------------------------------------ */
@media (max-width: 1180px) {
  .feature-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {

  .steps--4 { grid-template-columns: 1fr; }
  .svc-columns { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .svc-tech .check-list { grid-template-columns: 1fr; }
  .diagram__flow { grid-auto-flow: row; gap: 34px; }
  .diagram__node + .diagram__node::before { left: 50%; top: -28px; width: 2px; height: 22px; background: linear-gradient(180deg, var(--blue-600), var(--cyan-400)); }
  .diagram__node + .diagram__node::after { left: calc(50% - 5px); top: -9px; border-width: 8px 6px 0 6px; border-color: var(--cyan-400) transparent transparent transparent; }
  .diagram--policy { grid-template-columns: 1fr; row-gap: 28px; }
  .diagram__rule::before { display: none; }
  .diagram__segments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diagram__segments::before, .diagram__seg::before { display: none; }
  .diagram--segments .diagram__hub::after { display: none; }
  .diagram__segments { margin-top: 20px; }

  .svc-table__head { display: none; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row__summary { grid-template-columns: minmax(0, 1fr) 30px; row-gap: 10px; padding: 18px 20px; }
  .svc-row__price { grid-row: 2; }
  .svc-row__icon { grid-row: 1; grid-column: 2; }
  .svc-row__panel { grid-template-columns: 1fr; gap: 0; padding: 0 20px 20px; }
  .svc-row__panel > div + div { margin-top: 18px; }
  .svc-row__link { justify-self: start; margin: -6px 0 18px 20px; padding: 0; }
}

@media (max-width: 600px) {
  .feature-grid--compact,
  .tile-grid--2,
  .diagram__segments { grid-template-columns: 1fr; }
  .faq__a { padding-right: 0; }
}

/* Respect reduced-motion preferences everywhere */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
