/* ==========================================================================
   TechLexiq Ltd — site stylesheet
   Design tokens taken from the Figma reference
   "Technology / Software — 04_Security Software_style_01"
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces — sampled from the Figma frame */
  --c-ink: #070931;          /* deepest navy, text on the accent colour       */
  --c-base: #1117a0;         /* dominant page / section background            */
  --c-raised: #1f25a6;       /* subtly raised panel (tables, info strips)     */
  --c-card: #3137d2;         /* highlighted card                              */
  --c-hero-top: #0d51d8;     /* top of the hero gradient                      */
  --c-accent: #f8ff35;       /* signature accent                              */
  --c-accent-soft: rgba(248, 255, 53, 0.2);

  /* Text */
  --t-strong: #ffffff;
  --t-body: rgba(255, 255, 255, 0.8);
  --t-muted: rgba(255, 255, 255, 0.7);
  --t-faint: rgba(255, 255, 255, 0.55);

  /* Lines and washes */
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --wash: rgba(255, 255, 255, 0.06);
  --wash-2: rgba(255, 255, 255, 0.1);

  /* Layout */
  --container: 1170px;
  --gutter: 24px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  /* Rhythm */
  --section-y: 110px;
  --section-y-sm: 72px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.28s;

  /* Header */
  --header-h: 81px;
}

@media (max-width: 900px) {
  :root {
    --section-y: 72px;
    --section-y-sm: 52px;
    --gutter: 20px;
    --header-h: 68px;
  }
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--c-base);
  color: var(--t-body);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; }
img { height: auto; display: block; border-style: none; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  color: var(--t-strong);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

strong, b { color: var(--t-strong); font-weight: 700; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

::selection { background: var(--c-accent); color: var(--c-ink); }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--c-accent);
  color: var(--c-ink);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
  text-decoration: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}
.section--tight { padding-block: var(--section-y-sm); }
.section--raised { background: var(--c-raised); }
.section--flush-top { padding-top: 0; }

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  stroke: currentColor;
  fill: none;
  vertical-align: -0.125em;
}

/* --------------------------------------------------------------------------
   4. Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--c-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: var(--c-accent);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 20px;
  height: 1.5px;
  background: var(--c-accent);
  flex: none;
}

.h-hero {
  font-size: clamp(2.25rem, 1.35rem + 3.6vw, 4.25rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35em;
}

.h-section {
  font-size: clamp(1.875rem, 1.1rem + 2.9vw, 3.75rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0;
}

.h-page {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.875rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.62;
  color: var(--t-body);
}

.text-accent { color: var(--c-accent); }
.text-strong { color: var(--t-strong); }

/* Section heading block: title left, supporting line right */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 380px);
  align-items: center;
  gap: 40px;
  margin-bottom: 56px;
}
.sec-head__rule {
  width: 1.5px;
  align-self: stretch;
  min-height: 60px;
  background: var(--wash-2);
}
.sec-head__lead { margin: 0; }
.sec-head--center {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  text-align: center;
}
.sec-head--center .sec-head__rule { display: none; }
.sec-head--stack { grid-template-columns: minmax(0, 1fr); }
.sec-head--stack .sec-head__rule { display: none; }

@media (max-width: 900px) {
  .sec-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 40px;
  }
  .sec-head__rule { display: none; }
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-h: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--t-strong);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

/* Primary — outlined pill with a solid accent cap, as in the Figma hero */
.btn--primary {
  position: relative;
  border-color: var(--c-accent);
  color: var(--c-accent);
  padding-right: calc(var(--btn-h) + 20px);
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: var(--btn-h);
  height: var(--btn-h);
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background: var(--c-accent);
}
.btn--primary .btn__cap {
  position: absolute;
  top: 50%;
  right: calc(var(--btn-h) / 2 - 2px);
  transform: translate(50%, -50%);
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--c-ink);
  font-size: 20px;
  line-height: 0;
}
.btn--primary:hover {
  background: var(--c-accent);
  color: var(--c-ink);
}

/* Solid — used in the header and for form submits */
.btn--solid {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-ink);
}
.btn--solid:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--c-ink);
}

/* Ghost — secondary action on dark */
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--t-strong);
}
.btn--ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn--sm {
  --btn-h: 40px;
  font-size: 14px;
  padding: 0 20px;
}
.btn--sm.btn--primary { padding-right: calc(var(--btn-h) + 14px); }
.btn--sm.btn--primary .btn__cap { font-size: 16px; }

