/* NetworkCrafts — site styles */

* { 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;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; }
ul { margin: 0; }

.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;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-strong); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--ink); text-decoration: none; }
.btn--light { background: #fff; color: var(--brand-strong); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #0e7490; text-decoration: none; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Site header (two-tier) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.site-header__ribbon {
  background: var(--night);
  color: #cbd5e1;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header__ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 24px;
  flex-wrap: wrap;
}
.site-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.site-header__badge i { color: var(--accent-soft); }
.site-header__mail {
  color: #e2e8f0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-header__mail:hover { color: #fff; text-decoration: none; }

.site-header__bar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  position: relative;
}

.brand--header .brand__stack { display: flex; flex-direction: column; gap: 1px; }
.brand__tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.brand__mark--mesh {
  background: linear-gradient(145deg, var(--brand-strong), var(--accent));
  border-radius: 11px;
}

.nav--split {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* legacy topbar aliases (subpages) */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand b { color: var(--brand); }
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__link {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14.5px;
}
.nav__link { transition: color 160ms ease; }
.nav__link:hover { color: var(--ink); text-decoration: none; }
.nav__link.is-active { color: var(--brand); }
.nav__cta { margin-left: 4px; }

.burger {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  align-self: center;
}
.burger__lines,
.burger__lines::before,
.burger__lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  position: relative;
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out), background 200ms ease;
}
.burger__lines::before,
.burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger__lines::before { top: -6px; }
.burger__lines::after { top: 6px; }
.burger.is-open .burger__lines { background: transparent; }
.burger.is-open .burger__lines::before {
  transform: translateY(6px) rotate(45deg);
  background: var(--ink);
}
.burger.is-open .burger__lines::after {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--ink);
}

@media (max-width: 920px) {
  .site-header__bar { position: relative; z-index: 51; }
  .site-header__inner {
    padding: 10px 16px;
    align-items: center;
    min-height: 58px;
  }
  .brand--header { min-width: 0; flex: 1; }
  .brand__tag { display: none; }

  .burger { display: inline-flex; }

  .nav--split,
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px 18px;
    gap: 12px;
    z-index: 50;
  }
  .nav--split.is-open,
  .nav.is-open { display: flex; }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav__link {
    display: block;
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    font-size: 15px;
  }
  .nav__link:hover,
  .nav__link.is-active {
    background: var(--brand-tint);
    text-decoration: none;
  }
  .nav__cta {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }

  .site-header__ribbon-inner {
    justify-content: center;
    text-align: center;
    padding: 8px 16px;
  }
  .site-header__mail { font-size: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding: 76px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -140px; right: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.10), transparent 70%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.hero__title em { color: var(--brand); font-style: normal; }
