.technology-page {
  --technology-bg-a: #0b0f14;
  --technology-bg-b: #0f141b;
  --technology-surface: #111820;
  --technology-text: rgba(255, 255, 255, 0.92);
  --technology-text-secondary: rgba(255, 255, 255, 0.65);
  --technology-text-micro: rgba(255, 255, 255, 0.46);
  --technology-line: rgba(255, 255, 255, 0.09);
  --technology-line-strong: rgba(58, 143, 149, 0.45);
  --technology-accent: #3a8f95;
  --technology-accent-bright: #64b6b8;
  --technology-accent-soft: rgba(58, 143, 149, 0.13);
  background: var(--technology-bg-a);
  color: var(--technology-text);
  font-family: Inter, Satoshi, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.technology-container {
  max-width: 1200px;
}

.technology-page a:focus-visible,
.consult-technology a:focus-visible {
  outline: 2px solid #64b6b8;
  outline-offset: 4px;
}

.technology-hero,
.technology-catalog {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  border-top: 1px solid var(--technology-line);
}

.technology-hero {
  padding-top: 160px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    var(--technology-bg-a);
  background-size: 180px 180px;
}

.technology-catalog {
  background: var(--technology-bg-b);
}

.technology-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 36px;
  color: var(--technology-text-micro);
  font-size: 0.86rem;
}

.technology-breadcrumbs a,
.technology-attribution a,
.technology-home-actions a {
  color: inherit;
  text-decoration: none;
}

.technology-breadcrumbs a:hover,
.technology-attribution p:not(.technical-attribution) a:hover,
.technology-home-actions p:not(.technical-attribution) a:hover {
  color: var(--technology-accent-bright);
}