.btn--wide { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* Small pill used on cards */
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border: 1.5px solid var(--c-accent-soft);
  border-radius: 20px;
  color: var(--c-accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.pill-link:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-ink);
  text-decoration: none;
}

/* Inline text link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-accent);
  font-weight: 600;
}
.arrow-link .icon { transition: transform var(--dur) var(--ease); }
.arrow-link:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck {
  background: rgba(9, 13, 108, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(4, 6, 40, 0.35);
}

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

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img {
  height: 48px;
  width: auto;
}
.brand:hover { text-decoration: none; }
@media (max-width: 1080px) {
  .brand img { height: 42px; }
}
@media (max-width: 900px) {
  .brand img { height: 38px; }
}
@media (max-width: 400px) {
  .brand img { height: 32px; }
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  height: 100%;
}
.nav__link {
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 18px;
  color: var(--t-strong);
  font-size: 16px;
  font-weight: 500;
  position: relative;
}
.nav__link:hover { text-decoration: none; color: var(--c-accent); }
.nav__link[aria-current="page"] {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.14) 100%);
  box-shadow: inset 0 -2px 0 0 var(--c-accent);
}

.nav__actions { display: flex; align-items: center; gap: 20px; flex: none; }
.nav__actions .btn { --btn-h: 42px; font-size: 16px; font-weight: 500; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: transparent;
  color: var(--t-strong);
  cursor: pointer;
  font-size: 22px;
  line-height: 0;
}
.nav__toggle .icon--close { display: none; }
.nav__toggle[aria-expanded="true"] .icon--open { display: none; }
.nav__toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1080px) {
  .nav__link { padding: 0 12px; font-size: 15px; }
  .nav { gap: 18px; }
}

@media (max-width: 980px) {
  /* The nav becomes a wrapping stack: brand + burger on the first row, then the
     menu and the call-to-action each on a full-width row below. */
  .nav {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-h);
    justify-content: space-between;
    gap: 0 16px;
  }
  .nav__toggle { display: flex; }

  .nav__menu,
  .nav__actions {
    display: none;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
  .site-nav.is-open .nav__menu,
  .site-nav.is-open .nav__actions { display: flex; }

  .site-header.is-menu-open {
    background: #0d1288;
    box-shadow: 0 24px 40px rgba(4, 6, 40, 0.4);
  }

  .nav__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    margin: 0;
    padding: 6px 0 0;
    border-top: 1px solid var(--line);
  }
  .nav__link {
    height: auto;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__link[aria-current="page"] {
    background: none;
    box-shadow: inset 3px 0 0 0 var(--c-accent);
    padding-left: 16px;
    color: var(--c-accent);
  }
  .nav__actions { padding: 20px 0 24px; }
  .nav__actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-hero-top) 0%, var(--c-base) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 78% 12%, rgba(255, 255, 255, 0.14), transparent 62%),
    radial-gradient(50% 60% at 6% 92%, rgba(0, 0, 0, 0.18), transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero__dots {
  position: absolute;
  z-index: 0;
  right: -4%;
  top: 12%;
  width: min(760px, 62vw);
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 980px) {
  /* Keep the dot texture clear of the body copy on narrow screens. */
  .hero__dots { top: auto; bottom: -6%; right: -22%; width: 78vw; opacity: 0.18; }
  .page-hero__dots { opacity: 0.16; }
  .cta-band__dots { opacity: 0.14; }
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(36px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 104px);
}

.hero__title { margin-bottom: 24px; }
.hero__text { max-width: none; }
.hero__text p { max-width: 34em; color: var(--t-body); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem); }
.hero__actions { margin-top: 36px; }

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(4, 6, 40, 0.45);
  aspect-ratio: 4 / 3.2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(13, 81, 216, 0.28), rgba(17, 23, 160, 0.5));
  mix-blend-mode: multiply;
}
.hero__media-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--c-accent);
  z-index: 2;
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .hero__media { aspect-ratio: 16 / 10; }
}

/* Compact hero for inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-hero-top) 0%, var(--c-base) 100%);
  padding-block: clamp(48px, 6vw, 96px) clamp(52px, 6vw, 92px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(52% 74% at 84% 6%, rgba(255, 255, 255, 0.14), transparent 64%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero__dots {
  position: absolute;
  z-index: 0;
  right: -8%;
  top: -30%;
  width: min(620px, 66vw);
  opacity: 0.3;
  pointer-events: none;
}
.page-hero__inner { max-width: 780px; }
.page-hero__lead {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.62;
  margin-top: 8px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--t-faint);
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--t-muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb .icon { width: 14px; height: 14px; opacity: 0.6; }
.breadcrumb [aria-current="page"] { color: var(--c-accent); }

/* --------------------------------------------------------------------------
   8. Trust bar
   -------------------------------------------------------------------------- */
