/* ============================================================
   2plus1.com PC Services Limited — site styles
   Style: Trust & Authority (corporate B2B)
   Fonts: Lexend (display) + Source Sans 3 (body)
   Plain CSS, no build step. Mobile-first, responsive, a11y-minded.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand palette */
  --navy:        #0F172A;   /* primary / dark sections / headings */
  --ink:         #020617;   /* body text on light */
  --slate:       #334155;   /* secondary */
  --muted:       #475569;   /* secondary text (>=4.5:1 on bg) */
  --cta:         #0369A1;   /* primary blue */
  --cta-dark:    #075985;
  --accent:      #0F766E;   /* teal — text-safe */
  --accent-bright:#14B8A6;  /* teal — decorative only */
  /* Brand colours sampled from the 2plus1 logo */
  --amber:       #F0A800;   /* logo amber/gold */
  --amber-deep:  #B07A00;   /* amber — text/icon-safe on light */
  --cyan:        #5BC0D8;   /* logo cyan — decorative */
  --cyan-deep:   #1C8AA6;   /* cyan — text/icon-safe on light */
  --bg:          #F8FAFC;
  --bg-soft:     #F1F5F9;
  --surface:     #FFFFFF;
  --line:        #E2E8F0;
  --line-strong: #CBD5E1;
  --head:        #0F172A;   /* heading / strong text — flips in dark mode */
  --header-bg:        rgba(248, 250, 252, .82);
  --header-bg-strong: rgba(248, 250, 252, .92);

  /* Effects */
  --radius:      14px;
  --radius-sm:   9px;
  --shadow-sm:   0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow:      0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg:   0 24px 60px -20px rgba(15, 23, 42, .28);
  --ring:        0 0 0 3px rgba(3, 105, 161, .35);

  /* Scale */
  --maxw:        1160px;
  --font-display:'Lexend', system-ui, sans-serif;
  --font-body:   'Source Sans 3', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --z-header:    50;
}

/* ---- Dark theme palette (shared by auto + manual) ---- */
:root[data-theme="dark"] {
  --ink:         #E6EBF4;
  --slate:       #C7D2E0;
  --muted:       #94A3B8;
  --head:        #F3F7FD;
  --bg:          #0B1120;
  --bg-soft:     #0F1729;
  --surface:     #141E33;
  --line:        #25324A;
  --line-strong: #3A4D6B;
  --accent:      #2DD4BF;   /* teal pops on dark */
  --amber-deep:  #F0B429;   /* amber readable on dark */
  --cyan-deep:   #6CCBE0;   /* cyan readable on dark */
  --header-bg:        rgba(11, 17, 32, .82);
  --header-bg-strong: rgba(11, 17, 32, .92);
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, .45);
  --shadow:      0 14px 36px -14px rgba(0, 0, 0, .62);
  --shadow-lg:   0 26px 64px -22px rgba(0, 0, 0, .72);
}
/* Follow the OS setting unless the user has explicitly chosen light */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink:         #E6EBF4;
    --slate:       #C7D2E0;
    --muted:       #94A3B8;
    --head:        #F3F7FD;
    --bg:          #0B1120;
    --bg-soft:     #0F1729;
    --surface:     #141E33;
    --line:        #25324A;
    --line-strong: #3A4D6B;
    --accent:      #2DD4BF;
    --amber-deep:  #F0B429;
    --cyan-deep:   #6CCBE0;
    --header-bg:        rgba(11, 17, 32, .82);
    --header-bg-strong: rgba(11, 17, 32, .92);
    --shadow-sm:   0 1px 2px rgba(0, 0, 0, .45);
    --shadow:      0 14px 36px -14px rgba(0, 0, 0, .62);
    --shadow-lg:   0 26px 64px -22px rgba(0, 0, 0, .72);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--cta); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--cta-dark); }

