@charset "UTF-8";

:root {
  --brand-950: #001615;
  --brand-900: #001d19;
  --brand-800: #003628;
  --brand-700: #20aa61;
  --brand-600: #2bc875;
  --brand-500: #39d982;

  --surface-0: #ffffff;
  --surface-50: #f5f8f6;
  --surface-100: #eaf4ef;

  --text-primary: #10241d;
  --text-secondary: #5e7068;
  --text-on-dark: #f6faf8;
  --text-muted-dark: #b8c9c3;

  --border-light: #d8e3de;
  --border-dark: #315248;
  --error: #b42318;

  --radius-button: 0.625rem;
  --radius-card: 1.125rem;
  --container-max: 90rem;
  --navbar-height: 5rem;
  --section-space: clamp(4.5rem, 8vw, 7rem);
  --home-section-space: clamp(3.25rem, 6vw, 5rem);
  --home-heading-gap: clamp(2.75rem, 5vw, 4.5rem);
  --home-grid-gap: 1.25rem;
  --home-subsection-space: clamp(3.75rem, 7vw, 6rem);

  /* Aliasy używane przez nowe komponenty. */
  --page-max: var(--container-max);
  --nav-height: var(--navbar-height);
  --page-max-width: var(--container-max);
  --header-height: var(--navbar-height);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1.125rem);
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--text-on-dark);
  background: var(--brand-950);
  font-family:
    "Montserrat", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  display: none;
}

body.nav-open,
body.nav-lock {
  overflow: hidden;
}

/* Strona błędu korzysta z tego samego systemu kolorów co homepage. */
.error-page-body {
  min-height: 100svh;
  background: var(--brand-950);
}

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) 1.25rem;
}

.error-page__brand {
  position: absolute;
  top: clamp(1.25rem, 4vw, 2.5rem);
  left: clamp(1.25rem, 5vw, 4rem);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-on-dark);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
}

.error-page__brand img {
  width: 2.625rem;
  height: 2.625rem;
  object-fit: contain;
}

.error-card {
  width: min(100%, 42rem);
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 6vw, 4rem);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  background: rgb(0 29 25 / 86%);
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 24%);
  text-align: center;
}

.error-card__icon {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  place-items: center;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  color: var(--brand-500);
}