.trustbar {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
}
.trustbar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  margin: 0;
  padding: 22px 0;
  list-style: none;
}
.trustbar__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--t-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.trustbar__list .icon {
  width: 18px;
  height: 18px;
  color: var(--c-accent);
}

/* --------------------------------------------------------------------------
   9. Service cards
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 32px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cards > .card:nth-child(3n) { border-right: 0; }
.cards--2 > .card:nth-child(2n) { border-right: 0; }

.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 4px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.card:hover,
.card:focus-within {
  background: var(--c-card);
}
.card:hover::before,
.card:focus-within::before { transform: scaleX(1); }

.card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-accent);
  font-size: 30px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.card:hover .card__icon,
.card:focus-within .card__icon {
  background: var(--c-accent);
  color: var(--c-ink);
}

.card__kicker {
  margin: 0 0 8px;
  color: var(--t-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.card__title {
  font-size: clamp(1.1875rem, 1.1rem + 0.3vw, 1.375rem);
  line-height: 1.4;
  margin-bottom: 12px;
}
.card__title a { color: inherit; }
.card__title a:hover { color: var(--c-accent); text-decoration: none; }
.card:hover .card__title a:hover { color: var(--c-accent); }

.card__body {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.68;
  color: var(--t-body);
}
.card__foot { margin-top: auto; }

/* Stretch the whole card as a click target while keeping the visible link */
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards > .card:nth-child(3n) { border-right: 1px solid var(--line); }
  .cards > .card:nth-child(2n) { border-right: 0; }
}
@media (max-width: 640px) {
  .cards,
  .cards--2 { grid-template-columns: minmax(0, 1fr); }
  .cards > .card { border-right: 0 !important; }
  .card { padding: 32px 0 30px; }
  .card:hover,
  .card:focus-within { background: transparent; }
  .card:hover::before,
  .card:focus-within::before { transform: scaleX(0); }
}

/* --------------------------------------------------------------------------
   10. Charging / numbered panels
   -------------------------------------------------------------------------- */
.charge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.charge {
  position: relative;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.charge:hover {
  border-color: var(--c-accent-soft);
  background: rgba(255, 255, 255, 0.075);
}
.charge__num {
  display: block;
  margin-bottom: 18px;
  color: var(--c-accent);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.charge__title { font-size: 20px; margin-bottom: 10px; }
.charge__body { font-size: 15px; line-height: 1.7; margin: 0; }
.charge__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(248, 255, 53, 0.12);
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .charge-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .charge { padding: 28px 24px; }
}

/* --------------------------------------------------------------------------
   11. Process steps (horizontal accordion on desktop)
   -------------------------------------------------------------------------- */
.steps {
  display: flex;
  gap: 16px;
  align-items: stretch;
  min-height: 360px;
}
.step {
  position: relative;
  flex: 0 0 120px;
  border: 1.5px solid var(--c-accent-soft);
  border-radius: var(--radius-lg);
  background: var(--c-card);
  overflow: hidden;
  transition: flex-basis 0.42s var(--ease), background 0.42s var(--ease);
}
.step.is-open {
  flex: 1 1 auto;
  border-color: var(--c-accent);
}
.step__btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 28px 22px;
  border: 0;
  background: transparent;
  color: var(--t-strong);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.step__num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: font-size 0.42s var(--ease), color 0.42s var(--ease);
}
.step.is-open .step__num {
  font-size: 40px;
  color: var(--c-accent);
}
.step__label {
  display: block;
  margin-top: 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  writing-mode: vertical-rl;
  white-space: nowrap;
}
.step.is-open .step__label {
  writing-mode: horizontal-tb;
  margin-top: 26px;
  font-size: 22px;
}
.step__body {
  display: none;
  margin: 12px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}
.step.is-open .step__body { display: block; }

@media (max-width: 900px) {
  .steps { flex-direction: column; min-height: 0; gap: 12px; }
  .step { flex: none; }
  .step__btn { padding: 22px 20px; }
  .step__label,
  .step.is-open .step__label {
    writing-mode: horizontal-tb;
    margin-top: 10px;
    font-size: 19px;
  }
  .step__num, .step.is-open .step__num { font-size: 26px; color: var(--c-accent); }
  .step__body { display: block; }
}