/* Inline SVG icon defaults (stroke/fill inherit to <use> symbols) */
.ico {
  width: 1.25rem; height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--head);
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* Selection + focus */
::selection { background: var(--accent-bright); color: var(--navy); }
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #cbd5e1; }
.section--navy h2 { color: #fff; }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.12rem; }
.section--navy .section__head p { color: #94a3b8; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent-bright);
  display: inline-block;
}
.section--navy .eyebrow { color: var(--accent-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease,
              box-shadow .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--cta); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--cta-dark); color: #fff; box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--cta); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface); border-color: var(--cta); color: var(--cta); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #e2e8f0; color: var(--navy); }
.btn--lg { padding: 15px 32px; font-size: 1.06rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: var(--header-bg-strong);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 74px;
}
.nav__links { margin-left: auto; }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.theme-toggle {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--line);
  color: var(--slate);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.theme-toggle:hover { background: var(--bg-soft); color: var(--head); border-color: var(--line-strong); }
.theme-toggle .ico { width: 20px; height: 20px; }
.theme-toggle .th-sun { display: none; }
.theme-toggle .th-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .th-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .th-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .th-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .th-moon { display: none; }
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--navy); }
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--navy), var(--cta));
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), var(--shadow-sm);
}
.brand__name span { color: var(--accent); }
.brand__logo { height: 42px; width: auto; display: block; }
/* Gentle fade-in for the header logo on load */
.site-header .brand__logo { animation: logoIn .9s ease .15s backwards; }
@keyframes logoIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0 0 0 auto; padding: 0;
}
.nav__links a {
  display: block;
  font-family: var(--font-display);
  padding: 9px 15px;
  border-radius: 8px;
  color: var(--slate);
  font-weight: 500;
  font-size: .98rem;
}
.nav__links a:hover { background: color-mix(in srgb, var(--head) 8%, transparent); color: var(--head); }
.nav__links a.active { color: var(--cta); }
/* Keep the CTA button's own colours — the broad nav-link colour must not override it */
.nav__links .btn--primary,
.nav__links .btn--primary:hover { color: #fff; }
.nav__cta { margin-left: 10px; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--head);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .28s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(20, 184, 166, .10), transparent 70%),
    radial-gradient(1000px 520px at 12% 0%, rgba(3, 105, 161, .10), transparent 65%),
    var(--bg);
}
/* Hero / banner / CTA backdrops are injected as animated .netfx layers (see main.js) */
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: .4em; }
.hero h1 .hl { color: var(--cta); }
.hero__lead { font-size: 1.2rem; color: var(--slate); max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px;
  color: var(--muted); font-size: .95rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 17px; height: 17px; color: var(--accent); }

.hero__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}
.hero__card::before {
  content: "";
  position: absolute; left: 0; top: 26px; bottom: 26px;
  width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--cta), var(--cyan), var(--amber));
}
.hero__card h3 { color: var(--head); font-size: 1.15rem; }
.hero__big {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 700; color: var(--cta);
  letter-spacing: -0.03em;
}
.hero__big small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.card-list { list-style: none; padding: 0; margin: 18px 0 0; }
.card-list li {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 11px 0; border-top: 1px solid var(--line);
  color: var(--slate); font-size: .98rem;
}
.card-list li:first-child { border-top: 0; }
.card-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 1px; }