.error-card__icon svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.error-card__code {
  margin: 0 0 0.75rem;
  color: var(--brand-500);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.error-card h1 {
  max-width: 32rem;
  margin: 0 auto;
  color: var(--text-on-dark);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.error-card__lead {
  max-width: 31rem;
  margin: 1.25rem auto 0;
  color: var(--text-muted-dark);
  font-size: 1rem;
  line-height: 1.75;
}

.error-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.error-button {
  display: inline-flex;
  min-height: 3.125rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-button);
  color: var(--text-on-dark);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.error-button:hover,
.error-button:focus-visible {
  border-color: var(--brand-500);
  color: var(--brand-500);
}

.error-button--primary {
  border-color: var(--brand-500);
  background: var(--brand-500);
  color: var(--brand-950);
}

.error-button--primary:hover,
.error-button--primary:focus-visible {
  border-color: var(--brand-600);
  background: var(--brand-600);
  color: var(--brand-950);
}

.error-page__foot {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 0.75rem;
  text-align: center;
}

@media (max-width: 36rem) {
  .error-page__brand {
    right: 0;
    left: 0;
    justify-content: center;
  }

  .error-card__actions {
    display: grid;
  }

  .error-button {
    width: 100%;
  }
}

/* Katalog Przewodnika IT. */
.guide-page {
  background: var(--brand-950);
}

.guide-container {
  width: min(calc(100% - 2.5rem), 76rem);
  margin-inline: auto;
}

.guide-hero {
  padding: clamp(5.5rem, 11vw, 9rem) 0 clamp(3.5rem, 7vw, 6rem);
  background: var(--brand-950);
  border-bottom: 1px solid var(--border-dark);
  text-align: center;
}

.guide-hero h1 {
  max-width: 72rem;
  margin: 0 auto;
  color: var(--text-on-dark);
  font-size: clamp(2.45rem, 4.4vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.08;
  text-wrap: balance;
}

.guide-hero > .guide-container > p:not(.section-label) {
  max-width: 42rem;
  margin: 1.6rem auto 0;
  color: var(--text-muted-dark);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
}

.guide-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.guide-hero__actions a span,
.guide-bottom-cta a span {
  margin-left: 0.5rem;
}

.guide-catalog {
  padding: var(--section-space) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: var(--brand-900);
}

.guide-intro {
  max-width: 72rem;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.guide-intro h2 {
  margin: 0 auto;
  color: var(--text-on-dark);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
  line-height: 1.15;
  text-wrap: balance;
}

.guide-intro > p:not(.section-label) {
  margin-inline: auto;
}

.guide-intro > p:last-child {
  margin: 1.25rem 0 0;
  color: var(--text-muted-dark);
  line-height: 1.8;
}

.guide-topic {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  border-top: 1px solid var(--border-dark);
}

.guide-topic__heading {
  position: relative;
  display: block;
  margin-bottom: 1.5rem;
  text-align: center;
}

.guide-topic__number {
  position: absolute;
  top: 0.2rem;
  left: 0;
  color: var(--brand-500);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.guide-topic__label {
  margin: 0 0 0.35rem 4.5rem;
  color: var(--brand-500);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.guide-topic h2 {
  margin: 0;
  color: var(--text-on-dark);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

@media (min-width: 761px) {
  #rozwiazania-branzowe .guide-topic__heading {
    display: block;
  }

  #rozwiazania-branzowe .guide-topic__heading h2 {
    white-space: nowrap;
  }
}

.guide-articles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-left: 4.5rem;
}

.guide-topic > .guide-articles > .guide-article:last-child:nth-child(odd) {
  width: calc((100% - 0.75rem) / 2);
  grid-column: 1 / -1;
  justify-self: center;
}

.guide-subcategories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.guide-subcategory {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
}

.guide-subcategory h3 {
  margin: 0 0 0.8rem;
  color: var(--text-on-dark);
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;
}

.guide-subcategory .guide-articles {
  flex: 1;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-left: 0;
}

.guide-subcategory .guide-article {
  display: grid;
  min-height: 100%;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  background: var(--brand-950);
  color: var(--text-on-dark);
}

.guide-subcategory .guide-article:hover,
.guide-subcategory .guide-article:focus-visible {
  padding-left: 1rem;
  border-color: var(--brand-500);
  background: rgb(57 217 130 / 5%);
  color: var(--text-on-dark);
}

.guide-subcategory .guide-article__icon {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.75rem;
}

.guide-subcategory .guide-article strong {
  font-size: 0.9rem;
  line-height: 1.35;
}

.guide-subcategory .guide-article small {
  margin-top: 0.3rem;
  font-size: 0.76rem;
  line-height: 1.5;
}

.services-page .guide-subcategories {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  justify-content: center;
  align-items: stretch;
}

.services-page .guide-subcategory {
  min-height: 100%;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  background: var(--brand-950);
}

.services-page .guide-subcategory h3 {
  min-height: 2.8rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.services-page .guide-subcategory .guide-articles {
  display: grid;
  flex: 0 0 auto;
  grid-auto-rows: 7.85rem;
  align-content: start;
}

.services-page .guide-subcategory .guide-article {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  height: 100%;
  min-height: 0;
  align-items: start;
  background: rgb(0 29 25 / 58%);
  border-radius: var(--radius-button);
}

.services-page .guide-subcategory .guide-article__icon {
  display: none;
}

.services-page .guide-subcategory .guide-article > span:last-child {
  display: grid;
  min-height: 100%;
  grid-template-rows: minmax(2.5rem, auto) 1fr;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.services-page .guide-subcategory .guide-article strong {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.services-page .guide-subcategory .guide-article small {
  max-width: 16rem;
  color: rgb(214 226 222 / 92%);
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: center;
}

@media (min-width: 64rem) {
  .services-page .guide-subcategories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-page .guide-subcategories:has(> .guide-subcategory:first-child:last-child) {
    max-width: calc(33.333% - 0.667rem);
    grid-template-columns: minmax(0, 1fr);
    margin-inline: auto;
  }

  .services-page .guide-subcategories:has(> .guide-subcategory:nth-child(2)):not(:has(> .guide-subcategory:nth-child(3))) {
    width: 100%;
    max-width: calc(66.666% - 0.333rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    margin-inline: auto;
  }

  .services-page .guide-subcategories:has(> .guide-subcategory:nth-child(4)) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .services-page .guide-subcategories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 500px) {
  .services-page .guide-subcategories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .guide-subcategories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 500px) {
  .guide-subcategories { grid-template-columns: 1fr; }
}

.guide-article {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: start;
  gap: 0.8rem;
  min-height: 7.5rem;
  padding: 1.15rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  color: var(--text-on-dark);
  background: var(--brand-950);
  text-decoration: none;
}

.guide-article:hover,
.guide-article:focus-visible {
  color: var(--text-on-dark);
  border-color: var(--brand-500);
  background: rgb(57 217 130 / 5%);
}

.guide-article__icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  color: var(--brand-500);
  font-size: 0.9rem;
}

.guide-article strong,
.guide-article small {
  display: block;
}

.guide-article strong {
  font-size: 0.95rem;
  line-height: 1.4;
}

.guide-article small {
  margin-top: 0.45rem;
  color: var(--text-muted-dark);
  font-size: 0.8rem;
  line-height: 1.6;
}

.guide-bottom-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  background: var(--brand-950);
}

.guide-bottom-cta h2 {
  margin: 0;
  color: var(--text-on-dark);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.guide-bottom-cta p {
  grid-column: 1;
  margin: -0.75rem 0 0;
  color: var(--text-muted-dark);
  line-height: 1.7;
}

.guide-bottom-cta a {
  grid-column: 2;
  grid-row: 1 / span 2;
  white-space: nowrap;
}

@media (max-width: 54rem) {
  .guide-articles {
    margin-left: 0;
  }
}

@media (max-width: 42rem) {
  .guide-container {
    width: min(calc(100% - 1.5rem), 76rem);
  }

  .guide-articles {
    grid-template-columns: 1fr;
  }

  .guide-topic > .guide-articles > .guide-article:last-child:nth-child(odd) {
    width: 100%;
  }
}

/* Szablon artykułów Przewodnika IT. */
.guide-article-page {
  background: var(--brand-950);
}

.guide-article-page:not(.service-page) .article-page {
  background: var(--brand-900);
}

.article-container {
  width: min(calc(100% - 2.5rem), 76rem);
  margin-inline: auto;
}

.article-hero > .article-container {
  width: min(calc(100% - 2.5rem), 86rem);
}

.article-hero {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
  background: var(--brand-950);
  border-bottom: 1px solid var(--border-dark);
  text-align: center;
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  color: var(--text-muted-dark);
  font-size: 0.75rem;
}

.article-breadcrumbs a {
  color: var(--text-muted-dark);
  text-decoration: none;
}

.article-breadcrumbs a:hover,
.article-breadcrumbs a:focus-visible {
  color: var(--brand-500);
}

.article-hero h1 {
  max-width: 82rem;
  margin: 0 auto;
  color: var(--text-on-dark);
  font-size: clamp(2.35rem, 4.2vw, 4.15rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.08;
  text-wrap: balance;
}

.article-lead {
  max-width: 62rem;
  margin: 1.6rem auto 0;
  color: var(--text-muted-dark);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
  text-wrap: pretty;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  color: var(--brand-500);
  font-size: 0.75rem;
  font-weight: 700;
}

.article-body {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(3.5rem, 8vw, 7rem);
  background: var(--brand-900);
}


.article-toc {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  display: grid;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border-dark);
}

.article-toc strong {
  margin-bottom: 0.65rem;
  color: var(--brand-500);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-toc a {
  padding: 0.25rem 0;
  color: var(--text-muted-dark);
  font-size: 0.78rem;
  text-decoration: none;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--brand-500);
}

.article-content {
  min-width: 0;
  max-width: 52rem;
}

.article-content section {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border-dark);
  scroll-margin-top: calc(var(--nav-height) + 2rem);
}

.article-content section:last-child {
  margin-bottom: 0;
}

.article-content h2 {
  margin: 0 0 1.15rem;
  color: var(--text-on-dark);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.article-content h3 {
  margin: 1.5rem 0 0.5rem;
  color: var(--text-on-dark);
  font-size: 1.1rem;
  line-height: 1.35;
}

.article-content p,
.article-content li,
.article-content dd {
  color: var(--text-muted-dark);
  font-size: 0.96rem;
  line-height: 1.85;
}

.article-content p { margin: 0 0 1rem; }
.article-content p:last-child { margin-bottom: 0; }
.article-content a { color: var(--brand-500); text-decoration: none; }
.article-content a:hover, .article-content a:focus-visible { color: var(--text-on-dark); }

.article-highlight {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--border-dark) !important;
  border-radius: var(--radius-card);
  background: var(--brand-950);
}

.article-highlight h2 { color: var(--brand-500); font-size: 1.35rem; }
.article-content ul, .article-content ol { margin: 0; padding-left: 1.2rem; }
.article-highlight li + li, .article-checklist li + li { margin-top: 0.55rem; }

.article-columns,
.article-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.article-columns > div:last-child:nth-child(odd),
.article-comparison > div:last-child:nth-child(odd) {
  width: calc((100% - 1rem) / 2);
  grid-column: 1 / -1;
  justify-self: center;
}

.article-columns > div,
.article-comparison > div,
.article-warning {
  padding: 1.15rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  background: var(--brand-950);
}

.article-columns h3,
.article-comparison h3,
.article-warning h3 { margin-top: 0; }

.article-definitions { display: grid; gap: 0.8rem; margin: 0; }
.article-definitions > div { padding: 1rem; border-left: 2px solid var(--brand-500); background: var(--brand-950); }
.article-definitions dt { color: var(--text-on-dark); font-weight: 800; }
.article-definitions dd { margin: 0.25rem 0 0; }

.article-checklist { list-style: "✓  "; }
.article-checklist li::marker { color: var(--brand-500); }

.article-steps { counter-reset: article-step; list-style: none; padding-left: 0 !important; }
.article-steps li { position: relative; counter-increment: article-step; min-height: 1.6rem; padding-left: 2.8rem; }
.article-steps li + li { margin-top: 1rem; }
.article-steps li::before { position: absolute; top: 0.1rem; left: 0; width: 2rem; content: counter(article-step, decimal-leading-zero); color: var(--brand-500); font-weight: 800; }
.article-steps strong { color: var(--text-on-dark); }

.article-warning { margin-top: 0.8rem; border-left: 2px solid var(--brand-500); }

.article-table-wrap { overflow-x: auto; margin-top: 1.5rem; border: 1px solid var(--border-dark); border-radius: var(--radius-card); background: var(--brand-950); }
.article-table-wrap table { width: 100%; min-width: 38rem; border-collapse: collapse; color: var(--text-muted-dark); font-size: 0.85rem; }
.article-table-wrap th, .article-table-wrap td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--border-dark); text-align: left; vertical-align: top; }
.article-table-wrap th { color: var(--brand-500); background: var(--brand-950); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.article-table-wrap tr:last-child td { border-bottom: 0; }

.article-content details { border-top: 1px solid var(--border-dark); }
.article-content details:last-child { border-bottom: 1px solid var(--border-dark); }
.article-content summary { padding: 1rem 0; color: var(--text-on-dark); font-weight: 700; cursor: pointer; list-style: none; }
.article-content summary::after { content: "+"; float: right; color: var(--brand-500); font-size: 1.25rem; }
.article-content details[open] summary::after { content: "-"; }
.article-content details p { padding: 0 2rem 1rem 0; }

.article-related { padding: 1.5rem; border: 1px solid var(--border-dark) !important; border-radius: var(--radius-card); background: var(--brand-950); }
.article-related .button-secondary-light { margin-top: 0.75rem; }
.article-related-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.article-related-links a { display: block; padding: 1rem; border: 1px solid var(--border-dark); border-radius: var(--radius-button); background: var(--brand-950); }
.article-related-links strong, .article-related-links span { display: block; }
.article-related-links strong { color: var(--text-on-dark); font-size: 0.9rem; }
.article-related-links span { margin-top: 0.4rem; color: var(--text-muted-dark); font-size: 0.78rem; line-height: 1.55; }

.guide-article-page:not(.service-page) .article-content,
.guide-article-page:not(.service-page) .article-content section,
.guide-article-page:not(.service-page) .article-related {
  text-align: center;
}

.guide-article-page:not(.service-page) .article-content p,
.guide-article-page:not(.service-page) .article-content dd,
.guide-article-page:not(.service-page) .article-related-links span {
  margin-right: auto;
  margin-left: auto;
}

.guide-article-page:not(.service-page) .article-columns > div,
.guide-article-page:not(.service-page) .article-comparison > div,
.guide-article-page:not(.service-page) .article-warning,
.guide-article-page:not(.service-page) .article-related-links a {
  text-align: center;
}

.guide-article-page:not(.service-page) .article-content ul,
.guide-article-page:not(.service-page) .article-content ol,
.guide-article-page:not(.service-page) .article-definitions {
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.guide-article-page:not(.service-page) .article-highlight ul,
.guide-article-page:not(.service-page) .article-checklist {
  padding-left: 0;
  list-style-position: inside;
  text-align: center;
}

.article-final-cta {
  margin-top: 0;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--brand-900);
  border-bottom: 1px solid var(--border-dark);
}

.article-final-cta > .article-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  background: var(--brand-950);
}

.article-final-cta h2 {
  margin: 0;
  color: var(--text-on-dark);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.article-final-cta p {
  grid-column: 1;
  margin: -0.75rem 0 0;
  color: var(--text-muted-dark);
  line-height: 1.7;
}

.article-final-cta a {
  grid-column: 2;
  grid-row: 1 / span 2;
  white-space: nowrap;
}

.service-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }
.service-proof { display: grid; max-width: 64rem; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin: 2.5rem auto 0; }
.service-proof span { padding: 0.9rem 1rem; border: 1px solid var(--border-dark); border-radius: var(--radius-card); color: var(--text-muted-dark); background: var(--brand-900); font-size: 0.78rem; line-height: 1.5; }
.service-body {
  padding-top: clamp(3.5rem, 8vw, 7rem);
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
  background: var(--brand-900);
}
.service-body > .article-container { width: min(calc(100% - 2.5rem), var(--container-max)); }
.service-section { padding-bottom: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--border-dark); }
.service-body .service-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.service-section h2, .service-related h2 { margin: 0 0 1.15rem; color: var(--text-on-dark); font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.045em; line-height: 1.15; }
.service-section > p:not(.section-label), .service-section li, .service-result p { color: var(--text-muted-dark); font-size: 0.96rem; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-grid:has(> div:first-child:last-child),
.service-related__links:has(> a:first-child:last-child) {
  max-width: calc((100% - 2rem) / 3);
  grid-template-columns: minmax(0, 1fr);
  margin-inline: auto;
}
.service-grid:has(> div:nth-child(2)):not(:has(> div:nth-child(3))),
.service-related__links:has(> a:nth-child(2)):not(:has(> a:nth-child(3))) {
  max-width: calc(((100% - 2rem) / 3 * 2) + 1rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
}
.service-grid:not(.service-grid--wide) > div:nth-child(4):last-child {
  width: calc((100% - 2rem) / 3);
  grid-column: 1 / -1;
  justify-self: center;
}
.service-highlight {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--border-dark) !important;
  border-radius: var(--radius-card);
  background: var(--brand-950);
}
.service-highlight h2 { color: var(--brand-500); font-size: 1.35rem; }
.service-grid > div { padding: clamp(1.25rem, 2.5vw, 1.75rem); border: 1px solid var(--border-dark); border-radius: var(--radius-card); background: var(--brand-950); }
.service-grid h3 { margin: 0 0 0.6rem; color: var(--text-on-dark); font-size: 1.08rem; }
.service-grid p { margin: 0; color: var(--text-muted-dark); line-height: 1.7; }
.service-grid ul { margin: 0.8rem 0 0; padding-left: 1.1rem; }
.service-checklist { margin: 0; padding-left: 1.2rem; }
.service-checklist li + li { margin-top: 0.55rem; }
.service-checklist li::marker { color: var(--brand-500); }
.service-result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.8fr); gap: 2rem; padding: 1.5rem; border: 1px solid var(--border-dark); border-radius: var(--radius-card); background: var(--brand-950); }
.service-steps { margin: 0; padding-left: 1.8rem; counter-reset: service-step; list-style: none; }
.service-steps li { position: relative; padding-left: 2.3rem; counter-increment: service-step; }
.service-steps li + li { margin-top: 1rem; }
.service-steps li::before { position: absolute; left: 0; top: 0.1rem; content: counter(service-step, decimal-leading-zero); color: var(--brand-500); font-weight: 800; }
.service-steps strong { color: var(--text-on-dark); }
.service-faq details { border-top: 1px solid var(--border-dark); }
.service-faq details:last-child { border-bottom: 1px solid var(--border-dark); }
.service-faq summary { padding: 1rem 0; color: var(--text-on-dark); font-weight: 700; cursor: pointer; list-style: none; }
.service-faq summary::after { content: "+"; float: right; color: var(--brand-500); font-size: 1.25rem; }
.service-faq details[open] summary::after { content: "-"; }
.service-faq details p { padding: 0 2rem 1rem 0; color: var(--text-muted-dark); line-height: 1.8; }
.service-related { padding: 1.5rem; border: 1px solid var(--border-dark); border-radius: var(--radius-card); background: var(--brand-950); }
.service-related__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.service-related__links a { display: block; padding: 1rem; border: 1px solid var(--border-dark); border-radius: var(--radius-button); background: var(--brand-950); text-decoration: none; transition: border-color 180ms ease, background-color 180ms ease; }
.service-related__links a:hover,
.service-related__links a:focus-visible { border-color: var(--brand-500); background: rgb(57 217 130 / 5%); }
.service-related__links strong, .service-related__links span { display: block; }
.service-related__links strong { color: var(--text-on-dark); font-size: 0.9rem; }
.service-related__links span { margin-top: 0.35rem; color: var(--text-muted-dark); font-size: 0.78rem; line-height: 1.5; }
.service-final-cta {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--brand-900);
  border-bottom: 1px solid var(--border-dark);
}
.service-final-cta > .article-container {
  width: min(calc(100% - 2.5rem), 64rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  background: var(--brand-950);
}
.service-final-cta h2 { max-width: 42rem; margin: 0; color: var(--text-on-dark); font-size: clamp(1.35rem, 2.5vw, 2rem); letter-spacing: -0.035em; line-height: 1.2; }
.service-final-cta p { grid-column: 1; max-width: 38rem; margin: -0.75rem 0 0; color: var(--text-muted-dark); line-height: 1.8; }
.service-final-cta a { grid-column: 2; grid-row: 1 / span 2; white-space: nowrap; }

.service-page .service-section,
.service-page .service-related {
  text-align: center;
}

.service-page .service-section > p:not(.section-label),
.service-page .service-result p,
.service-page .service-grid p,
.service-page .service-related__links span {
  margin-right: auto;
  margin-left: auto;
}

.service-page .service-grid > div,
.service-page .service-related__links a {
  text-align: center;
}

.service-page .service-grid ul,
.service-page .service-checklist,
.service-page .service-steps {
  width: fit-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.service-page .service-grid ul {
  width: auto;
  padding-left: 0;
  list-style-position: inside;
}

.service-page .service-grid li {
  text-align: center;
}

.service-page .service-steps {
  display: grid;
  width: min(100%, 48rem);
  padding-left: 0;
  text-align: center;
}

.service-page .service-steps li {
  display: block;
  padding-left: 0;
  text-align: center;
}

.service-page .service-steps li::before {
  position: static;
  display: inline-block;
  width: auto;
  margin-right: 0.45rem;
  margin-bottom: 0;
}

.service-page .service-steps strong {
  display: inline;
}

.service-page .service-steps strong::after {
  content: "";
  display: block;
  height: 0.2rem;
}

.service-page .service-checklist {
  width: auto;
  padding-left: 0;
  list-style-position: inside;
  text-align: center;
}

.service-page .service-result {
  grid-template-columns: 1fr;
  align-items: center;
  text-align: center;
}

.service-page .service-result .service-checklist {
  width: auto;
}

@media (min-width: 64rem) {
  .service-related__links:has(> a:nth-child(4)) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 52rem) {
  .service-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid, .service-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid:not(.service-grid--wide) > div:nth-child(4):last-child {
    width: auto;
    grid-column: auto;
    justify-self: stretch;
  }
  .service-grid:has(> div:first-child:last-child),
  .service-grid:has(> div:nth-child(2)):not(:has(> div:nth-child(3))) {
    max-width: none;
  }
  .service-result { grid-template-columns: 1fr; }
  .service-related__links { grid-template-columns: 1fr; }
  .service-related__links:has(> a:first-child:last-child),
  .service-related__links:has(> a:nth-child(2)):not(:has(> a:nth-child(3))) {
    max-width: none;
  }
}

@media (max-width: 42rem) {
  .service-grid, .service-grid--wide, .service-proof { grid-template-columns: 1fr; }
  .service-hero__actions a { width: 100%; text-align: center; }
}

@media (max-width: 56rem) {
  .article-body { grid-template-columns: 1fr; gap: 2rem; }
  .article-toc { position: static; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; padding: 0 0 1rem; border: 0; border-bottom: 1px solid var(--border-dark); }
  .article-toc strong { width: 100%; }
}

@media (max-width: 42rem) {
  .article-container { width: min(calc(100% - 1.5rem), 76rem); }
  .article-columns, .article-comparison, .article-related-links { grid-template-columns: 1fr; }
  .article-columns > div:last-child:nth-child(odd),
  .article-comparison > div:last-child:nth-child(odd) { width: 100%; }
  .article-meta { display: grid; gap: 0.35rem; }
}

/* Error page uses the shared site header/footer; the illustration stays open and borderless. */
.error-page-body > [data-layout-header] {
  display: contents;
}

.error-page-body > [data-layout-footer] {
  display: contents;
}

.error-page-body .error-page {
  width: min(100%, 90rem);
  min-height: auto;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.error-page-body .site-footer {
  margin-top: 0;
}

@media (max-width: 48rem) {
  .error-page-body .error-page {
    padding-block: 3.5rem 4.5rem;
  }

}

/* Wspólny styl stron prawnych. */
.legal-page {
  background: var(--brand-950);
}

.legal-main {
  overflow: hidden;
}

.legal-container {
  width: min(calc(100% - 2.5rem), 76rem);
  margin-inline: auto;
}

.legal-hero {
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--border-dark);
  background: var(--brand-950);
  text-align: center;
}

.legal-hero h1 {
  max-width: 50rem;
  margin: 0 auto;
  color: var(--text-on-dark);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.07em;
  line-height: 0.98;
  white-space: nowrap;
}

.legal-hero > .legal-container > p:not(.section-label):not(.legal-updated) {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  color: var(--text-muted-dark);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}

.legal-updated {
  margin: 1.5rem 0 0;
  color: var(--brand-500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.legal-content {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  background: var(--brand-900);
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.legal-aside {
  position: static;
  display: flex;
  max-width: 56rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1rem;
  padding: 0 0 1.25rem;
  margin-inline: auto;
  border: 0;
  border-bottom: 1px solid var(--border-dark);
  text-align: center;
}

.legal-aside p {
  width: 100%;
  margin: 0 0 0.35rem;
  color: var(--brand-500);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-aside a {
  padding: 0.3rem 0;
  color: var(--text-muted-dark);
  font-size: 0.92rem;
  line-height: 1.6;
  text-decoration: none;
}

.legal-aside a:hover,
.legal-aside a:focus-visible {
  color: var(--brand-500);
}

.legal-sections {
  min-width: 0;
}

.legal-sections section {
  max-width: 48rem;
  padding: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--border-dark);
  scroll-margin-top: calc(var(--nav-height) + 2rem);
  text-align: center;
}

.legal-sections section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-number {
  margin: 0 0 0.7rem;
  color: var(--brand-500);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.legal-sections h2 {
  margin: 0 0 1rem;
  color: var(--text-on-dark);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.legal-sections p:not(.legal-number) {
  margin: 0 auto;
  color: var(--text-muted-dark);
  font-size: 0.95rem;
  line-height: 1.85;
}

.legal-sections a {
  color: var(--brand-500);
  text-decoration: none;
}

.legal-sections a:hover,
.legal-sections a:focus-visible {
  color: var(--text-on-dark);
}

.legal-table-wrap {
  margin-top: 1.5rem;
  overflow-x: auto;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
}

.legal-table-wrap table {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  color: var(--text-muted-dark);
  font-size: 0.8rem;
  line-height: 1.6;
}

.legal-table-wrap th,
.legal-table-wrap td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border-dark);
  vertical-align: top;
  text-align: left;
}

.legal-table-wrap th {
  color: var(--brand-500);
  background: var(--brand-950);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-table-wrap tr:last-child td {
  border-bottom: 0;
}

.legal-table-wrap code {
  color: var(--text-on-dark);
  font-size: 0.8em;
}

.legal-settings-button {
  display: inline-flex;
  min-height: 3.125rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.7rem 1.25rem;
  color: var(--text-on-dark);
  background: var(--brand-950);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-button);
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.legal-settings-button:hover,
.legal-settings-button:focus-visible {
  border-color: var(--brand-500);
  color: var(--text-on-dark);
  background: var(--border-dark);
}

@media (max-width: 36rem) {
  .legal-container {
    width: min(calc(100% - 1.5rem), 76rem);
  }

  .legal-hero h1 {
    font-size: clamp(2.6rem, 15vw, 4rem);
    white-space: normal;
  }

  .legal-settings-button {
    width: 100%;
    justify-content: center;
  }
}

/* Nowy układ strony błędu - szeroka kompozycja zamiast centralnej karty. */
.error-page-body {
  overflow-x: hidden;
}

.error-page {
  display: grid;
  width: 100%;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 2.75rem) clamp(1.25rem, 5vw, 4rem) 1.5rem;
  margin-inline: auto;
}

.error-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.error-page__brand {
  position: static;
}

.error-header__label {
  color: var(--text-muted-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(2rem, 6vw, 4rem);
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  padding-block: clamp(3rem, 8vh, 7rem);
}

.error-content {
  width: 100%;
  max-width: 70rem;
  margin-inline: auto;
  text-align: center;
}

.error-card__code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  font-size: 0.7rem;
}

.error-card__code span {
  color: var(--border-dark);
}

.error-content h1 {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  color: var(--text-on-dark);
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.96;
  text-align: center;
  white-space: nowrap;
}

.error-content h1 span {
  color: var(--brand-500);
}

.error-content .error-card__lead {
  max-width: 34rem;
  margin: 2rem auto 0;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

.error-content .error-card__actions {
  justify-content: center;
  margin-top: 2.25rem;
}

.error-button--primary span {
  margin-left: 0.65rem;
  font-size: 1.1rem;
}

.error-page__foot {
  position: static;
  margin-top: auto;
  font-size: 0.75rem;
}

@media (max-width: 48rem) {
  .error-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-block: 4rem 3rem;
  }

  .error-content {
    margin-inline: auto;
    text-align: center;
  }

  .error-card__code,
  .error-content .error-card__actions {
    justify-content: center;
  }

  .error-content .error-card__lead {
    margin-right: auto;
    margin-left: auto;
  }

}

@media (max-width: 36rem) {
  .error-header__label {
    display: none;
  }

  .error-content h1 {
    font-size: clamp(3rem, 16vw, 4.75rem);
    white-space: normal;
  }

  .error-content .error-card__actions {
    display: grid;
  }
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 0.75rem;
  left: 50%;
  padding: 0.7rem 1rem;
  color: var(--brand-950);
  background: var(--brand-500);
  border-radius: var(--radius-button);
  font-weight: 800;
  text-decoration: none;
  transform: translate(-50%, calc(-100% - 1rem));
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  color: var(--text-on-dark);
  background: var(--brand-950);
  border-bottom: 1px solid var(--border-dark);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  box-shadow: 0 0.5rem 1.875rem rgb(0 22 21 / 45%);
}

.site-header__inner {
  position: relative;
  display: flex;
  width: min(calc(100% - 2rem), var(--page-max-width));
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
}

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.6875rem;
  color: var(--text-on-dark);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
}

.site-brand__logo {
  display: block;
  width: 2.375rem;
  height: 2.375rem;
  object-fit: contain;
}

.site-nav,
.nav-menu__item {
  position: static;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.site-nav__toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.3125rem;
  padding: 0;
  color: var(--text-on-dark);
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-button);
  cursor: pointer;
}

.site-nav__toggle-icon,
.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentcolor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav__toggle-icon {
  position: relative;
}

.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.site-nav__toggle-icon::before {
  top: -0.4rem;
}

.site-nav__toggle-icon::after {
  top: 0.4rem;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-icon {
  background: transparent;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  display: block;
  width: min(calc(100vw - 2rem), 46rem);
  max-height: calc(100dvh - var(--header-height) - 1rem);
  padding: 0.75rem 1rem 1rem;
  margin: 0;
  overflow-y: auto;
  list-style: none;
  overscroll-behavior: contain;
  background: var(--brand-950);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  box-shadow: 0 1.25rem 3.125rem rgb(0 22 21 / 45%);
  transform: translateX(-50%);
}

.js .site-nav__toggle {
  display: inline-flex;
}

.js .nav-menu {
  display: none;
}

.js .nav-menu.is-open {
  display: block;
}

.nav-menu__item + .nav-menu__item {
  border-top: 1px solid var(--border-dark);
}

.nav-menu__trigger {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 3rem;
  color: var(--text-on-dark);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
}

.nav-menu__link {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  color: var(--text-on-dark);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.nav-menu__link--cta {
  color: var(--brand-950);
  background: var(--brand-500);
  border-radius: var(--radius-button);
}

.nav-menu__item--cta {
  padding-top: 0.75rem;
}

.nav-menu__link--cta:hover,
.nav-menu__link--cta:focus-visible {
  color: var(--brand-950);
  background: var(--brand-600);
}

.nav-menu__chevron {
  position: absolute;
  right: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-right: 2px solid currentcolor;
  border-bottom: 2px solid currentcolor;
  transform: rotate(45deg) translateY(-0.15rem);
  transition: transform 180ms ease;
}

.nav-menu__trigger[aria-expanded="true"] .nav-menu__chevron {
  transform: rotate(225deg) translate(-0.1rem, -0.1rem);
}

.mega-menu {
  padding: 1rem;
  margin: 0 0.25rem 0.75rem;
  background: var(--brand-900);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-button);
}

.mega-menu__grid {
  display: grid;
  gap: 1.25rem;
}

.mega-menu__heading {
  margin: 0 0 0.55rem;
  color: var(--brand-500);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.mega-menu__column ul {
  display: grid;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mega-menu__column a {
  display: grid;
  gap: 0.2rem;
  min-height: 2.5rem;
  padding: 0.55rem 0.7rem;
  color: var(--text-on-dark);
  border-radius: var(--radius-button);
  text-decoration: none;
  text-align: center;
}

.mega-menu__column a:hover,
.mega-menu__column a:focus-visible,
.mega-menu__column a[aria-current="page"] {
  background: rgb(57 217 130 / 10%);
}

.mega-menu__column strong {
  font-size: 0.9rem;
  font-weight: 700;
}

.mega-menu__column span {
  color: var(--text-muted-dark);
  font-size: 0.8rem;
  line-height: 1.55;
}

.services-mega,
.services-mega__categories,
.services-mega__panels,
.services-mega__panel,
.services-mega__panel ul {
  display: grid;
}

.services-mega {
  gap: 1.25rem;
}

.services-mega__categories {
  align-content: start;
  gap: 0.35rem;
}

.services-mega__categories .mega-menu__heading {
  margin-bottom: 0.35rem;
}

.services-mega__categories button,
.services-mega__categories .services-mega__category-link {
  display: flex;
  width: 100%;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.9rem;
  color: var(--text-on-dark);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.services-mega__all-link {
  display: inline-flex;
  margin-top: 0.65rem;
  color: var(--brand-500);
  font-weight: 700;
  text-decoration: none;
}

.services-mega__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.services-mega__group {
  min-width: 0;
}

.services-mega__group h3 {
  margin: 0 0 .55rem;
  color: var(--brand-500);
  font-size: .9rem;
  line-height: 1.25;
}

.services-mega__group ul {
  display: grid;
  grid-template-columns: 1fr !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-mega__group li + li { margin-top: .35rem; }

.services-mega__group a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.services-mega__group a strong,
.services-mega__group a span {
  display: block;
}

.services-mega__group a strong { font-size: .82rem; }
.services-mega__group a span { color: var(--muted, #9aa5b5); font-size: .72rem; line-height: 1.35; }

@media (max-width: 1100px) {
  .services-mega__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .services-mega__columns { grid-template-columns: 1fr; }
}

.services-mega__all-link:hover,
.services-mega__all-link:focus-visible {
  color: var(--brand-300);
  text-decoration: underline;
}

.services-mega__categories button:hover,
.services-mega__categories button:focus-visible,
.services-mega__categories .services-mega__category-link:hover,
.services-mega__categories .services-mega__category-link:focus-visible,
.services-mega__categories button[aria-expanded="true"] {
  color: var(--brand-500);
  border-color: var(--border-dark);
  background: var(--brand-900);
}

.services-mega__categories .services-mega__category-link {
  justify-content: flex-start;
  text-align: left;
}


.services-mega__panel {
  gap: 1rem;
}

.services-mega__title {
  margin: 0;
  color: var(--text-on-dark);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.services-mega__panel ul {
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.services-mega__panel li > a {
  display: grid;
  gap: 0.2rem;
  min-height: 3.8rem;
  align-content: center;
  padding: 0.65rem 0.75rem;
  color: var(--text-on-dark);
  border-radius: var(--radius-button);
  text-align: center;
  text-decoration: none;
}

.services-mega__panel li > a:hover,
.services-mega__panel li > a:focus-visible,
.services-mega__panel li > a[aria-current="page"] {
  color: var(--brand-500);
  background: rgb(57 217 130 / 8%);
}

.services-mega__panel strong {
  font-size: 0.875rem;
}

.services-mega__panel li span {
  color: var(--text-muted-dark);
  font-size: 0.775rem;
  line-height: 1.5;
}

.nav-menu__trigger.is-current {
  color: var(--brand-500);
}

.nav-backdrop {
  position: fixed;
  z-index: 900;
  inset: var(--header-height) 0 0;
  width: 100%;
  padding: 0;
  background: rgb(0 0 0 / 14%);
  border: 0;
  cursor: default;
}

@media (min-width: 40rem) {
  .mega-menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-mega__panel ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 80rem) {
  body.nav-open {
    overflow: auto;
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(8.75rem, 1fr) minmax(0, auto) minmax(8.75rem, 1fr);
    width: min(calc(100% - 4rem), var(--page-max-width));
  }

  .site-header__inner::after {
    display: block;
    justify-self: end;
    content: "";
  }

  .site-brand {
    justify-self: start;
  }

  .site-nav {
    min-width: 0;
    justify-self: center;
  }

  .site-nav__toggle {
    display: none;
  }

  .js .site-nav__toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    max-height: none;
    align-items: stretch;
    justify-content: center;
    gap: 0.05rem;
    width: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .js .nav-menu {
    display: flex;
  }

  .nav-menu__item + .nav-menu__item {
    border-top: 0;
  }

  .nav-menu__trigger {
    width: auto;
    min-height: 2.75rem;
    justify-content: center;
    gap: 0.42rem;
    padding: 0.7rem clamp(0.4rem, 0.55vw, 0.65rem);
    border-radius: 0.5rem;
    font-size: clamp(0.8125rem, 0.72vw, 0.925rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .nav-menu__link {
    position: relative;
    width: auto;
    min-height: 2.75rem;
    padding: 0.7rem clamp(0.45rem, 0.65vw, 0.75rem);
    border-radius: 0.5rem;
    font-size: clamp(0.8125rem, 0.72vw, 0.925rem);
    white-space: nowrap;
  }

  .nav-menu__link:not(.nav-menu__link--cta)::after {
    position: absolute;
    right: 0.55rem;
    bottom: 0.125rem;
    left: 0.55rem;
    height: 0.125rem;
    background: var(--brand-500);
    border-radius: 999px;
    content: "";
    opacity: 0;
    transform: scaleX(0.5);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu__link:not(.nav-menu__link--cta):hover::after,
  .nav-menu__link:not(.nav-menu__link--cta):focus-visible::after,
  .nav-menu__link[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .nav-menu__link--cta {
    padding-inline: clamp(0.7rem, 0.8vw, 1rem);
  }

  .nav-menu__item--cta {
    margin-left: 0.25rem;
    padding-top: 0;
  }

  .nav-menu__trigger:hover,
  .nav-menu__trigger:focus-visible,
  .nav-menu__trigger[aria-expanded="true"],
  .nav-menu__trigger.is-current {
    color: var(--text-on-dark);
    background: transparent;
  }

  .nav-menu__trigger::after {
    position: absolute;
    right: 0.55rem;
    bottom: 0.125rem;
    left: 0.55rem;
    height: 0.125rem;
    background: var(--brand-500);
    border-radius: 999px;
    content: "";
    opacity: 0;
    transform: scaleX(0.5);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu__trigger:hover::after,
  .nav-menu__trigger:focus-visible::after,
  .nav-menu__trigger[aria-expanded="true"]::after,
  .nav-menu__trigger.is-current::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .nav-menu__chevron {
    position: static;
    width: 0.42rem;
    height: 0.42rem;
  }

  .mega-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    width: min(90rem, calc(100vw - 4rem));
    max-height: calc(100dvh - var(--nav-height) - 1.5rem);
    padding: clamp(1.5rem, 2.5vw, 2.25rem);
    margin: 0;
    overflow-y: auto;
    color: var(--text-on-dark);
    background: var(--brand-950);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-card);
    box-shadow: 0 1.25rem 3.125rem rgb(0 22 21 / 55%);
    opacity: 0;
    transform: translate(-50%, -0.5rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mega-menu.is-open {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .mega-menu__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mega-menu__grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mega-menu__grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .mega-menu__column + .mega-menu__column {
    padding-left: clamp(1.25rem, 2vw, 2rem);
    border-left: 1px solid var(--border-dark);
  }

  .mega-menu__heading {
    color: var(--brand-500);
  }

  .mega-menu__column a {
    padding: 0.4rem 0;
    color: var(--text-on-dark);
  }

  .mega-menu__column a:hover,
  .mega-menu__column a:focus-visible,
  .mega-menu__column a[aria-current="page"] {
    color: var(--brand-500);
    background: transparent;
  }

  .mega-menu__column span {
    color: var(--text-muted-dark);
  }

  .services-mega {
    grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
  }

  .services-mega__categories {
    padding-right: clamp(1.25rem, 2vw, 2rem);
    border-right: 1px solid var(--border-dark);
  }

  .services-mega__categories button {
    justify-content: flex-start;
    text-align: left;
  }

  .services-mega__title {
    text-align: left;
  }

  .services-mega__panel li > a {
    padding: 0.6rem 0.7rem;
    text-align: left;
  }

}

@media (max-width: 79.99rem) {
  :root {
    --navbar-height: 4.375rem;
  }

  .site-header__inner {
    width: 100%;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
  }

  .site-nav__toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .nav-menu__trigger[aria-expanded="true"] {
    color: var(--brand-500);
  }
}

@media (max-width: 29.99rem) {
  .site-header__inner {
    width: min(100% - 1.25rem, var(--page-max-width));
  }

  .site-brand__logo {
    width: 2.2rem;
    height: 2.2rem;
  }

  .trust-strip ul {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

.site-container {
  width: min(calc(100% - 2rem), var(--container-max));
  margin-inline: auto;
}

.hero-section {
  display: flex;
  min-height: min(45rem, calc(100svh - var(--nav-height)));
  align-items: center;
  padding-block: var(--section-space);
  overflow: hidden;
  color: var(--text-on-dark);
  background: var(--brand-950);
}

.hero-layout {
  display: grid;
  align-items: stretch;
  gap: clamp(3rem, 7vw, 7rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
}

.section-eyebrow,
.form-kicker {
  margin: 0 0 1rem;
  color: var(--brand-600);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-eyebrow::before {
  display: none;
}

.hero-copy > h1 {
  max-width: 47.5rem;
  margin: 0 auto;
  color: var(--text-on-dark);
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.hero-copy > h1 span {
  color: var(--brand-500);
}

.hero-lead {
  max-width: 43rem;
  margin: 1.6rem auto 0;
  color: var(--text-muted-dark);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.hero-collaboration {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.hero-collaboration > h2 {
  margin: 0 0 0.75rem;
  color: var(--text-on-dark);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.hero-collaboration__lead {
  max-width: 43rem;
  margin: 0 auto;
  color: var(--text-muted-dark);
  font-size: 0.95rem;
}

.hero-collaboration__cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-collaboration__card {
  display: grid;
  grid-template-rows: auto minmax(5.25rem, auto) 1fr;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--text-on-dark);
  background: var(--brand-900);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
}

.hero-collaboration__card h3 {
  margin: 0 0 0.65rem;
  color: var(--text-on-dark);
  font-size: 1.05rem;
  line-height: 1.35;
  text-align: center;
}

.hero-collaboration__card p {
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 0.875rem;
  text-align: center;
}

.hero-collaboration__card ul {
  display: grid;
  width: fit-content;
  max-width: 100%;
  gap: 0.55rem;
  padding: 0;
  margin: 1.15rem auto 0;
  color: var(--text-muted-dark);
  font-size: 0.8125rem;
  list-style: none;
  text-align: left;
}

.hero-collaboration__card li {
  position: relative;
  display: grid;
  width: fit-content;
  max-width: 100%;
  grid-template-columns: 0.42rem minmax(0, 1fr);
  align-items: start;
  justify-self: center;
  gap: 0.5rem;
}

.hero-collaboration__card li::before {
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.55em;
  background: var(--brand-500);
  border-radius: 50%;
  content: "";
}

.hero-form-column {
  display: flex;
  min-width: 0;
}

.hero-form-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-on-dark);
  background: rgb(0 29 25 / 94%);
  border: 1px solid var(--border-dark);
  border-radius: 1.25rem;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 20%);
}

.hero-form-heading {
  max-width: 32rem;
  margin: 0 auto clamp(2rem, 3vw, 2.75rem);
  text-align: center;
}

.hero-form-heading .form-kicker {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  color: var(--brand-500);
  background: rgb(57 217 130 / 8%);
  border: 1px solid rgb(57 217 130 / 30%);
  border-radius: 999px;
  font-size: 0.8125rem;
}

.hero-form-heading h2 {
  margin: 0;
  color: var(--text-on-dark);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hero-form-heading > p:last-child {
  margin: 0.85rem 0 0;
  color: var(--text-muted-dark);
  font-size: 0.9rem;
}

.contact-form {
  display: grid;
  width: min(100%, 32rem);
  flex: 1;
  align-content: space-between;
  gap: clamp(1rem, 1.4vw, 1.35rem);
  margin-inline: auto;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  color: var(--text-on-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
}

.form-field label span {
  color: var(--text-muted-dark);
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.75rem 0.9rem;
  color: var(--text-on-dark);
  background: var(--brand-900);
  border: 1px solid var(--border-dark);
  border-radius: 0.5625rem;
  font: inherit;
  font-size: 0.9375rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  min-height: clamp(10rem, 15vh, 12rem);
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #809088;
  opacity: 1;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--brand-500);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(57 217 130 / 16%);
}

.contact-form.was-submitted :is(input, textarea):invalid {
  border-color: var(--error);
}

.form-consent {
  display: grid;
  width: fit-content;
  max-width: 100%;
  grid-template-columns: 1.1rem auto;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 0.65rem;
  color: var(--text-muted-dark);
  font-size: 0.78rem;
  cursor: pointer;
}

.form-consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--brand-500);
}

.form-consent a {
  color: var(--brand-500);
  text-underline-offset: 0.18em;
}

.form-consent > span {
  text-align: center;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 0.8125rem;
}

.form-status.is-error {
  color: #ffb4ab;
}

.form-status.is-success {
  color: var(--brand-500);
}

.btn-primary-brand {
  display: inline-flex;
  min-height: 3.125rem;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  color: var(--brand-950);
  background: var(--brand-500);
  border: 1px solid var(--brand-500);
  border-radius: var(--radius-button);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.btn-primary-brand:visited,
.btn-primary-brand span {
  color: var(--brand-950);
}

.trust-strip {
  padding-block: 1.25rem;
  color: var(--text-muted-dark);
  background: var(--brand-950);
  border-block: 1px solid var(--border-dark);
}

.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.trust-strip li {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 700;
}

.no-wrap {
  white-space: nowrap;
}

.btn-primary-brand:hover,
.btn-primary-brand:focus-visible {
  color: var(--brand-950);
  background: var(--brand-600);
  border-color: var(--brand-600);
}

.btn-primary-brand:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.contact-form__submit {
  width: 100%;
}

@media (min-width: 44rem) {
  .hero-collaboration__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 68rem) {
  .site-container {
    width: min(calc(100% - 4rem), var(--container-max));
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(22.5rem, 0.88fr);
  }

  .hero-copy {
    padding-top: clamp(1.5rem, 3vw, 2.25rem);
  }

  .hero-form-column {
    align-self: stretch;
  }
}

@media (max-width: 43.99rem) {
  .hero-section {
    padding-block: clamp(3.5rem, 12vw, 5rem);
  }

  .hero-copy > h1 {
    font-size: clamp(2.45rem, 13vw, 3.65rem);
  }

  .hero-form-card {
    padding: 1.25rem;
    border-radius: var(--radius-card);
  }
}

.home-section {
  padding-block: var(--home-section-space);
  color: var(--text-on-dark);
  background: var(--brand-900);
}

.competence-section,
.proof-section {
  background: var(--brand-900);
}

.why-section,
.cases-section,
.technologies-section,
.faq-section {
  background: var(--brand-900);
}

.faq-section {
  padding-top: var(--home-section-space);
}

.home-section-heading {
  max-width: 78rem;
  margin: 0 auto var(--home-heading-gap);
  text-align: center;
}

.section-label {
  margin: 0 0 0.9rem;
  color: var(--brand-500);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-section-heading h2 {
  margin: 0;
  color: var(--text-on-dark);
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-wrap: balance;
}

@media (min-width: 80rem) {
  .guide-hero h1 {
    max-width: 86rem;
  }

  .services-page .guide-hero h1 {
    white-space: nowrap;
  }

  .guide-intro h2,
  .home-section-heading h2 {
    white-space: nowrap;
  }
}

.home-section-heading > p:last-child {
  max-width: 42.5rem;
  margin: 1.15rem auto 0;
  color: var(--text-muted-dark);
  font-size: 1rem;
  line-height: 1.75;
}

.home-section-heading--left {
  margin-inline: auto;
  text-align: center;
}

.home-section-heading--left > p:last-child {
  margin-left: auto;
}

.competence-grid,
.cases-grid,
.reviews-grid {
  display: grid;
  gap: var(--home-grid-gap);
}

.competence-card,
.case-card,
.testimonial,
.reference-tile {
  color: var(--text-on-dark);
  background: var(--brand-950);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
}

.competence-card {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto minmax(5rem, auto) 1fr auto;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  text-align: center;
}

.competence-card h3,
.case-card h3,
.why-grid h3,
.process-grid h3 {
  margin: 0;
  color: var(--text-on-dark);
  font-size: 1.1rem;
  line-height: 1.4;
}

.competence-card > p,
.why-grid p,
.process-grid p {
  margin: 0.85rem 0 0;
  color: var(--text-muted-dark);
  font-size: 0.875rem;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
  list-style: none;
}

.keyword-list li {
  padding: 0.35rem 0.6rem;
  color: var(--text-muted-dark);
  background: rgb(49 82 72 / 28%);
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  font-size: 0.75rem;
}

.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  color: var(--brand-500);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}

.competence-card .text-arrow {
  justify-self: center;
}

.text-arrow:hover,
.text-arrow:focus-visible {
  color: var(--text-on-dark);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--brand-950);
  border: 1px solid var(--border-dark);
  border-radius: 1rem;
  overflow: hidden;
}

.why-grid article {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--brand-950);
  border: 0;
  border-top: 1px solid var(--border-dark);
  border-radius: 0;
  text-align: center;
}

.why-grid article:first-child {
  border-top: 0;
}

.team-heading {
  max-width: 78rem;
  margin: var(--home-subsection-space) auto var(--home-heading-gap);
  text-align: center;
}

.team-heading h2 {
  margin: 0;
  color: var(--text-on-dark);
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-wrap: balance;
}

@media (min-width: 80rem) {
  .team-heading h2 {
    white-space: nowrap;
  }
}

.team-heading > p:last-child {
  max-width: 42.5rem;
  margin: 1.15rem auto 0;
  color: var(--text-muted-dark);
  font-size: 1rem;
  line-height: 1.75;
}

.team-grid {
  display: grid;
  gap: var(--home-grid-gap);
  grid-template-columns: 1fr;
}

.team-card {
  display: grid;
  min-height: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--text-on-dark);
  background: var(--brand-950);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  text-align: center;
  text-wrap: pretty;
}

.team-card__content {
  display: grid;
  min-height: 100%;
  gap: 0.75rem;
  justify-items: center;
}

.team-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.team-card__avatar {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 2.35rem;
  place-items: center;
  border: 1px solid var(--brand-400);
  border-radius: 50%;
  color: var(--brand-200);
  background: rgb(57 217 130 / 8%);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.team-card__role {
  margin: 0;
  color: var(--brand-200);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-card h3 {
  margin: 0;
  color: var(--text-on-dark);
  font-size: 1.1rem;
  line-height: 1.4;
}

.team-card__content > p:not(.team-card__role) {
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 0.875rem;
  line-height: 1.7;
}

.team-card__email {
  justify-self: center;
}

.team-card__email:hover,
.team-card__email:focus-visible {
  color: var(--text-on-dark);
}

.process-section {
  color: var(--text-on-dark);
  background: var(--brand-900);
}

.home-section-heading--dark h2,
.process-grid h3 {
  color: var(--text-on-dark);
}

.home-section-heading--dark > p:last-child,
.process-grid p {
  color: var(--text-muted-dark);
}

.process-grid {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  counter-reset: process;
  list-style: none;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.process-grid li {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--brand-950);
  text-align: center;
}

.process-grid li + li {
  border-top: 1px solid var(--border-dark);
}

.process-step {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--brand-950);
  background: var(--brand-500);
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 800;
}

.case-card {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto minmax(3.2rem, auto) 1fr auto;
  padding: clamp(1.5rem, 2.7vw, 2.125rem);
  text-align: center;
}

.case-type {
  margin-bottom: 1rem;
  color: var(--brand-500);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.case-card dl {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 1.5rem 0;
}

.case-card dt {
  margin-bottom: 0.25rem;
  color: var(--text-on-dark);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-card dd {
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 0.8125rem;
}

.case-tech {
  padding-top: 1rem;
  margin: auto 0 0;
  color: var(--brand-500);
  border-top: 1px solid var(--border-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.testimonial {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(1.4rem, 2.5vw, 1.8rem);
  text-align: center;
}

.stars {
  color: var(--brand-500);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.testimonial blockquote {
  margin: 1.1rem 0 1.5rem;
  color: var(--text-on-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

.testimonial > p {
  display: grid;
  gap: 0.15rem;
  margin: auto 0 0;
}

.testimonial strong {
  font-size: 0.875rem;
}

.testimonial p span {
  color: var(--text-muted-dark);
  font-size: 0.75rem;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.home-section .section-action .button-secondary-light {
  background: var(--brand-950);
}

.button-secondary-light {
  display: inline-flex;
  min-height: 3.125rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  color: var(--text-on-dark);
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-button);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.button-secondary-light:hover,
.button-secondary-light:focus-visible {
  background: var(--border-dark);
  border-color: var(--brand-500);
}

.references-grid {
  display: grid;
  gap: var(--home-grid-gap);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.reference-tile {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.75rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}

.reference-tile .text-arrow {
  justify-self: center;
}

.reference-tile > strong {
  font-size: 1rem;
}

.reference-tile > span {
  color: var(--text-muted-dark);
  font-size: 0.875rem;
}

.proof-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-grid-gap);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.proof-stats article {
  display: grid;
  gap: 0.45rem;
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  color: var(--text-on-dark);
  background: var(--brand-950);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  text-align: center;
}

.proof-stats strong {
  color: var(--brand-500);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
}

.proof-stats article > span {
  color: var(--text-muted-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-stats + .reviews-grid {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.technology-ticker {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.technology-ticker__track {
  display: flex;
  width: max-content;
  animation: technology-scroll 38s linear infinite;
  will-change: transform;
}

.technology-list {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding: 0;
  margin: 0;
  padding-right: clamp(2rem, 4vw, 4rem);
  list-style: none;
}

.technology-list li {
  position: relative;
  flex: 0 0 auto;
  color: var(--text-on-dark);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.technology-list li::after {
  position: absolute;
  top: 50%;
  right: calc(clamp(2rem, 4vw, 4rem) / -2);
  width: 0.3rem;
  height: 0.3rem;
  background: var(--brand-500);
  border-radius: 50%;
  content: "";
  transform: translate(50%, -50%);
}

@keyframes technology-scroll {
  to {
    transform: translateX(-50%);
  }
}

.knowledge-section {
  background: var(--brand-900);
}

.knowledge-grid {
  display: grid;
  gap: var(--home-grid-gap);
}

.knowledge-card {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.85rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--text-on-dark);
  background: var(--brand-950);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  text-align: center;
}

.knowledge-card__category {
  margin: 0;
  color: var(--brand-500);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.knowledge-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.knowledge-card > p:not(.knowledge-card__category) {
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 0.875rem;
}

.knowledge-card .text-arrow {
  justify-self: center;
}

.faq-layout {
  display: grid;
  max-width: 60rem;
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--brand-950);
  border: 1px solid var(--border-dark);
  border-radius: 0.75rem;
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  position: relative;
  display: block;
  width: 100%;
  min-height: 4.25rem;
  padding: 1rem 3rem;
  color: var(--text-on-dark);
  background: transparent;
  border: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  cursor: pointer;
}

.faq-question > span {
  position: absolute;
  top: 50%;
  right: 1rem;
  color: var(--brand-500);
  font-size: 1.5rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-question[aria-expanded="true"] {
  color: var(--brand-500);
}

.faq-answer {
  padding: 0 3rem 1.25rem;
  text-align: center;
}

.faq-answer p {
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 0.875rem;
  line-height: 1.75;
}

.service-faq,
.article-content section[id="faq"] {
  display: grid;
  gap: 0.75rem;
}

.service-faq > .section-label,
.service-faq > h2,
.article-content section[id="faq"] > h2 {
  margin-bottom: 0.4rem;
}

.service-faq details,
.article-content section[id="faq"] details {
  overflow: hidden;
  border: 1px solid var(--border-dark);
  border-radius: 0.75rem;
  background: var(--brand-950);
}

.service-faq details:last-child,
.article-content section[id="faq"] details:last-child {
  border-bottom: 1px solid var(--border-dark);
}

.service-faq summary,
.article-content section[id="faq"] summary {
  position: relative;
  display: block;
  min-height: 4.25rem;
  padding: 1rem 3rem;
  color: var(--text-on-dark);
  background: transparent;
  border: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  cursor: pointer;
  list-style: none;
}

.service-faq summary::-webkit-details-marker,
.article-content section[id="faq"] summary::-webkit-details-marker {
  display: none;
}

.service-faq summary::after,
.article-content section[id="faq"] summary::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  float: none;
  color: var(--brand-500);
  font-size: 1.5rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.service-faq details[open] summary,
.article-content section[id="faq"] details[open] summary {
  color: var(--brand-500);
}

.service-faq details p,
.article-content section[id="faq"] details p {
  max-width: none;
  margin: 0;
  padding: 0 3rem 1.25rem;
  color: var(--text-muted-dark);
  font-size: 0.875rem;
  line-height: 1.75;
  text-align: center;
}

.home-final-cta {
  padding: clamp(2rem, 4vw, 3rem) 0;
  color: var(--text-on-dark);
  background: var(--brand-900);
  border-bottom: 1px solid var(--border-dark);
}

.home-final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  background: var(--brand-950);
}

.home-final-cta h2 {
  max-width: 42rem;
  margin: 0;
  color: var(--text-on-dark);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.home-final-cta p {
  max-width: 38rem;
  margin: 0.65rem 0 0;
  color: var(--text-muted-dark);
  line-height: 1.8;
}

.home-final-cta a {
  white-space: nowrap;
}

.guide-bottom-cta,
.article-final-cta > .article-container,
.service-final-cta > .article-container,
.home-final-cta__inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: center;
}

.guide-bottom-cta h2,
.article-final-cta h2,
.service-final-cta h2,
.home-final-cta h2,
.guide-bottom-cta p,
.article-final-cta p,
.service-final-cta p,
.home-final-cta p {
  margin-right: auto;
  margin-left: auto;
}

.guide-bottom-cta a,
.article-final-cta a,
.service-final-cta a,
.home-final-cta a {
  justify-self: center;
}

@media (max-width: 42rem) {
  .guide-bottom-cta,
  .article-final-cta > .article-container,
  .service-final-cta > .article-container,
  .home-final-cta__inner {
    grid-template-columns: 1fr;
  }

  .guide-bottom-cta p,
  .guide-bottom-cta a,
  .article-final-cta p,
  .article-final-cta a,
  .service-final-cta p,
  .service-final-cta a {
    grid-column: 1;
    grid-row: auto;
  }

  .guide-bottom-cta a,
  .article-final-cta a,
  .service-final-cta a,
  .home-final-cta a {
    width: 100%;
  }
}

.site-footer {
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--text-on-dark);
  background: var(--brand-950);
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  max-width: 76rem;
  align-items: start;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-inline: auto;
  text-align: center;
}

.footer-panel {
  min-width: 0;
}

.footer-social {
  width: 100%;
}

.site-footer li,
.site-footer li a {
  color: var(--text-muted-dark);
  text-underline-offset: 0.2em;
}

.footer-social span {
  color: var(--text-muted-dark);
}

.footer-social a:hover,
.site-footer li a:hover {
  color: var(--brand-500);
}

.site-footer h2 {
  margin: 0 0 0.8rem;
  color: var(--text-on-dark);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  list-style: none;
}

.site-footer li a {
  text-decoration: none;
}

.site-footer li button[data-cookie-settings] {
  padding: 0;
  color: var(--text-muted-dark);
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: none;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.site-footer li button[data-cookie-settings]:hover,
.site-footer li button[data-cookie-settings]:focus-visible {
  color: var(--brand-500);
}

.footer-company address {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 0.875rem;
  font-style: normal;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  color: var(--text-muted-dark);
  font-size: 0.8125rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  z-index: 1500;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: var(--text-on-dark);
  background: var(--brand-900);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  box-shadow: 0 1.25rem 3rem rgb(0 0 0 / 42%);
}

.cookie-banner__inner {
  display: grid;
  max-width: var(--container-max);
  align-items: center;
  gap: 1.25rem 2rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 2rem);
  margin-inline: auto;
}

.cookie-banner__copy {
  min-width: 0;
}

.cookie-banner__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--brand-500);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cookie-banner h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.cookie-banner__copy > p:last-child {
  max-width: 48rem;
  margin: 0.45rem 0 0;
  color: var(--text-muted-dark);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.cookie-button {
  appearance: none;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  color: var(--text-on-dark);
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-button);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-underline-offset: 0;
  cursor: pointer;
}

.cookie-button:hover,
.cookie-button:focus-visible {
  color: var(--brand-500);
  border-color: var(--brand-500);
}

.cookie-button--primary {
  color: var(--brand-950);
  background: var(--brand-500);
  border-color: var(--brand-500);
}

.cookie-button--primary:hover,
.cookie-button--primary:focus-visible {
  color: var(--brand-950);
  background: var(--brand-600);
  border-color: var(--brand-600);
}

.cookie-button--text {
  border-color: var(--border-dark);
}

.cookie-preferences {
  display: grid;
  grid-column: 1 / -1;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-dark);
}

.cookie-preference {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.75rem;
  color: var(--text-muted-dark);
  background: rgb(0 22 21 / 35%);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-button);
  font-size: 0.75rem;
}

.cookie-preference > span,
.cookie-preference > div {
  display: grid;
  gap: 0.15rem;
}

.cookie-preference strong {
  color: var(--text-on-dark);
  font-size: 0.8125rem;
}

.cookie-preference input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--brand-500);
}

@media (min-width: 64rem) {
  .cookie-banner__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 43.99rem) {
  .cookie-banner {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-button {
    width: 100%;
  }
}

.scroll-top {
  position: fixed;
  z-index: 800;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  padding: 0;
  color: var(--brand-950);
  background: var(--brand-500);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 28%);
  font-size: 1.25rem;
  cursor: pointer;
}

.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
  will-change: opacity, transform;
}

.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 44rem) {
  .why-grid,
  .process-grid,
  .references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .why-grid article:nth-child(-n + 2) {
    border-top: 0;
  }

  .why-grid article:nth-child(even) {
    border-left: 1px solid var(--border-dark);
  }

  .process-grid li + li {
    border-top: 0;
  }

  .process-grid li:nth-child(even) {
    border-left: 1px solid var(--border-dark);
  }

  .process-grid li:nth-child(n + 3) {
    border-top: 1px solid var(--border-dark);
  }
}

@media (min-width: 64rem) {
  .competence-grid,
  .cases-grid,
  .reviews-grid,
  .proof-stats,
  .knowledge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-grid,
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .why-grid article {
    border-top: 0;
  }

  .why-grid article:nth-child(even) {
    border-left: 0;
  }

  .why-grid article:nth-child(n + 2) {
    border-left: 1px solid var(--border-dark);
  }

  .process-grid li:nth-child(n + 3) {
    border-top: 0;
  }

  .process-grid li + li {
    border-left: 1px solid var(--border-dark);
  }

  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 43.99rem) {
  .home-section-heading {
    margin-bottom: 2.5rem;
    text-align: center;
  }

  .home-section-heading > p:last-child {
    margin-left: auto;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .technology-ticker {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .technology-ticker__track {
    width: auto;
    animation: none;
    transform: none;
  }

  .technology-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .technology-list[aria-hidden="true"] {
    display: none;
  }

  .js .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