/* --------------------------------------------------------------------------
   12. Split / media sections
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px rgba(4, 6, 40, 0.4);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(210deg, rgba(13, 81, 216, 0.2), rgba(17, 23, 160, 0.46));
  mix-blend-mode: multiply;
}
.split__media-tag {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 0 var(--radius) 0 0;
  background: var(--c-accent);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
}

/* Check list used beside split media */
.checklist {
  margin: 26px 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 38px;
  color: var(--t-body);
  font-size: 15px;
  line-height: 1.65;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--wash-2);
}
.checklist li .icon {
  position: absolute;
  left: 5px;
  top: 6px;
  width: 14px;
  height: 14px;
  color: var(--c-accent);
  stroke-width: 3;
}
.checklist--tight li { margin-bottom: 10px; }

/* Quote-style pull line */
.pullquote {
  border-left: 1.5px solid var(--wash-2);
  padding-left: 24px;
  margin: 0 0 28px;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   13. Facts strip
   -------------------------------------------------------------------------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}
.fact {
  padding: 8px 32px;
  border-left: 1px solid var(--line);
}
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__value {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--t-strong);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.fact__value .icon {
  width: 22px;
  height: 22px;
  color: var(--c-accent);
}
.fact__label {
  display: block;
  margin: 0;
  color: var(--t-muted);
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .fact { padding: 0 20px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact { border-left: 0; padding: 0; }
}

/* --------------------------------------------------------------------------
   14. Industry pills and cards
   -------------------------------------------------------------------------- */
.pill-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 26px 4px 26px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 64px), transparent 100%);
}
.pill-rail::-webkit-scrollbar { height: 5px; }
.pill-rail::-webkit-scrollbar-track { background: transparent; }
.pill-rail::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 3px;
}
.pill-rail::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.4); }

.ind-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
  height: 70px;
  padding: 0 26px 0 18px;
  border: 1.5px solid var(--c-accent-soft);
  border-radius: var(--radius-pill);
  background: var(--c-card);
  color: var(--t-strong);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  scroll-snap-align: start;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.ind-pill__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--c-accent);
  font-size: 21px;
  flex: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.ind-pill .icon--go { width: 18px; height: 18px; opacity: 0.85; }
.ind-pill:hover,
.ind-pill:focus-visible {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-ink);
  text-decoration: none;
}
.ind-pill:hover .ind-pill__icon,
.ind-pill:focus-visible .ind-pill__icon {
  background: rgba(7, 9, 49, 0.14);
  color: var(--c-ink);
}

.ind-card {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.ind-card:first-of-type { border-top: 1px solid var(--line); }
.ind-card__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.ind-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ind-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(13, 81, 216, 0.22), rgba(17, 23, 160, 0.44));
  mix-blend-mode: multiply;
}
.ind-card h2,
.ind-card h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.75rem);
  margin-bottom: 14px;
}
.ind-card h2 .icon,
.ind-card h3 .icon { color: var(--c-accent); width: 28px; height: 28px; }
.ind-card p { margin: 0; }
@media (max-width: 820px) {
  .ind-card { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   15. Detail blocks (service pages, policy pages)
   -------------------------------------------------------------------------- */
.prose { max-width: 44em; }
.prose h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  margin-top: 2em;
  margin-bottom: 0.5em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}
.prose ul { padding-left: 0; list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.7;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
}
.prose--wide { max-width: none; }

.panel {
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
}
.panel--accent {
  border-color: var(--c-accent-soft);
  background: rgba(248, 255, 53, 0.07);
}
.panel--flag {
  border-left: 3px solid var(--c-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.panel__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  margin-bottom: 14px;
}
.panel__title .icon { color: var(--c-accent); width: 22px; height: 22px; }
.panel > :last-child { margin-bottom: 0; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px;
}
.info-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr)); }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 940px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
}

.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
}
.aside-card h2 { font-size: 20px; margin-bottom: 12px; }
.aside-card p { font-size: 15px; line-height: 1.65; }
.aside-nav { list-style: none; margin: 0 0 24px; padding: 0; }
.aside-nav li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.aside-nav li:last-child { border-bottom: 0; }
.aside-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  color: var(--t-body);
  font-size: 15px;
  font-weight: 500;
}
.aside-nav a:hover { color: var(--c-accent); text-decoration: none; }
.aside-nav a[aria-current="page"] { color: var(--c-accent); font-weight: 700; }
.aside-nav .icon { width: 16px; height: 16px; opacity: 0.6; }
@media (max-width: 940px) {
  .aside-card { position: static; }
}