.hero__lead { font-size: 18px; color: var(--ink-soft); margin: 0 0 28px; max-width: 540px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.hero__note { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__media { display: flex; align-items: center; justify-content: center; }

/* ---------- Trust strip ---------- */
.trust {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 18px 0;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
}
.trust__item i { color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section--tight { padding: 36px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mt-3 { margin-top: 18px; }
.mt-4 { margin-top: 30px; }

.section__head { max-width: 620px; margin: 0 0 40px; }
.section__head--left { margin-bottom: 24px; }
.section__title { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; margin: 0 0 12px; letter-spacing: -0.01em; }
.section__lead { color: var(--ink-soft); font-size: 16px; margin: 0; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease;
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
}
.card h3 { font-size: 17.5px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.card__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}
.card__icon--accent { background: var(--accent-tint); color: var(--accent); }
.post-card__more { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split--idea { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
@media (max-width: 880px) { .split, .split--idea { grid-template-columns: 1fr; } }
.split__media { display: flex; align-items: center; justify-content: center; }
.split__media { display: flex; align-items: center; justify-content: center; }

.split__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  box-shadow: var(--shadow-sm);
}
.split__panel--diagram {
  justify-content: flex-start;
  min-height: 100%;
}
.split__panel .section__title {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.22;
  max-width: 16ch;
  margin-bottom: 14px;
}
.section__title--diagram {
  max-width: 18ch;
  margin-bottom: 18px;
}
.split__lead {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 42ch;
}

.diagram-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 22px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 20% 20%, rgba(30, 64, 175, 0.08), transparent 42%),
    radial-gradient(circle at 80% 75%, rgba(8, 145, 178, 0.10), transparent 40%),
    linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}
.diagram-stage svg {
  width: 100%;
  max-width: 440px;
  height: auto;
}

.diagram-legend {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.diagram-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.diagram-legend__swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.diagram-legend__swatch--primary { background: #1E40AF; }
.diagram-legend__swatch--accent { background: #0891B2; }
.diagram-legend__swatch--muted { background: #94A3B8; }

.point-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.point-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}
.point-list__icon {
  color: var(--accent);
  font-size: 17px;
  line-height: 1.2;
  flex-shrink: 0;
}
.point-list__body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.point-list__body strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 2px;
}

@media (max-width: 880px) {
  .split__panel { padding: 28px 24px; }
  .split__panel .section__title,
  .section__title--diagram { max-width: none; }
  .split__lead { max-width: none; }
  .diagram-stage { min-height: 210px; padding: 16px 12px; }
  .diagram-legend { gap: 8px; }
}

/* ---------- Steps ---------- */
.step { display: flex; gap: 16px; }
.step__no {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: var(--font-head);
}
.step h3 { font-size: 16.5px; margin: 0 0 6px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Callout ---------- */
.callout {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--accent-tint);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.callout i { color: var(--accent); font-size: 20px; flex-shrink: 0; }
.callout p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.callout b { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--night), var(--night-2));
  color: #fff;
  border-radius: 22px;
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: 28px; margin: 0 0 12px; }
.cta-band p { color: #AEB4D6; margin: 0 0 26px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { padding: 54px 0 42px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-hero__title { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; font-weight: 800; }
.page-hero__lead { color: var(--ink-soft); font-size: 16.5px; max-width: 660px; margin: 0; }

.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { margin: 0 4px; }

/* ---------- Guide / TOC ---------- */
.toc {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.toc a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface-2);
  padding: 7px 13px;
  border-radius: 999px;
}
.toc a:hover { background: var(--brand-tint); color: var(--brand-strong); text-decoration: none; }

.guide { max-width: 740px; }
.guide__block { padding: 26px 0; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 100px; }
.guide__block:last-child { border-bottom: none; }
.guide__block h2 { font-size: 21px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.guide__block h2 i { color: var(--accent); }
.guide__block p { color: var(--ink-soft); margin: 0 0 14px; }
.guide__block p:last-child { margin-bottom: 0; }

/* ---------- Glossary ---------- */
.glossary-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}
.glossary-letters span {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.term { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.term__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.term__head h3 { font-size: 16.5px; }
.term__tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--brand-strong); background: var(--brand-tint); padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.term p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* ---------- Post / blog cards ---------- */
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.post-card__media { position: relative; background: var(--brand-tint); padding: 20px; display: flex; align-items: center; justify-content: center; min-height: 140px; }
.post-card__cat { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.92); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: var(--brand-strong); }
.post-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-card__meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.post-card__body h3 { font-size: 17px; margin: 0 0 8px; }
.post-card__body p { color: var(--ink-soft); font-size: 14px; margin: 0 0 16px; flex: 1; }

/* ---------- Article ---------- */
.article { max-width: 740px; margin: 0 auto; }
.article__header { margin-bottom: 8px; }
.article__title { font-size: clamp(26px, 4vw, 36px); margin: 14px 0 16px; font-weight: 800; }
.article__meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.article__media { border-radius: var(--radius); overflow: hidden; background: var(--brand-tint); padding: 24px; display: flex; align-items: center; justify-content: center; margin-bottom: 32px; }
.article__body h2 { font-size: 21px; margin: 32px 0 12px; }
.article__body p { color: var(--ink-soft); margin: 0 0 16px; }
.article__body ul { padding-left: 20px; color: var(--ink-soft); margin: 0 0 16px; }
.article__body li { margin-bottom: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-info h2 { font-size: 19px; margin-bottom: 8px; }
.contact-info > p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 22px; }
.contact-info__item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.contact-info__item i { color: var(--accent); margin-top: 3px; }
.contact-info__label { display: block; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.contact-info__value { display: block; font-size: 14.5px; color: var(--ink); font-weight: 600; }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }

.captcha { display: flex; align-items: center; gap: 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; }
.captcha__q { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--brand); }
.captcha .field input { max-width: 140px; }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 22px; cursor: pointer; }
.consent input { margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  padding: 18px 0;
  cursor: pointer;
}
.faq__q i { transition: transform 200ms var(--ease-in-out); color: var(--muted); }
.faq__item.is-open .faq__q i { transform: rotate(180deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-in-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > p { overflow: hidden; min-height: 0; color: var(--ink-soft); font-size: 14.5px; margin: 0 0 18px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal__updated { display: block; font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.legal__block { margin-bottom: 30px; }
.legal__block h2 { font-size: 19px; margin: 0 0 10px; }
.legal__block p { color: var(--ink-soft); margin: 0 0 14px; }
.legal__block ul { color: var(--ink-soft); padding-left: 20px; margin: 0 0 14px; }
.legal__block li { margin-bottom: 6px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 80;
  background: var(--night);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  max-width: 980px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.cookie.is-visible { opacity: 1; transform: translateY(0); }
.cookie__text strong { display: block; margin-bottom: 6px; }
.cookie__text p { margin: 0; color: #B9BEDA; font-size: 13.5px; max-width: 520px; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie__btn {
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.cookie__btn:active { transform: scale(0.97); }
.cookie__btn--reject, .cookie__btn--config { background: transparent; color: #fff; }
.cookie__btn--accept { background: var(--accent); color: #04231F; border-color: transparent; }
.cookie[hidden] { display: none !important; }

/* ---------- Modal (cookie settings / thanks) ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 18, 38, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease-out, visibility 0ms linear 200ms;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 200ms ease-out, visibility 0ms linear 0ms;
}
.modal__dialog {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 200ms var(--ease-out), opacity 200ms ease-out;
}
.modal.is-open .modal__dialog {
  transform: scale(1);
  opacity: 1;
}
.modal__dialog h3 { font-size: 19px; margin-bottom: 8px; }
.modal__opt { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.modal__opt small { color: var(--muted); }
.modal__footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.modal__dialog.thanks-dialog { text-align: center; }
.modal__dialog.thanks-dialog i { font-size: 40px; color: var(--accent); margin-bottom: 12px; }

/* ---------- NetworkCrafts layout extras ---------- */
.hero--center { text-align: center; padding: 64px 0 48px; }
.hero__title--center { max-width: 820px; margin-left: auto; margin-right: auto; }
.hero__lead--center { max-width: 680px; margin-left: auto; margin-right: auto; }
.hero__actions--center { justify-content: center; }
.eyebrow--dark { background: var(--night); color: #e2e8f0; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.stat-row__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 400ms var(--ease-out) both;
}
.stat-row__item:nth-child(1) { animation-delay: 0ms; }
.stat-row__item:nth-child(2) { animation-delay: 60ms; }
.stat-row__item:nth-child(3) { animation-delay: 120ms; }
.stat-row__item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--brand-strong);
  line-height: 1.1;
}
.stat-row__item span {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
}
.stat-row__item small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 6px;
}
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr; } }

.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease;
  animation: fadeInUp 400ms var(--ease-out) both;
}
@media (hover: hover) and (pointer: fine) {
  .pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
}
.pillar-grid > .pillar-card:nth-child(1) { animation-delay: 0ms; }
.pillar-grid > .pillar-card:nth-child(2) { animation-delay: 60ms; }
.pillar-grid > .pillar-card:nth-child(3) { animation-delay: 120ms; }
.pillar-grid > .pillar-card:nth-child(4) { animation-delay: 180ms; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.pillar-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.pillar-card__icon--cloud { background: #E0F2FE; color: #0369A1; }
.pillar-card__icon--secure { background: #FEF3C7; color: #B45309; }
.pillar-card__icon--link { background: var(--accent-tint); color: var(--accent); }
.pillar-card h3 { font-size: 17px; margin-bottom: 8px; }
.pillar-card p { color: var(--ink-soft); font-size: 14px; margin: 0 0 16px; flex: 1; }
.pillar-card__link {
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 720px;
  border-left: 2px solid var(--line);
  margin-left: 12px;
}
.timeline__item {
  position: relative;
  padding: 0 0 28px 28px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -9px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.timeline__item h3 { font-size: 17px; margin: 0 0 6px; }
.timeline__item p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

.faq--home { max-width: 760px; margin: 0 auto; }
.callout--brand {
  background: var(--brand-tint);
  border-color: rgba(30, 64, 175, 0.18);
}
.callout--brand i { color: var(--brand-strong); }

/* ---------- Site footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-bottom: 110px; }
.site-footer__cta {
  background: linear-gradient(120deg, var(--night), #1e293b);
  color: #fff;
  padding: 44px 0;
}
.site-footer__cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer__cta h2 {
  color: #fff;
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 8px;
}
.site-footer__cta p {
  margin: 0;
  color: #94a3b8;
  max-width: 520px;
  font-size: 15px;
}
.site-footer__main { padding-top: 40px; }
.site-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 28px;
}
@media (max-width: 820px) { .site-footer__cols { grid-template-columns: 1fr; } }
.site-footer__brand p { color: var(--ink-soft); font-size: 14px; margin: 12px 0 0; max-width: 340px; }
.brand--footer { margin-bottom: 4px; }
.site-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 640px) { .site-footer__links { grid-template-columns: 1fr; } }
.site-footer__links h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 12px;
}
.site-footer__links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer__links a { color: var(--ink-soft); font-size: 14px; }
.site-footer__links a:hover { color: var(--ink); text-decoration: none; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 8px; color: var(--ink-soft); font-size: 13.5px; }
.site-footer__contact i { color: var(--accent); margin-top: 2px; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.site-footer__legal { display: flex; gap: 16px; }
.site-footer__legal a { color: var(--muted); }

/* legacy footer (unused) */
.footer { border-top: 1px solid var(--line); padding: 52px 0 110px; background: var(--surface); }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer__brand { max-width: 300px; }
.footer__about { color: var(--ink-soft); font-size: 14px; margin: 14px 0 16px; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
}
.footer__socials a:hover { color: var(--brand); text-decoration: none; }
.footer__col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 0 0 14px; }
.footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--ink-soft); font-size: 14.5px; }
.footer__col a:hover { color: var(--ink); text-decoration: none; }
.footer__contact { gap: 12px !important; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: 13.5px; }
.footer__contact i { color: var(--accent); margin-top: 2px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer__bottom-links { display: flex; gap: 18px; }
.footer__bottom-links a { color: var(--muted); }

@media (max-width: 600px) {
  .cookie { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; padding: 20px; }
  .cookie__actions { justify-content: stretch; }
  .cookie__btn { flex: 1; }
  .cta-band { padding: 36px 24px; }
  .footer__top { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