.technology-eyebrow,
.technology-level {
  margin: 0 0 14px;
  color: var(--technology-accent-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.technology-hero h1,
.technology-catalog h2,
.technology-home-heading h2 {
  margin: 0;
  color: var(--technology-text);
  font-size: clamp(2.35rem, 4.5vw, 4.1rem);
  font-weight: 590;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.technology-hero h1 {
  max-width: 16ch;
}

.technology-intro {
  max-width: 66ch;
  margin: 28px 0 0;
  color: var(--technology-text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}

.technology-catalog-heading,
.technology-home-heading,
.technology-home-footer,
.technology-attribution {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 48px;
  align-items: end;
}

.technology-catalog-heading {
  margin-bottom: 48px;
}

.technology-catalog-heading > p,
.technology-home-heading > p,
.technology-home-footer p:not(.technical-attribution),
.technology-attribution p:not(.technical-attribution) {
  margin: 0;
  color: var(--technology-text-secondary);
  line-height: 1.7;
}

.technology-catalog-heading h2 {
  max-width: 17ch;
  font-size: clamp(2rem, 3.3vw, 3rem);
}

.technology-groups {
  display: grid;
  gap: 16px;
}

.technology-group {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  padding: 32px;
  border: 1px solid var(--technology-line);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--technology-accent-soft), transparent 38%), var(--technology-surface);
}

.technology-group-copy h2,
.technology-group-copy h3,
.technology-home-footer h3 {
  margin: 0;
  color: var(--technology-text);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.technology-group-copy p:not(.technology-level) {
  margin: 12px 0 0;
  color: var(--technology-text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

.technology-level {
  margin-bottom: 10px;
  color: var(--technology-text-micro);
  font-size: 0.65rem;
}

.technology-level--section {
  grid-column: 1 / -1;
  margin: 28px 0 4px;
}

.technology-level--core {
  color: var(--technology-accent-bright);
}

.technology-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.technology-item {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--technology-line);
  border-radius: 5px;
  color: var(--technology-text-secondary);
  font-size: 0.82rem;
  line-height: 1.2;
  white-space: nowrap;
}

.technology-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  color: var(--technology-accent-bright);
  font-size: 0.95rem;
  visibility: visible;
  opacity: 1;
}

.technology-icon i {
  display: none;
}

.technology-icon img:not([hidden]) {
  display: block;
  width: 18px;
  height: 18px;
  visibility: visible;
  opacity: 1;
}

.technology-icon-fallback {
  max-width: 18px;
  overflow: hidden;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-align: center;
}

.technology-icon--asset .technology-icon-fallback {
  display: none;
}

.technology-icon--bootstrap i {
  display: block;
  font-size: 18px;
  line-height: 1;
  visibility: visible;
  opacity: 1;
}

.technology-icon--bootstrap .technology-icon-fallback {
  display: none;
}

.technology-attribution {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--technology-line);
}

.technology-attribution p:not(.technical-attribution) a,
.technology-home-actions p:not(.technical-attribution) a {
  color: var(--technology-text);
  text-decoration: underline;
  text-decoration-color: var(--technology-line-strong);
  text-underline-offset: 3px;
}

.technology-link {
  justify-self: end;
  color: var(--technology-accent-bright);
  font-size: 0.94rem;
  font-weight: 600;
}

.technology-cta {
  justify-self: end;
}

.consult-technology {
  --technology-text: var(--text-primary);
  --technology-text-secondary: var(--text-secondary);
  --technology-text-micro: var(--text-micro);
  --technology-line: var(--line);
  --technology-line-strong: var(--line-strong);
  --technology-accent: var(--accent);
  --technology-accent-bright: var(--accent-bright);
  --technology-accent-soft: var(--accent-soft);
  --technology-surface: var(--surface);
}

.technology-home-heading {
  margin-bottom: 44px;
}

.technology-home-heading h2 {
  max-width: 17ch;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.technology-groups--homepage .technology-group {
  grid-template-columns: minmax(200px, 0.72fr) minmax(0, 1.28fr);
}

.technology-home-footer {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--technology-line);
}

.technology-home-footer h3 {
  margin-bottom: 10px;
}

.technology-home-actions {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.technology-home-actions .consult-link {
  color: var(--technology-accent-bright);
}

.technology-home-actions p:not(.technical-attribution) {
  font-size: 0.84rem;
}

.home-page .technology-home-actions .technical-attribution,
.home-page .technology-home-actions .technical-attribution a {
  color: var(--technology-text-micro);
  text-decoration: none;
}

.home-page .technology-home-actions .technical-attribution:hover,
.home-page .technology-home-actions .technical-attribution:focus-within,
.home-page .technology-home-actions .technical-attribution:hover a,
.home-page .technology-home-actions .technical-attribution:focus-within a {
  color: var(--technology-accent-bright);
}

html[data-theme='light'] .technology-page {
  --technology-bg-a: #edf3f2;
  --technology-bg-b: #f7faf9;
  --technology-surface: #ffffff;
  --technology-text: #102027;
  --technology-text-secondary: #46565d;
  --technology-text-micro: #6b7a80;
  --technology-line: rgba(20, 48, 57, 0.14);
  --technology-line-strong: rgba(58, 143, 149, 0.5);
  background: var(--technology-bg-a);
}

html[data-theme='light'] .technology-hero {
  background:
    linear-gradient(rgba(20, 48, 57, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 48, 57, 0.04) 1px, transparent 1px), var(--technology-bg-a);
  background-size: 180px 180px;
}

@media (max-width: 991px) {
  .technology-hero,
  .technology-catalog {
    padding: 96px 0;
  }

  .technology-hero {
    padding-top: 130px;
  }

  .technology-catalog-heading,
  .technology-home-heading,
  .technology-home-footer,
  .technology-attribution,
  .technology-group,
  .technology-groups--homepage .technology-group {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .technology-link {
    justify-self: start;
  }

  .technology-cta {
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .technology-hero,
  .technology-catalog {
    padding: 74px 0;
  }

  .technology-hero {
    padding-top: 104px;
  }

  .technology-hero h1,
  .technology-catalog h2,
  .technology-home-heading h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .technology-group {
    padding: 24px;
  }

  .technology-level--section {
    margin: 24px 0 4px;
  }

  .technology-item {
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .technology-page *,
  .technology-page *::before,
  .technology-page *::after,
  .consult-technology *,
  .consult-technology *::before,
  .consult-technology *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