/* Pricing-style summary strip */
.price-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--c-raised);
  font-size: 15px;
  line-height: 1.6;
}
.price-note .icon { color: var(--c-accent); width: 22px; height: 22px; flex: none; }
.price-note strong { white-space: nowrap; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0c54da 0%, var(--c-base) 100%);
}
.cta-band__dots {
  position: absolute;
  left: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(560px, 60vw);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.cta-band__aside {
  padding: 30px 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (max-width: 900px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1fr); }
}

.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.6;
}
.contact-lines li:last-child { margin-bottom: 0; }
.contact-lines .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--c-accent);
  flex: none;
}
.contact-lines a { color: var(--t-strong); font-weight: 600; }
.contact-lines a:hover { color: var(--c-accent); }

/* --------------------------------------------------------------------------
   17. Forms
   -------------------------------------------------------------------------- */
.form-card {
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field label {
  color: var(--t-strong);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.field .req { color: var(--c-accent); }
.field .hint { color: var(--t-faint); font-size: 13px; font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 56px;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  color: var(--t-strong);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field textarea {
  min-height: 150px;
  border-radius: var(--radius-lg);
  resize: vertical;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' 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 20px center;
  background-size: 18px;
  padding-right: 52px;
}
.field select option { background: #141a97; color: #fff; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.55); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(255, 255, 255, 0.34); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: rgba(255, 255, 255, 0.16);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

.field--check {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}
.field--check .error { flex-basis: 100%; margin-top: 2px; }
.field--check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 6px;
  accent-color: var(--c-accent);
  flex: none;
}
.field--check label { font-weight: 400; font-size: 14px; line-height: 1.55; color: var(--t-body); }

.field .error {
  display: none;
  color: #ffd7d7;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.field.has-error .error { display: flex; align-items: center; gap: 6px; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #ff9d9d; }
.field .error .icon { width: 15px; height: 15px; flex: none; }

.form-status {
  display: none;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding: 18px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.6;
}
.form-status.is-visible { display: flex; }
.form-status--ok {
  background: rgba(248, 255, 53, 0.14);
  border: 1px solid var(--c-accent-soft);
  color: var(--t-strong);
}
.form-status--error {
  background: rgba(255, 120, 120, 0.14);
  border: 1px solid rgba(255, 157, 157, 0.4);
  color: #ffe4e4;
}
.form-status .icon { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.form-status--ok .icon { color: var(--c-accent); }

.form-foot {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.form-foot .note { font-size: 13px; color: var(--t-faint); margin: 0; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background: #0e1490;
  padding-top: 72px;
}
.site-footer__dots {
  position: absolute;
  right: -10%;
  bottom: -40%;
  width: min(720px, 80vw);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}
.site-footer > * { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 56px;
}
.footer-col h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--t-body);
  font-size: 15px;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--c-accent); }
.footer-col a[aria-current="page"] { color: var(--c-accent); font-weight: 600; }

.footer-brand img { height: 56px; width: auto; margin-bottom: 26px; }
@media (max-width: 600px) {
  .footer-brand img { height: 46px; }
}
.footer-brand p { font-size: 15px; line-height: 1.7; max-width: 30em; }
.footer-brand address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  color: var(--t-body);
  margin-top: 18px;
}
.footer-contact { margin-top: 18px; }

.footer-legal {
  border-top: 1px solid var(--line);
  padding: 30px 0 40px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--t-faint);
}
.footer-legal p { margin-bottom: 10px; max-width: 78em; }
.footer-legal p:last-child { margin-bottom: 0; }

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   19. Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   20. Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 46em; }
.measure-sm { max-width: 36em; }

/* --------------------------------------------------------------------------
   21. Decorative dot layers
   Declared last so the generic "section > *" position rules above cannot
   pull these back into the flow and push the section content down.
   -------------------------------------------------------------------------- */
.hero__dots,
.page-hero__dots,
.cta-band__dots,
.site-footer__dots {
  position: absolute;
  z-index: 0;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Comfortable tap targets on touch-sized viewports. */
@media (max-width: 640px) {
  .pill-link { height: 44px; padding: 0 22px; }
  .arrow-link { padding-block: 8px; }
  .footer-col a { display: inline-block; padding-block: 9px; }
  .footer-col li { margin-bottom: 0; }
  .breadcrumb a,
  .breadcrumb [aria-current] { display: inline-block; padding-block: 8px; }
  .contact-lines a { display: inline-block; padding-block: 10px; }
}