/* ---------- Trust / logos strip ---------- */
.trust {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px 18px;
  padding: 26px 0;
}
.trust__label {
  width: 100%; text-align: center; color: var(--muted);
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 600; margin-bottom: 4px;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  color: var(--slate);
  font-family: var(--font-display);
  font-weight: 500; font-size: .92rem;
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-4px); }
.card__icon {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(3,105,161,.10), rgba(20,184,166,.10));
  color: var(--cta);
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
/* Rotate icon colours across cards for lively, on-brand variety */
.grid > .card:nth-child(4n+1) .card__icon { color: var(--cta);        background: linear-gradient(150deg, rgba(3,105,161,.14), rgba(91,192,216,.12)); }
.grid > .card:nth-child(4n+2) .card__icon { color: var(--accent);     background: linear-gradient(150deg, rgba(15,118,110,.13), rgba(20,184,166,.16)); }
.grid > .card:nth-child(4n+3) .card__icon { color: var(--amber-deep);  background: linear-gradient(150deg, rgba(240,168,0,.20), rgba(240,168,0,.06)); }
.grid > .card:nth-child(4n+4) .card__icon { color: var(--cyan-deep);   background: linear-gradient(150deg, rgba(91,192,216,.22), rgba(3,105,161,.08)); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }
.card__list { list-style: none; padding: 0; margin: 6px 0 0; }
.card__list li {
  position: relative; padding: 6px 0 6px 26px; color: var(--muted); font-size: .98rem;
}
.card__list li::before {
  content: ""; position: absolute; left: 2px; top: 13px;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--accent-bright);
}
.card h3.with-link {
  display: flex; align-items: center; gap: 8px;
}

/* ---------- Spec list (server / connection settings) ---------- */
.specs { list-style: none; padding: 0; margin: 6px 0 0; }
.specs li {
  padding: 10px 0; border-top: 1px solid var(--line);
}
.specs li:first-child { border-top: 0; }
.specs .k { display: block; color: var(--muted); font-size: .85rem; margin-bottom: 3px; }
.specs .v {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--head); font-weight: 600; font-size: .92rem;
  overflow-wrap: anywhere;
}
.note-box {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(3,105,161,.06); border: 1px solid var(--line);
  border-left: 3px solid var(--cta);
  border-radius: var(--radius-sm); padding: 16px 18px; margin-top: 24px;
  color: var(--slate); font-size: .96rem;
}
.note-box svg { width: 20px; height: 20px; color: var(--cta); flex: none; margin-top: 2px; }
.card .btn { margin-top: 18px; }

/* ---------- Stats ---------- */
.stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 28px; }
.stat strong {
  display: block; font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 700; color: var(--cta); letter-spacing: -0.02em;
}
.section--navy .stat strong { color: var(--accent-bright); }
.stat span { color: var(--muted); font-size: .95rem; }
.section--navy .stat span { color: #94a3b8; }

/* ---------- Split feature ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}

/* ---------- Metrics / by the numbers ---------- */
.metrics {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
}
.metric {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.metric:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.metric::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--cta);
}
.metric:nth-child(4n+2)::before { background: var(--accent-bright); }
.metric:nth-child(4n+3)::before { background: var(--amber); }
.metric:nth-child(4n+4)::before { background: var(--cyan); }
.metric strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.1rem); line-height: 1;
  letter-spacing: -0.03em; color: var(--head);
}
.metric span { display: block; margin-top: 12px; color: var(--muted); font-size: 1rem; }
.metric .metric__sub {
  margin-top: 8px; font-size: .82rem; font-weight: 600;
  font-family: var(--font-display); color: var(--accent); letter-spacing: .01em;
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 360px at 85% -20%, rgba(20,184,166,.16), transparent 70%),
    radial-gradient(700px 360px at 10% 120%, rgba(3,105,161,.20), transparent 70%),
    var(--navy);
  color: #fff; padding: 84px 0 76px; text-align: center;
}
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; }
.page-banner p { color: #94a3b8; margin: 0 auto; max-width: 620px; font-size: 1.15rem; }
.page-banner .eyebrow { color: var(--accent-bright); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; margin-bottom: 7px; font-size: .95rem; color: var(--slate); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--cta); box-shadow: var(--ring);
}
.form-note { font-size: .9rem; color: var(--muted); }
.contact-info ul { padding: 0; margin: 0; list-style: none; }
.contact-info li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info li svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.contact-info strong { display: block; font-family: var(--font-display); color: var(--navy); }
#form-status { margin-top: 14px; font-weight: 600; font-family: var(--font-display); }
#form-status.ok  { color: var(--accent); }
#form-status.err { color: #be123c; }

