/* Pages layer: small additions on top of styles.css */
.pageMain { padding: 96px 0 64px; }
.pageMain__inner { max-width: 980px; }
.breadcrumb { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin: 16px 0 24px; font-size: 14px; opacity: .85; }
.breadcrumb a { text-decoration: none; }
.breadcrumb__sep { opacity: .5; }

.pageLang { display:block; }
html[lang="sr"] .pageLang[data-lang="en"] { display:none; }
html:not([lang="sr"]) .pageLang[data-lang="sr"] { display:none; }

.pageMain h1 { margin: 0 0 14px; }
.pageMain h2 { margin-top: 28px; }
.pageMain ul, .pageMain ol { margin: 10px 0 0 18px; }
.pageMain li { margin: 6px 0; }
.termsDoc p,
.termsDoc li { color: var(--muted); }
.termsDoc__subhead {
  margin: 14px 0 8px;
  font-size: 16px;
  color: rgba(255,255,255,.95);
}
.pageCTA { margin-top: 28px; padding: 18px; }
.pageCTA a { text-decoration: underline; }

/* Runtime profile hooks */
html[data-perf="low"] .fogLayer,
html[data-perf="low"] canvas,
html[data-motion="reduce"] canvas { display:none !important; }

/* Accelerator page keeps its own lightweight canvas effects even on low-perf/reduce modes. */
html[data-perf="low"] body.acceleratorPage #gridFx,
html[data-perf="low"] body.acceleratorPage .acceleratorFxCanvas,
html[data-motion="reduce"] body.acceleratorPage #gridFx,
html[data-motion="reduce"] body.acceleratorPage .acceleratorFxCanvas {
  display: block !important;
}

@media (prefers-reduced-motion: reduce) {
  body.acceleratorPage #gridFx,
  body.acceleratorPage .acceleratorFxCanvas {
    display: block !important;
  }
}

/* FAQ */
details.faq { margin: 10px 0; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 10px 12px; }
details.faq > summary { cursor: pointer; font-weight: 600; }
details.faq > p { margin: 10px 0 0; opacity: .92; }

/* Accelerator Engine page */
body.acceleratorPage {
  background: #fff;
  color: #0d0d0d;
  overflow-x: hidden;
}

body.acceleratorPage #bg {
  display: block !important;
  z-index: 0;
}

body.acceleratorPage #fog {
  display: none !important;
}

body.acceleratorPage .grid,
body.acceleratorPage #gridFx {
  mask-image: none;
}

body.acceleratorPage .grid {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%3E%0A%20%20%3Cpath%20d%3D%22M24%2016V32%20M16%2024H32%22%20stroke%3D%22rgba%280%2C0%2C0%2C0.28%29%22%20stroke-width%3D%221%22%20shape-rendering%3D%22crispEdges%22%20%2F%3E%0A%3C%2Fsvg%3E");
  background-size: 48px 48px;
  opacity: 0.24;
}

body.acceleratorPage .noise {
  opacity: 0.06;
}

.acceleratorHeader {
  position: sticky;
  top: 0;
  z-index: 120;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(13, 13, 13, 0.12);
  padding: 18px clamp(16px, 4vw, 52px);
}

.acceleratorHeader__brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.acceleratorHeader__wordmark {
  display: block;
  font-family: "Quantico", var(--sans);
  font-size: clamp(21px, 2.24vw, 31px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: #000;
  font-weight: 700;
  text-transform: none;
}

.acceleratorMain {
  width: 100%;
  background: transparent;
  overflow-x: clip;
}

body.acceleratorPage .acceleratorHeader,
body.acceleratorPage .acceleratorMain,
body.acceleratorPage .section--footer {
  position: relative;
  z-index: 1;
}

.acceleratorHero {
  min-height: calc(100svh - 77px);
  padding: clamp(30px, 8vw, 96px) clamp(18px, 5vw, 74px);
  display: grid;
  place-items: center;
  background: transparent;
}

.acceleratorHero__content {
  width: 100%;
  display: grid;
  place-items: center;
  row-gap: clamp(16px, 2.2vw, 28px);
  transform: translateY(-100px);
}

.acceleratorHero__title {
  margin: 0;
  max-width: 1320px;
  text-align: center;
  color: #000;
  font-size: clamp(22px, 3.43vw, 55px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.acceleratorHero__ctaBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(980px, 90vw);
  padding: 14px 20px;
  border: 2px solid #000 !important;
  background: transparent;
  color: #000;
  font-family: var(--sans);
  font-size: clamp(14px, 1.02vw, 17px);
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.acceleratorHero__ctaBtn:hover,
.acceleratorHero__ctaBtn:focus-visible {
  background: #000;
  color: #fff;
}

.acceleratorShowcase {
  min-height: 100svh;
  width: 100%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 84px);
  position: relative;
  overflow: hidden;
}

.acceleratorShowcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%3E%0A%20%20%3Cpath%20d%3D%22M24%2016V32%20M16%2024H32%22%20stroke%3D%22rgba%28255%2C255%2C255%2C0.28%29%22%20stroke-width%3D%221%22%20shape-rendering%3D%22crispEdges%22%20%2F%3E%0A%3C%2Fsvg%3E");
  background-size: 48px 48px;
  opacity: 0.22;
}

.acceleratorFxCanvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.acceleratorShowcase > *:not(.acceleratorFxCanvas) {
  position: relative;
  z-index: 2;
}

.acceleratorShowcase__inner {
  width: min(1240px, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 100%;
}

.acceleratorShowcase__title {
  margin: 0;
  width: min(50vw, 840px);
  font-size: clamp(24px, 2.6vw, 44px);
  line-height: 1.12;
  text-align: left;
}

.acceleratorShowcase__media {
  width: auto;
  display: block;
  max-width: 100%;
}

.acceleratorShowcase__topRow {
  width: fit-content;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, min(50vw, 840px)) minmax(210px, 240px);
  gap: 20px;
  align-items: stretch;
}

.acceleratorShowcase__figure {
  margin: 0;
  width: min(50vw, 840px);
  max-width: 100%;
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: clamp(12px, 1.8vw, 20px);
}

.acceleratorShowcase__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
}