.info-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
}
.info-card h3 { color: var(--head); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 90% -30%, rgba(20,184,166,.22), transparent 70%),
    linear-gradient(135deg, var(--navy), #143456);
  color: #fff; text-align: center; border-radius: 20px;
  padding: 60px 28px;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cbd5e1; max-width: 580px; margin: 0 auto 28px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy); color: #94a3b8;
  padding: 64px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 1rem; margin: 0 0 18px; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 6px 0; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand__name span { color: var(--accent-bright); }
.footer-brand p { color: #64748b; max-width: 300px; font-size: .98rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: #64748b; font-size: .9rem;
}
.footer-bottom a { color: #94a3b8; }

/* ============================================================
   Animated network backdrop (injected by main.js)
   ============================================================ */
.netfx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.netfx svg {
  position: absolute; left: -8%; top: -10%; width: 116%; height: 120%;
  animation: netDrift 36s ease-in-out infinite alternate;
  will-change: transform;
}
.netfx--hero {
  -webkit-mask-image: linear-gradient(90deg, transparent 1%, #000 42%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 1%, #000 42%, #000 100%);
}
.netfx--banner, .netfx--cta {
  -webkit-mask-image: radial-gradient(135% 150% at 50% -25%, #000 52%, transparent 100%);
          mask-image: radial-gradient(135% 150% at 50% -25%, #000 52%, transparent 100%);
}
/* Network colours — adapt to section context + theme (so the hero shows in dark mode too) */
.netfx { --net-line: rgba(15, 23, 42, .18); --net-node: rgba(15, 23, 42, .52); }
.netfx--banner, .netfx--cta,
:root[data-theme="dark"] .netfx--hero { --net-line: rgba(255, 255, 255, .17); --net-node: rgba(255, 255, 255, .44); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .netfx--hero { --net-line: rgba(255, 255, 255, .17); --net-node: rgba(255, 255, 255, .44); }
}
.netfx .nf-lines { fill: none; stroke: var(--net-line); stroke-width: 1.1; }
.netfx .nf-node  { fill: var(--net-node); }
.netfx .nf-amber { fill: #F0A800; }
.netfx .nf-cyan  { fill: #45B6D4; }
.netfx .nf-teal  { fill: #14B8A6; }
.netfx .nf-blue  { fill: #3A9BDC; }

.netfx .nf-n { animation: netTwinkle 5.5s ease-in-out infinite; }
.netfx .nf-a {
  animation: netPulse 4.6s ease-in-out infinite;
  transform-box: fill-box; transform-origin: center;
}
/* keep injected layer behind section content even where children are positioned */
.cta-band > .netfx, .page-banner > .netfx, .hero > .netfx { position: absolute; }

@keyframes netDrift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(24px,15px,0) scale(1.05); }
}
@keyframes netTwinkle { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes netPulse  { 0%,100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.4); } }

/* ============================================================
   Scroll-reveal + load animations
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
.reveal:nth-child(5) { transition-delay: .24s; }
.reveal:nth-child(6) { transition-delay: .30s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.hero__grid > div > *,
.hero__card { animation: rise .7s cubic-bezier(.16,.84,.44,1) backwards; }
.hero__grid > div > *:nth-child(1) { animation-delay: .05s; }
.hero__grid > div > *:nth-child(2) { animation-delay: .12s; }
.hero__grid > div > *:nth-child(3) { animation-delay: .19s; }
.hero__grid > div > *:nth-child(4) { animation-delay: .26s; }
.hero__grid > div > *:nth-child(5) { animation-delay: .33s; }
.hero__card { animation-delay: .32s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__card { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 74px; left: 12px; right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 13px 15px; }
  .nav__cta { margin: 6px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { gap: 28px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