.acceleratorShowcase__dataPanel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.acceleratorShowcase__dataRow {
  display: grid;
  gap: 5px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.acceleratorShowcase__dataRow:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.acceleratorShowcase__dataLabel {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.acceleratorShowcase__dataValue {
  color: rgba(255, 255, 255, 0.96);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

.acceleratorShowcase__dataMeta {
  display: grid;
  gap: 6px;
  padding-top: 2px;
}

.acceleratorShowcase__dataMetaLine {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.acceleratorShowcase__dataMetaKey {
  color: rgba(255, 255, 255, 0.70);
}

.acceleratorShowcase__dataMetaValue {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 500;
}

.acceleratorShowcase__dataMetaValue--seed {
  color: #59d67a;
}

.acceleratorShowcase__meta {
  margin-top: 20px;
  width: min(50vw, 840px);
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 40px;
  align-items: start;
}

.acceleratorShowcase__ctaBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.acceleratorShowcase__ctaBtn:hover,
.acceleratorShowcase__ctaBtn:focus-visible {
  opacity: 0.86;
  transform: translateY(-1px);
}

.acceleratorShowcase__desc {
  margin: 0;
  width: 100%;
  max-width: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(14px, 1.02vw, 17px);
  line-height: 1.65;
  text-align: left;
}

body.acceleratorPage .section--footer,
body.acceleratorPage .footerMega,
body.acceleratorPage .footerMega__bottom {
  background: #000;
}

/* Prevent empty top band above footer on accelerator page */
body.acceleratorPage .section--footer {
  min-height: auto;
  display: block;
}

body.acceleratorPage .footerMega {
  position: relative;
  overflow: hidden;
}

body.acceleratorPage .footerMega::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%3E%0A%20%20%3Cpath%20d%3D%22M24%2016V32%20M16%2024H32%22%20stroke%3D%22rgba%28255%2C255%2C255%2C0.24%29%22%20stroke-width%3D%221%22%20shape-rendering%3D%22crispEdges%22%20%2F%3E%0A%3C%2Fsvg%3E");
  background-size: 48px 48px;
  opacity: 0.2;
}

body.acceleratorPage .footerMega > *:not(.acceleratorFxCanvas):not(.footerMega__bottom) {
  position: relative;
  z-index: 2;
}

body.acceleratorPage .footerMega__bottom {
  z-index: 2;
}

body.acceleratorPage .footerMega,
body.acceleratorPage .footerMega a,
body.acceleratorPage .footerMega__copy,
body.acceleratorPage .footerMega__colTitle,
body.acceleratorPage .footerMega__label {
  color: #fff;
}

@media (max-width: 900px) {
  .acceleratorHeader {
    padding: 14px 16px;
  }

  .acceleratorHeader__wordmark {
    font-size: clamp(18px, 5.6vw, 25px);
  }

  .acceleratorHero {
    min-height: calc(100svh - 65px);
  }

  .acceleratorHero__ctaBtn {
    padding: 12px 14px;
    font-size: clamp(13px, 3.5vw, 16px);
  }

  .acceleratorShowcase__title,
  .acceleratorShowcase__media {
    width: 100%;
    max-width: 620px;
  }

  .acceleratorShowcase__topRow {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .acceleratorShowcase__figure,
  .acceleratorShowcase__meta {
    width: 100%;
    max-width: 100%;
  }

  .acceleratorShowcase__meta {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .acceleratorShowcase__desc {
    width: 100%;
    max-width: 100%;
    font-size: clamp(14px, 3.1vw, 16px);
    line-height: 1.6;
  }

  .acceleratorShowcase__ctaBtn {
    justify-self: end;
    padding: 10px 14px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .acceleratorHero {
    padding: 20px 14px 30px;
  }

  .acceleratorHero__content {
    transform: translateY(-60px);
  }

  .acceleratorShowcase {
    min-height: auto;
    padding: 34px 14px 44px;
  }

  .acceleratorShowcase__figure {
    padding: 10px;
  }

  .acceleratorShowcase__dataPanel {
    gap: 8px;
    padding: 10px;
  }

  .acceleratorShowcase__dataRow {
    gap: 4px;
    padding-bottom: 8px;
  }

  .acceleratorShowcase__dataLabel {
    font-size: 11px;
  }

  .acceleratorShowcase__dataValue {
    font-size: 16px;
    line-height: 1.15;
  }

  .acceleratorShowcase__dataMeta {
    gap: 4px;
  }

  .acceleratorShowcase__dataMetaLine {
    font-size: 12px;
    line-height: 1.25;
  }

  .acceleratorShowcase__image {
    max-height: min(56vh, 360px);
  }

  .acceleratorShowcase__meta {
    margin-top: 20px;
    row-gap: 14px;
  }

  .acceleratorShowcase__ctaBtn {
    justify-self: end;
  }
}
